grpc 1.63.0 → 1.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +480 -478
- data/include/grpc/compression.h +1 -2
- data/include/grpc/credentials.h +1221 -0
- data/include/grpc/event_engine/README.md +1 -1
- data/include/grpc/event_engine/endpoint_config.h +7 -7
- data/include/grpc/event_engine/event_engine.h +83 -20
- data/include/grpc/event_engine/extensible.h +5 -2
- data/include/grpc/event_engine/internal/memory_allocator_impl.h +4 -4
- data/include/grpc/event_engine/internal/slice_cast.h +1 -1
- data/include/grpc/event_engine/memory_allocator.h +3 -4
- data/include/grpc/event_engine/memory_request.h +19 -2
- data/include/grpc/event_engine/slice.h +3 -5
- data/include/grpc/event_engine/slice_buffer.h +6 -8
- data/include/grpc/grpc.h +8 -2
- data/include/grpc/grpc_audit_logging.h +3 -3
- data/include/grpc/grpc_crl_provider.h +5 -4
- data/include/grpc/grpc_posix.h +1 -2
- data/include/grpc/grpc_security.h +1 -1173
- data/include/grpc/impl/call.h +2 -2
- data/include/grpc/impl/channel_arg_names.h +78 -55
- data/include/grpc/impl/grpc_types.h +1 -2
- data/include/grpc/impl/slice_type.h +1 -2
- data/include/grpc/module.modulemap +2 -0
- data/include/grpc/passive_listener.h +62 -0
- data/include/grpc/status.h +1 -1
- data/include/grpc/support/alloc.h +1 -2
- data/include/grpc/support/atm.h +0 -13
- data/include/grpc/support/json.h +17 -18
- data/include/grpc/support/log.h +37 -64
- data/include/grpc/support/metrics.h +21 -6
- data/include/grpc/support/port_platform.h +31 -1
- data/include/grpc/support/sync_generic.h +2 -4
- data/include/grpc/support/sync_posix.h +1 -2
- data/include/grpc/support/time.h +1 -2
- data/include/grpc/support/workaround_list.h +1 -4
- data/src/core/call/call_arena_allocator.cc +27 -0
- data/src/core/call/call_arena_allocator.h +91 -0
- data/src/core/call/call_destination.h +76 -0
- data/src/core/call/call_filters.cc +148 -0
- data/src/core/call/call_filters.h +1967 -0
- data/src/core/call/call_finalization.h +88 -0
- data/src/core/call/call_spine.cc +90 -0
- data/src/core/call/call_spine.h +644 -0
- data/src/core/call/call_state.cc +39 -0
- data/src/core/call/call_state.h +1154 -0
- data/src/core/call/client_call.cc +458 -0
- data/src/core/call/client_call.h +192 -0
- data/src/core/call/custom_metadata.h +30 -0
- data/src/core/call/interception_chain.cc +155 -0
- data/src/core/call/interception_chain.h +282 -0
- data/src/core/call/message.cc +44 -0
- data/src/core/call/message.h +70 -0
- data/src/core/call/metadata.cc +61 -0
- data/src/core/call/metadata.h +201 -0
- data/src/core/call/metadata_batch.cc +383 -0
- data/src/core/call/metadata_batch.h +1668 -0
- data/src/core/call/metadata_compression_traits.h +66 -0
- data/src/core/call/metadata_info.cc +73 -0
- data/src/core/call/metadata_info.h +85 -0
- data/src/core/call/parsed_metadata.cc +35 -0
- data/src/core/call/parsed_metadata.h +429 -0
- data/src/core/call/request_buffer.cc +224 -0
- data/src/core/call/request_buffer.h +192 -0
- data/src/core/call/security_context.cc +125 -0
- data/src/core/call/security_context.h +114 -0
- data/src/core/call/server_call.cc +259 -0
- data/src/core/call/server_call.h +169 -0
- data/src/core/call/simple_slice_based_metadata.h +53 -0
- data/src/core/call/status_util.cc +153 -0
- data/src/core/call/status_util.h +80 -0
- data/src/core/channelz/channel_trace.cc +180 -0
- data/src/core/channelz/channel_trace.h +138 -0
- data/src/core/channelz/channelz.cc +670 -0
- data/src/core/channelz/channelz.h +402 -0
- data/src/core/channelz/channelz_registry.cc +274 -0
- data/src/core/channelz/channelz_registry.h +101 -0
- data/src/core/client_channel/backup_poller.cc +25 -16
- data/src/core/client_channel/client_channel.cc +1423 -0
- data/src/core/client_channel/client_channel.h +246 -0
- data/src/core/client_channel/client_channel_args.h +21 -0
- data/src/core/client_channel/client_channel_factory.cc +2 -2
- data/src/core/client_channel/client_channel_factory.h +1 -2
- data/src/core/client_channel/client_channel_filter.cc +441 -1045
- data/src/core/client_channel/client_channel_filter.h +35 -88
- data/src/core/client_channel/client_channel_internal.h +26 -11
- data/src/core/client_channel/client_channel_plugin.cc +4 -18
- data/src/core/client_channel/client_channel_service_config.cc +3 -4
- data/src/core/client_channel/client_channel_service_config.h +13 -15
- data/src/core/client_channel/config_selector.h +26 -26
- data/src/core/client_channel/connector.h +4 -4
- data/src/core/client_channel/direct_channel.cc +83 -0
- data/src/core/client_channel/direct_channel.h +101 -0
- data/src/core/client_channel/dynamic_filters.cc +19 -17
- data/src/core/client_channel/dynamic_filters.h +9 -11
- data/src/core/client_channel/global_subchannel_pool.cc +2 -2
- data/src/core/client_channel/global_subchannel_pool.h +2 -3
- data/src/core/client_channel/lb_metadata.cc +119 -0
- data/src/core/client_channel/lb_metadata.h +55 -0
- data/src/core/client_channel/load_balanced_call_destination.cc +273 -0
- data/src/core/client_channel/load_balanced_call_destination.h +48 -0
- data/src/core/client_channel/local_subchannel_pool.cc +6 -7
- data/src/core/client_channel/local_subchannel_pool.h +1 -1
- data/src/core/client_channel/retry_filter.cc +9 -18
- data/src/core/client_channel/retry_filter.h +10 -18
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +259 -368
- data/src/core/client_channel/retry_filter_legacy_call_data.h +22 -25
- data/src/core/client_channel/retry_interceptor.cc +408 -0
- data/src/core/client_channel/retry_interceptor.h +157 -0
- data/src/core/client_channel/retry_service_config.cc +12 -15
- data/src/core/client_channel/retry_service_config.h +23 -12
- data/src/core/client_channel/retry_throttle.cc +60 -50
- data/src/core/client_channel/retry_throttle.h +16 -11
- data/src/core/client_channel/subchannel.cc +339 -254
- data/src/core/client_channel/subchannel.h +53 -47
- data/src/core/client_channel/subchannel_interface_internal.h +1 -1
- data/src/core/client_channel/subchannel_pool_interface.cc +1 -5
- data/src/core/client_channel/subchannel_pool_interface.h +4 -7
- data/src/core/client_channel/subchannel_stream_client.cc +58 -70
- data/src/core/client_channel/subchannel_stream_client.h +15 -19
- data/src/core/config/config_vars.cc +152 -0
- data/src/core/config/config_vars.h +129 -0
- data/src/core/config/config_vars_non_generated.cc +49 -0
- data/src/core/config/core_configuration.cc +111 -0
- data/src/core/config/core_configuration.h +242 -0
- data/src/core/config/load_config.cc +78 -0
- data/src/core/config/load_config.h +54 -0
- data/src/core/credentials/call/call_credentials.h +157 -0
- data/src/core/credentials/call/call_creds_util.cc +97 -0
- data/src/core/credentials/call/call_creds_util.h +43 -0
- data/src/core/credentials/call/composite/composite_call_credentials.cc +115 -0
- data/src/core/credentials/call/composite/composite_call_credentials.h +82 -0
- data/src/core/credentials/call/external/aws_external_account_credentials.cc +528 -0
- data/src/core/credentials/call/external/aws_external_account_credentials.h +117 -0
- data/src/core/credentials/call/external/aws_request_signer.cc +230 -0
- data/src/core/credentials/call/external/aws_request_signer.h +72 -0
- data/src/core/credentials/call/external/external_account_credentials.cc +641 -0
- data/src/core/credentials/call/external/external_account_credentials.h +207 -0
- data/src/core/credentials/call/external/file_external_account_credentials.cc +174 -0
- data/src/core/credentials/call/external/file_external_account_credentials.h +80 -0
- data/src/core/credentials/call/external/url_external_account_credentials.cc +222 -0
- data/src/core/credentials/call/external/url_external_account_credentials.h +73 -0
- data/src/core/credentials/call/gcp_service_account_identity/gcp_service_account_identity_credentials.cc +196 -0
- data/src/core/credentials/call/gcp_service_account_identity/gcp_service_account_identity_credentials.h +90 -0
- data/src/core/credentials/call/iam/iam_credentials.cc +78 -0
- data/src/core/credentials/call/iam/iam_credentials.h +66 -0
- data/src/core/credentials/call/json_util.cc +69 -0
- data/src/core/credentials/call/json_util.h +43 -0
- data/src/core/credentials/call/jwt/json_token.cc +318 -0
- data/src/core/credentials/call/jwt/json_token.h +78 -0
- data/src/core/credentials/call/jwt/jwt_credentials.cc +181 -0
- data/src/core/credentials/call/jwt/jwt_credentials.h +106 -0
- data/src/core/credentials/call/jwt/jwt_verifier.cc +988 -0
- data/src/core/credentials/call/jwt/jwt_verifier.h +122 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.cc +654 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.h +197 -0
- data/src/core/credentials/call/plugin/plugin_credentials.cc +201 -0
- data/src/core/credentials/call/plugin/plugin_credentials.h +123 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.cc +304 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.h +181 -0
- data/src/core/credentials/transport/alts/alts_credentials.cc +116 -0
- data/src/core/credentials/transport/alts/alts_credentials.h +127 -0
- data/src/core/credentials/transport/alts/alts_security_connector.cc +303 -0
- data/src/core/credentials/transport/alts/alts_security_connector.h +78 -0
- data/src/core/credentials/transport/alts/check_gcp_environment.cc +71 -0
- data/src/core/credentials/transport/alts/check_gcp_environment.h +57 -0
- data/src/core/credentials/transport/alts/check_gcp_environment_linux.cc +67 -0
- data/src/core/credentials/transport/alts/check_gcp_environment_no_op.cc +32 -0
- data/src/core/credentials/transport/alts/check_gcp_environment_windows.cc +101 -0
- data/src/core/credentials/transport/alts/grpc_alts_credentials_client_options.cc +123 -0
- data/src/core/credentials/transport/alts/grpc_alts_credentials_options.cc +45 -0
- data/src/core/credentials/transport/alts/grpc_alts_credentials_options.h +74 -0
- data/src/core/credentials/transport/alts/grpc_alts_credentials_server_options.cc +55 -0
- data/src/core/credentials/transport/channel_creds_registry.h +126 -0
- data/src/core/credentials/transport/channel_creds_registry_init.cc +245 -0
- data/src/core/credentials/transport/composite/composite_channel_credentials.cc +68 -0
- data/src/core/credentials/transport/composite/composite_channel_credentials.h +89 -0
- data/src/core/credentials/transport/fake/fake_credentials.cc +81 -0
- data/src/core/credentials/transport/fake/fake_credentials.h +92 -0
- data/src/core/credentials/transport/fake/fake_security_connector.cc +314 -0
- data/src/core/credentials/transport/fake/fake_security_connector.h +42 -0
- data/src/core/credentials/transport/google_default/credentials_generic.cc +38 -0
- data/src/core/credentials/transport/google_default/google_default_credentials.cc +442 -0
- data/src/core/credentials/transport/google_default/google_default_credentials.h +101 -0
- data/src/core/credentials/transport/insecure/insecure_credentials.cc +71 -0
- data/src/core/credentials/transport/insecure/insecure_credentials.h +61 -0
- data/src/core/credentials/transport/insecure/insecure_security_connector.cc +118 -0
- data/src/core/credentials/transport/insecure/insecure_security_connector.h +102 -0
- data/src/core/credentials/transport/local/local_credentials.cc +68 -0
- data/src/core/credentials/transport/local/local_credentials.h +77 -0
- data/src/core/credentials/transport/local/local_security_connector.cc +306 -0
- data/src/core/credentials/transport/local/local_security_connector.h +62 -0
- data/src/core/credentials/transport/security_connector.cc +123 -0
- data/src/core/credentials/transport/security_connector.h +197 -0
- data/src/core/credentials/transport/ssl/ssl_credentials.cc +474 -0
- data/src/core/credentials/transport/ssl/ssl_credentials.h +144 -0
- data/src/core/credentials/transport/ssl/ssl_security_connector.cc +403 -0
- data/src/core/credentials/transport/ssl/ssl_security_connector.h +81 -0
- data/src/core/credentials/transport/tls/certificate_provider_factory.h +69 -0
- data/src/core/credentials/transport/tls/certificate_provider_registry.cc +50 -0
- data/src/core/credentials/transport/tls/certificate_provider_registry.h +75 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_distributor.cc +337 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_distributor.h +215 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_match.cc +84 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_provider.cc +490 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_provider.h +206 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_verifier.cc +237 -0
- data/src/core/credentials/transport/tls/grpc_tls_certificate_verifier.h +169 -0
- data/src/core/credentials/transport/tls/grpc_tls_credentials_options.cc +161 -0
- data/src/core/credentials/transport/tls/grpc_tls_credentials_options.h +145 -0
- data/src/core/credentials/transport/tls/grpc_tls_crl_provider.cc +257 -0
- data/src/core/credentials/transport/tls/grpc_tls_crl_provider.h +129 -0
- data/src/core/credentials/transport/tls/load_system_roots.h +35 -0
- data/src/core/credentials/transport/tls/load_system_roots_fallback.cc +36 -0
- data/src/core/credentials/transport/tls/load_system_roots_supported.cc +165 -0
- data/src/core/credentials/transport/tls/load_system_roots_supported.h +44 -0
- data/src/core/credentials/transport/tls/load_system_roots_windows.cc +85 -0
- data/src/core/credentials/transport/tls/ssl_utils.cc +628 -0
- data/src/core/credentials/transport/tls/ssl_utils.h +188 -0
- data/src/core/credentials/transport/tls/tls_credentials.cc +170 -0
- data/src/core/credentials/transport/tls/tls_credentials.h +75 -0
- data/src/core/credentials/transport/tls/tls_security_connector.cc +816 -0
- data/src/core/credentials/transport/tls/tls_security_connector.h +285 -0
- data/src/core/credentials/transport/tls/tls_utils.cc +127 -0
- data/src/core/credentials/transport/tls/tls_utils.h +50 -0
- data/src/core/credentials/transport/transport_credentials.cc +158 -0
- data/src/core/credentials/transport/transport_credentials.h +182 -0
- data/src/core/credentials/transport/xds/xds_credentials.cc +231 -0
- data/src/core/credentials/transport/xds/xds_credentials.h +110 -0
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +30 -41
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +11 -9
- data/src/core/ext/filters/backend_metrics/backend_metric_provider.h +7 -0
- data/src/core/ext/filters/census/grpc_context.cc +7 -10
- data/src/core/ext/filters/channel_idle/idle_filter_state.cc +1 -2
- data/src/core/ext/filters/channel_idle/idle_filter_state.h +0 -1
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +53 -53
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +22 -19
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +33 -44
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +13 -12
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +4 -5
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +7 -10
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +198 -0
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +97 -0
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +80 -0
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +86 -0
- data/src/core/ext/filters/http/client/http_client_filter.cc +19 -17
- data/src/core/ext/filters/http/client/http_client_filter.h +12 -10
- data/src/core/ext/filters/http/client_authority_filter.cc +20 -23
- data/src/core/ext/filters/http/client_authority_filter.h +13 -10
- data/src/core/ext/filters/http/http_filters_plugin.cc +1 -2
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +74 -73
- data/src/core/ext/filters/http/message_compress/compression_filter.h +33 -24
- data/src/core/ext/filters/http/server/http_server_filter.cc +21 -23
- data/src/core/ext/filters/http/server/http_server_filter.h +11 -9
- data/src/core/ext/filters/message_size/message_size_filter.cc +53 -74
- data/src/core/ext/filters/message_size/message_size_filter.h +38 -35
- data/src/core/ext/filters/rbac/rbac_filter.cc +21 -26
- data/src/core/ext/filters/rbac/rbac_filter.h +13 -12
- data/src/core/ext/filters/rbac/rbac_service_config_parser.cc +19 -13
- data/src/core/ext/filters/rbac/rbac_service_config_parser.h +3 -5
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +27 -34
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +11 -9
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +3 -4
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +8 -10
- data/src/core/ext/transport/chttp2/alpn/alpn.cc +4 -5
- data/src/core/ext/transport/chttp2/alpn/alpn.h +0 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +88 -121
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +9 -15
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +1014 -387
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +225 -12
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +27 -39
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +1 -3
- data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +10 -12
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +1 -3
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.cc +53 -0
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +70 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +795 -642
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +21 -23
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +4 -5
- data/src/core/ext/transport/chttp2/transport/decode_huff.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/decode_huff.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +12 -17
- data/src/core/ext/transport/chttp2/transport/flow_control.h +7 -12
- data/src/core/ext/transport/chttp2/transport/frame.cc +112 -74
- data/src/core/ext/transport/chttp2/transport/frame.h +50 -5
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +23 -22
- data/src/core/ext/transport/chttp2/transport/frame_data.h +3 -5
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +15 -18
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +1 -3
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +16 -21
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +1 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +25 -23
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +6 -6
- data/src/core/ext/transport/chttp2/transport/frame_security.cc +80 -0
- data/src/core/ext/transport/chttp2/transport/frame_security.h +44 -0
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +45 -28
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +31 -10
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +4 -4
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +21 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +20 -17
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.cc +10 -10
- data/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +3 -4
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +8 -11
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +113 -107
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +12 -14
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.cc +45 -20
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +30 -11
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +24 -14
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +14 -8
- data/src/core/ext/transport/chttp2/transport/http2_status.h +52 -0
- data/src/core/ext/transport/chttp2/transport/huffsyms.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/internal.h +87 -89
- data/src/core/ext/transport/chttp2/transport/legacy_frame.h +1 -0
- data/src/core/ext/transport/chttp2/transport/parsing.cc +177 -150
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/ping_abuse_policy.h +1 -1
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.cc +6 -9
- data/src/core/ext/transport/chttp2/transport/ping_callbacks.h +4 -9
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.cc +35 -21
- data/src/core/ext/transport/chttp2/transport/ping_rate_policy.h +8 -9
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +20 -21
- data/src/core/ext/transport/chttp2/transport/stream_lists.h +65 -0
- data/src/core/ext/transport/chttp2/transport/varint.cc +6 -6
- data/src/core/ext/transport/chttp2/transport/varint.h +2 -3
- data/src/core/ext/transport/chttp2/transport/write_size_policy.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/write_size_policy.h +2 -3
- data/src/core/ext/transport/chttp2/transport/writing.cc +186 -153
- data/src/core/ext/transport/inproc/inproc_transport.cc +156 -76
- data/src/core/ext/transport/inproc/inproc_transport.h +2 -5
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +140 -137
- data/src/core/ext/transport/inproc/legacy_inproc_transport.h +1 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +46 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +40 -18
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +124 -92
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +64 -46
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +50 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +44 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +204 -69
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +168 -90
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +24 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +11 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +14 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +19 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +18 -8
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +11 -10
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +14 -13
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +8 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +230 -167
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +94 -81
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +9 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +9 -8
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +18 -8
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +117 -60
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +121 -55
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +583 -295
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +286 -170
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +29 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +68 -41
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +40 -26
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +802 -416
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +358 -231
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +31 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +12 -7
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +218 -74
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +66 -39
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +147 -57
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +128 -66
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +20 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +96 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +76 -42
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +11 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +1020 -227
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +390 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +41 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +121 -79
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +78 -48
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +9 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +11 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +14 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +236 -99
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +129 -62
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +19 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +273 -139
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +121 -79
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +13 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +22 -19
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +15 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +419 -173
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +197 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +10 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +14 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +15 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +15 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb.h +151 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.c +60 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +241 -28
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +77 -19
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +50 -38
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +27 -17
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +11 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +52 -23
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +134 -62
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +82 -50
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +305 -61
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +90 -36
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +267 -172
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +130 -87
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +150 -187
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +85 -76
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +11 -5
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +178 -13
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +46 -14
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +14 -7
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +20 -15
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +15 -9
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +84 -55
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +72 -38
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +13 -4
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +70 -22
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +71 -29
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +321 -50
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +143 -65
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +18 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +111 -65
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +43 -29
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +1541 -823
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +769 -475
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +67 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +33 -23
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +26 -12
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +103 -38
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +97 -47
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +17 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +118 -16
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +43 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +9 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +12 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +10 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +27 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +16 -10
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +32 -25
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +25 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +5 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +3 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.h +5 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +26 -17
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +30 -27
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +20 -14
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +513 -405
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +218 -151
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +24 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +33 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +103 -83
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +54 -40
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +444 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +135 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +38 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +72 -29
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +34 -18
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +63 -46
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +29 -19
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +16 -11
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +19 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +604 -395
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +303 -215
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +26 -4
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +83 -10
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +28 -11
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +34 -17
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +40 -18
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +6 -5
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +45 -34
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +22 -16
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +105 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +51 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +247 -108
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +109 -63
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +25 -12
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +27 -13
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +264 -113
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +119 -80
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +51 -13
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +23 -11
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +82 -44
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +49 -31
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +476 -163
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +179 -96
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +21 -4
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +24 -14
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +20 -10
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +127 -85
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +73 -51
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +17 -14
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +16 -6
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +26 -8
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb.h +142 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.c +55 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.h +32 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +42 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +16 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +10 -9
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +23 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +22 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +13 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +9 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +8 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +23 -16
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +27 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +11 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +51 -10
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +30 -9
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +14 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +15 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +30 -12
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +32 -14
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +24 -10
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +40 -10
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +12 -4
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +41 -28
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +37 -15
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +10 -4
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +12 -7
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +19 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +6 -5
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +8 -7
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +11 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +11 -10
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +15 -1
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +14 -9
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +15 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +3 -1
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +8 -7
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +12 -7
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +11 -5
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +17 -7
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +5 -2
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +213 -118
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +139 -74
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +18 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +576 -123
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +213 -79
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +23 -4
- data/src/core/ext/upb-gen/google/api/http.upb.h +81 -67
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +44 -30
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +12 -6
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +8 -6
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +873 -445
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +465 -292
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +57 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +8 -6
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +40 -19
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +32 -14
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +8 -6
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +15 -13
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +39 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +12 -6
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +27 -19
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +15 -5
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +205 -149
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +112 -62
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +17 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +14 -8
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +15 -5
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +8 -6
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +11 -1
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +53 -28
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +62 -24
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +36 -29
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +21 -7
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +140 -89
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +77 -39
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +14 -4
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +69 -23
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +31 -12
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +19 -9
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +6 -5
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +19 -9
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +18 -8
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/validate/validate.upb.h +632 -540
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +302 -204
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +29 -5
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +69 -23
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +31 -12
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +19 -9
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +6 -5
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +4 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +5 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +46 -18
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +32 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +18 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +13 -6
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +6 -5
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +9 -6
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +16 -9
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +18 -8
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +19 -13
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +14 -4
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +9 -6
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +19 -14
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +14 -8
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +33 -23
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +20 -10
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +11 -8
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +53 -37
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +24 -6
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +9 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +8 -5
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +16 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +13 -5
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +5 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +7 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +6 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +22 -9
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +19 -9
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +101 -44
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +88 -46
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +15 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +44 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +48 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +11 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +9 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +14 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +18 -10
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +17 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +17 -8
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +19 -9
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +7 -4
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +12 -10
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +15 -1
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +8 -4
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +9 -6
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +10 -4
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +6 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/certs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/clusters.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.c +13 -11
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/config_dump_shared.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/init_dump.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/listeners.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/memory.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/metrics.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/mutex_stats.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +90 -82
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/tap.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/deprecation.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/annotations/resource.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +63 -61
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +223 -211
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/circuit_breaker.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +419 -393
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/filter.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +116 -106
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/common/matcher/v3/matcher.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/address.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/backoff.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +201 -147
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +35 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +12 -12
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/event_service_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/extension.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_method_list.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +175 -165
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +199 -188
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/http_uri.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +272 -255
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/proxy_protocol.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/resolver.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_cmsg_headers.upbdefs.c +46 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_cmsg_headers.upbdefs.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.c +31 -20
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/socket_option.upbdefs.h +20 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/substitution_format_string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/udp_socket_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +41 -37
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +124 -94
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/api_listener.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +43 -40
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.c +60 -66
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener_components.upbdefs.h +5 -9
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +75 -56
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/udp_listener_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/metrics_service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/metrics/v3/stats.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.c +51 -49
- data/src/core/ext/upbdefs-gen/envoy/config/overload/v3/overload.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +119 -97
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +922 -895
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.h +15 -4
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/scoped_route.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/tap/v3/common.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +32 -21
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +20 -18
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/http_tracer.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/lightstep.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opentelemetry.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/service.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/skywalking.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.c +17 -19
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/trace.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/xray.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +23 -21
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +147 -143
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/clusters/aggregate/v3/cluster.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/common/fault/v3/fault.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/fault/v3/fault.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.c +87 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upbdefs.h +48 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +38 -34
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/router/v3/router.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +465 -459
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.c +50 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upbdefs.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/cert.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +96 -88
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/secret.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +204 -192
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.c +21 -18
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/ads.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.c +150 -136
- data/src/core/ext/upbdefs-gen/envoy/service/discovery/v3/discovery.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/service/load_stats/v3/lrs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.c +25 -23
- data/src/core/ext/upbdefs-gen/envoy/service/status/v3/csds.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/cookie.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/http/v3/path_transformation.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/address.upbdefs.c +41 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/address.upbdefs.h +33 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.c +28 -20
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/filter_state.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/http_inputs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/metadata.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/node.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/number.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/path.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/regex.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/status_code_input.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +41 -34
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/struct.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/value.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/metadata/v3/metadata.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/tracing/v3/custom_tag.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/hash_policy.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/http_status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/percent.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_strategy.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/ratelimit_unit.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/semantic_version.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/envoy/type/v3/token_bucket.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/annotations.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.c +110 -108
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/checked.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.c +103 -79
- data/src/core/ext/upbdefs-gen/google/api/expr/v1alpha1/syntax.upbdefs.h +15 -4
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/http.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/api/httpbody.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/any.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +496 -458
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +10 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/duration.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/empty.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/struct.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/timestamp.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/wrappers.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/google/rpc/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/src/proto/grpc/lookup/v1/rls_config.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/migrate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/security.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/sensitive.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/udpa/annotations/versioning.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/validate/validate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/migrate.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/security.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/sensitive.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/status.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/annotations/v3/versioning.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/authority.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/cidr.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/collection_entry.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/context_params.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/extension.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_locator.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/core/v3/resource_name.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/cel.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/domain.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/http_inputs.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/ip.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/matcher.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/regex.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/matcher/v3/string.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/cel.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/range.upbdefs.h +5 -4
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.c +2 -1
- data/src/core/ext/upbdefs-gen/xds/type/v3/typed_struct.upbdefs.h +5 -4
- data/src/core/filter/auth/auth_filters.h +233 -0
- data/src/core/filter/auth/client_auth_filter.cc +310 -0
- data/src/core/filter/auth/server_auth_filter.cc +208 -0
- data/src/core/filter/blackboard.cc +33 -0
- data/src/core/filter/blackboard.h +70 -0
- data/src/core/filter/filter_args.h +112 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +81 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.h +37 -0
- data/src/core/handshaker/handshaker.cc +188 -0
- data/src/core/handshaker/handshaker.h +170 -0
- data/src/core/handshaker/handshaker_factory.h +89 -0
- data/src/core/handshaker/handshaker_registry.cc +60 -0
- data/src/core/handshaker/handshaker_registry.h +69 -0
- data/src/core/handshaker/http_connect/http_connect_handshaker.cc +357 -0
- data/src/core/handshaker/http_connect/http_connect_handshaker.h +42 -0
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +296 -0
- data/src/core/handshaker/http_connect/http_proxy_mapper.h +52 -0
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.cc +57 -0
- data/src/core/handshaker/http_connect/xds_http_proxy_mapper.h +46 -0
- data/src/core/handshaker/proxy_mapper.h +52 -0
- data/src/core/handshaker/proxy_mapper_registry.cc +70 -0
- data/src/core/handshaker/proxy_mapper_registry.h +74 -0
- data/src/core/handshaker/security/secure_endpoint.cc +578 -0
- data/src/core/handshaker/security/secure_endpoint.h +41 -0
- data/src/core/handshaker/security/security_handshaker.cc +626 -0
- data/src/core/handshaker/security/security_handshaker.h +45 -0
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc +232 -0
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.h +39 -0
- data/src/core/lib/address_utils/parse_address.cc +33 -44
- data/src/core/lib/address_utils/parse_address.h +1 -3
- data/src/core/lib/address_utils/sockaddr_utils.cc +22 -19
- data/src/core/lib/address_utils/sockaddr_utils.h +0 -2
- data/src/core/lib/channel/channel_args.cc +33 -39
- data/src/core/lib/channel/channel_args.h +91 -59
- data/src/core/lib/channel/channel_args_preconditioning.cc +2 -2
- data/src/core/lib/channel/channel_args_preconditioning.h +2 -3
- data/src/core/lib/channel/channel_stack.cc +19 -81
- data/src/core/lib/channel/channel_stack.h +28 -65
- data/src/core/lib/channel/channel_stack_builder.cc +2 -2
- data/src/core/lib/channel/channel_stack_builder.h +1 -7
- data/src/core/lib/channel/channel_stack_builder_impl.cc +6 -158
- data/src/core/lib/channel/channel_stack_builder_impl.h +13 -3
- data/src/core/lib/channel/connected_channel.cc +52 -709
- data/src/core/lib/channel/promise_based_filter.cc +258 -333
- data/src/core/lib/channel/promise_based_filter.h +268 -638
- data/src/core/lib/compression/compression.cc +9 -11
- data/src/core/lib/compression/compression_internal.cc +16 -19
- data/src/core/lib/compression/compression_internal.h +5 -8
- data/src/core/lib/compression/message_compress.cc +16 -18
- data/src/core/lib/compression/message_compress.h +1 -2
- data/src/core/lib/debug/trace.cc +48 -67
- data/src/core/lib/debug/trace.h +2 -97
- data/src/core/lib/debug/trace_flags.cc +243 -0
- data/src/core/lib/debug/trace_flags.h +131 -0
- data/src/core/lib/debug/trace_impl.h +125 -0
- data/src/core/lib/event_engine/ares_resolver.cc +171 -100
- data/src/core/lib/event_engine/ares_resolver.h +17 -28
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +16 -19
- data/src/core/lib/event_engine/cf_engine/cf_engine.h +3 -5
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +53 -41
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.h +6 -10
- data/src/core/lib/event_engine/cf_engine/cftype_unique_ref.h +3 -5
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +29 -36
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.h +7 -10
- data/src/core/lib/event_engine/channel_args_endpoint_config.cc +8 -12
- data/src/core/lib/event_engine/channel_args_endpoint_config.h +7 -10
- data/src/core/lib/event_engine/common_closures.h +3 -6
- data/src/core/lib/event_engine/default_event_engine.cc +69 -43
- data/src/core/lib/event_engine/default_event_engine.h +27 -37
- data/src/core/lib/event_engine/default_event_engine_factory.cc +15 -22
- data/src/core/lib/event_engine/default_event_engine_factory.h +4 -7
- data/src/core/lib/event_engine/event_engine.cc +37 -9
- data/src/core/lib/event_engine/event_engine_context.h +5 -4
- data/src/core/lib/event_engine/extensions/can_track_errors.h +2 -4
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +2 -5
- data/src/core/lib/event_engine/extensions/iomgr_compatible.h +39 -0
- data/src/core/lib/event_engine/extensions/supports_fd.h +27 -6
- data/src/core/lib/event_engine/extensions/supports_win_sockets.h +48 -0
- data/src/core/lib/event_engine/extensions/tcp_trace.h +40 -0
- data/src/core/lib/event_engine/forkable.cc +14 -17
- data/src/core/lib/event_engine/forkable.h +2 -17
- data/src/core/lib/event_engine/grpc_polled_fd.h +4 -8
- data/src/core/lib/event_engine/handle_containers.h +3 -7
- data/src/core/lib/event_engine/memory_allocator_factory.h +3 -7
- data/src/core/lib/event_engine/nameser.h +1 -1
- data/src/core/lib/event_engine/poller.h +3 -6
- data/src/core/lib/event_engine/posix.h +3 -6
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.cc +32 -80
- data/src/core/lib/event_engine/posix_engine/ev_epoll1_linux.h +8 -12
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.cc +31 -82
- data/src/core/lib/event_engine/posix_engine/ev_poll_posix.h +4 -8
- data/src/core/lib/event_engine/posix_engine/event_poller.h +3 -7
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.cc +4 -7
- data/src/core/lib/event_engine/posix_engine/event_poller_posix_default.h +2 -4
- data/src/core/lib/event_engine/posix_engine/grpc_polled_fd_posix.h +5 -10
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.cc +7 -10
- data/src/core/lib/event_engine/posix_engine/internal_errqueue.h +2 -5
- data/src/core/lib/event_engine/posix_engine/lockfree_event.cc +9 -13
- data/src/core/lib/event_engine/posix_engine/lockfree_event.h +2 -5
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +5 -8
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.h +2 -5
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +116 -115
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.h +24 -27
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +94 -74
- data/src/core/lib/event_engine/posix_engine/posix_engine.h +18 -19
- data/src/core/lib/event_engine/posix_engine/posix_engine_closure.h +3 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +30 -35
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.h +15 -17
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +55 -37
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +7 -7
- data/src/core/lib/event_engine/posix_engine/set_socket_dualstack.cc +64 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +43 -49
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +12 -14
- data/src/core/lib/event_engine/posix_engine/timer.cc +9 -12
- data/src/core/lib/event_engine/posix_engine/timer.h +8 -13
- data/src/core/lib/event_engine/posix_engine/timer_heap.cc +4 -7
- data/src/core/lib/event_engine/posix_engine/timer_heap.h +2 -4
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +21 -32
- data/src/core/lib/event_engine/posix_engine/timer_manager.h +8 -13
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.cc +11 -18
- data/src/core/lib/event_engine/posix_engine/traced_buffer_list.h +26 -30
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.cc +5 -8
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_eventfd.h +2 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +14 -9
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.h +2 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix.h +2 -4
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.cc +2 -5
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_posix_default.h +2 -4
- data/src/core/lib/event_engine/query_extensions.h +5 -6
- data/src/core/lib/event_engine/ref_counted_dns_resolver_interface.h +4 -9
- data/src/core/lib/event_engine/resolved_address.cc +10 -11
- data/src/core/lib/event_engine/resolved_address_internal.h +3 -6
- data/src/core/lib/event_engine/shim.cc +13 -22
- data/src/core/lib/event_engine/shim.h +13 -4
- data/src/core/lib/event_engine/slice.cc +7 -11
- data/src/core/lib/event_engine/slice_buffer.cc +4 -8
- data/src/core/lib/event_engine/tcp_socket_utils.cc +27 -34
- data/src/core/lib/event_engine/tcp_socket_utils.h +6 -9
- data/src/core/lib/event_engine/thread_local.cc +4 -6
- data/src/core/lib/event_engine/thread_local.h +3 -5
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +7 -12
- data/src/core/lib/event_engine/thread_pool/thread_count.h +8 -24
- data/src/core/lib/event_engine/thread_pool/thread_pool.h +3 -8
- data/src/core/lib/event_engine/thread_pool/thread_pool_factory.cc +3 -6
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +63 -64
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +13 -20
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +52 -27
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.h +9 -11
- data/src/core/lib/event_engine/time_util.cc +5 -8
- data/src/core/lib/event_engine/time_util.h +3 -7
- data/src/core/lib/event_engine/utils.cc +21 -10
- data/src/core/lib/event_engine/utils.h +11 -8
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +160 -136
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.h +6 -10
- data/src/core/lib/event_engine/windows/iocp.cc +26 -26
- data/src/core/lib/event_engine/windows/iocp.h +4 -7
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +6 -10
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.h +2 -4
- data/src/core/lib/event_engine/windows/win_socket.cc +60 -40
- data/src/core/lib/event_engine/windows/win_socket.h +13 -14
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +65 -58
- data/src/core/lib/event_engine/windows/windows_endpoint.h +4 -6
- data/src/core/lib/event_engine/windows/windows_engine.cc +290 -140
- data/src/core/lib/event_engine/windows/windows_engine.h +153 -39
- data/src/core/lib/event_engine/windows/windows_listener.cc +34 -51
- data/src/core/lib/event_engine/windows/windows_listener.h +15 -13
- data/src/core/lib/event_engine/work_queue/basic_work_queue.cc +5 -7
- data/src/core/lib/event_engine/work_queue/basic_work_queue.h +4 -9
- data/src/core/lib/event_engine/work_queue/work_queue.h +3 -7
- data/src/core/lib/experiments/config.cc +59 -32
- data/src/core/lib/experiments/config.h +55 -2
- data/src/core/lib/experiments/experiments.cc +470 -360
- data/src/core/lib/experiments/experiments.h +210 -147
- data/src/core/lib/iomgr/buffer_list.cc +7 -8
- data/src/core/lib/iomgr/buffer_list.h +23 -24
- data/src/core/lib/iomgr/call_combiner.cc +42 -68
- data/src/core/lib/iomgr/call_combiner.h +12 -17
- data/src/core/lib/iomgr/cfstream_handle.cc +14 -22
- data/src/core/lib/iomgr/cfstream_handle.h +1 -1
- data/src/core/lib/iomgr/closure.cc +2 -2
- data/src/core/lib/iomgr/closure.h +15 -22
- data/src/core/lib/iomgr/combiner.cc +38 -53
- data/src/core/lib/iomgr/combiner.h +2 -6
- data/src/core/lib/iomgr/endpoint.cc +1 -7
- data/src/core/lib/iomgr/endpoint.h +4 -6
- data/src/core/lib/iomgr/endpoint_cfstream.cc +45 -76
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +50 -25
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +56 -22
- data/src/core/lib/iomgr/error.cc +52 -78
- data/src/core/lib/iomgr/error.h +8 -11
- data/src/core/lib/iomgr/error_cfstream.cc +1 -3
- data/src/core/lib/iomgr/ev_apple.cc +16 -24
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +94 -127
- data/src/core/lib/iomgr/ev_poll_posix.cc +75 -62
- data/src/core/lib/iomgr/ev_posix.cc +68 -60
- data/src/core/lib/iomgr/ev_posix.h +9 -12
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +11 -16
- data/src/core/lib/iomgr/event_engine_shims/closure.h +1 -3
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +36 -56
- data/src/core/lib/iomgr/event_engine_shims/endpoint.h +1 -2
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +10 -16
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.h +1 -2
- data/src/core/lib/iomgr/exec_ctx.cc +15 -25
- data/src/core/lib/iomgr/exec_ctx.h +21 -142
- data/src/core/lib/iomgr/executor.cc +60 -70
- data/src/core/lib/iomgr/executor.h +2 -2
- data/src/core/lib/iomgr/fork_posix.cc +11 -15
- data/src/core/lib/iomgr/fork_windows.cc +3 -2
- data/src/core/lib/iomgr/internal_errqueue.cc +5 -6
- data/src/core/lib/iomgr/iocp_windows.cc +16 -15
- data/src/core/lib/iomgr/iocp_windows.h +0 -1
- data/src/core/lib/iomgr/iomgr.cc +19 -26
- data/src/core/lib/iomgr/iomgr.h +0 -1
- data/src/core/lib/iomgr/iomgr_internal.cc +1 -2
- data/src/core/lib/iomgr/iomgr_internal.h +0 -1
- data/src/core/lib/iomgr/iomgr_posix.cc +2 -1
- data/src/core/lib/iomgr/iomgr_windows.cc +7 -6
- data/src/core/lib/iomgr/lockfree_event.cc +12 -21
- data/src/core/lib/iomgr/lockfree_event.h +1 -2
- data/src/core/lib/iomgr/nameser.h +1 -1
- data/src/core/lib/iomgr/polling_entity.cc +18 -17
- data/src/core/lib/iomgr/pollset.cc +2 -2
- data/src/core/lib/iomgr/pollset.h +0 -3
- data/src/core/lib/iomgr/pollset_set.cc +2 -2
- data/src/core/lib/iomgr/pollset_set_windows.cc +0 -1
- data/src/core/lib/iomgr/pollset_windows.cc +2 -6
- data/src/core/lib/iomgr/pollset_windows.h +0 -1
- data/src/core/lib/iomgr/port.h +2 -2
- data/src/core/lib/iomgr/python_util.h +1 -2
- data/src/core/lib/iomgr/resolve_address.cc +4 -7
- data/src/core/lib/iomgr/resolve_address.h +3 -6
- data/src/core/lib/iomgr/resolve_address_impl.h +0 -1
- data/src/core/lib/iomgr/resolve_address_posix.cc +12 -23
- data/src/core/lib/iomgr/resolve_address_windows.cc +9 -14
- data/src/core/lib/iomgr/resolved_address.h +0 -1
- data/src/core/lib/iomgr/sockaddr_utils_posix.cc +5 -6
- data/src/core/lib/iomgr/socket_factory_posix.cc +1 -1
- data/src/core/lib/iomgr/socket_factory_posix.h +1 -2
- data/src/core/lib/iomgr/socket_mutator.cc +3 -5
- data/src/core/lib/iomgr/socket_mutator.h +2 -4
- data/src/core/lib/iomgr/socket_utils.h +0 -1
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +46 -52
- data/src/core/lib/iomgr/socket_utils_linux.cc +1 -3
- data/src/core/lib/iomgr/socket_utils_posix.cc +23 -14
- data/src/core/lib/iomgr/socket_utils_posix.h +13 -4
- data/src/core/lib/iomgr/socket_utils_windows.cc +1 -3
- data/src/core/lib/iomgr/socket_windows.cc +11 -14
- data/src/core/lib/iomgr/socket_windows.h +1 -2
- data/src/core/lib/iomgr/tcp_client.cc +2 -2
- data/src/core/lib/iomgr/tcp_client.h +1 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +20 -29
- data/src/core/lib/iomgr/tcp_client_posix.cc +33 -49
- data/src/core/lib/iomgr/tcp_client_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_client_windows.cc +9 -12
- data/src/core/lib/iomgr/tcp_posix.cc +176 -217
- data/src/core/lib/iomgr/tcp_posix.h +10 -4
- data/src/core/lib/iomgr/tcp_server.cc +2 -2
- data/src/core/lib/iomgr/tcp_server.h +3 -4
- data/src/core/lib/iomgr/tcp_server_posix.cc +71 -83
- data/src/core/lib/iomgr/tcp_server_utils_posix.h +0 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +14 -21
- data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +13 -14
- data/src/core/lib/iomgr/tcp_server_windows.cc +58 -55
- data/src/core/lib/iomgr/tcp_windows.cc +38 -66
- data/src/core/lib/iomgr/timer.cc +2 -2
- data/src/core/lib/iomgr/timer.h +2 -3
- data/src/core/lib/iomgr/timer_generic.cc +73 -106
- data/src/core/lib/iomgr/timer_generic.h +0 -1
- data/src/core/lib/iomgr/timer_heap.cc +4 -6
- data/src/core/lib/iomgr/timer_manager.cc +28 -53
- data/src/core/lib/iomgr/timer_manager.h +0 -1
- data/src/core/lib/iomgr/unix_sockets_posix.cc +5 -6
- data/src/core/lib/iomgr/unix_sockets_posix.h +1 -3
- data/src/core/lib/iomgr/unix_sockets_posix_noop.cc +2 -4
- data/src/core/lib/iomgr/vsock.cc +5 -8
- data/src/core/lib/iomgr/vsock.h +1 -3
- data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +2 -4
- data/src/core/lib/iomgr/wakeup_fd_pipe.cc +16 -9
- data/src/core/lib/promise/activity.cc +6 -5
- data/src/core/lib/promise/activity.h +86 -34
- data/src/core/lib/promise/all_ok.h +83 -9
- data/src/core/lib/promise/arena_promise.h +1 -3
- data/src/core/lib/promise/cancel_callback.h +34 -6
- data/src/core/lib/promise/context.h +18 -9
- data/src/core/lib/promise/detail/basic_seq.h +33 -20
- data/src/core/lib/promise/detail/join_state.h +555 -812
- data/src/core/lib/promise/detail/promise_factory.h +122 -46
- data/src/core/lib/promise/detail/promise_like.h +48 -13
- data/src/core/lib/promise/detail/seq_state.h +1378 -2254
- data/src/core/lib/promise/detail/status.h +36 -14
- data/src/core/lib/promise/exec_ctx_wakeup_scheduler.h +1 -2
- data/src/core/lib/promise/for_each.h +108 -41
- data/src/core/lib/promise/if.h +67 -35
- data/src/core/lib/promise/interceptor_list.h +31 -45
- data/src/core/lib/promise/latch.h +39 -46
- data/src/core/lib/promise/loop.h +83 -27
- data/src/core/lib/promise/map.h +248 -21
- data/src/core/lib/promise/observable.h +181 -0
- data/src/core/lib/promise/party.cc +331 -154
- data/src/core/lib/promise/party.h +395 -396
- data/src/core/lib/promise/pipe.h +45 -68
- data/src/core/lib/promise/poll.h +124 -41
- data/src/core/lib/promise/prioritized_race.h +16 -22
- data/src/core/lib/promise/promise.h +14 -9
- data/src/core/lib/promise/race.h +12 -15
- data/src/core/lib/promise/seq.h +98 -70
- data/src/core/lib/promise/sleep.cc +7 -8
- data/src/core/lib/promise/sleep.h +17 -5
- data/src/core/lib/promise/status_flag.h +190 -56
- data/src/core/lib/promise/try_join.h +156 -25
- data/src/core/lib/promise/try_seq.h +152 -89
- data/src/core/lib/resource_quota/api.cc +4 -7
- data/src/core/lib/resource_quota/api.h +3 -5
- data/src/core/lib/resource_quota/arena.cc +64 -87
- data/src/core/lib/resource_quota/arena.h +224 -210
- data/src/core/lib/resource_quota/connection_quota.cc +8 -10
- data/src/core/lib/resource_quota/connection_quota.h +7 -4
- data/src/core/lib/resource_quota/memory_quota.cc +100 -97
- data/src/core/lib/resource_quota/memory_quota.h +31 -25
- data/src/core/lib/resource_quota/periodic_update.cc +5 -5
- data/src/core/lib/resource_quota/periodic_update.h +1 -3
- data/src/core/lib/resource_quota/resource_quota.cc +2 -2
- data/src/core/lib/resource_quota/resource_quota.h +6 -8
- data/src/core/lib/resource_quota/thread_quota.cc +4 -4
- data/src/core/lib/resource_quota/thread_quota.h +3 -4
- data/src/core/lib/security/authorization/audit_logging.cc +10 -12
- data/src/core/lib/security/authorization/audit_logging.h +3 -5
- data/src/core/lib/security/authorization/authorization_engine.h +1 -1
- data/src/core/lib/security/authorization/authorization_policy_provider.h +5 -7
- data/src/core/lib/security/authorization/authorization_policy_provider_vtable.cc +3 -4
- data/src/core/lib/security/authorization/evaluate_args.cc +15 -20
- data/src/core/lib/security/authorization/evaluate_args.h +5 -7
- data/src/core/lib/security/authorization/grpc_authorization_engine.cc +4 -5
- data/src/core/lib/security/authorization/grpc_authorization_engine.h +1 -3
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +25 -41
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +17 -16
- data/src/core/lib/security/authorization/matchers.cc +5 -8
- data/src/core/lib/security/authorization/matchers.h +4 -6
- data/src/core/lib/security/authorization/rbac_policy.cc +3 -3
- data/src/core/lib/security/authorization/rbac_policy.h +5 -8
- data/src/core/lib/security/authorization/stdout_logger.cc +7 -7
- data/src/core/lib/security/authorization/stdout_logger.h +2 -3
- data/src/core/lib/slice/percent_encoding.cc +4 -6
- data/src/core/lib/slice/slice.cc +13 -15
- data/src/core/lib/slice/slice.h +14 -11
- data/src/core/lib/slice/slice_buffer.cc +20 -21
- data/src/core/lib/slice/slice_buffer.h +4 -6
- data/src/core/lib/slice/slice_internal.h +4 -7
- data/src/core/lib/slice/slice_refcount.h +7 -15
- data/src/core/lib/slice/slice_string_helpers.cc +3 -3
- data/src/core/lib/slice/slice_string_helpers.h +1 -3
- data/src/core/lib/surface/byte_buffer.cc +2 -4
- data/src/core/lib/surface/byte_buffer_reader.cc +5 -7
- data/src/core/lib/surface/call.cc +218 -4007
- data/src/core/lib/surface/call.h +180 -103
- data/src/core/lib/surface/call_details.cc +5 -5
- data/src/core/lib/surface/call_log_batch.cc +7 -11
- data/src/core/lib/surface/call_test_only.h +2 -4
- data/src/core/lib/surface/call_utils.cc +231 -0
- data/src/core/lib/surface/call_utils.h +492 -0
- data/src/core/lib/surface/channel.cc +53 -59
- data/src/core/lib/surface/channel.h +23 -22
- data/src/core/lib/surface/channel_create.cc +31 -15
- data/src/core/lib/surface/channel_create.h +3 -3
- data/src/core/lib/surface/channel_init.cc +274 -271
- data/src/core/lib/surface/channel_init.h +180 -121
- data/src/core/lib/surface/channel_stack_type.cc +2 -2
- data/src/core/lib/surface/completion_queue.cc +195 -171
- data/src/core/lib/surface/completion_queue.h +4 -14
- data/src/core/lib/surface/completion_queue_factory.cc +8 -9
- data/src/core/lib/surface/completion_queue_factory.h +1 -2
- data/src/core/lib/surface/connection_context.cc +77 -0
- data/src/core/lib/surface/connection_context.h +156 -0
- data/src/core/lib/surface/event_string.cc +9 -3
- data/src/core/lib/surface/event_string.h +1 -2
- data/src/core/lib/surface/filter_stack_call.cc +1167 -0
- data/src/core/lib/surface/filter_stack_call.h +366 -0
- data/src/core/lib/surface/init.cc +76 -33
- data/src/core/lib/surface/init.h +5 -0
- data/src/core/lib/surface/init_internally.cc +2 -2
- data/src/core/lib/surface/init_internally.h +13 -2
- data/src/core/lib/surface/lame_client.cc +21 -27
- data/src/core/lib/surface/lame_client.h +9 -13
- data/src/core/lib/surface/legacy_channel.cc +89 -69
- data/src/core/lib/surface/legacy_channel.h +16 -27
- data/src/core/lib/surface/metadata_array.cc +6 -7
- data/src/core/lib/surface/validate_metadata.cc +4 -6
- data/src/core/lib/surface/validate_metadata.h +3 -6
- data/src/core/lib/surface/version.cc +3 -4
- data/src/core/lib/transport/bdp_estimator.cc +14 -20
- data/src/core/lib/transport/bdp_estimator.h +12 -18
- data/src/core/lib/transport/call_final_info.cc +2 -2
- data/src/core/lib/transport/call_final_info.h +3 -4
- data/src/core/lib/transport/connectivity_state.cc +44 -54
- data/src/core/lib/transport/connectivity_state.h +5 -11
- data/src/core/lib/transport/error_utils.cc +68 -16
- data/src/core/lib/transport/error_utils.h +4 -6
- data/src/core/lib/transport/status_conversion.cc +17 -15
- data/src/core/lib/transport/status_conversion.h +7 -7
- data/src/core/lib/transport/timeout_encoding.cc +26 -27
- data/src/core/lib/transport/timeout_encoding.h +3 -4
- data/src/core/lib/transport/transport.cc +7 -14
- data/src/core/lib/transport/transport.h +110 -99
- data/src/core/lib/transport/transport_framing_endpoint_extension.h +47 -0
- data/src/core/lib/transport/transport_op_string.cc +3 -6
- data/src/core/load_balancing/address_filtering.cc +2 -4
- data/src/core/load_balancing/address_filtering.h +2 -3
- data/src/core/load_balancing/backend_metric_parser.cc +22 -30
- data/src/core/load_balancing/backend_metric_parser.h +0 -2
- data/src/core/load_balancing/child_policy_handler.cc +42 -46
- data/src/core/load_balancing/child_policy_handler.h +2 -3
- data/src/core/load_balancing/delegating_helper.h +6 -8
- data/src/core/load_balancing/endpoint_list.cc +28 -22
- data/src/core/load_balancing/endpoint_list.h +39 -28
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +35 -36
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +21 -7
- data/src/core/load_balancing/grpclb/grpclb.cc +202 -254
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.cc +2 -3
- data/src/core/load_balancing/grpclb/grpclb_balancer_addresses.h +1 -2
- data/src/core/load_balancing/grpclb/grpclb_client_stats.cc +3 -5
- data/src/core/load_balancing/grpclb/grpclb_client_stats.h +4 -7
- data/src/core/load_balancing/grpclb/load_balancer_api.cc +7 -11
- data/src/core/load_balancing/grpclb/load_balancer_api.h +3 -6
- data/src/core/load_balancing/health_check_client.cc +78 -131
- data/src/core/load_balancing/health_check_client.h +1 -1
- data/src/core/load_balancing/health_check_client_internal.h +13 -15
- data/src/core/load_balancing/lb_policy.cc +11 -16
- data/src/core/load_balancing/lb_policy.h +76 -51
- data/src/core/load_balancing/lb_policy_factory.h +3 -4
- data/src/core/load_balancing/lb_policy_registry.cc +17 -17
- data/src/core/load_balancing/lb_policy_registry.h +3 -4
- data/src/core/load_balancing/oob_backend_metric.cc +22 -29
- data/src/core/load_balancing/oob_backend_metric.h +1 -1
- data/src/core/load_balancing/oob_backend_metric_internal.h +6 -8
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +193 -249
- data/src/core/load_balancing/outlier_detection/outlier_detection.h +8 -9
- data/src/core/load_balancing/pick_first/pick_first.cc +434 -452
- data/src/core/load_balancing/priority/priority.cc +115 -159
- data/src/core/load_balancing/ring_hash/ring_hash.cc +285 -240
- data/src/core/load_balancing/ring_hash/ring_hash.h +9 -17
- data/src/core/load_balancing/rls/rls.cc +483 -576
- data/src/core/load_balancing/rls/rls.h +97 -1
- data/src/core/load_balancing/round_robin/round_robin.cc +93 -114
- data/src/core/load_balancing/subchannel_interface.h +15 -5
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.cc +11 -12
- data/src/core/load_balancing/weighted_round_robin/static_stride_scheduler.h +3 -4
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +180 -196
- data/src/core/load_balancing/weighted_target/weighted_target.cc +87 -131
- data/src/core/load_balancing/weighted_target/weighted_target.h +1 -1
- data/src/core/load_balancing/xds/cds.cc +75 -103
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +202 -180
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +63 -104
- data/src/core/load_balancing/xds/xds_override_host.cc +168 -277
- data/src/core/load_balancing/xds/xds_override_host.h +5 -6
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +46 -59
- data/src/core/plugin_registry/grpc_plugin_registry.cc +14 -17
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +7 -5
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +101 -79
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.h +1 -2
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver.h +3 -5
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +6 -9
- data/src/core/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +153 -134
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +176 -161
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +7 -18
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc +1 -1
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc +2 -2
- data/src/core/resolver/dns/dns_resolver_plugin.cc +11 -13
- data/src/core/resolver/dns/dns_resolver_plugin.h +1 -1
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +66 -78
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.h +2 -3
- data/src/core/resolver/dns/event_engine/service_config_helper.cc +8 -10
- data/src/core/resolver/dns/native/dns_resolver.cc +22 -32
- data/src/core/resolver/dns/native/dns_resolver.h +1 -1
- data/src/core/resolver/endpoint_addresses.cc +5 -8
- data/src/core/resolver/endpoint_addresses.h +3 -1
- data/src/core/resolver/fake/fake_resolver.cc +20 -23
- data/src/core/resolver/fake/fake_resolver.h +8 -10
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +38 -43
- data/src/core/resolver/polling_resolver.cc +44 -63
- data/src/core/resolver/polling_resolver.h +9 -11
- data/src/core/resolver/resolver.cc +3 -7
- data/src/core/resolver/resolver.h +2 -8
- data/src/core/resolver/resolver_factory.h +2 -3
- data/src/core/resolver/resolver_registry.cc +14 -15
- data/src/core/resolver/resolver_registry.h +2 -3
- data/src/core/resolver/sockaddr/sockaddr_resolver.cc +6 -8
- data/src/core/resolver/xds/xds_config.cc +95 -0
- data/src/core/resolver/xds/xds_config.h +108 -0
- data/src/core/resolver/xds/xds_dependency_manager.cc +268 -344
- data/src/core/resolver/xds/xds_dependency_manager.h +39 -94
- data/src/core/resolver/xds/xds_resolver.cc +205 -232
- data/src/core/resolver/xds/xds_resolver_attributes.h +6 -3
- data/src/core/server/server.cc +2192 -0
- data/src/core/server/server.h +718 -0
- data/src/core/server/server_call_tracer_filter.cc +113 -0
- data/src/core/server/server_call_tracer_filter.h +28 -0
- data/src/core/server/server_config_selector.h +82 -0
- data/src/core/server/server_config_selector_filter.cc +168 -0
- data/src/core/server/server_config_selector_filter.h +33 -0
- data/src/core/server/server_interface.h +45 -0
- data/src/core/server/xds_channel_stack_modifier.cc +107 -0
- data/src/core/server/xds_channel_stack_modifier.h +62 -0
- data/src/core/server/xds_server_config_fetcher.cc +1318 -0
- data/src/core/service_config/service_config.h +3 -6
- data/src/core/service_config/service_config_call_data.h +20 -19
- data/src/core/service_config/service_config_channel_arg_filter.cc +24 -33
- data/src/core/service_config/service_config_impl.cc +12 -14
- data/src/core/service_config/service_config_impl.h +6 -9
- data/src/core/service_config/service_config_parser.cc +4 -9
- data/src/core/service_config/service_config_parser.h +2 -4
- data/src/core/telemetry/call_tracer.cc +384 -0
- data/src/core/telemetry/call_tracer.h +264 -0
- data/src/core/telemetry/histogram_view.cc +69 -0
- data/src/core/telemetry/histogram_view.h +36 -0
- data/src/core/telemetry/metrics.cc +198 -0
- data/src/core/telemetry/metrics.h +575 -0
- data/src/core/telemetry/stats.cc +67 -0
- data/src/core/telemetry/stats.h +62 -0
- data/src/core/telemetry/stats_data.cc +1004 -0
- data/src/core/telemetry/stats_data.h +747 -0
- data/src/core/telemetry/tcp_tracer.h +149 -0
- data/src/core/transport/auth_context.cc +236 -0
- data/src/core/transport/auth_context.h +140 -0
- data/src/core/tsi/alts/crypt/aes_gcm.cc +4 -8
- data/src/core/tsi/alts/crypt/gsec.cc +2 -4
- data/src/core/tsi/alts/crypt/gsec.h +3 -5
- data/src/core/tsi/alts/frame_protector/alts_counter.cc +2 -4
- data/src/core/tsi/alts/frame_protector/alts_counter.h +2 -4
- data/src/core/tsi/alts/frame_protector/alts_crypter.cc +2 -4
- data/src/core/tsi/alts/frame_protector/alts_crypter.h +1 -3
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.cc +16 -19
- data/src/core/tsi/alts/frame_protector/alts_frame_protector.h +0 -1
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc +1 -2
- data/src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h +1 -2
- data/src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc +2 -3
- data/src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc +2 -3
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +11 -13
- data/src/core/tsi/alts/frame_protector/frame_handler.h +0 -1
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +80 -84
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +1 -2
- data/src/core/tsi/alts/handshaker/alts_shared_resource.cc +5 -6
- data/src/core/tsi/alts/handshaker/alts_shared_resource.h +2 -3
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +90 -90
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +2 -3
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.cc +6 -5
- data/src/core/tsi/alts/handshaker/alts_tsi_utils.h +1 -2
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +17 -24
- data/src/core/tsi/alts/handshaker/transport_security_common_api.h +4 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +17 -19
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h +0 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +12 -14
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h +0 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h +1 -2
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +16 -14
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc +3 -6
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h +0 -1
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +13 -16
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h +0 -1
- data/src/core/tsi/fake_transport_security.cc +36 -34
- data/src/core/tsi/local_transport_security.cc +9 -11
- data/src/core/tsi/local_transport_security.h +1 -2
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +13 -15
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.h +7 -10
- data/src/core/tsi/ssl/session_cache/ssl_session.h +3 -5
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +16 -17
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +8 -10
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +4 -7
- data/src/core/tsi/ssl_transport_security.cc +155 -132
- data/src/core/tsi/ssl_transport_security.h +5 -8
- data/src/core/tsi/ssl_transport_security_utils.cc +86 -32
- data/src/core/tsi/ssl_transport_security_utils.h +13 -5
- data/src/core/tsi/ssl_types.h +0 -1
- data/src/core/tsi/transport_security.cc +3 -9
- data/src/core/tsi/transport_security.h +0 -3
- data/src/core/tsi/transport_security_grpc.cc +2 -2
- data/src/core/tsi/transport_security_grpc.h +1 -2
- data/src/core/tsi/transport_security_interface.h +2 -7
- data/src/core/util/alloc.cc +69 -0
- data/src/core/util/alloc.h +28 -0
- data/src/core/util/atomic_utils.h +47 -0
- data/src/core/util/avl.h +324 -0
- data/src/core/util/backoff.cc +57 -0
- data/src/core/util/backoff.h +86 -0
- data/src/core/util/bitset.h +224 -0
- data/src/core/util/check_class_size.h +48 -0
- data/src/core/util/chunked_vector.h +256 -0
- data/src/core/util/construct_destruct.h +41 -0
- data/src/core/util/cpp_impl_of.h +49 -0
- data/src/core/util/crash.cc +40 -0
- data/src/core/util/crash.h +36 -0
- data/src/core/util/debug_location.h +106 -0
- data/src/core/util/directory_reader.h +48 -0
- data/src/core/util/down_cast.h +48 -0
- data/src/core/util/dual_ref_counted.h +376 -0
- data/src/core/util/dump_args.cc +54 -0
- data/src/core/util/dump_args.h +114 -0
- data/src/core/util/env.h +52 -0
- data/src/core/util/event_log.cc +87 -0
- data/src/core/util/event_log.h +79 -0
- data/src/core/util/examine_stack.cc +43 -0
- data/src/core/util/examine_stack.h +44 -0
- data/src/core/util/fork.cc +241 -0
- data/src/core/util/fork.h +98 -0
- data/src/core/util/gcp_metadata_query.cc +132 -0
- data/src/core/util/gcp_metadata_query.h +86 -0
- data/src/core/util/gethostname.h +26 -0
- data/src/core/util/gethostname_fallback.cc +30 -0
- data/src/core/util/gethostname_host_name_max.cc +39 -0
- data/src/core/util/gethostname_sysconf.cc +39 -0
- data/src/core/util/glob.cc +70 -0
- data/src/core/util/glob.h +29 -0
- data/src/core/util/gpr_time.cc +266 -0
- data/src/core/util/grpc_if_nametoindex.h +29 -0
- data/src/core/util/grpc_if_nametoindex_posix.cc +41 -0
- data/src/core/util/grpc_if_nametoindex_unsupported.cc +36 -0
- data/src/core/util/host_port.cc +114 -0
- data/src/core/util/host_port.h +57 -0
- data/src/core/util/http_client/format_request.cc +134 -0
- data/src/core/util/http_client/format_request.h +37 -0
- data/src/core/util/http_client/httpcli.cc +427 -0
- data/src/core/util/http_client/httpcli.h +279 -0
- data/src/core/util/http_client/httpcli_security_connector.cc +210 -0
- data/src/core/util/http_client/httpcli_ssl_credentials.h +38 -0
- data/src/core/util/http_client/parser.cc +447 -0
- data/src/core/util/http_client/parser.h +126 -0
- data/src/core/util/if_list.h +4530 -0
- data/src/core/util/iphone/cpu.cc +43 -0
- data/src/core/util/json/json.h +29 -0
- data/src/core/util/json/json_args.h +34 -0
- data/src/core/util/json/json_channel_args.h +42 -0
- data/src/core/util/json/json_object_loader.cc +215 -0
- data/src/core/util/json/json_object_loader.h +644 -0
- data/src/core/util/json/json_reader.cc +953 -0
- data/src/core/util/json/json_reader.h +33 -0
- data/src/core/util/json/json_util.cc +101 -0
- data/src/core/util/json/json_util.h +163 -0
- data/src/core/util/json/json_writer.cc +337 -0
- data/src/core/util/json/json_writer.h +33 -0
- data/src/core/util/latent_see.cc +163 -0
- data/src/core/util/latent_see.h +334 -0
- data/src/core/util/linux/cpu.cc +86 -0
- data/src/core/util/linux/env.cc +61 -0
- data/src/core/util/load_file.cc +87 -0
- data/src/core/util/load_file.h +33 -0
- data/src/core/util/log.cc +127 -0
- data/src/core/util/lru_cache.h +122 -0
- data/src/core/util/manual_constructor.h +145 -0
- data/src/core/util/match.h +74 -0
- data/src/core/util/matchers.cc +336 -0
- data/src/core/util/matchers.h +162 -0
- data/src/core/util/memory.h +52 -0
- data/src/core/util/mpscq.cc +108 -0
- data/src/core/util/mpscq.h +98 -0
- data/src/core/util/msys/tmpfile.cc +57 -0
- data/src/core/util/no_destruct.h +95 -0
- data/src/core/util/notification.h +66 -0
- data/src/core/util/orphanable.h +153 -0
- data/src/core/util/overload.h +59 -0
- data/src/core/util/packed_table.h +40 -0
- data/src/core/util/per_cpu.cc +34 -0
- data/src/core/util/per_cpu.h +102 -0
- data/src/core/util/posix/cpu.cc +83 -0
- data/src/core/util/posix/directory_reader.cc +82 -0
- data/src/core/util/posix/env.cc +47 -0
- data/src/core/util/posix/stat.cc +54 -0
- data/src/core/util/posix/string.cc +71 -0
- data/src/core/util/posix/sync.cc +157 -0
- data/src/core/util/posix/thd.cc +243 -0
- data/src/core/util/posix/time.cc +122 -0
- data/src/core/util/posix/tmpfile.cc +71 -0
- data/src/core/util/random_early_detection.cc +33 -0
- data/src/core/util/random_early_detection.h +61 -0
- data/src/core/util/ref_counted.h +403 -0
- data/src/core/util/ref_counted_ptr.h +443 -0
- data/src/core/util/ref_counted_string.cc +42 -0
- data/src/core/util/ref_counted_string.h +159 -0
- data/src/core/util/ring_buffer.h +122 -0
- data/src/core/util/single_set_ptr.h +89 -0
- data/src/core/util/sorted_pack.h +89 -0
- data/src/core/util/spinlock.h +51 -0
- data/src/core/util/stat.h +35 -0
- data/src/core/util/status_helper.cc +450 -0
- data/src/core/util/status_helper.h +143 -0
- data/src/core/util/strerror.cc +40 -0
- data/src/core/util/strerror.h +29 -0
- data/src/core/util/string.cc +341 -0
- data/src/core/util/string.h +110 -0
- data/src/core/util/sync.cc +123 -0
- data/src/core/util/sync.h +199 -0
- data/src/core/util/sync_abseil.cc +106 -0
- data/src/core/util/table.h +471 -0
- data/src/core/util/tchar.cc +49 -0
- data/src/core/util/tchar.h +33 -0
- data/src/core/util/thd.h +193 -0
- data/src/core/util/time.cc +240 -0
- data/src/core/util/time.h +385 -0
- data/src/core/util/time_averaged_stats.cc +60 -0
- data/src/core/util/time_averaged_stats.h +79 -0
- data/src/core/util/time_precise.cc +167 -0
- data/src/core/util/time_precise.h +68 -0
- data/src/core/util/time_util.cc +80 -0
- data/src/core/util/time_util.h +41 -0
- data/src/core/util/tmpfile.h +31 -0
- data/src/core/util/type_list.h +88 -0
- data/src/core/util/unique_ptr_with_bitset.h +86 -0
- data/src/core/util/unique_type_name.h +123 -0
- data/src/core/util/upb_utils.h +43 -0
- data/src/core/util/uri.cc +378 -0
- data/src/core/util/uri.h +112 -0
- data/src/core/util/useful.h +153 -0
- data/src/core/util/uuid_v4.cc +37 -0
- data/src/core/util/uuid_v4.h +35 -0
- data/src/core/util/validation_errors.cc +73 -0
- data/src/core/util/validation_errors.h +144 -0
- data/src/core/util/wait_for_single_owner.h +62 -0
- data/src/core/util/windows/cpu.cc +34 -0
- data/src/core/util/windows/directory_reader.cc +79 -0
- data/src/core/util/windows/env.cc +56 -0
- data/src/core/util/windows/stat.cc +50 -0
- data/src/core/util/windows/string.cc +68 -0
- data/src/core/util/windows/string_util.cc +53 -0
- data/src/core/util/windows/sync.cc +121 -0
- data/src/core/util/windows/thd.cc +182 -0
- data/src/core/util/windows/time.cc +104 -0
- data/src/core/util/windows/tmpfile.cc +66 -0
- data/src/core/util/work_serializer.cc +298 -0
- data/src/core/util/work_serializer.h +81 -0
- data/src/core/util/xxhash_inline.h +29 -0
- data/src/core/xds/grpc/certificate_provider_store.cc +148 -0
- data/src/core/xds/grpc/certificate_provider_store.h +132 -0
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.cc +136 -0
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.h +80 -0
- data/src/core/xds/grpc/xds_audit_logger_registry.cc +123 -0
- data/src/core/xds/grpc/xds_audit_logger_registry.h +67 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +238 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +167 -0
- data/src/core/xds/grpc/xds_certificate_provider.cc +216 -0
- data/src/core/xds/grpc/xds_certificate_provider.h +116 -0
- data/src/core/xds/grpc/xds_client_grpc.cc +445 -0
- data/src/core/xds/grpc/xds_client_grpc.h +117 -0
- data/src/core/xds/grpc/xds_cluster.cc +79 -0
- data/src/core/xds/grpc/xds_cluster.h +135 -0
- data/src/core/xds/grpc/xds_cluster_parser.cc +773 -0
- data/src/core/xds/grpc/xds_cluster_parser.h +61 -0
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.cc +137 -0
- data/src/core/xds/grpc/xds_cluster_specifier_plugin.h +96 -0
- data/src/core/xds/grpc/xds_common_types.cc +103 -0
- data/src/core/xds/grpc/xds_common_types.h +90 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +501 -0
- data/src/core/xds/grpc/xds_common_types_parser.h +77 -0
- data/src/core/xds/grpc/xds_endpoint.cc +96 -0
- data/src/core/xds/grpc/xds_endpoint.h +128 -0
- data/src/core/xds/grpc/xds_endpoint_parser.cc +475 -0
- data/src/core/xds/grpc/xds_endpoint_parser.h +47 -0
- data/src/core/xds/grpc/xds_health_status.cc +73 -0
- data/src/core/xds/grpc/xds_health_status.h +89 -0
- data/src/core/xds/grpc/xds_http_fault_filter.cc +247 -0
- data/src/core/xds/grpc/xds_http_fault_filter.h +63 -0
- data/src/core/xds/grpc/xds_http_filter.h +134 -0
- data/src/core/xds/grpc/xds_http_filter_registry.cc +122 -0
- data/src/core/xds/grpc/xds_http_filter_registry.h +104 -0
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +141 -0
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +61 -0
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +609 -0
- data/src/core/xds/grpc/xds_http_rbac_filter.h +63 -0
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +230 -0
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +63 -0
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +365 -0
- data/src/core/xds/grpc/xds_lb_policy_registry.h +70 -0
- data/src/core/xds/grpc/xds_listener.cc +173 -0
- data/src/core/xds/grpc/xds_listener.h +203 -0
- data/src/core/xds/grpc/xds_listener_parser.cc +1000 -0
- data/src/core/xds/grpc/xds_listener_parser.h +60 -0
- data/src/core/xds/grpc/xds_metadata.cc +62 -0
- data/src/core/xds/grpc/xds_metadata.h +158 -0
- data/src/core/xds/grpc/xds_metadata_parser.cc +197 -0
- data/src/core/xds/grpc/xds_metadata_parser.h +35 -0
- data/src/core/xds/grpc/xds_route_config.cc +276 -0
- data/src/core/xds/grpc/xds_route_config.h +220 -0
- data/src/core/xds/grpc/xds_route_config_parser.cc +960 -0
- data/src/core/xds/grpc/xds_route_config_parser.h +77 -0
- data/src/core/xds/grpc/xds_routing.cc +297 -0
- data/src/core/xds/grpc/xds_routing.h +112 -0
- data/src/core/xds/grpc/xds_server_grpc.cc +193 -0
- data/src/core/xds/grpc/xds_server_grpc.h +76 -0
- data/src/core/xds/grpc/xds_server_grpc_interface.h +33 -0
- data/src/core/xds/grpc/xds_transport_grpc.cc +392 -0
- data/src/core/xds/grpc/xds_transport_grpc.h +151 -0
- data/src/core/xds/xds_client/lrs_client.cc +1281 -0
- data/src/core/xds/xds_client/lrs_client.h +394 -0
- data/src/core/xds/xds_client/xds_api.cc +130 -0
- data/src/core/xds/xds_client/xds_api.h +34 -0
- data/src/core/xds/xds_client/xds_backend_metric_propagation.cc +63 -0
- data/src/core/xds/xds_client/xds_backend_metric_propagation.h +59 -0
- data/src/core/xds/xds_client/xds_bootstrap.cc +47 -0
- data/src/core/xds/xds_client/xds_bootstrap.h +110 -0
- data/src/core/xds/xds_client/xds_channel_args.h +32 -0
- data/src/core/xds/xds_client/xds_client.cc +2017 -0
- data/src/core/xds/xds_client/xds_client.h +442 -0
- data/src/core/xds/xds_client/xds_locality.h +102 -0
- data/src/core/xds/xds_client/xds_metrics.h +41 -0
- data/src/core/xds/xds_client/xds_resource_type.h +95 -0
- data/src/core/xds/xds_client/xds_resource_type_impl.h +92 -0
- data/src/core/xds/xds_client/xds_transport.h +104 -0
- data/src/ruby/bin/math_pb.rb +1 -22
- data/src/ruby/ext/grpc/extconf.rb +2 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +3 -3
- data/src/ruby/ext/grpc/rb_call.c +15 -8
- data/src/ruby/ext/grpc/rb_call_credentials.c +39 -32
- data/src/ruby/ext/grpc/rb_call_credentials.h +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +42 -36
- data/src/ruby/ext/grpc/rb_channel_args.c +4 -4
- data/src/ruby/ext/grpc/rb_channel_credentials.c +5 -5
- data/src/ruby/ext/grpc/rb_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_completion_queue.c +18 -36
- data/src/ruby/ext/grpc/rb_completion_queue.h +7 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +9 -10
- data/src/ruby/ext/grpc/rb_event_thread.c +9 -9
- data/src/ruby/ext/grpc/rb_grpc.c +16 -16
- data/src/ruby/ext/grpc/rb_grpc.h +8 -1
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +136 -144
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +205 -216
- data/src/ruby/ext/grpc/rb_server.c +47 -27
- data/src/ruby/ext/grpc/rb_server_credentials.c +4 -3
- data/src/ruby/ext/grpc/rb_server_credentials.h +2 -2
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +5 -5
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.h +1 -2
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +5 -4
- data/src/ruby/ext/grpc/rb_xds_server_credentials.h +2 -2
- data/src/ruby/lib/grpc/generic/active_call.rb +8 -5
- data/src/ruby/lib/grpc/logconfig.rb +13 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/health_pb.rb +1 -22
- data/src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb +5 -5
- data/src/ruby/pb/grpc/testing/metrics_pb.rb +10 -19
- data/src/ruby/pb/grpc/testing/metrics_services_pb.rb +5 -5
- data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -22
- data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +1 -22
- data/src/ruby/pb/src/proto/grpc/testing/test_pb.rb +1 -22
- data/src/ruby/spec/call_spec.rb +53 -40
- data/src/ruby/spec/channel_spec.rb +4 -2
- data/src/ruby/spec/client_server_spec.rb +148 -507
- data/src/ruby/spec/generic/active_call_spec.rb +64 -86
- data/src/ruby/spec/generic/client_stub_spec.rb +20 -20
- data/src/ruby/spec/logconfig_spec.rb +30 -0
- data/src/ruby/spec/support/services.rb +3 -0
- data/third_party/abseil-cpp/absl/algorithm/container.h +57 -18
- data/third_party/abseil-cpp/absl/base/attributes.h +84 -0
- data/third_party/abseil-cpp/absl/base/config.h +32 -51
- data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +0 -16
- data/third_party/abseil-cpp/absl/base/internal/nullability_impl.h +3 -1
- data/third_party/abseil-cpp/absl/base/internal/spinlock.h +13 -3
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +0 -12
- data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock_config.h +4 -4
- data/third_party/abseil-cpp/absl/base/macros.h +48 -0
- data/third_party/abseil-cpp/absl/base/no_destructor.h +35 -40
- data/third_party/abseil-cpp/absl/base/nullability.h +33 -7
- data/third_party/abseil-cpp/absl/base/optimization.h +11 -0
- data/third_party/abseil-cpp/absl/base/options.h +1 -1
- data/third_party/abseil-cpp/absl/base/prefetch.h +1 -1
- data/third_party/abseil-cpp/absl/container/flat_hash_map.h +68 -12
- data/third_party/abseil-cpp/absl/container/flat_hash_set.h +60 -6
- data/third_party/abseil-cpp/absl/container/hash_container_defaults.h +45 -0
- data/third_party/abseil-cpp/absl/container/inlined_vector.h +13 -0
- data/third_party/abseil-cpp/absl/container/internal/common_policy_traits.h +20 -11
- data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +15 -16
- data/third_party/abseil-cpp/absl/container/internal/container_memory.h +34 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_function_defaults.h +68 -1
- data/third_party/abseil-cpp/absl/container/internal/hash_policy_traits.h +50 -0
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.cc +22 -7
- data/third_party/abseil-cpp/absl/container/internal/hashtablez_sampler.h +26 -8
- data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +39 -35
- data/third_party/abseil-cpp/absl/container/internal/layout.h +190 -74
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_map.h +8 -6
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.cc +334 -71
- data/third_party/abseil-cpp/absl/container/internal/raw_hash_set.h +1299 -458
- data/third_party/abseil-cpp/absl/crc/internal/crc32_x86_arm_combined_simd.h +19 -17
- data/third_party/abseil-cpp/absl/crc/internal/crc_cord_state.cc +4 -3
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc +2 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_memcpy_x86_arm_combined.cc +12 -8
- data/third_party/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc +1 -1
- data/third_party/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc +11 -7
- data/third_party/abseil-cpp/absl/crc/internal/non_temporal_memcpy.h +18 -17
- data/third_party/abseil-cpp/absl/debugging/internal/bounded_utf8_length_sequence.h +126 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.cc +258 -0
- data/third_party/abseil-cpp/absl/debugging/internal/decode_rust_punycode.h +55 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.cc +1057 -86
- data/third_party/abseil-cpp/absl/debugging/internal/demangle.h +3 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.cc +925 -0
- data/third_party/abseil-cpp/absl/debugging/internal/demangle_rust.h +42 -0
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc +43 -16
- data/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h +8 -7
- data/third_party/abseil-cpp/absl/debugging/internal/stacktrace_aarch64-inl.inc +10 -7
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.cc +70 -0
- data/third_party/abseil-cpp/absl/debugging/internal/utf8_for_code_point.h +47 -0
- data/third_party/abseil-cpp/absl/flags/commandlineflag.h +11 -0
- data/third_party/abseil-cpp/absl/flags/flag.h +2 -0
- data/third_party/abseil-cpp/absl/flags/internal/flag.cc +117 -30
- data/third_party/abseil-cpp/absl/flags/internal/flag.h +192 -30
- data/third_party/abseil-cpp/absl/flags/reflection.cc +10 -0
- data/third_party/abseil-cpp/absl/functional/any_invocable.h +13 -3
- data/third_party/abseil-cpp/absl/functional/bind_front.h +3 -2
- data/third_party/abseil-cpp/absl/functional/internal/any_invocable.h +7 -7
- data/third_party/abseil-cpp/absl/functional/internal/front_binder.h +9 -9
- data/third_party/abseil-cpp/absl/hash/internal/hash.cc +1 -1
- data/third_party/abseil-cpp/absl/hash/internal/hash.h +13 -3
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.cc +60 -28
- data/third_party/abseil-cpp/absl/hash/internal/low_level_hash.h +4 -0
- data/third_party/abseil-cpp/absl/log/absl_vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/log/check.h +209 -0
- data/third_party/abseil-cpp/absl/log/globals.h +28 -15
- data/third_party/abseil-cpp/absl/log/internal/check_impl.h +150 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.cc +138 -0
- data/third_party/abseil-cpp/absl/log/internal/check_op.h +462 -0
- data/third_party/abseil-cpp/absl/log/internal/conditions.h +2 -2
- data/third_party/abseil-cpp/absl/log/internal/log_impl.h +23 -23
- data/third_party/abseil-cpp/absl/log/internal/log_message.cc +104 -47
- data/third_party/abseil-cpp/absl/log/internal/log_message.h +23 -4
- data/third_party/abseil-cpp/absl/log/internal/nullstream.h +1 -10
- data/third_party/abseil-cpp/absl/log/internal/strip.h +36 -0
- data/third_party/abseil-cpp/absl/log/log.h +5 -1
- data/third_party/abseil-cpp/absl/log/log_sink.h +11 -4
- data/third_party/abseil-cpp/absl/log/vlog_is_on.h +3 -3
- data/third_party/abseil-cpp/absl/meta/type_traits.h +138 -42
- data/third_party/abseil-cpp/absl/numeric/int128.cc +0 -3
- data/third_party/abseil-cpp/absl/numeric/int128.h +35 -5
- data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +14 -0
- data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +18 -0
- data/third_party/abseil-cpp/absl/numeric/internal/bits.h +6 -2
- data/third_party/abseil-cpp/absl/random/beta_distribution.h +8 -8
- data/third_party/abseil-cpp/absl/random/bit_gen_ref.h +9 -7
- data/third_party/abseil-cpp/absl/random/distributions.h +11 -11
- data/third_party/abseil-cpp/absl/random/seed_sequences.h +2 -0
- data/third_party/abseil-cpp/absl/status/internal/statusor_internal.h +61 -2
- data/third_party/abseil-cpp/absl/status/status.cc +0 -4
- data/third_party/abseil-cpp/absl/status/status.h +4 -4
- data/third_party/abseil-cpp/absl/status/statusor.h +108 -142
- data/third_party/abseil-cpp/absl/strings/ascii.cc +32 -71
- data/third_party/abseil-cpp/absl/strings/cord.cc +20 -15
- data/third_party/abseil-cpp/absl/strings/cord.h +68 -7
- data/third_party/abseil-cpp/absl/strings/escaping.cc +96 -21
- data/third_party/abseil-cpp/absl/strings/escaping.h +25 -8
- data/third_party/abseil-cpp/absl/strings/has_absl_stringify.h +1 -0
- data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +10 -0
- data/third_party/abseil-cpp/absl/strings/internal/cord_internal.h +29 -9
- data/third_party/abseil-cpp/absl/strings/internal/cord_rep_btree.h +2 -2
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.cc +19 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_functions.h +23 -13
- data/third_party/abseil-cpp/absl/strings/internal/cordz_handle.cc +24 -24
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.cc +12 -7
- data/third_party/abseil-cpp/absl/strings/internal/cordz_info.h +9 -4
- data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +5 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +23 -2
- data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +5 -1
- data/third_party/abseil-cpp/absl/strings/numbers.cc +107 -333
- data/third_party/abseil-cpp/absl/strings/numbers.h +12 -151
- data/third_party/abseil-cpp/absl/strings/str_cat.cc +49 -142
- data/third_party/abseil-cpp/absl/strings/str_cat.h +70 -85
- data/third_party/abseil-cpp/absl/strings/str_format.h +1 -1
- data/third_party/abseil-cpp/absl/strings/str_join.h +19 -5
- data/third_party/abseil-cpp/absl/strings/str_split.h +2 -2
- data/third_party/abseil-cpp/absl/strings/string_view.h +3 -2
- data/third_party/abseil-cpp/absl/strings/substitute.cc +4 -0
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.cc +11 -2
- data/third_party/abseil-cpp/absl/synchronization/internal/graphcycles.h +5 -0
- data/third_party/abseil-cpp/absl/synchronization/mutex.h +5 -4
- data/third_party/abseil-cpp/absl/time/civil_time.h +2 -2
- data/third_party/abseil-cpp/absl/time/clock.cc +15 -1
- data/third_party/abseil-cpp/absl/time/duration.cc +58 -53
- data/third_party/abseil-cpp/absl/time/format.cc +2 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +1 -1
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +0 -29
- data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +3 -3
- data/third_party/abseil-cpp/absl/time/time.h +73 -29
- data/third_party/abseil-cpp/absl/types/compare.h +505 -0
- data/third_party/abseil-cpp/absl/types/internal/optional.h +2 -2
- data/third_party/abseil-cpp/absl/types/internal/variant.h +55 -67
- data/third_party/abseil-cpp/absl/types/optional.h +15 -18
- data/third_party/abseil-cpp/absl/types/span.h +3 -2
- data/third_party/abseil-cpp/absl/types/variant.h +19 -24
- data/third_party/abseil-cpp/absl/utility/utility.h +3 -41
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.cc +243 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.cc +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.cc +47 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.cc +42 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.cc +109 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.cc +43 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_int.cc +424 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.cc +239 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_object.cc +193 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_octet.cc +32 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.cc +415 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.cc +206 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.cc +224 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.cc +172 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.cc +109 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.cc +355 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_par.cc +61 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn_pack.cc +56 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_int.cc +63 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_string.cc +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/internal.h +13 -57
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.cc +241 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.cc +932 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.cc +669 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_fre.cc +164 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.cc +276 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_typ.cc +84 -0
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_utl.cc +229 -0
- data/third_party/boringssl-with-bazel/src/crypto/base64/base64.cc +434 -0
- data/third_party/boringssl-with-bazel/src/crypto/bcm_support.h +119 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.cc +658 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.cc +268 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.cc +511 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.cc +50 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.cc +193 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.cc +292 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/hexdump.cc +152 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/internal.h +13 -55
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.cc +446 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/printf.cc +59 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.cc +147 -0
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.cc +133 -0
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.cc +169 -0
- data/third_party/boringssl-with-bazel/src/crypto/bn/bn_asn1.cc +57 -0
- data/third_party/boringssl-with-bazel/src/crypto/bn/convert.cc +423 -0
- data/third_party/boringssl-with-bazel/src/crypto/buf/buf.cc +118 -0
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/asn1_compat.cc +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.cc +266 -0
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.cc +702 -0
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.cc +912 -0
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.cc +156 -0
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.cc +224 -0
- data/third_party/boringssl-with-bazel/src/crypto/chacha/internal.h +36 -32
- data/third_party/boringssl-with-bazel/src/crypto/cipher/derive_key.cc +110 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_aesctrhmac.cc +279 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_aesgcmsiv.cc +845 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_chacha20poly1305.cc +341 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_des.cc +198 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_null.cc +51 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_rc2.cc +417 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_rc4.cc +54 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/e_tls.cc +599 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/get_cipher.cc +85 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/internal.h +240 -0
- data/third_party/boringssl-with-bazel/src/crypto/cipher/tls_cbc.cc +476 -0
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.cc +631 -0
- data/third_party/boringssl-with-bazel/src/crypto/conf/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.cc +73 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.cc +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.cc +60 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.cc +59 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.cc +92 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.cc +39 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.cc +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.cc +150 -0
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.cc +287 -0
- data/third_party/boringssl-with-bazel/src/crypto/crypto.cc +181 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.cc +2154 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_64_adx.cc +18 -0
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.cc +529 -0
- data/third_party/boringssl-with-bazel/src/crypto/des/des.cc +829 -0
- data/third_party/boringssl-with-bazel/src/crypto/des/internal.h +27 -69
- data/third_party/boringssl-with-bazel/src/crypto/dh/dh_asn1.cc +124 -0
- data/third_party/boringssl-with-bazel/src/crypto/dh/params.cc +442 -0
- data/third_party/boringssl-with-bazel/src/crypto/digest/digest_extra.cc +306 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.cc +951 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.cc +379 -0
- data/third_party/boringssl-with-bazel/src/crypto/dsa/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/ec/ec_asn1.cc +570 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec/ec_derive.cc +96 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec/hash_to_curve.cc +510 -0
- data/third_party/boringssl-with-bazel/src/crypto/ec/internal.h +78 -0
- data/third_party/boringssl-with-bazel/src/crypto/ecdh/ecdh.cc +73 -0
- data/third_party/boringssl-with-bazel/src/crypto/ecdsa/ecdsa_asn1.cc +357 -0
- data/third_party/boringssl-with-bazel/src/crypto/engine/engine.cc +95 -0
- data/third_party/boringssl-with-bazel/src/crypto/err/err.cc +810 -0
- data/third_party/boringssl-with-bazel/src/crypto/err/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.cc +379 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.cc +471 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.cc +440 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/internal.h +20 -55
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh.cc +153 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dh_asn1.cc +142 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.cc +279 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.cc +230 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.cc +286 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.cc +103 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519_asn1.cc +225 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.cc +236 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.cc +609 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.cc +198 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.cc +109 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519_asn1.cc +237 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.cc +98 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.cc +342 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.cc +216 -0
- data/third_party/boringssl-with-bazel/src/crypto/evp/sign.cc +114 -0
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.cc +141 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes.cc.inc +191 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes_nohw.cc.inc +1281 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/cbc.cc.inc +130 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/cfb.cc.inc +166 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/ctr.cc.inc +100 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/gcm.cc.inc +604 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/gcm_nohw.cc.inc +302 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h +450 -75
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/key_wrap.cc.inc +208 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.cc.inc +84 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/ofb.cc.inc +53 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/polyval.cc.inc +89 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.cc +282 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm_interface.h +729 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.cc.inc +269 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/asm/x86_64-gcc.cc.inc +554 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.cc.inc +374 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.cc.inc +225 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/cmp.cc.inc +159 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.cc.inc +191 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.cc.inc +825 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.cc.inc +87 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.cc.inc +1227 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.cc.inc +300 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.cc.inc +339 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.cc.inc +582 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +52 -151
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/jacobi.cc.inc +108 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.cc.inc +430 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.cc.inc +222 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.cc.inc +698 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.cc.inc +980 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.cc.inc +260 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.cc.inc +142 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.h +20 -17
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/shift.cc.inc +320 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/sqrt.cc.inc +459 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/aead.cc.inc +295 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.cc.inc +672 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.cc.inc +1242 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.cc.inc +409 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/internal.h +14 -68
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cmac/cmac.cc.inc +288 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/delocate.h +26 -22
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.cc.inc +203 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.cc.inc +443 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/internal.h +13 -15
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.cc.inc +250 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digests.cc.inc +178 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/internal.h +13 -55
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/md32_common.h +13 -47
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digestsign/digestsign.cc.inc +226 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/builtin_curves.h +91 -91
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.cc.inc +986 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.cc.inc +501 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.cc.inc +439 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.cc.inc +104 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +19 -66
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.cc.inc +306 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.cc.inc +1163 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz-table.h +15 -10
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.cc.inc +741 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.h +87 -25
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.cc.inc +749 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.cc.inc +179 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.cc.inc +284 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.cc.inc +269 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/util.cc.inc +255 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.cc.inc +221 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.cc.inc +88 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.cc.inc +278 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/internal.h +41 -24
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.cc +28 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hkdf/hkdf.cc.inc +112 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hmac/hmac.cc.inc +215 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/keccak/internal.h +70 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/keccak/keccak.cc.inc +279 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/mldsa/mldsa.cc.inc +1993 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/mlkem/mlkem.cc.inc +1165 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/ctrdrbg.cc.inc +214 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +19 -104
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.cc.inc +483 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.cc.inc +147 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +13 -56
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.cc.inc +379 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.cc.inc +983 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.cc.inc +1296 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.cc.inc +129 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.cc.inc +1042 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/internal.h +36 -36
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.cc.inc +327 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/internal.h +109 -74
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.cc.inc +390 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.cc.inc +299 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.cc.inc +473 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/address.h +119 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/fors.cc.inc +169 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/fors.h +58 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/merkle.cc.inc +161 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/merkle.h +70 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/params.h +78 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/slhdsa.cc.inc +329 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/thash.cc.inc +173 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/thash.h +85 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/wots.cc.inc +171 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/slhdsa/wots.h +50 -0
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.cc.inc +180 -0
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.cc +1095 -0
- data/third_party/boringssl-with-bazel/src/crypto/hrss/hrss.cc +2185 -0
- data/third_party/boringssl-with-bazel/src/crypto/hrss/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +366 -459
- data/third_party/boringssl-with-bazel/src/crypto/kyber/internal.h +14 -14
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.cc +869 -0
- data/third_party/boringssl-with-bazel/src/crypto/lhash/internal.h +31 -75
- data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.cc +309 -0
- data/third_party/boringssl-with-bazel/src/crypto/md4/md4.cc +194 -0
- data/third_party/boringssl-with-bazel/src/crypto/md5/internal.h +37 -0
- data/third_party/boringssl-with-bazel/src/crypto/md5/md5.cc +243 -0
- data/third_party/boringssl-with-bazel/src/crypto/mem.cc +583 -0
- data/third_party/boringssl-with-bazel/src/crypto/mldsa/mldsa.cc +90 -0
- data/third_party/boringssl-with-bazel/src/crypto/mlkem/mlkem.cc +152 -0
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.cc +519 -0
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +18 -57
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_xref.cc +80 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/internal.h +44 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_all.cc +149 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.cc +254 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.cc +741 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_oth.cc +45 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.cc +208 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.cc +141 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_x509.cc +22 -0
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_xaux.cc +22 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7.cc +193 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.cc +526 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/internal.h +14 -54
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.cc +275 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.cc +487 -0
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.cc +1304 -0
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.cc +314 -0
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.cc +310 -0
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.cc +850 -0
- data/third_party/boringssl-with-bazel/src/crypto/pool/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/pool/pool.cc +262 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/deterministic.cc +65 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/fork_detect.cc +194 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/forkunsafe.cc +44 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/getentropy.cc +60 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/getrandom_fillin.h +64 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/ios.cc +42 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/passive.cc +178 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/rand.cc +77 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/sysrand_internal.h +37 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/trusty.cc +46 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/urandom.cc +328 -0
- data/third_party/boringssl-with-bazel/src/crypto/rand/windows.cc +102 -0
- data/third_party/boringssl-with-bazel/src/crypto/rc4/rc4.cc +56 -0
- data/third_party/boringssl-with-bazel/src/crypto/refcount.cc +59 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa/internal.h +36 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa/rsa_asn1.cc +283 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa/rsa_crypt.cc +531 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa/rsa_extra.cc +19 -0
- data/third_party/boringssl-with-bazel/src/crypto/rsa/rsa_print.cc +27 -0
- data/third_party/boringssl-with-bazel/src/crypto/sha/sha1.cc +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/sha/sha256.cc +87 -0
- data/third_party/boringssl-with-bazel/src/crypto/sha/sha512.cc +104 -0
- data/third_party/boringssl-with-bazel/src/crypto/siphash/siphash.cc +79 -0
- data/third_party/boringssl-with-bazel/src/crypto/slhdsa/slhdsa.cc +113 -0
- data/third_party/boringssl-with-bazel/src/crypto/spake2plus/internal.h +204 -0
- data/third_party/boringssl-with-bazel/src/crypto/spake2plus/spake2plus.cc +501 -0
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.cc +496 -0
- data/third_party/boringssl-with-bazel/src/crypto/thread.cc +68 -0
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.cc +51 -0
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.cc +151 -0
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.cc +240 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +13 -13
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.cc +1656 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.cc +685 -0
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.cc +1263 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_digest.cc +52 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.cc +97 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_verify.cc +74 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.cc +136 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.cc +542 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.cc +355 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.cc +227 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/ext_dat.h +13 -55
- data/third_party/boringssl-with-bazel/src/crypto/x509/i2d_pr.cc +37 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/internal.h +17 -62
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.cc +185 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.cc +796 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.cc +364 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.cc +103 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.cc +203 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.cc +287 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.cc +79 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.cc +181 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.cc +31 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.cc +593 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.cc +95 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.cc +102 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.cc +374 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.cc +444 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.cc +557 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.cc +73 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.cc +114 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.cc +228 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.cc +79 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.cc +164 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.cc +81 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.cc +304 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.cc +514 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.cc +89 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.cc +101 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.cc +109 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.cc +183 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.cc +590 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.cc +131 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.cc +1342 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509.cc +47 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.cc +186 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.cc +238 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.cc +66 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_def.cc +44 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.cc +139 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.cc +554 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.cc +164 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.cc +257 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.cc +198 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.cc +118 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_txt.cc +147 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.cc +249 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.cc +1600 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.cc +440 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.cc +235 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.cc +365 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509rset.cc +67 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.cc +91 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.cc +107 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.cc +318 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.cc +55 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.cc +342 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_exten.cc +36 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.cc +492 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.cc +170 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_req.cc +74 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_sig.cc +51 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.cc +34 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_val.cc +28 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.cc +506 -0
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.cc +169 -0
- data/third_party/boringssl-with-bazel/src/gen/crypto/err_data.cc +1529 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/aead.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/aes.h +13 -47
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +16 -76
- data/third_party/boringssl-with-bazel/src/include/openssl/asm_base.h +14 -14
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1.h +37 -63
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1_mac.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/asn1t.h +248 -328
- data/third_party/boringssl-with-bazel/src/include/openssl/base.h +32 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/base64.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/bcm_public.h +82 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/bio.h +98 -97
- data/third_party/boringssl-with-bazel/src/include/openssl/blake2.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/blowfish.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +28 -130
- data/third_party/boringssl-with-bazel/src/include/openssl/buf.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/buffer.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +43 -20
- data/third_party/boringssl-with-bazel/src/include/openssl/cast.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/chacha.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/cipher.h +31 -59
- data/third_party/boringssl-with-bazel/src/include/openssl/cmac.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/conf.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/cpu.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +35 -25
- data/third_party/boringssl-with-bazel/src/include/openssl/ctrdrbg.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/curve25519.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/des.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +34 -56
- data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +19 -56
- data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +27 -61
- data/third_party/boringssl-with-bazel/src/include/openssl/dtls1.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/e_os2.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +14 -66
- data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +31 -72
- data/third_party/boringssl-with-bazel/src/include/openssl/ecdh.h +14 -65
- data/third_party/boringssl-with-bazel/src/include/openssl/ecdsa.h +13 -51
- data/third_party/boringssl-with-bazel/src/include/openssl/engine.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/err.h +26 -107
- data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +39 -70
- data/third_party/boringssl-with-bazel/src/include/openssl/evp_errors.h +14 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/ex_data.h +28 -110
- data/third_party/boringssl-with-bazel/src/include/openssl/experimental/kyber.h +146 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/hkdf.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/hmac.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/hpke.h +21 -19
- data/third_party/boringssl-with-bazel/src/include/openssl/hrss.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/is_boringssl.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/kdf.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/lhash.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/md4.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/md5.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/mldsa.h +130 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/mlkem.h +222 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +30 -69
- data/third_party/boringssl-with-bazel/src/include/openssl/obj.h +15 -57
- data/third_party/boringssl-with-bazel/src/include/openssl/obj_mac.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/objects.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/opensslconf.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/opensslv.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/ossl_typ.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/pem.h +88 -117
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs12.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs7.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/pkcs8.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/poly1305.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/pool.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/posix_time.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +32 -23
- data/third_party/boringssl-with-bazel/src/include/openssl/rc4.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/ripemd.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +23 -63
- data/third_party/boringssl-with-bazel/src/include/openssl/safestack.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/service_indicator.h +15 -15
- data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +15 -95
- data/third_party/boringssl-with-bazel/src/include/openssl/siphash.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/slhdsa.h +174 -0
- data/third_party/boringssl-with-bazel/src/include/openssl/span.h +60 -32
- data/third_party/boringssl-with-bazel/src/include/openssl/srtp.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +723 -369
- data/third_party/boringssl-with-bazel/src/include/openssl/ssl3.h +15 -114
- data/third_party/boringssl-with-bazel/src/include/openssl/stack.h +23 -58
- data/third_party/boringssl-with-bazel/src/include/openssl/target.h +36 -23
- data/third_party/boringssl-with-bazel/src/include/openssl/thread.h +15 -57
- data/third_party/boringssl-with-bazel/src/include/openssl/time.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +29 -158
- data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +15 -15
- data/third_party/boringssl-with-bazel/src/include/openssl/type_check.h +13 -55
- data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +2951 -2520
- data/third_party/boringssl-with-bazel/src/include/openssl/x509_vfy.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3.h +13 -13
- data/third_party/boringssl-with-bazel/src/include/openssl/x509v3_errors.h +13 -53
- data/third_party/boringssl-with-bazel/src/ssl/bio_ssl.cc +15 -14
- data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +684 -441
- data/third_party/boringssl-with-bazel/src/ssl/d1_lib.cc +129 -168
- data/third_party/boringssl-with-bazel/src/ssl/d1_pkt.cc +177 -127
- data/third_party/boringssl-with-bazel/src/ssl/d1_srtp.cc +21 -127
- data/third_party/boringssl-with-bazel/src/ssl/dtls_method.cc +112 -97
- data/third_party/boringssl-with-bazel/src/ssl/dtls_record.cc +456 -222
- data/third_party/boringssl-with-bazel/src/ssl/encrypted_client_hello.cc +57 -56
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +736 -530
- data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +67 -74
- data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +78 -160
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +283 -332
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +242 -324
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +1220 -648
- data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +88 -170
- data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +29 -160
- data/third_party/boringssl-with-bazel/src/ssl/s3_pkt.cc +39 -113
- data/third_party/boringssl-with-bazel/src/ssl/ssl_aead_ctx.cc +103 -111
- data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +52 -145
- data/third_party/boringssl-with-bazel/src/ssl/ssl_buffer.cc +22 -24
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +155 -521
- data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +239 -373
- data/third_party/boringssl-with-bazel/src/ssl/ssl_credential.cc +609 -0
- data/third_party/boringssl-with-bazel/src/ssl/ssl_file.cc +15 -111
- data/third_party/boringssl-with-bazel/src/ssl/ssl_key_share.cc +129 -33
- data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +289 -389
- data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +147 -169
- data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +104 -247
- data/third_party/boringssl-with-bazel/src/ssl/ssl_stat.cc +17 -91
- data/third_party/boringssl-with-bazel/src/ssl/ssl_transcript.cc +109 -157
- data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +48 -28
- data/third_party/boringssl-with-bazel/src/ssl/ssl_x509.cc +104 -301
- data/third_party/boringssl-with-bazel/src/ssl/t1_enc.cc +45 -176
- data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +79 -69
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +187 -88
- data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +296 -163
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +290 -116
- data/third_party/boringssl-with-bazel/src/ssl/tls_method.cc +64 -117
- data/third_party/boringssl-with-bazel/src/ssl/tls_record.cc +55 -157
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_32.h +6 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64.h +6 -0
- data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64_adx.h +4 -1
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_32.h +1 -1
- data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +3 -0
- data/third_party/upb/upb/base/internal/log2.h +3 -1
- data/third_party/upb/upb/base/string_view.h +11 -1
- data/third_party/upb/upb/hash/common.c +5 -1
- data/third_party/upb/upb/json/decode.c +60 -13
- data/third_party/upb/upb/json/decode.h +25 -3
- data/third_party/upb/upb/json/encode.c +2 -2
- data/third_party/upb/upb/lex/round_trip.c +10 -0
- data/third_party/upb/upb/mem/alloc.h +5 -0
- data/third_party/upb/upb/mem/arena.c +355 -125
- data/third_party/upb/upb/mem/arena.h +66 -19
- data/third_party/upb/upb/mem/arena.hpp +9 -21
- data/third_party/upb/upb/mem/internal/arena.h +10 -9
- data/third_party/upb/upb/message/accessors.c +6 -7
- data/third_party/upb/upb/message/accessors.h +227 -376
- data/third_party/upb/upb/message/array.c +26 -3
- data/third_party/upb/upb/message/array.h +17 -9
- data/third_party/upb/upb/message/compat.c +13 -16
- data/third_party/upb/upb/message/compat.h +7 -6
- data/third_party/upb/upb/message/copy.c +56 -48
- data/third_party/upb/upb/message/internal/accessors.h +748 -57
- data/third_party/upb/upb/message/internal/array.h +23 -15
- data/third_party/upb/upb/message/internal/extension.c +34 -31
- data/third_party/upb/upb/message/internal/extension.h +29 -16
- data/third_party/upb/upb/message/internal/iterator.c +58 -0
- data/third_party/upb/upb/message/internal/iterator.h +29 -0
- data/third_party/upb/upb/message/internal/map.h +17 -3
- data/third_party/upb/upb/message/internal/map_sorter.h +4 -4
- data/third_party/upb/upb/message/internal/message.c +64 -29
- data/third_party/upb/upb/message/internal/message.h +165 -24
- data/third_party/upb/upb/message/internal/tagged_ptr.h +5 -5
- data/third_party/upb/upb/message/internal/types.h +41 -1
- data/third_party/upb/upb/message/map.c +25 -0
- data/third_party/upb/upb/message/map.h +11 -7
- data/third_party/upb/upb/message/map_sorter.c +20 -8
- data/third_party/upb/upb/message/merge.c +38 -0
- data/third_party/upb/upb/message/merge.h +26 -0
- data/third_party/upb/upb/message/message.c +166 -35
- data/third_party/upb/upb/message/message.h +74 -3
- data/third_party/upb/upb/message/tagged_ptr.h +4 -8
- data/third_party/upb/upb/message/value.h +35 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +4 -4
- data/third_party/upb/upb/mini_descriptor/build_enum.h +6 -14
- data/third_party/upb/upb/mini_descriptor/decode.c +114 -137
- data/third_party/upb/upb/mini_descriptor/decode.h +4 -3
- data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +1 -1
- data/third_party/upb/upb/mini_descriptor/link.c +23 -21
- data/third_party/upb/upb/mini_table/enum.h +2 -4
- data/third_party/upb/upb/mini_table/extension.h +4 -12
- data/third_party/upb/upb/mini_table/extension_registry.c +41 -11
- data/third_party/upb/upb/mini_table/extension_registry.h +30 -6
- data/third_party/upb/upb/mini_table/field.h +12 -38
- data/third_party/upb/upb/mini_table/file.h +6 -19
- data/third_party/upb/upb/mini_table/internal/enum.h +1 -1
- data/third_party/upb/upb/mini_table/internal/extension.h +18 -9
- data/third_party/upb/upb/mini_table/internal/field.h +23 -23
- data/third_party/upb/upb/mini_table/internal/file.h +7 -7
- data/third_party/upb/upb/mini_table/internal/message.c +21 -1
- data/third_party/upb/upb/mini_table/internal/message.h +80 -36
- data/third_party/upb/upb/mini_table/internal/sub.h +9 -4
- data/third_party/upb/upb/mini_table/message.c +21 -13
- data/third_party/upb/upb/mini_table/message.h +23 -22
- data/third_party/upb/upb/mini_table/sub.h +4 -12
- data/third_party/upb/upb/port/atomic.h +134 -7
- data/third_party/upb/upb/port/def.inc +238 -40
- data/third_party/upb/upb/port/undef.inc +18 -1
- data/third_party/upb/upb/reflection/common.h +1 -11
- data/third_party/upb/upb/reflection/def.hpp +39 -0
- data/third_party/upb/upb/reflection/def_pool.c +10 -3
- data/third_party/upb/upb/reflection/def_pool.h +2 -2
- data/third_party/upb/upb/reflection/descriptor_bootstrap.h +19 -0
- data/third_party/upb/upb/reflection/enum_def.c +5 -1
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +3 -8
- data/third_party/upb/upb/reflection/field_def.c +72 -46
- data/third_party/upb/upb/reflection/field_def.h +4 -0
- data/third_party/upb/upb/reflection/file_def.c +42 -9
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/def_builder.c +1 -1
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +45 -25
- data/third_party/upb/upb/reflection/message.h +5 -3
- data/third_party/upb/upb/reflection/message_def.c +14 -9
- data/third_party/upb/upb/reflection/method_def.h +8 -7
- data/third_party/upb/upb/reflection/service_def.h +6 -5
- data/third_party/upb/upb/text/encode.c +53 -401
- data/third_party/upb/upb/text/encode.h +1 -11
- data/third_party/upb/upb/text/internal/encode.c +199 -0
- data/third_party/upb/upb/text/internal/encode.h +244 -0
- data/third_party/upb/upb/text/options.h +22 -0
- data/third_party/upb/upb/wire/decode.c +219 -138
- data/third_party/upb/upb/wire/decode.h +19 -4
- data/third_party/upb/upb/wire/encode.c +160 -84
- data/third_party/upb/upb/wire/encode.h +14 -1
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +21 -23
- data/third_party/upb/upb/wire/internal/decode_fast.c +28 -29
- data/third_party/upb/upb/wire/internal/decoder.h +4 -11
- data/third_party/upb/upb/wire/internal/reader.h +3 -3
- data/third_party/upb/upb/wire/reader.c +1 -2
- data/third_party/upb/upb/wire/reader.h +4 -8
- data/third_party/utf8_range/utf8_range.c +15 -275
- data/third_party/utf8_range/utf8_range_neon.inc +117 -0
- data/third_party/utf8_range/utf8_range_sse.inc +272 -0
- data/third_party/zlib/deflate.c +40 -15
- data/third_party/zlib/deflate.h +33 -2
- data/third_party/zlib/gzguts.h +2 -6
- data/third_party/zlib/inflate.c +1 -1
- data/third_party/zlib/inftrees.c +3 -3
- data/third_party/zlib/inftrees.h +2 -2
- data/third_party/zlib/trees.c +18 -4
- data/third_party/zlib/zconf.h +1 -9
- data/third_party/zlib/zlib.h +12 -12
- data/third_party/zlib/zutil.h +4 -25
- metadata +872 -764
- data/include/grpc/grpc_cronet.h +0 -37
- data/src/core/client_channel/client_channel_channelz.cc +0 -93
- data/src/core/client_channel/client_channel_channelz.h +0 -85
- data/src/core/client_channel/config_selector.cc +0 -60
- data/src/core/client_channel/http_proxy_mapper.cc +0 -304
- data/src/core/client_channel/http_proxy_mapper.h +0 -53
- data/src/core/ext/filters/deadline/deadline_filter.cc +0 -407
- data/src/core/ext/filters/deadline/deadline_filter.h +0 -85
- data/src/core/ext/filters/server_config_selector/server_config_selector.h +0 -83
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.cc +0 -171
- data/src/core/ext/filters/server_config_selector/server_config_selector_filter.h +0 -33
- data/src/core/ext/gcp/metadata_query.cc +0 -136
- data/src/core/ext/gcp/metadata_query.h +0 -87
- data/src/core/ext/transport/chttp2/transport/http_trace.cc +0 -19
- data/src/core/ext/transport/chttp2/transport/http_trace.h +0 -24
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.cc +0 -44
- data/src/core/ext/transport/chttp2/transport/max_concurrent_streams_policy.h +0 -67
- data/src/core/ext/transport/inproc/inproc_plugin.cc +0 -23
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +0 -419
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +0 -81
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.h +0 -30
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +0 -400
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +0 -106
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.h +0 -33
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +0 -104
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.h +0 -32
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.c +0 -66
- data/src/core/ext/upbdefs-gen/opencensus/proto/trace/v1/trace_config.upbdefs.h +0 -47
- data/src/core/ext/xds/certificate_provider_store.cc +0 -155
- data/src/core/ext/xds/certificate_provider_store.h +0 -134
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.cc +0 -138
- data/src/core/ext/xds/file_watcher_certificate_provider_factory.h +0 -82
- data/src/core/ext/xds/upb_utils.h +0 -45
- data/src/core/ext/xds/xds_api.cc +0 -572
- data/src/core/ext/xds/xds_api.h +0 -189
- data/src/core/ext/xds/xds_audit_logger_registry.cc +0 -123
- data/src/core/ext/xds/xds_audit_logger_registry.h +0 -68
- data/src/core/ext/xds/xds_bootstrap.cc +0 -38
- data/src/core/ext/xds/xds_bootstrap.h +0 -88
- data/src/core/ext/xds/xds_bootstrap_grpc.cc +0 -397
- data/src/core/ext/xds/xds_bootstrap_grpc.h +0 -197
- data/src/core/ext/xds/xds_certificate_provider.cc +0 -217
- data/src/core/ext/xds/xds_certificate_provider.h +0 -116
- data/src/core/ext/xds/xds_channel_args.h +0 -32
- data/src/core/ext/xds/xds_channel_stack_modifier.cc +0 -107
- data/src/core/ext/xds/xds_channel_stack_modifier.h +0 -64
- data/src/core/ext/xds/xds_client.cc +0 -2303
- data/src/core/ext/xds/xds_client.h +0 -391
- data/src/core/ext/xds/xds_client_grpc.cc +0 -410
- data/src/core/ext/xds/xds_client_grpc.h +0 -110
- data/src/core/ext/xds/xds_client_stats.cc +0 -173
- data/src/core/ext/xds/xds_client_stats.h +0 -258
- data/src/core/ext/xds/xds_cluster.cc +0 -795
- data/src/core/ext/xds/xds_cluster.h +0 -145
- data/src/core/ext/xds/xds_cluster_specifier_plugin.cc +0 -140
- data/src/core/ext/xds/xds_cluster_specifier_plugin.h +0 -97
- data/src/core/ext/xds/xds_common_types.cc +0 -509
- data/src/core/ext/xds/xds_common_types.h +0 -108
- data/src/core/ext/xds/xds_endpoint.cc +0 -517
- data/src/core/ext/xds/xds_endpoint.h +0 -150
- data/src/core/ext/xds/xds_health_status.cc +0 -75
- data/src/core/ext/xds/xds_health_status.h +0 -91
- data/src/core/ext/xds/xds_http_fault_filter.cc +0 -238
- data/src/core/ext/xds/xds_http_fault_filter.h +0 -58
- data/src/core/ext/xds/xds_http_filters.cc +0 -117
- data/src/core/ext/xds/xds_http_filters.h +0 -182
- data/src/core/ext/xds/xds_http_rbac_filter.cc +0 -588
- data/src/core/ext/xds/xds_http_rbac_filter.h +0 -58
- data/src/core/ext/xds/xds_http_stateful_session_filter.cc +0 -218
- data/src/core/ext/xds/xds_http_stateful_session_filter.h +0 -58
- data/src/core/ext/xds/xds_lb_policy_registry.cc +0 -371
- data/src/core/ext/xds/xds_lb_policy_registry.h +0 -71
- data/src/core/ext/xds/xds_listener.cc +0 -1142
- data/src/core/ext/xds/xds_listener.h +0 -236
- data/src/core/ext/xds/xds_metrics.h +0 -39
- data/src/core/ext/xds/xds_resource_type.h +0 -98
- data/src/core/ext/xds/xds_resource_type_impl.h +0 -88
- data/src/core/ext/xds/xds_route_config.cc +0 -1198
- data/src/core/ext/xds/xds_route_config.h +0 -253
- data/src/core/ext/xds/xds_routing.cc +0 -264
- data/src/core/ext/xds/xds_routing.h +0 -106
- data/src/core/ext/xds/xds_server_config_fetcher.cc +0 -1393
- data/src/core/ext/xds/xds_transport.h +0 -89
- data/src/core/ext/xds/xds_transport_grpc.cc +0 -350
- data/src/core/ext/xds/xds_transport_grpc.h +0 -139
- data/src/core/lib/avl/avl.h +0 -325
- data/src/core/lib/backoff/backoff.cc +0 -47
- data/src/core/lib/backoff/backoff.h +0 -89
- data/src/core/lib/backoff/random_early_detection.cc +0 -33
- data/src/core/lib/backoff/random_early_detection.h +0 -62
- data/src/core/lib/channel/call_finalization.h +0 -88
- data/src/core/lib/channel/call_tracer.cc +0 -364
- data/src/core/lib/channel/call_tracer.h +0 -227
- data/src/core/lib/channel/channel_stack_trace.cc +0 -19
- data/src/core/lib/channel/channel_stack_trace.h +0 -24
- data/src/core/lib/channel/channel_trace.cc +0 -187
- data/src/core/lib/channel/channel_trace.h +0 -138
- data/src/core/lib/channel/channelz.cc +0 -610
- data/src/core/lib/channel/channelz.h +0 -384
- data/src/core/lib/channel/channelz_registry.cc +0 -281
- data/src/core/lib/channel/channelz_registry.h +0 -102
- data/src/core/lib/channel/context.h +0 -77
- data/src/core/lib/channel/metrics.cc +0 -396
- data/src/core/lib/channel/metrics.h +0 -406
- data/src/core/lib/channel/server_call_tracer_filter.cc +0 -113
- data/src/core/lib/channel/server_call_tracer_filter.h +0 -28
- data/src/core/lib/channel/status_util.cc +0 -155
- data/src/core/lib/channel/status_util.h +0 -81
- data/src/core/lib/channel/tcp_tracer.h +0 -144
- data/src/core/lib/config/config_vars.cc +0 -154
- data/src/core/lib/config/config_vars.h +0 -131
- data/src/core/lib/config/config_vars_non_generated.cc +0 -49
- data/src/core/lib/config/core_configuration.cc +0 -111
- data/src/core/lib/config/core_configuration.h +0 -244
- data/src/core/lib/config/load_config.cc +0 -79
- data/src/core/lib/config/load_config.h +0 -55
- data/src/core/lib/debug/event_log.cc +0 -88
- data/src/core/lib/debug/event_log.h +0 -81
- data/src/core/lib/debug/histogram_view.cc +0 -69
- data/src/core/lib/debug/histogram_view.h +0 -37
- data/src/core/lib/debug/stats.cc +0 -68
- data/src/core/lib/debug/stats.h +0 -64
- data/src/core/lib/debug/stats_data.cc +0 -752
- data/src/core/lib/debug/stats_data.h +0 -579
- data/src/core/lib/event_engine/trace.cc +0 -25
- data/src/core/lib/event_engine/trace.h +0 -49
- data/src/core/lib/gpr/alloc.cc +0 -71
- data/src/core/lib/gpr/alloc.h +0 -28
- data/src/core/lib/gpr/android/log.cc +0 -79
- data/src/core/lib/gpr/atm.cc +0 -35
- data/src/core/lib/gpr/iphone/cpu.cc +0 -44
- data/src/core/lib/gpr/linux/cpu.cc +0 -87
- data/src/core/lib/gpr/linux/log.cc +0 -114
- data/src/core/lib/gpr/log.cc +0 -166
- data/src/core/lib/gpr/log_internal.h +0 -55
- data/src/core/lib/gpr/msys/tmpfile.cc +0 -59
- data/src/core/lib/gpr/posix/cpu.cc +0 -84
- data/src/core/lib/gpr/posix/log.cc +0 -111
- data/src/core/lib/gpr/posix/string.cc +0 -72
- data/src/core/lib/gpr/posix/sync.cc +0 -159
- data/src/core/lib/gpr/posix/time.cc +0 -122
- data/src/core/lib/gpr/posix/tmpfile.cc +0 -71
- data/src/core/lib/gpr/spinlock.h +0 -53
- data/src/core/lib/gpr/string.cc +0 -344
- data/src/core/lib/gpr/string.h +0 -112
- data/src/core/lib/gpr/sync.cc +0 -124
- data/src/core/lib/gpr/sync_abseil.cc +0 -110
- data/src/core/lib/gpr/time.cc +0 -269
- data/src/core/lib/gpr/time_precise.cc +0 -168
- data/src/core/lib/gpr/time_precise.h +0 -69
- data/src/core/lib/gpr/tmpfile.h +0 -32
- data/src/core/lib/gpr/useful.h +0 -184
- data/src/core/lib/gpr/windows/cpu.cc +0 -35
- data/src/core/lib/gpr/windows/log.cc +0 -116
- data/src/core/lib/gpr/windows/string.cc +0 -69
- data/src/core/lib/gpr/windows/string_util.cc +0 -55
- data/src/core/lib/gpr/windows/sync.cc +0 -122
- data/src/core/lib/gpr/windows/time.cc +0 -105
- data/src/core/lib/gpr/windows/tmpfile.cc +0 -68
- data/src/core/lib/gprpp/atomic_utils.h +0 -47
- data/src/core/lib/gprpp/bitset.h +0 -225
- data/src/core/lib/gprpp/chunked_vector.h +0 -257
- data/src/core/lib/gprpp/construct_destruct.h +0 -40
- data/src/core/lib/gprpp/cpp_impl_of.h +0 -49
- data/src/core/lib/gprpp/crash.cc +0 -43
- data/src/core/lib/gprpp/crash.h +0 -37
- data/src/core/lib/gprpp/debug_location.h +0 -99
- data/src/core/lib/gprpp/directory_reader.h +0 -48
- data/src/core/lib/gprpp/down_cast.h +0 -49
- data/src/core/lib/gprpp/dual_ref_counted.h +0 -364
- data/src/core/lib/gprpp/env.h +0 -53
- data/src/core/lib/gprpp/examine_stack.cc +0 -43
- data/src/core/lib/gprpp/examine_stack.h +0 -45
- data/src/core/lib/gprpp/fork.cc +0 -242
- data/src/core/lib/gprpp/fork.h +0 -98
- data/src/core/lib/gprpp/host_port.cc +0 -114
- data/src/core/lib/gprpp/host_port.h +0 -57
- data/src/core/lib/gprpp/if_list.h +0 -4530
- data/src/core/lib/gprpp/linux/env.cc +0 -62
- data/src/core/lib/gprpp/load_file.cc +0 -78
- data/src/core/lib/gprpp/load_file.h +0 -34
- data/src/core/lib/gprpp/manual_constructor.h +0 -146
- data/src/core/lib/gprpp/match.h +0 -75
- data/src/core/lib/gprpp/memory.h +0 -53
- data/src/core/lib/gprpp/mpscq.cc +0 -108
- data/src/core/lib/gprpp/mpscq.h +0 -99
- data/src/core/lib/gprpp/no_destruct.h +0 -95
- data/src/core/lib/gprpp/notification.h +0 -67
- data/src/core/lib/gprpp/orphanable.h +0 -153
- data/src/core/lib/gprpp/overload.h +0 -59
- data/src/core/lib/gprpp/packed_table.h +0 -40
- data/src/core/lib/gprpp/per_cpu.cc +0 -35
- data/src/core/lib/gprpp/per_cpu.h +0 -104
- data/src/core/lib/gprpp/posix/directory_reader.cc +0 -82
- data/src/core/lib/gprpp/posix/env.cc +0 -47
- data/src/core/lib/gprpp/posix/stat.cc +0 -54
- data/src/core/lib/gprpp/posix/thd.cc +0 -247
- data/src/core/lib/gprpp/ref_counted.h +0 -394
- data/src/core/lib/gprpp/ref_counted_ptr.h +0 -445
- data/src/core/lib/gprpp/ref_counted_string.cc +0 -44
- data/src/core/lib/gprpp/ref_counted_string.h +0 -161
- data/src/core/lib/gprpp/single_set_ptr.h +0 -87
- data/src/core/lib/gprpp/sorted_pack.h +0 -89
- data/src/core/lib/gprpp/stat.h +0 -36
- data/src/core/lib/gprpp/status_helper.cc +0 -453
- data/src/core/lib/gprpp/status_helper.h +0 -190
- data/src/core/lib/gprpp/strerror.cc +0 -41
- data/src/core/lib/gprpp/strerror.h +0 -29
- data/src/core/lib/gprpp/sync.h +0 -200
- data/src/core/lib/gprpp/table.h +0 -452
- data/src/core/lib/gprpp/tchar.cc +0 -49
- data/src/core/lib/gprpp/tchar.h +0 -33
- data/src/core/lib/gprpp/thd.h +0 -195
- data/src/core/lib/gprpp/time.cc +0 -242
- data/src/core/lib/gprpp/time.h +0 -385
- data/src/core/lib/gprpp/time_averaged_stats.cc +0 -60
- data/src/core/lib/gprpp/time_averaged_stats.h +0 -79
- data/src/core/lib/gprpp/time_util.cc +0 -81
- data/src/core/lib/gprpp/time_util.h +0 -42
- data/src/core/lib/gprpp/type_list.h +0 -32
- data/src/core/lib/gprpp/unique_type_name.h +0 -104
- data/src/core/lib/gprpp/uuid_v4.cc +0 -37
- data/src/core/lib/gprpp/uuid_v4.h +0 -36
- data/src/core/lib/gprpp/validation_errors.cc +0 -65
- data/src/core/lib/gprpp/validation_errors.h +0 -134
- data/src/core/lib/gprpp/windows/directory_reader.cc +0 -81
- data/src/core/lib/gprpp/windows/env.cc +0 -56
- data/src/core/lib/gprpp/windows/stat.cc +0 -50
- data/src/core/lib/gprpp/windows/thd.cc +0 -182
- data/src/core/lib/gprpp/work_serializer.cc +0 -558
- data/src/core/lib/gprpp/work_serializer.h +0 -107
- data/src/core/lib/gprpp/xxhash_inline.h +0 -29
- data/src/core/lib/handshaker/proxy_mapper.h +0 -53
- data/src/core/lib/handshaker/proxy_mapper_registry.cc +0 -71
- data/src/core/lib/handshaker/proxy_mapper_registry.h +0 -75
- data/src/core/lib/http/format_request.cc +0 -137
- data/src/core/lib/http/format_request.h +0 -38
- data/src/core/lib/http/httpcli.cc +0 -392
- data/src/core/lib/http/httpcli.h +0 -268
- data/src/core/lib/http/httpcli_security_connector.cc +0 -213
- data/src/core/lib/http/httpcli_ssl_credentials.h +0 -39
- data/src/core/lib/http/parser.cc +0 -451
- data/src/core/lib/http/parser.h +0 -130
- data/src/core/lib/iomgr/ev_windows.cc +0 -30
- data/src/core/lib/iomgr/gethostname.h +0 -26
- data/src/core/lib/iomgr/gethostname_fallback.cc +0 -30
- data/src/core/lib/iomgr/gethostname_host_name_max.cc +0 -40
- data/src/core/lib/iomgr/gethostname_sysconf.cc +0 -40
- data/src/core/lib/iomgr/grpc_if_nametoindex.h +0 -30
- data/src/core/lib/iomgr/grpc_if_nametoindex_posix.cc +0 -43
- data/src/core/lib/iomgr/grpc_if_nametoindex_unsupported.cc +0 -39
- data/src/core/lib/json/json.h +0 -30
- data/src/core/lib/json/json_args.h +0 -34
- data/src/core/lib/json/json_channel_args.h +0 -42
- data/src/core/lib/json/json_object_loader.cc +0 -216
- data/src/core/lib/json/json_object_loader.h +0 -645
- data/src/core/lib/json/json_reader.cc +0 -956
- data/src/core/lib/json/json_reader.h +0 -34
- data/src/core/lib/json/json_util.cc +0 -101
- data/src/core/lib/json/json_util.h +0 -164
- data/src/core/lib/json/json_writer.cc +0 -339
- data/src/core/lib/json/json_writer.h +0 -33
- data/src/core/lib/matchers/matchers.cc +0 -330
- data/src/core/lib/matchers/matchers.h +0 -163
- data/src/core/lib/promise/trace.cc +0 -20
- data/src/core/lib/promise/trace.h +0 -24
- data/src/core/lib/resource_quota/trace.cc +0 -19
- data/src/core/lib/resource_quota/trace.h +0 -24
- data/src/core/lib/security/certificate_provider/certificate_provider_factory.h +0 -70
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.cc +0 -50
- data/src/core/lib/security/certificate_provider/certificate_provider_registry.h +0 -76
- data/src/core/lib/security/context/security_context.cc +0 -329
- data/src/core/lib/security/context/security_context.h +0 -181
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +0 -117
- data/src/core/lib/security/credentials/alts/alts_credentials.h +0 -123
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +0 -72
- data/src/core/lib/security/credentials/alts/check_gcp_environment.h +0 -57
- data/src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc +0 -68
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +0 -34
- data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +0 -103
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc +0 -125
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc +0 -46
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h +0 -74
- data/src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc +0 -56
- data/src/core/lib/security/credentials/call_creds_util.cc +0 -97
- data/src/core/lib/security/credentials/call_creds_util.h +0 -43
- data/src/core/lib/security/credentials/channel_creds_registry.h +0 -127
- data/src/core/lib/security/credentials/channel_creds_registry_init.cc +0 -240
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +0 -171
- data/src/core/lib/security/credentials/composite/composite_credentials.h +0 -133
- data/src/core/lib/security/credentials/credentials.cc +0 -160
- data/src/core/lib/security/credentials/credentials.h +0 -299
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.cc +0 -532
- data/src/core/lib/security/credentials/external/aws_external_account_credentials.h +0 -105
- data/src/core/lib/security/credentials/external/aws_request_signer.cc +0 -231
- data/src/core/lib/security/credentials/external/aws_request_signer.h +0 -72
- data/src/core/lib/security/credentials/external/external_account_credentials.cc +0 -607
- data/src/core/lib/security/credentials/external/external_account_credentials.h +0 -139
- data/src/core/lib/security/credentials/external/file_external_account_credentials.cc +0 -138
- data/src/core/lib/security/credentials/external/file_external_account_credentials.h +0 -59
- data/src/core/lib/security/credentials/external/url_external_account_credentials.cc +0 -247
- data/src/core/lib/security/credentials/external/url_external_account_credentials.h +0 -75
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +0 -105
- data/src/core/lib/security/credentials/fake/fake_credentials.h +0 -123
- data/src/core/lib/security/credentials/google_default/credentials_generic.cc +0 -40
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +0 -447
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +0 -99
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +0 -83
- data/src/core/lib/security/credentials/iam/iam_credentials.h +0 -65
- data/src/core/lib/security/credentials/insecure/insecure_credentials.cc +0 -71
- data/src/core/lib/security/credentials/insecure/insecure_credentials.h +0 -61
- data/src/core/lib/security/credentials/jwt/json_token.cc +0 -321
- data/src/core/lib/security/credentials/jwt/json_token.h +0 -80
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +0 -188
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +0 -106
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +0 -995
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +0 -124
- data/src/core/lib/security/credentials/local/local_credentials.cc +0 -69
- data/src/core/lib/security/credentials/local/local_credentials.h +0 -77
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +0 -753
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +0 -220
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +0 -215
- data/src/core/lib/security/credentials/plugin/plugin_credentials.h +0 -125
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +0 -486
- data/src/core/lib/security/credentials/ssl/ssl_credentials.h +0 -145
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.cc +0 -338
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h +0 -216
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_match.cc +0 -86
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +0 -421
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +0 -205
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +0 -241
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.h +0 -170
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +0 -163
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +0 -144
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.cc +0 -262
- data/src/core/lib/security/credentials/tls/grpc_tls_crl_provider.h +0 -133
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +0 -174
- data/src/core/lib/security/credentials/tls/tls_credentials.h +0 -73
- data/src/core/lib/security/credentials/tls/tls_utils.cc +0 -129
- data/src/core/lib/security/credentials/tls/tls_utils.h +0 -51
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +0 -228
- data/src/core/lib/security/credentials/xds/xds_credentials.h +0 -112
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +0 -308
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +0 -78
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +0 -314
- data/src/core/lib/security/security_connector/fake/fake_security_connector.h +0 -42
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.cc +0 -120
- data/src/core/lib/security/security_connector/insecure/insecure_security_connector.h +0 -103
- data/src/core/lib/security/security_connector/load_system_roots.h +0 -36
- data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +0 -36
- data/src/core/lib/security/security_connector/load_system_roots_supported.cc +0 -167
- data/src/core/lib/security/security_connector/load_system_roots_supported.h +0 -45
- data/src/core/lib/security/security_connector/load_system_roots_windows.cc +0 -87
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +0 -306
- data/src/core/lib/security/security_connector/local/local_security_connector.h +0 -62
- data/src/core/lib/security/security_connector/security_connector.cc +0 -127
- data/src/core/lib/security/security_connector/security_connector.h +0 -200
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +0 -407
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +0 -82
- data/src/core/lib/security/security_connector/ssl_utils.cc +0 -628
- data/src/core/lib/security/security_connector/ssl_utils.h +0 -191
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +0 -829
- data/src/core/lib/security/security_connector/tls/tls_security_connector.h +0 -286
- data/src/core/lib/security/transport/auth_filters.h +0 -140
- data/src/core/lib/security/transport/client_auth_filter.cc +0 -227
- data/src/core/lib/security/transport/secure_endpoint.cc +0 -565
- data/src/core/lib/security/transport/secure_endpoint.h +0 -43
- data/src/core/lib/security/transport/security_handshaker.cc +0 -682
- data/src/core/lib/security/transport/security_handshaker.h +0 -47
- data/src/core/lib/security/transport/server_auth_filter.cc +0 -224
- data/src/core/lib/security/transport/tsi_error.cc +0 -31
- data/src/core/lib/security/transport/tsi_error.h +0 -30
- data/src/core/lib/security/util/json_util.cc +0 -71
- data/src/core/lib/security/util/json_util.h +0 -43
- data/src/core/lib/slice/slice_refcount.cc +0 -20
- data/src/core/lib/surface/api_trace.cc +0 -25
- data/src/core/lib/surface/api_trace.h +0 -53
- data/src/core/lib/surface/call_trace.h +0 -24
- data/src/core/lib/surface/server.cc +0 -2030
- data/src/core/lib/surface/server.h +0 -555
- data/src/core/lib/surface/server_interface.h +0 -43
- data/src/core/lib/surface/wait_for_cq_end_op.cc +0 -75
- data/src/core/lib/surface/wait_for_cq_end_op.h +0 -72
- data/src/core/lib/transport/batch_builder.cc +0 -170
- data/src/core/lib/transport/batch_builder.h +0 -476
- data/src/core/lib/transport/call_filters.cc +0 -471
- data/src/core/lib/transport/call_filters.h +0 -1799
- data/src/core/lib/transport/call_size_estimator.cc +0 -41
- data/src/core/lib/transport/call_size_estimator.h +0 -52
- data/src/core/lib/transport/call_spine.cc +0 -107
- data/src/core/lib/transport/call_spine.h +0 -434
- data/src/core/lib/transport/custom_metadata.h +0 -30
- data/src/core/lib/transport/endpoint_info_handshaker.cc +0 -80
- data/src/core/lib/transport/endpoint_info_handshaker.h +0 -37
- data/src/core/lib/transport/handshaker.cc +0 -229
- data/src/core/lib/transport/handshaker.h +0 -165
- data/src/core/lib/transport/handshaker_factory.h +0 -73
- data/src/core/lib/transport/handshaker_registry.cc +0 -61
- data/src/core/lib/transport/handshaker_registry.h +0 -69
- data/src/core/lib/transport/http2_errors.h +0 -41
- data/src/core/lib/transport/http_connect_handshaker.cc +0 -400
- data/src/core/lib/transport/http_connect_handshaker.h +0 -42
- data/src/core/lib/transport/message.cc +0 -45
- data/src/core/lib/transport/message.h +0 -61
- data/src/core/lib/transport/metadata.cc +0 -37
- data/src/core/lib/transport/metadata.h +0 -78
- data/src/core/lib/transport/metadata_batch.cc +0 -376
- data/src/core/lib/transport/metadata_batch.h +0 -1518
- data/src/core/lib/transport/metadata_compression_traits.h +0 -67
- data/src/core/lib/transport/metadata_info.cc +0 -55
- data/src/core/lib/transport/metadata_info.h +0 -85
- data/src/core/lib/transport/parsed_metadata.cc +0 -35
- data/src/core/lib/transport/parsed_metadata.h +0 -432
- data/src/core/lib/transport/simple_slice_based_metadata.h +0 -54
- data/src/core/lib/transport/tcp_connect_handshaker.cc +0 -244
- data/src/core/lib/transport/tcp_connect_handshaker.h +0 -39
- data/src/core/lib/uri/uri_parser.cc +0 -372
- data/src/core/lib/uri/uri_parser.h +0 -101
- data/src/core/resolver/binder/binder_resolver.cc +0 -154
- data/src/core/resolver/xds/xds_resolver_trace.cc +0 -25
- data/src/core/resolver/xds/xds_resolver_trace.h +0 -30
- data/third_party/abseil-cpp/absl/strings/internal/has_absl_stringify.h +0 -44
- data/third_party/boringssl-with-bazel/err_data.c +0 -1512
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.c +0 -95
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.c +0 -89
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.c +0 -84
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c +0 -151
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.c +0 -85
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c +0 -465
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c +0 -279
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c +0 -235
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_octet.c +0 -74
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strex.c +0 -457
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_strnid.c +0 -245
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +0 -259
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_type.c +0 -214
- data/third_party/boringssl-with-bazel/src/crypto/asn1/a_utctm.c +0 -183
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_lib.c +0 -397
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn1_par.c +0 -103
- data/third_party/boringssl-with-bazel/src/crypto/asn1/asn_pack.c +0 -98
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_int.c +0 -105
- data/third_party/boringssl-with-bazel/src/crypto/asn1/f_string.c +0 -94
- data/third_party/boringssl-with-bazel/src/crypto/asn1/posix_time.c +0 -241
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_dec.c +0 -973
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_enc.c +0 -708
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_fre.c +0 -212
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_new.c +0 -317
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_typ.c +0 -126
- data/third_party/boringssl-with-bazel/src/crypto/asn1/tasn_utl.c +0 -268
- data/third_party/boringssl-with-bazel/src/crypto/base64/base64.c +0 -475
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio.c +0 -731
- data/third_party/boringssl-with-bazel/src/crypto/bio/bio_mem.c +0 -309
- data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +0 -544
- data/third_party/boringssl-with-bazel/src/crypto/bio/errno.c +0 -92
- data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +0 -235
- data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +0 -319
- data/third_party/boringssl-with-bazel/src/crypto/bio/hexdump.c +0 -192
- data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +0 -480
- data/third_party/boringssl-with-bazel/src/crypto/bio/printf.c +0 -102
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket.c +0 -189
- data/third_party/boringssl-with-bazel/src/crypto/bio/socket_helper.c +0 -133
- data/third_party/boringssl-with-bazel/src/crypto/blake2/blake2.c +0 -169
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/bn_asn1.c +0 -57
- data/third_party/boringssl-with-bazel/src/crypto/bn_extra/convert.c +0 -465
- data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +0 -158
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/asn1_compat.c +0 -53
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/ber.c +0 -266
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +0 -718
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +0 -926
- data/third_party/boringssl-with-bazel/src/crypto/bytestring/unicode.c +0 -155
- data/third_party/boringssl-with-bazel/src/crypto/chacha/chacha.c +0 -224
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/cipher_extra.c +0 -127
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/derive_key.c +0 -152
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesctrhmac.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +0 -841
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_chacha20poly1305.c +0 -341
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_des.c +0 -246
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_null.c +0 -86
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc2.c +0 -463
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_rc4.c +0 -89
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_tls.c +0 -598
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/internal.h +0 -237
- data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/tls_cbc.c +0 -514
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf.c +0 -647
- data/third_party/boringssl-with-bazel/src/crypto/conf/conf_def.h +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.c +0 -75
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.c +0 -55
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.c +0 -62
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.c +0 -61
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.c +0 -93
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.c +0 -41
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.c +0 -54
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.c +0 -148
- data/third_party/boringssl-with-bazel/src/crypto/cpu_intel.c +0 -292
- data/third_party/boringssl-with-bazel/src/crypto/crypto.c +0 -242
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +0 -2157
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_64_adx.c +0 -18
- data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +0 -523
- data/third_party/boringssl-with-bazel/src/crypto/des/des.c +0 -871
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/dh_asn1.c +0 -165
- data/third_party/boringssl-with-bazel/src/crypto/dh_extra/params.c +0 -480
- data/third_party/boringssl-with-bazel/src/crypto/digest_extra/digest_extra.c +0 -265
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +0 -981
- data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa_asn1.c +0 -420
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_asn1.c +0 -572
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +0 -96
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +0 -508
- data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +0 -78
- data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +0 -124
- data/third_party/boringssl-with-bazel/src/crypto/ecdsa_extra/ecdsa_asn1.c +0 -265
- data/third_party/boringssl-with-bazel/src/crypto/engine/engine.c +0 -91
- data/third_party/boringssl-with-bazel/src/crypto/err/err.c +0 -882
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp.c +0 -509
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_asn1.c +0 -547
- data/third_party/boringssl-with-bazel/src/crypto/evp/evp_ctx.c +0 -483
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_dsa_asn1.c +0 -308
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +0 -275
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec_asn1.c +0 -302
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519.c +0 -103
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_ed25519_asn1.c +0 -224
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_hkdf.c +0 -232
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +0 -646
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa_asn1.c +0 -211
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519.c +0 -109
- data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519_asn1.c +0 -236
- data/third_party/boringssl-with-bazel/src/crypto/evp/pbkdf.c +0 -146
- data/third_party/boringssl-with-bazel/src/crypto/evp/print.c +0 -381
- data/third_party/boringssl-with-bazel/src/crypto/evp/scrypt.c +0 -209
- data/third_party/boringssl-with-bazel/src/crypto/evp/sign.c +0 -156
- data/third_party/boringssl-with-bazel/src/crypto/ex_data.c +0 -237
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes.c +0 -106
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes_nohw.c +0 -1281
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/key_wrap.c +0 -242
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.c +0 -124
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +0 -275
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/add.c +0 -310
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c +0 -541
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bn.c +0 -428
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/bytes.c +0 -267
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/cmp.c +0 -201
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/ctx.c +0 -234
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div.c +0 -909
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/div_extra.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +0 -1276
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd.c +0 -397
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/gcd_extra.c +0 -328
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/generic.c +0 -624
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/jacobi.c +0 -146
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +0 -532
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery_inv.c +0 -222
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +0 -744
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +0 -1070
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/random.c +0 -355
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/rsaz_exp.c +0 -137
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/shift.c +0 -363
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/sqrt.c +0 -499
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/aead.c +0 -287
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/cipher.c +0 -717
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +0 -1463
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aesccm.c +0 -446
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cmac/cmac.c +0 -322
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/check.c +0 -245
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/dh/dh.c +0 -489
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digest.c +0 -288
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digests.c +0 -304
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digestsign/digestsign.c +0 -267
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +0 -1043
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +0 -553
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +0 -491
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +0 -104
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +0 -359
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +0 -1163
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-nistz.c +0 -637
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +0 -749
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +0 -169
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +0 -336
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +0 -269
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/util.c +0 -255
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +0 -264
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +0 -130
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +0 -372
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/fips_shared_support.c +0 -32
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hkdf/hkdf.c +0 -112
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/hmac/hmac.c +0 -256
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md4/md4.c +0 -240
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/internal.h +0 -37
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/md5/md5.c +0 -284
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cbc.c +0 -164
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/cfb.c +0 -200
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ctr.c +0 -196
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +0 -743
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +0 -302
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +0 -428
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/ofb.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/polyval.c +0 -90
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/ctrdrbg.c +0 -220
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +0 -197
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +0 -67
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/getrandom_fillin.h +0 -64
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +0 -493
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +0 -328
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +0 -241
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/padding.c +0 -423
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +0 -1038
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +0 -1337
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/fips.c +0 -119
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/self_check/self_check.c +0 -1064
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/service_indicator/service_indicator.c +0 -331
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha1.c +0 -439
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha256.c +0 -359
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +0 -537
- data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/tls/kdf.c +0 -211
- data/third_party/boringssl-with-bazel/src/crypto/hpke/hpke.c +0 -799
- data/third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c +0 -2234
- data/third_party/boringssl-with-bazel/src/crypto/keccak/internal.h +0 -70
- data/third_party/boringssl-with-bazel/src/crypto/keccak/keccak.c +0 -279
- data/third_party/boringssl-with-bazel/src/crypto/kyber/kyber.c +0 -844
- data/third_party/boringssl-with-bazel/src/crypto/lhash/lhash.c +0 -350
- data/third_party/boringssl-with-bazel/src/crypto/mem.c +0 -600
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +0 -564
- data/third_party/boringssl-with-bazel/src/crypto/obj/obj_xref.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_all.c +0 -243
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +0 -294
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +0 -789
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_oth.c +0 -87
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +0 -248
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +0 -182
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_x509.c +0 -64
- data/third_party/boringssl-with-bazel/src/crypto/pem/pem_xaux.c +0 -64
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7.c +0 -193
- data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +0 -523
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/p5_pbev2.c +0 -316
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8.c +0 -527
- data/third_party/boringssl-with-bazel/src/crypto/pkcs8/pkcs8_x509.c +0 -1352
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.c +0 -314
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.c +0 -308
- data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.c +0 -847
- data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +0 -261
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +0 -57
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/forkunsafe.c +0 -44
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/getentropy.c +0 -52
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/ios.c +0 -34
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/passive.c +0 -158
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/rand_extra.c +0 -74
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/trusty.c +0 -38
- data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +0 -95
- data/third_party/boringssl-with-bazel/src/crypto/rc4/rc4.c +0 -98
- data/third_party/boringssl-with-bazel/src/crypto/refcount.c +0 -59
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/internal.h +0 -77
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_asn1.c +0 -324
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_crypt.c +0 -570
- data/third_party/boringssl-with-bazel/src/crypto/rsa_extra/rsa_print.c +0 -22
- data/third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c +0 -79
- data/third_party/boringssl-with-bazel/src/crypto/spx/address.c +0 -101
- data/third_party/boringssl-with-bazel/src/crypto/spx/address.h +0 -50
- data/third_party/boringssl-with-bazel/src/crypto/spx/fors.c +0 -133
- data/third_party/boringssl-with-bazel/src/crypto/spx/fors.h +0 -54
- data/third_party/boringssl-with-bazel/src/crypto/spx/internal.h +0 -79
- data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.c +0 -150
- data/third_party/boringssl-with-bazel/src/crypto/spx/merkle.h +0 -61
- data/third_party/boringssl-with-bazel/src/crypto/spx/params.h +0 -71
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx.c +0 -139
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.c +0 -53
- data/third_party/boringssl-with-bazel/src/crypto/spx/spx_util.h +0 -44
- data/third_party/boringssl-with-bazel/src/crypto/spx/thash.c +0 -136
- data/third_party/boringssl-with-bazel/src/crypto/spx/thash.h +0 -70
- data/third_party/boringssl-with-bazel/src/crypto/spx/wots.c +0 -135
- data/third_party/boringssl-with-bazel/src/crypto/spx/wots.h +0 -45
- data/third_party/boringssl-with-bazel/src/crypto/stack/stack.c +0 -534
- data/third_party/boringssl-with-bazel/src/crypto/thread.c +0 -110
- data/third_party/boringssl-with-bazel/src/crypto/thread_none.c +0 -51
- data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +0 -150
- data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +0 -236
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +0 -1668
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +0 -687
- data/third_party/boringssl-with-bazel/src/crypto/trust_token/voprf.c +0 -1267
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_digest.c +0 -94
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_sign.c +0 -136
- data/third_party/boringssl-with-bazel/src/crypto/x509/a_verify.c +0 -116
- data/third_party/boringssl-with-bazel/src/crypto/x509/algorithm.c +0 -178
- data/third_party/boringssl-with-bazel/src/crypto/x509/asn1_gen.c +0 -585
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +0 -407
- data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +0 -269
- data/third_party/boringssl-with-bazel/src/crypto/x509/i2d_pr.c +0 -79
- data/third_party/boringssl-with-bazel/src/crypto/x509/name_print.c +0 -227
- data/third_party/boringssl-with-bazel/src/crypto/x509/policy.c +0 -786
- data/third_party/boringssl-with-bazel/src/crypto/x509/rsa_pss.c +0 -397
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_crl.c +0 -145
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_req.c +0 -245
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509.c +0 -329
- data/third_party/boringssl-with-bazel/src/crypto/x509/t_x509a.c +0 -121
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akey.c +0 -221
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_akeya.c +0 -73
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_alt.c +0 -634
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bcons.c +0 -135
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_bitst.c +0 -141
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_conf.c +0 -416
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_cpols.c +0 -477
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_crld.c +0 -598
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_enum.c +0 -112
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_extku.c +0 -154
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_genn.c +0 -270
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ia5.c +0 -122
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_info.c +0 -211
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_int.c +0 -121
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_lib.c +0 -342
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ncons.c +0 -555
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_ocsp.c +0 -81
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pcons.c +0 -142
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_pmaps.c +0 -150
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_prn.c +0 -224
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_purp.c +0 -624
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_skey.c +0 -170
- data/third_party/boringssl-with-bazel/src/crypto/x509/v3_utl.c +0 -1357
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509.c +0 -89
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_att.c +0 -227
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +0 -280
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_d2.c +0 -108
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_def.c +0 -86
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_ext.c +0 -181
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_lu.c +0 -609
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.c +0 -206
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +0 -299
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +0 -240
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +0 -164
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_txt.c +0 -189
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_v3.c +0 -291
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +0 -1655
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +0 -440
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509cset.c +0 -277
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +0 -407
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509rset.c +0 -109
- data/third_party/boringssl-with-bazel/src/crypto/x509/x509spki.c +0 -133
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_algor.c +0 -149
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.c +0 -356
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_attrib.c +0 -97
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_crl.c +0 -384
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_exten.c +0 -78
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_name.c +0 -527
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_pubkey.c +0 -210
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_req.c +0 -116
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_sig.c +0 -93
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_spki.c +0 -79
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_val.c +0 -70
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509.c +0 -549
- data/third_party/boringssl-with-bazel/src/crypto/x509/x_x509a.c +0 -209
- data/third_party/boringssl-with-bazel/src/include/openssl/kyber.h +0 -136
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/certificate.h +0 -83
- data/third_party/boringssl-with-bazel/src/include/openssl/pki/signature_verify_cache.h +0 -41
@@ -1,143 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
* the code are not to be removed.
|
17
|
-
* If this package is used in a product, Eric Young should be given attribution
|
18
|
-
* as the author of the parts of the library used.
|
19
|
-
* This can be in the form of a textual message at program startup or
|
20
|
-
* in documentation (online or textual) provided with the package.
|
21
|
-
*
|
22
|
-
* Redistribution and use in source and binary forms, with or without
|
23
|
-
* modification, are permitted provided that the following conditions
|
24
|
-
* are met:
|
25
|
-
* 1. Redistributions of source code must retain the copyright
|
26
|
-
* notice, this list of conditions and the following disclaimer.
|
27
|
-
* 2. Redistributions in binary form must reproduce the above copyright
|
28
|
-
* notice, this list of conditions and the following disclaimer in the
|
29
|
-
* documentation and/or other materials provided with the distribution.
|
30
|
-
* 3. All advertising materials mentioning features or use of this software
|
31
|
-
* must display the following acknowledgement:
|
32
|
-
* "This product includes cryptographic software written by
|
33
|
-
* Eric Young (eay@cryptsoft.com)"
|
34
|
-
* The word 'cryptographic' can be left out if the rouines from the library
|
35
|
-
* being used are not cryptographic related :-).
|
36
|
-
* 4. If you include any Windows specific code (or a derivative thereof) from
|
37
|
-
* the apps directory (application code) you must include an acknowledgement:
|
38
|
-
* "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
|
39
|
-
*
|
40
|
-
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
|
41
|
-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
42
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
43
|
-
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
44
|
-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
45
|
-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
46
|
-
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
47
|
-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
48
|
-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
49
|
-
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
50
|
-
* SUCH DAMAGE.
|
51
|
-
*
|
52
|
-
* The licence and distribution terms for any publically available version or
|
53
|
-
* derivative of this code cannot be changed. i.e. this code cannot simply be
|
54
|
-
* copied and put under another distribution licence
|
55
|
-
* [including the GNU Public Licence.]
|
56
|
-
*/
|
57
|
-
/* ====================================================================
|
58
|
-
* Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved.
|
59
|
-
*
|
60
|
-
* Redistribution and use in source and binary forms, with or without
|
61
|
-
* modification, are permitted provided that the following conditions
|
62
|
-
* are met:
|
63
|
-
*
|
64
|
-
* 1. Redistributions of source code must retain the above copyright
|
65
|
-
* notice, this list of conditions and the following disclaimer.
|
66
|
-
*
|
67
|
-
* 2. Redistributions in binary form must reproduce the above copyright
|
68
|
-
* notice, this list of conditions and the following disclaimer in
|
69
|
-
* the documentation and/or other materials provided with the
|
70
|
-
* distribution.
|
71
|
-
*
|
72
|
-
* 3. All advertising materials mentioning features or use of this
|
73
|
-
* software must display the following acknowledgment:
|
74
|
-
* "This product includes software developed by the OpenSSL Project
|
75
|
-
* for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
|
76
|
-
*
|
77
|
-
* 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
|
78
|
-
* endorse or promote products derived from this software without
|
79
|
-
* prior written permission. For written permission, please contact
|
80
|
-
* openssl-core@openssl.org.
|
81
|
-
*
|
82
|
-
* 5. Products derived from this software may not be called "OpenSSL"
|
83
|
-
* nor may "OpenSSL" appear in their names without prior written
|
84
|
-
* permission of the OpenSSL Project.
|
85
|
-
*
|
86
|
-
* 6. Redistributions of any form whatsoever must retain the following
|
87
|
-
* acknowledgment:
|
88
|
-
* "This product includes software developed by the OpenSSL Project
|
89
|
-
* for use in the OpenSSL Toolkit (http://www.openssl.org/)"
|
90
|
-
*
|
91
|
-
* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
|
92
|
-
* EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
93
|
-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
94
|
-
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
|
95
|
-
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
96
|
-
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
97
|
-
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
98
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
99
|
-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
100
|
-
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
101
|
-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
102
|
-
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
103
|
-
* ====================================================================
|
104
|
-
*
|
105
|
-
* This product includes cryptographic software written by Eric Young
|
106
|
-
* (eay@cryptsoft.com). This product includes software written by Tim
|
107
|
-
* Hudson (tjh@cryptsoft.com).
|
108
|
-
*
|
109
|
-
*/
|
110
|
-
/* ====================================================================
|
111
|
-
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
|
112
|
-
* ECC cipher suite support in OpenSSL originally developed by
|
113
|
-
* SUN MICROSYSTEMS, INC., and contributed to the OpenSSL project.
|
114
|
-
*/
|
115
|
-
/* ====================================================================
|
116
|
-
* Copyright 2005 Nokia. All rights reserved.
|
117
|
-
*
|
118
|
-
* The portions of the attached software ("Contribution") is developed by
|
119
|
-
* Nokia Corporation and is licensed pursuant to the OpenSSL open source
|
120
|
-
* license.
|
121
|
-
*
|
122
|
-
* The Contribution, originally written by Mika Kousa and Pasi Eronen of
|
123
|
-
* Nokia Corporation, consists of the "PSK" (Pre-Shared Key) ciphersuites
|
124
|
-
* support (see RFC 4279) to OpenSSL.
|
125
|
-
*
|
126
|
-
* No patent licenses or other rights except those expressly stated in
|
127
|
-
* the OpenSSL open source license shall be deemed granted or received
|
128
|
-
* expressly, by implication, estoppel, or otherwise.
|
129
|
-
*
|
130
|
-
* No assurances are provided by Nokia that the Contribution does not
|
131
|
-
* infringe the patent or other intellectual property rights of any third
|
132
|
-
* party or that the license provides you with all the necessary rights
|
133
|
-
* to make use of the Contribution.
|
134
|
-
*
|
135
|
-
* THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN
|
136
|
-
* ADDITION TO THE DISCLAIMERS INCLUDED IN THE LICENSE, NOKIA
|
137
|
-
* SPECIFICALLY DISCLAIMS ANY LIABILITY FOR CLAIMS BROUGHT BY YOU OR ANY
|
138
|
-
* OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR
|
139
|
-
* OTHERWISE.
|
140
|
-
*/
|
1
|
+
// Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
|
2
|
+
// Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
// Copyright 2005 Nokia. All rights reserved.
|
4
|
+
//
|
5
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
// you may not use this file except in compliance with the License.
|
7
|
+
// You may obtain a copy of the License at
|
8
|
+
//
|
9
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
//
|
11
|
+
// Unless required by applicable law or agreed to in writing, software
|
12
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
// See the License for the specific language governing permissions and
|
15
|
+
// limitations under the License.
|
141
16
|
|
142
17
|
#ifndef OPENSSL_HEADER_SSL_H
|
143
18
|
#define OPENSSL_HEADER_SSL_H
|
@@ -242,12 +117,13 @@ OPENSSL_EXPORT int SSL_is_server(const SSL *ssl);
|
|
242
117
|
// SSL_is_dtls returns one if |ssl| is a DTLS connection and zero otherwise.
|
243
118
|
OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl);
|
244
119
|
|
120
|
+
// SSL_is_quic returns one if |ssl| is a QUIC connection and zero otherwise.
|
121
|
+
OPENSSL_EXPORT int SSL_is_quic(const SSL *ssl);
|
122
|
+
|
245
123
|
// SSL_set_bio configures |ssl| to read from |rbio| and write to |wbio|. |ssl|
|
246
124
|
// takes ownership of the two |BIO|s. If |rbio| and |wbio| are the same, |ssl|
|
247
|
-
// only takes ownership of one reference.
|
248
|
-
//
|
249
|
-
// In DTLS, |rbio| must be non-blocking to properly handle timeouts and
|
250
|
-
// retransmits.
|
125
|
+
// only takes ownership of one reference. See |SSL_set0_rbio| and
|
126
|
+
// |SSL_set0_wbio| for requirements on |rbio| and |wbio|, respectively.
|
251
127
|
//
|
252
128
|
// If |rbio| is the same as the currently configured |BIO| for reading, that
|
253
129
|
// side is left untouched and is not freed.
|
@@ -263,14 +139,19 @@ OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl);
|
|
263
139
|
OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
|
264
140
|
|
265
141
|
// SSL_set0_rbio configures |ssl| to read from |rbio|. It takes ownership of
|
266
|
-
// |rbio|.
|
142
|
+
// |rbio|. |rbio| may be a custom |BIO|, in which case it must implement
|
143
|
+
// |BIO_read| with |BIO_meth_set_read|. In DTLS, |rbio| must be non-blocking to
|
144
|
+
// properly handle timeouts and retransmits.
|
267
145
|
//
|
268
146
|
// Note that, although this function and |SSL_set0_wbio| may be called on the
|
269
147
|
// same |BIO|, each call takes a reference. Use |BIO_up_ref| to balance this.
|
270
148
|
OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio);
|
271
149
|
|
272
150
|
// SSL_set0_wbio configures |ssl| to write to |wbio|. It takes ownership of
|
273
|
-
// |wbio|.
|
151
|
+
// |wbio|. |wbio| may be a custom |BIO|, in which case it must implement
|
152
|
+
// |BIO_write| with |BIO_meth_set_write|. It must additionally implement
|
153
|
+
// |BIO_flush| with |BIO_meth_set_ctrl| and |BIO_CTRL_FLUSH|. If flushing is
|
154
|
+
// unnecessary with |wbio|, |BIO_flush| should return one and do nothing.
|
274
155
|
//
|
275
156
|
// Note that, although this function and |SSL_set0_rbio| may be called on the
|
276
157
|
// same |BIO|, each call takes a reference. Use |BIO_up_ref| to balance this.
|
@@ -329,11 +210,19 @@ OPENSSL_EXPORT int SSL_set_wfd(SSL *ssl, int fd);
|
|
329
210
|
// returns <= 0. The caller should pass the value into |SSL_get_error| to
|
330
211
|
// determine how to proceed.
|
331
212
|
//
|
332
|
-
// In DTLS, the caller must drive retransmissions.
|
333
|
-
//
|
334
|
-
// current timeout. If it expires before the next
|
335
|
-
// |DTLSv1_handle_timeout|. Note that DTLS handshake retransmissions
|
336
|
-
// sequence numbers, so it is not sufficient to replay packets at the
|
213
|
+
// In DTLS, the caller must drive retransmissions and timeouts. After calling
|
214
|
+
// this function, the caller must use |DTLSv1_get_timeout| to determine the
|
215
|
+
// current timeout, if any. If it expires before the application next calls into
|
216
|
+
// |ssl|, call |DTLSv1_handle_timeout|. Note that DTLS handshake retransmissions
|
217
|
+
// use fresh sequence numbers, so it is not sufficient to replay packets at the
|
218
|
+
// transport.
|
219
|
+
//
|
220
|
+
// After the DTLS handshake, some retransmissions may remain. If |ssl| wrote
|
221
|
+
// last in the handshake, it may need to retransmit the final flight in case of
|
222
|
+
// packet loss. Additionally, in DTLS 1.3, it may need to retransmit
|
223
|
+
// post-handshake messages. To handle these, the caller must always be prepared
|
224
|
+
// to receive packets and process them with |SSL_read|, even when the
|
225
|
+
// application protocol would otherwise not read from the connection.
|
337
226
|
//
|
338
227
|
// TODO(davidben): Ensure 0 is only returned on transport EOF.
|
339
228
|
// https://crbug.com/466303.
|
@@ -352,6 +241,12 @@ OPENSSL_EXPORT int SSL_accept(SSL *ssl);
|
|
352
241
|
// returns the number of bytes read. Otherwise, it returns <= 0. The caller
|
353
242
|
// should pass the value into |SSL_get_error| to determine how to proceed.
|
354
243
|
//
|
244
|
+
// In DTLS 1.3, the caller must also drive timeouts from retransmitting the
|
245
|
+
// final flight of the handshake, as well as post-handshake messages. After
|
246
|
+
// calling this function, the caller must use |DTLSv1_get_timeout| to determine
|
247
|
+
// the current timeout, if any. If it expires before the application next calls
|
248
|
+
// into |ssl|, call |DTLSv1_handle_timeout|.
|
249
|
+
//
|
355
250
|
// TODO(davidben): Ensure 0 is only returned on transport EOF.
|
356
251
|
// https://crbug.com/466303.
|
357
252
|
OPENSSL_EXPORT int SSL_read(SSL *ssl, void *buf, int num);
|
@@ -478,16 +373,12 @@ OPENSSL_EXPORT int SSL_get_error(const SSL *ssl, int ret_code);
|
|
478
373
|
#define SSL_ERROR_NONE 0
|
479
374
|
|
480
375
|
// SSL_ERROR_SSL indicates the operation failed within the library. The caller
|
481
|
-
// may inspect the error queue for more information.
|
376
|
+
// may inspect the error queue (see |ERR_get_error|) for more information.
|
482
377
|
#define SSL_ERROR_SSL 1
|
483
378
|
|
484
379
|
// SSL_ERROR_WANT_READ indicates the operation failed attempting to read from
|
485
380
|
// the transport. The caller may retry the operation when the transport is ready
|
486
381
|
// for reading.
|
487
|
-
//
|
488
|
-
// If signaled by a DTLS handshake, the caller must also call
|
489
|
-
// |DTLSv1_get_timeout| and |DTLSv1_handle_timeout| as appropriate. See
|
490
|
-
// |SSL_do_handshake|.
|
491
382
|
#define SSL_ERROR_WANT_READ 2
|
492
383
|
|
493
384
|
// SSL_ERROR_WANT_WRITE indicates the operation failed attempting to write to
|
@@ -550,8 +441,8 @@ OPENSSL_EXPORT int SSL_get_error(const SSL *ssl, int ret_code);
|
|
550
441
|
// a private key operation was unfinished. The caller may retry the operation
|
551
442
|
// when the private key operation is complete.
|
552
443
|
//
|
553
|
-
// See also |SSL_set_private_key_method| and
|
554
|
-
// |
|
444
|
+
// See also |SSL_set_private_key_method|, |SSL_CTX_set_private_key_method|, and
|
445
|
+
// |SSL_CREDENTIAL_set_private_key_method|.
|
555
446
|
#define SSL_ERROR_WANT_PRIVATE_KEY_OPERATION 13
|
556
447
|
|
557
448
|
// SSL_ERROR_PENDING_TICKET indicates that a ticket decryption is pending. The
|
@@ -600,28 +491,29 @@ OPENSSL_EXPORT int SSL_set_mtu(SSL *ssl, unsigned mtu);
|
|
600
491
|
// DTLSv1_set_initial_timeout_duration sets the initial duration for a DTLS
|
601
492
|
// handshake timeout.
|
602
493
|
//
|
603
|
-
// This duration overrides the default of
|
604
|
-
// recommendation of RFC
|
605
|
-
// situations where a shorter timeout would be beneficial, such as for
|
606
|
-
// time-sensitive applications.
|
494
|
+
// This duration overrides the default of 400 milliseconds, which is
|
495
|
+
// recommendation of RFC 9147 for real-time protocols.
|
607
496
|
OPENSSL_EXPORT void DTLSv1_set_initial_timeout_duration(SSL *ssl,
|
608
|
-
|
497
|
+
uint32_t duration_ms);
|
609
498
|
|
610
|
-
// DTLSv1_get_timeout queries the
|
611
|
-
//
|
612
|
-
// Otherwise, it returns zero.
|
499
|
+
// DTLSv1_get_timeout queries the running DTLS timers. If there are any in
|
500
|
+
// progress, it sets |*out| to the time remaining until the first timer expires
|
501
|
+
// and returns one. Otherwise, it returns zero. Timers may be scheduled both
|
502
|
+
// during and after the handshake.
|
613
503
|
//
|
614
504
|
// When the timeout expires, call |DTLSv1_handle_timeout| to handle the
|
615
505
|
// retransmit behavior.
|
616
506
|
//
|
617
|
-
// NOTE: This function must be queried again whenever the
|
618
|
-
//
|
507
|
+
// NOTE: This function must be queried again whenever the state machine changes,
|
508
|
+
// including when |DTLSv1_handle_timeout| is called.
|
619
509
|
OPENSSL_EXPORT int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out);
|
620
510
|
|
621
|
-
// DTLSv1_handle_timeout is called when a DTLS
|
622
|
-
//
|
623
|
-
//
|
624
|
-
//
|
511
|
+
// DTLSv1_handle_timeout is called when a DTLS timeout expires. If no timeout
|
512
|
+
// had expired, it returns 0. Otherwise, it handles the timeout and returns 1 on
|
513
|
+
// success or -1 on error.
|
514
|
+
//
|
515
|
+
// This function may write to the transport (e.g. to retransmit messages) or
|
516
|
+
// update |ssl|'s internal state and schedule an updated timer.
|
625
517
|
//
|
626
518
|
// The caller's external timer should be compatible with the one |ssl| queries
|
627
519
|
// within some fudge factor. Otherwise, the call will be a no-op, but
|
@@ -629,12 +521,16 @@ OPENSSL_EXPORT int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out);
|
|
629
521
|
//
|
630
522
|
// If the function returns -1, checking if |SSL_get_error| returns
|
631
523
|
// |SSL_ERROR_WANT_WRITE| may be used to determine if the retransmit failed due
|
632
|
-
// to a non-fatal error at the write |BIO|.
|
633
|
-
// retried
|
524
|
+
// to a non-fatal error at the write |BIO|. In this case, when the |BIO| is
|
525
|
+
// writable, the operation may be retried by calling the original function,
|
526
|
+
// |SSL_do_handshake| or |SSL_read|.
|
634
527
|
//
|
635
528
|
// WARNING: This function breaks the usual return value convention.
|
636
529
|
//
|
637
|
-
// TODO(davidben):
|
530
|
+
// TODO(davidben): We can make this function entirely optional by just checking
|
531
|
+
// the timers in |SSL_do_handshake| or |SSL_read|. Then timers behave like any
|
532
|
+
// other retry condition: rerun the operation and the library will make what
|
533
|
+
// progress it can.
|
638
534
|
OPENSSL_EXPORT int DTLSv1_handle_timeout(SSL *ssl);
|
639
535
|
|
640
536
|
|
@@ -651,6 +547,7 @@ OPENSSL_EXPORT int DTLSv1_handle_timeout(SSL *ssl);
|
|
651
547
|
|
652
548
|
#define DTLS1_VERSION 0xfeff
|
653
549
|
#define DTLS1_2_VERSION 0xfefd
|
550
|
+
#define DTLS1_3_VERSION 0xfefc
|
654
551
|
|
655
552
|
// SSL_CTX_set_min_proto_version sets the minimum protocol version for |ctx| to
|
656
553
|
// |version|. If |version| is zero, the default minimum version is used. It
|
@@ -841,6 +738,143 @@ OPENSSL_EXPORT void SSL_CTX_set0_buffer_pool(SSL_CTX *ctx,
|
|
841
738
|
CRYPTO_BUFFER_POOL *pool);
|
842
739
|
|
843
740
|
|
741
|
+
// Credentials.
|
742
|
+
//
|
743
|
+
// TLS endpoints may present authentication during the handshake, usually using
|
744
|
+
// X.509 certificates. This is typically required for servers and optional for
|
745
|
+
// clients. BoringSSL uses the |SSL_CREDENTIAL| object to abstract between
|
746
|
+
// different kinds of credentials, as well as configure automatic selection
|
747
|
+
// between multiple credentials. This may be used to select between ECDSA and
|
748
|
+
// RSA certificates.
|
749
|
+
//
|
750
|
+
// |SSL_CTX| and |SSL| objects maintain lists of credentials in preference
|
751
|
+
// order. During the handshake, BoringSSL will select the first usable
|
752
|
+
// credential from the list. Non-credential APIs, such as
|
753
|
+
// |SSL_CTX_use_certificate|, configure a "legacy credential", which is
|
754
|
+
// appended to this list if configured. Using the legacy credential is the same
|
755
|
+
// as configuring an equivalent credential with the |SSL_CREDENTIAL| API.
|
756
|
+
//
|
757
|
+
// When selecting credentials, BoringSSL considers the credential's type, its
|
758
|
+
// cryptographic capabilities, and capabilities advertised by the peer. This
|
759
|
+
// varies between TLS versions but includes:
|
760
|
+
//
|
761
|
+
// - Whether the peer supports the leaf certificate key
|
762
|
+
// - Whether there is a common signature algorithm that is compatible with the
|
763
|
+
// credential
|
764
|
+
// - Whether there is a common cipher suite that is compatible with the
|
765
|
+
// credential
|
766
|
+
//
|
767
|
+
// WARNING: In TLS 1.2 and below, there is no mechanism for servers to advertise
|
768
|
+
// supported ECDSA curves to the client. BoringSSL clients will assume the
|
769
|
+
// server accepts all ECDSA curves in client certificates.
|
770
|
+
//
|
771
|
+
// By default, BoringSSL does not check the following, though we may add APIs
|
772
|
+
// in the future to enable them on a per-credential basis.
|
773
|
+
//
|
774
|
+
// - Whether the peer supports the signature algorithms in the certificate chain
|
775
|
+
// - Whether the a server certificate is compatible with the server_name
|
776
|
+
// extension (SNI)
|
777
|
+
// - Whether the peer supports the certificate authority that issued the
|
778
|
+
// certificate
|
779
|
+
//
|
780
|
+
// Credentials may be configured before the handshake or dynamically in the
|
781
|
+
// early callback (see |SSL_CTX_set_select_certificate_cb|) and certificate
|
782
|
+
// callback (see |SSL_CTX_set_cert_cb|). These callbacks allow applications to
|
783
|
+
// use BoringSSL's built-in selection logic in tandem with custom logic. For
|
784
|
+
// example, a callback could evaluate application-specific SNI rules to filter
|
785
|
+
// down to an ECDSA and RSA credential, then configure both for BoringSSL to
|
786
|
+
// select between the two.
|
787
|
+
|
788
|
+
// SSL_CREDENTIAL_new_x509 returns a new, empty X.509 credential, or NULL on
|
789
|
+
// error. Callers should release the result with |SSL_CREDENTIAL_free| when
|
790
|
+
// done.
|
791
|
+
//
|
792
|
+
// Callers should configure a certificate chain and private key on the
|
793
|
+
// credential, along with other properties, then add it with
|
794
|
+
// |SSL_CTX_add1_credential|.
|
795
|
+
OPENSSL_EXPORT SSL_CREDENTIAL *SSL_CREDENTIAL_new_x509(void);
|
796
|
+
|
797
|
+
// SSL_CREDENTIAL_up_ref increments the reference count of |cred|.
|
798
|
+
OPENSSL_EXPORT void SSL_CREDENTIAL_up_ref(SSL_CREDENTIAL *cred);
|
799
|
+
|
800
|
+
// SSL_CREDENTIAL_free decrements the reference count of |cred|. If it reaches
|
801
|
+
// zero, all data referenced by |cred| and |cred| itself are released.
|
802
|
+
OPENSSL_EXPORT void SSL_CREDENTIAL_free(SSL_CREDENTIAL *cred);
|
803
|
+
|
804
|
+
// SSL_CREDENTIAL_set1_private_key sets |cred|'s private key to |cred|. It
|
805
|
+
// returns one on success and zero on failure.
|
806
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_private_key(SSL_CREDENTIAL *cred,
|
807
|
+
EVP_PKEY *key);
|
808
|
+
|
809
|
+
// SSL_CREDENTIAL_set1_signing_algorithm_prefs configures |cred| to use |prefs|
|
810
|
+
// as the preference list when signing with |cred|'s private key. It returns one
|
811
|
+
// on success and zero on error. |prefs| should not include the internal-only
|
812
|
+
// value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
813
|
+
//
|
814
|
+
// It is an error to call this function with delegated credentials (see
|
815
|
+
// |SSL_CREDENTIAL_new_delegated|) because delegated credentials already
|
816
|
+
// constrain the key to a single algorithm.
|
817
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_signing_algorithm_prefs(
|
818
|
+
SSL_CREDENTIAL *cred, const uint16_t *prefs, size_t num_prefs);
|
819
|
+
|
820
|
+
// SSL_CREDENTIAL_set1_cert_chain sets |cred|'s certificate chain, starting from
|
821
|
+
// the leaf, to |num_cert|s certificates from |certs|. It returns one on success
|
822
|
+
// and zero on error.
|
823
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_cert_chain(SSL_CREDENTIAL *cred,
|
824
|
+
CRYPTO_BUFFER *const *certs,
|
825
|
+
size_t num_certs);
|
826
|
+
|
827
|
+
// SSL_CREDENTIAL_set1_ocsp_response sets |cred|'s stapled OCSP response to
|
828
|
+
// |ocsp|. It returns one on success and zero on error.
|
829
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_ocsp_response(SSL_CREDENTIAL *cred,
|
830
|
+
CRYPTO_BUFFER *ocsp);
|
831
|
+
|
832
|
+
// SSL_CREDENTIAL_set1_signed_cert_timestamp_list sets |cred|'s list of signed
|
833
|
+
// certificate timestamps |sct_list|. |sct_list| must contain one or more SCT
|
834
|
+
// structures serialised as a SignedCertificateTimestampList (see
|
835
|
+
// https://tools.ietf.org/html/rfc6962#section-3.3) – i.e. each SCT is prefixed
|
836
|
+
// by a big-endian, uint16 length and the concatenation of one or more such
|
837
|
+
// prefixed SCTs are themselves also prefixed by a uint16 length. It returns one
|
838
|
+
// on success and zero on error.
|
839
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_signed_cert_timestamp_list(
|
840
|
+
SSL_CREDENTIAL *cred, CRYPTO_BUFFER *sct_list);
|
841
|
+
|
842
|
+
// SSL_CTX_add1_credential appends |cred| to |ctx|'s credential list. It returns
|
843
|
+
// one on success and zero on error. The credential list is maintained in order
|
844
|
+
// of decreasing preference, so earlier calls are preferred over later calls.
|
845
|
+
//
|
846
|
+
// After calling this function, it is an error to modify |cred|. Doing so may
|
847
|
+
// result in inconsistent handshake behavior or race conditions.
|
848
|
+
OPENSSL_EXPORT int SSL_CTX_add1_credential(SSL_CTX *ctx, SSL_CREDENTIAL *cred);
|
849
|
+
|
850
|
+
// SSL_add1_credential appends |cred| to |ssl|'s credential list. It returns one
|
851
|
+
// on success and zero on error. The credential list is maintained in order of
|
852
|
+
// decreasing preference, so earlier calls are preferred over later calls.
|
853
|
+
//
|
854
|
+
// After calling this function, it is an error to modify |cred|. Doing so may
|
855
|
+
// result in inconsistent handshake behavior or race conditions.
|
856
|
+
OPENSSL_EXPORT int SSL_add1_credential(SSL *ssl, SSL_CREDENTIAL *cred);
|
857
|
+
|
858
|
+
// SSL_certs_clear removes all credentials configured on |ssl|. It also removes
|
859
|
+
// the certificate chain and private key on the legacy credential.
|
860
|
+
OPENSSL_EXPORT void SSL_certs_clear(SSL *ssl);
|
861
|
+
|
862
|
+
// SSL_get0_selected_credential returns the credential in use in the current
|
863
|
+
// handshake on |ssl|. If there is current handshake on |ssl| or if the
|
864
|
+
// handshake has not progressed to this point, it returns NULL.
|
865
|
+
//
|
866
|
+
// This function is intended for use with |SSL_CREDENTIAL_get_ex_data|. It may
|
867
|
+
// be called from handshake callbacks, such as those in
|
868
|
+
// |SSL_PRIVATE_KEY_METHOD|, to trigger credential-specific behavior.
|
869
|
+
//
|
870
|
+
// In applications that use the older APIs, such as |SSL_use_certificate|, this
|
871
|
+
// function may return an internal |SSL_CREDENTIAL| object. This internal object
|
872
|
+
// will have no ex_data installed. To avoid this, it is recommended that callers
|
873
|
+
// moving to |SSL_CREDENTIAL| use the new APIs consistently.
|
874
|
+
OPENSSL_EXPORT const SSL_CREDENTIAL *SSL_get0_selected_credential(
|
875
|
+
const SSL *ssl);
|
876
|
+
|
877
|
+
|
844
878
|
// Configuring certificates and private keys.
|
845
879
|
//
|
846
880
|
// These functions configure the connection's leaf certificate, private key, and
|
@@ -848,23 +882,33 @@ OPENSSL_EXPORT void SSL_CTX_set0_buffer_pool(SSL_CTX *ctx,
|
|
848
882
|
// the wire) but does not include the leaf. Both client and server certificates
|
849
883
|
// use these functions.
|
850
884
|
//
|
851
|
-
//
|
852
|
-
//
|
885
|
+
// Prefer to configure the certificate before the private key. If configured in
|
886
|
+
// the other order, inconsistent private keys will be silently dropped, rather
|
887
|
+
// than return an error. Additionally, overwriting a previously-configured
|
888
|
+
// certificate and key pair only works if the certificate is configured first.
|
889
|
+
//
|
890
|
+
// Each of these functions configures the single "legacy credential" on the
|
891
|
+
// |SSL_CTX| or |SSL|. To select between multiple certificates, use
|
892
|
+
// |SSL_CREDENTIAL_new_x509| and other APIs to configure a list of credentials.
|
853
893
|
|
854
894
|
// SSL_CTX_use_certificate sets |ctx|'s leaf certificate to |x509|. It returns
|
855
|
-
// one on success and zero on failure.
|
895
|
+
// one on success and zero on failure. If |ctx| has a private key which is
|
896
|
+
// inconsistent with |x509|, the private key is silently dropped.
|
856
897
|
OPENSSL_EXPORT int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x509);
|
857
898
|
|
858
899
|
// SSL_use_certificate sets |ssl|'s leaf certificate to |x509|. It returns one
|
859
|
-
// on success and zero on failure.
|
900
|
+
// on success and zero on failure. If |ssl| has a private key which is
|
901
|
+
// inconsistent with |x509|, the private key is silently dropped.
|
860
902
|
OPENSSL_EXPORT int SSL_use_certificate(SSL *ssl, X509 *x509);
|
861
903
|
|
862
904
|
// SSL_CTX_use_PrivateKey sets |ctx|'s private key to |pkey|. It returns one on
|
863
|
-
// success and zero on failure.
|
905
|
+
// success and zero on failure. If |ctx| had a private key or
|
906
|
+
// |SSL_PRIVATE_KEY_METHOD| previously configured, it is replaced.
|
864
907
|
OPENSSL_EXPORT int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
|
865
908
|
|
866
909
|
// SSL_use_PrivateKey sets |ssl|'s private key to |pkey|. It returns one on
|
867
|
-
// success and zero on failure.
|
910
|
+
// success and zero on failure. If |ssl| had a private key or
|
911
|
+
// |SSL_PRIVATE_KEY_METHOD| previously configured, it is replaced.
|
868
912
|
OPENSSL_EXPORT int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
|
869
913
|
|
870
914
|
// SSL_CTX_set0_chain sets |ctx|'s certificate chain, excluding the leaf, to
|
@@ -982,21 +1026,8 @@ SSL_get0_peer_verify_algorithms(const SSL *ssl, const uint16_t **out_sigalgs);
|
|
982
1026
|
// The behavior of this function is undefined except during the callbacks set by
|
983
1027
|
// by |SSL_CTX_set_cert_cb| and |SSL_CTX_set_client_cert_cb| or when the
|
984
1028
|
// handshake is paused because of them.
|
985
|
-
OPENSSL_EXPORT size_t
|
986
|
-
|
987
|
-
const uint16_t **out_sigalgs);
|
988
|
-
|
989
|
-
// SSL_certs_clear resets the private key, leaf certificate, and certificate
|
990
|
-
// chain of |ssl|.
|
991
|
-
OPENSSL_EXPORT void SSL_certs_clear(SSL *ssl);
|
992
|
-
|
993
|
-
// SSL_CTX_check_private_key returns one if the certificate and private key
|
994
|
-
// configured in |ctx| are consistent and zero otherwise.
|
995
|
-
OPENSSL_EXPORT int SSL_CTX_check_private_key(const SSL_CTX *ctx);
|
996
|
-
|
997
|
-
// SSL_check_private_key returns one if the certificate and private key
|
998
|
-
// configured in |ssl| are consistent and zero otherwise.
|
999
|
-
OPENSSL_EXPORT int SSL_check_private_key(const SSL *ssl);
|
1029
|
+
OPENSSL_EXPORT size_t SSL_get0_peer_delegation_algorithms(
|
1030
|
+
const SSL *ssl, const uint16_t **out_sigalgs);
|
1000
1031
|
|
1001
1032
|
// SSL_CTX_get0_certificate returns |ctx|'s leaf certificate.
|
1002
1033
|
OPENSSL_EXPORT X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
|
@@ -1054,8 +1085,7 @@ OPENSSL_EXPORT int SSL_CTX_set_ocsp_response(SSL_CTX *ctx,
|
|
1054
1085
|
// SSL_set_ocsp_response sets the OCSP response that is sent to clients which
|
1055
1086
|
// request it. It returns one on success and zero on error. The caller retains
|
1056
1087
|
// ownership of |response|.
|
1057
|
-
OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl,
|
1058
|
-
const uint8_t *response,
|
1088
|
+
OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl, const uint8_t *response,
|
1059
1089
|
size_t response_len);
|
1060
1090
|
|
1061
1091
|
// SSL_SIGN_* are signature algorithm values as defined in TLS 1.3.
|
@@ -1072,6 +1102,11 @@ OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl,
|
|
1072
1102
|
#define SSL_SIGN_RSA_PSS_RSAE_SHA512 0x0806
|
1073
1103
|
#define SSL_SIGN_ED25519 0x0807
|
1074
1104
|
|
1105
|
+
// SSL_SIGN_RSA_PKCS1_SHA256_LEGACY is a backport of RSASSA-PKCS1-v1_5 with
|
1106
|
+
// SHA-256 to TLS 1.3. It is disabled by default and only defined for client
|
1107
|
+
// certificates.
|
1108
|
+
#define SSL_SIGN_RSA_PKCS1_SHA256_LEGACY 0x0420
|
1109
|
+
|
1075
1110
|
// SSL_SIGN_RSA_PKCS1_MD5_SHA1 is an internal signature algorithm used to
|
1076
1111
|
// specify raw RSASSA-PKCS1-v1_5 with an MD5/SHA-1 concatenation, as used in TLS
|
1077
1112
|
// before TLS 1.2.
|
@@ -1112,17 +1147,29 @@ OPENSSL_EXPORT const EVP_MD *SSL_get_signature_algorithm_digest(
|
|
1112
1147
|
OPENSSL_EXPORT int SSL_is_signature_algorithm_rsa_pss(uint16_t sigalg);
|
1113
1148
|
|
1114
1149
|
// SSL_CTX_set_signing_algorithm_prefs configures |ctx| to use |prefs| as the
|
1115
|
-
// preference list when signing with |ctx|'s private key.
|
1116
|
-
// success and zero on error. |prefs| should not include the
|
1117
|
-
// |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
1150
|
+
// preference list when signing with |ctx|'s private key in TLS 1.2 and up. It
|
1151
|
+
// returns one on success and zero on error. |prefs| should not include the
|
1152
|
+
// internal-only TLS 1.0 value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
1153
|
+
//
|
1154
|
+
// This setting is not used in TLS 1.0 and 1.1. Those protocols always sign a
|
1155
|
+
// hardcoded algorithm (an MD5/SHA-1 concatenation for RSA, and SHA-1 for
|
1156
|
+
// ECDSA). BoringSSL will use those algorithms if and only if those versions are
|
1157
|
+
// used. To disable them, set the minimum version to TLS 1.2 (default) or
|
1158
|
+
// higher.
|
1118
1159
|
OPENSSL_EXPORT int SSL_CTX_set_signing_algorithm_prefs(SSL_CTX *ctx,
|
1119
1160
|
const uint16_t *prefs,
|
1120
1161
|
size_t num_prefs);
|
1121
1162
|
|
1122
1163
|
// SSL_set_signing_algorithm_prefs configures |ssl| to use |prefs| as the
|
1123
|
-
// preference list when signing with |ssl|'s private key.
|
1124
|
-
// success and zero on error. |prefs| should not include the
|
1125
|
-
// |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
1164
|
+
// preference list when signing with |ssl|'s private key in TLS 1.2 and up. It
|
1165
|
+
// returns one on success and zero on error. |prefs| should not include the
|
1166
|
+
// internal-only TLS 1.0 value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
1167
|
+
//
|
1168
|
+
// This setting is not used in TLS 1.0 and 1.1. Those protocols always sign a
|
1169
|
+
// hardcoded algorithm (an MD5/SHA-1 concatenation for RSA, and SHA-1 for
|
1170
|
+
// ECDSA). BoringSSL will use those algorithms if and only if those versions are
|
1171
|
+
// used. To disable them, set the minimum version to TLS 1.2 (default) or
|
1172
|
+
// higher.
|
1126
1173
|
OPENSSL_EXPORT int SSL_set_signing_algorithm_prefs(SSL *ssl,
|
1127
1174
|
const uint16_t *prefs,
|
1128
1175
|
size_t num_prefs);
|
@@ -1210,8 +1257,7 @@ OPENSSL_EXPORT int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der,
|
|
1210
1257
|
#define SSL_FILETYPE_ASN1 2
|
1211
1258
|
|
1212
1259
|
OPENSSL_EXPORT int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx,
|
1213
|
-
const char *file,
|
1214
|
-
int type);
|
1260
|
+
const char *file, int type);
|
1215
1261
|
OPENSSL_EXPORT int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file,
|
1216
1262
|
int type);
|
1217
1263
|
|
@@ -1229,6 +1275,11 @@ OPENSSL_EXPORT int SSL_use_PrivateKey_file(SSL *ssl, const char *file,
|
|
1229
1275
|
// reads the contents of |file| as a PEM-encoded leaf certificate followed
|
1230
1276
|
// optionally by the certificate chain to send to the peer. It returns one on
|
1231
1277
|
// success and zero on failure.
|
1278
|
+
//
|
1279
|
+
// WARNING: If the input contains "TRUSTED CERTIFICATE" PEM blocks, this
|
1280
|
+
// function parses auxiliary properties as in |d2i_X509_AUX|. Passing untrusted
|
1281
|
+
// input to this function allows an attacker to influence those properties. See
|
1282
|
+
// |d2i_X509_AUX| for details.
|
1232
1283
|
OPENSSL_EXPORT int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx,
|
1233
1284
|
const char *file);
|
1234
1285
|
|
@@ -1264,11 +1315,6 @@ enum ssl_private_key_result_t BORINGSSL_ENUM_INT {
|
|
1264
1315
|
// key hooks. This is used to off-load signing operations to a custom,
|
1265
1316
|
// potentially asynchronous, backend. Metadata about the key such as the type
|
1266
1317
|
// and size are parsed out of the certificate.
|
1267
|
-
//
|
1268
|
-
// Callers that use this structure should additionally call
|
1269
|
-
// |SSL_set_signing_algorithm_prefs| or |SSL_CTX_set_signing_algorithm_prefs|
|
1270
|
-
// with the private key's capabilities. This ensures BoringSSL will select a
|
1271
|
-
// suitable signature algorithm for the private key.
|
1272
1318
|
struct ssl_private_key_method_st {
|
1273
1319
|
// sign signs the message |in| in using the specified signature algorithm. On
|
1274
1320
|
// success, it returns |ssl_private_key_success| and writes at most |max_out|
|
@@ -1321,14 +1367,57 @@ struct ssl_private_key_method_st {
|
|
1321
1367
|
|
1322
1368
|
// SSL_set_private_key_method configures a custom private key on |ssl|.
|
1323
1369
|
// |key_method| must remain valid for the lifetime of |ssl|.
|
1370
|
+
//
|
1371
|
+
// If using an RSA or ECDSA key, callers should configure signing capabilities
|
1372
|
+
// with |SSL_set_signing_algorithm_prefs|. Otherwise, BoringSSL may select a
|
1373
|
+
// signature algorithm that |key_method| does not support.
|
1324
1374
|
OPENSSL_EXPORT void SSL_set_private_key_method(
|
1325
1375
|
SSL *ssl, const SSL_PRIVATE_KEY_METHOD *key_method);
|
1326
1376
|
|
1327
1377
|
// SSL_CTX_set_private_key_method configures a custom private key on |ctx|.
|
1328
1378
|
// |key_method| must remain valid for the lifetime of |ctx|.
|
1379
|
+
//
|
1380
|
+
// If using an RSA or ECDSA key, callers should configure signing capabilities
|
1381
|
+
// with |SSL_CTX_set_signing_algorithm_prefs|. Otherwise, BoringSSL may select a
|
1382
|
+
// signature algorithm that |key_method| does not support.
|
1329
1383
|
OPENSSL_EXPORT void SSL_CTX_set_private_key_method(
|
1330
1384
|
SSL_CTX *ctx, const SSL_PRIVATE_KEY_METHOD *key_method);
|
1331
1385
|
|
1386
|
+
// SSL_CREDENTIAL_set_private_key_method configures a custom private key on
|
1387
|
+
// |cred|. |key_method| must remain valid for the lifetime of |cred|. It returns
|
1388
|
+
// one on success and zero if |cred| does not use private keys.
|
1389
|
+
//
|
1390
|
+
// If using an RSA or ECDSA key, callers should configure signing capabilities
|
1391
|
+
// with |SSL_CREDENTIAL_set1_signing_algorithm_prefs|. Otherwise, BoringSSL may
|
1392
|
+
// select a signature algorithm that |key_method| does not support. This is not
|
1393
|
+
// necessary for delegated credentials (see |SSL_CREDENTIAL_new_delegated|)
|
1394
|
+
// because delegated credentials only support a single signature algorithm.
|
1395
|
+
//
|
1396
|
+
// Functions in |key_method| will be passed an |SSL| object, but not |cred|
|
1397
|
+
// directly. Use |SSL_get0_selected_credential| to determine the selected
|
1398
|
+
// credential. From there, |SSL_CREDENTIAL_get_ex_data| can be used to look up
|
1399
|
+
// credential-specific state, such as a handle to the private key.
|
1400
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set_private_key_method(
|
1401
|
+
SSL_CREDENTIAL *cred, const SSL_PRIVATE_KEY_METHOD *key_method);
|
1402
|
+
|
1403
|
+
// SSL_CREDENTIAL_set_must_match_issuer sets the flag that this credential
|
1404
|
+
// should be considered only when it matches a peer request for a particular
|
1405
|
+
// issuer via a negotiation mechanism (such as the certificate_authorities
|
1406
|
+
// extension).
|
1407
|
+
OPENSSL_EXPORT void SSL_CREDENTIAL_set_must_match_issuer(SSL_CREDENTIAL *cred);
|
1408
|
+
|
1409
|
+
// SSL_CREDENTIAL_clear_must_match_issuer clears the flag requiring issuer
|
1410
|
+
// matching, indicating this credential should be considered regardless of peer
|
1411
|
+
// issuer matching requests. (This is the default).
|
1412
|
+
OPENSSL_EXPORT void SSL_CREDENTIAL_clear_must_match_issuer(
|
1413
|
+
SSL_CREDENTIAL *cred);
|
1414
|
+
|
1415
|
+
// SSL_CREDENTIAL_must_match_issuer returns the value of the flag indicating
|
1416
|
+
// that this credential should be considered only when it matches a peer request
|
1417
|
+
// for a particular issuer via a negotiation mechanism (such as the
|
1418
|
+
// certificate_authorities extension).
|
1419
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_must_match_issuer(const SSL_CREDENTIAL *cred);
|
1420
|
+
|
1332
1421
|
// SSL_can_release_private_key returns one if |ssl| will no longer call into the
|
1333
1422
|
// private key and zero otherwise. If the function returns one, the caller can
|
1334
1423
|
// release state associated with the private key.
|
@@ -1648,8 +1737,8 @@ OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_full_cert_chain(const SSL *ssl);
|
|
1648
1737
|
// verification. The caller does not take ownership of the result.
|
1649
1738
|
//
|
1650
1739
|
// This is the |CRYPTO_BUFFER| variant of |SSL_get_peer_full_cert_chain|.
|
1651
|
-
OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
|
1652
|
-
|
1740
|
+
OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *SSL_get0_peer_certificates(
|
1741
|
+
const SSL *ssl);
|
1653
1742
|
|
1654
1743
|
// SSL_get0_signed_cert_timestamp_list sets |*out| and |*out_len| to point to
|
1655
1744
|
// |*out_len| bytes of SCT information from the server. This is only valid if
|
@@ -1710,10 +1799,11 @@ OPENSSL_EXPORT int SSL_session_reused(const SSL *ssl);
|
|
1710
1799
|
// renegotiation (RFC 5746) or TLS 1.3. Otherwise, it returns zero.
|
1711
1800
|
OPENSSL_EXPORT int SSL_get_secure_renegotiation_support(const SSL *ssl);
|
1712
1801
|
|
1713
|
-
// SSL_export_keying_material exports a
|
1714
|
-
// specified in RFC 5705. It writes |out_len| bytes to |out| given a label
|
1715
|
-
// optional context.
|
1716
|
-
//
|
1802
|
+
// SSL_export_keying_material exports a connection-specific secret from |ssl|,
|
1803
|
+
// as specified in RFC 5705. It writes |out_len| bytes to |out| given a label
|
1804
|
+
// and optional context. If |use_context| is zero, the |context| parameter is
|
1805
|
+
// ignored. Prior to TLS 1.3, using a zero-length context and using no context
|
1806
|
+
// would give different output.
|
1717
1807
|
//
|
1718
1808
|
// It returns one on success and zero otherwise.
|
1719
1809
|
OPENSSL_EXPORT int SSL_export_keying_material(
|
@@ -1763,8 +1853,9 @@ OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in,
|
|
1763
1853
|
|
1764
1854
|
// SSL_SESSION_from_bytes parses |in_len| bytes from |in| as an SSL_SESSION. It
|
1765
1855
|
// returns a newly-allocated |SSL_SESSION| on success or NULL on error.
|
1766
|
-
OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes(
|
1767
|
-
|
1856
|
+
OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes(const uint8_t *in,
|
1857
|
+
size_t in_len,
|
1858
|
+
const SSL_CTX *ctx);
|
1768
1859
|
|
1769
1860
|
// SSL_SESSION_get_version returns a string describing the TLS or DTLS version
|
1770
1861
|
// |session| was established at. For example, "TLSv1.2" or "DTLSv1".
|
@@ -1826,7 +1917,7 @@ OPENSSL_EXPORT X509 *SSL_SESSION_get0_peer(const SSL_SESSION *session);
|
|
1826
1917
|
// unverified list of certificates as sent by the peer, not the final chain
|
1827
1918
|
// built during verification. The caller does not take ownership of the result.
|
1828
1919
|
OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
|
1829
|
-
|
1920
|
+
SSL_SESSION_get0_peer_certificates(const SSL_SESSION *session);
|
1830
1921
|
|
1831
1922
|
// SSL_SESSION_get0_signed_cert_timestamp_list sets |*out| and |*out_len| to
|
1832
1923
|
// point to |*out_len| bytes of SCT information stored in |session|. This is
|
@@ -2014,7 +2105,7 @@ OPENSSL_EXPORT void SSL_SESSION_get0_peer_sha256(const SSL_SESSION *session,
|
|
2014
2105
|
// SSL_SESS_CACHE_NO_INTERNAL, on a server, disables the internal session
|
2015
2106
|
// cache.
|
2016
2107
|
#define SSL_SESS_CACHE_NO_INTERNAL \
|
2017
|
-
|
2108
|
+
(SSL_SESS_CACHE_NO_INTERNAL_LOOKUP | SSL_SESS_CACHE_NO_INTERNAL_STORE)
|
2018
2109
|
|
2019
2110
|
// SSL_CTX_set_session_cache_mode sets the session cache mode bits for |ctx| to
|
2020
2111
|
// |mode|. It returns the previous value.
|
@@ -2259,21 +2350,22 @@ OPENSSL_EXPORT int SSL_CTX_set_tlsext_ticket_keys(SSL_CTX *ctx, const void *in,
|
|
2259
2350
|
// When encrypting a new ticket, |encrypt| will be one. It writes a public
|
2260
2351
|
// 16-byte key name to |key_name| and a fresh IV to |iv|. The output IV length
|
2261
2352
|
// must match |EVP_CIPHER_CTX_iv_length| of the cipher selected. In this mode,
|
2262
|
-
// |callback| returns 1 on success and -1 on
|
2353
|
+
// |callback| returns 1 on success, 0 to decline sending a ticket, and -1 on
|
2354
|
+
// error.
|
2263
2355
|
//
|
2264
2356
|
// When decrypting a ticket, |encrypt| will be zero. |key_name| will point to a
|
2265
2357
|
// 16-byte key name and |iv| points to an IV. The length of the IV consumed must
|
2266
2358
|
// match |EVP_CIPHER_CTX_iv_length| of the cipher selected. In this mode,
|
2267
|
-
// |callback| returns -1 to abort the handshake, 0 if
|
2268
|
-
//
|
2269
|
-
// This may be used to re-key the ticket.
|
2359
|
+
// |callback| returns -1 to abort the handshake, 0 if the ticket key was
|
2360
|
+
// unrecognized, and 1 or 2 on success. If it returns 2, the ticket will be
|
2361
|
+
// renewed. This may be used to re-key the ticket.
|
2270
2362
|
//
|
2271
2363
|
// WARNING: |callback| wildly breaks the usual return value convention and is
|
2272
2364
|
// called in two different modes.
|
2273
2365
|
OPENSSL_EXPORT int SSL_CTX_set_tlsext_ticket_key_cb(
|
2274
|
-
SSL_CTX *ctx,
|
2275
|
-
|
2276
|
-
|
2366
|
+
SSL_CTX *ctx,
|
2367
|
+
int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv,
|
2368
|
+
EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx, int encrypt));
|
2277
2369
|
|
2278
2370
|
// ssl_ticket_aead_result_t enumerates the possible results from decrypting a
|
2279
2371
|
// ticket with an |SSL_TICKET_AEAD_METHOD|.
|
@@ -2303,7 +2395,8 @@ struct ssl_ticket_aead_method_st {
|
|
2303
2395
|
// seal encrypts and authenticates |in_len| bytes from |in|, writes, at most,
|
2304
2396
|
// |max_out_len| bytes to |out|, and puts the number of bytes written in
|
2305
2397
|
// |*out_len|. The |in| and |out| buffers may be equal but will not otherwise
|
2306
|
-
// alias. It returns one on success or zero on error.
|
2398
|
+
// alias. It returns one on success or zero on error. If the function returns
|
2399
|
+
// but |*out_len| is zero, BoringSSL will skip sending a ticket.
|
2307
2400
|
int (*seal)(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out_len,
|
2308
2401
|
const uint8_t *in, size_t in_len);
|
2309
2402
|
|
@@ -2374,6 +2467,7 @@ OPENSSL_EXPORT size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx);
|
|
2374
2467
|
#define SSL_GROUP_SECP384R1 24
|
2375
2468
|
#define SSL_GROUP_SECP521R1 25
|
2376
2469
|
#define SSL_GROUP_X25519 29
|
2470
|
+
#define SSL_GROUP_X25519_MLKEM768 0x11ec
|
2377
2471
|
#define SSL_GROUP_X25519_KYBER768_DRAFT00 0x6399
|
2378
2472
|
|
2379
2473
|
// SSL_CTX_set1_group_ids sets the preferred groups for |ctx| to |group_ids|.
|
@@ -2635,8 +2729,7 @@ OPENSSL_EXPORT int SSL_CTX_set1_param(SSL_CTX *ctx,
|
|
2635
2729
|
|
2636
2730
|
// SSL_set1_param sets verification parameters from |param|. It returns one on
|
2637
2731
|
// success and zero on failure. The caller retains ownership of |param|.
|
2638
|
-
OPENSSL_EXPORT int SSL_set1_param(SSL *ssl,
|
2639
|
-
const X509_VERIFY_PARAM *param);
|
2732
|
+
OPENSSL_EXPORT int SSL_set1_param(SSL *ssl, const X509_VERIFY_PARAM *param);
|
2640
2733
|
|
2641
2734
|
// SSL_CTX_get0_param returns |ctx|'s |X509_VERIFY_PARAM| for certificate
|
2642
2735
|
// verification. The caller must not release the returned pointer but may call
|
@@ -2674,19 +2767,17 @@ OPENSSL_EXPORT void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store);
|
|
2674
2767
|
// SSL_CTX_get_cert_store returns |ctx|'s certificate store.
|
2675
2768
|
OPENSSL_EXPORT X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx);
|
2676
2769
|
|
2677
|
-
// SSL_CTX_set_default_verify_paths
|
2678
|
-
//
|
2770
|
+
// SSL_CTX_set_default_verify_paths calls |X509_STORE_set_default_paths| on
|
2771
|
+
// |ctx|'s store. See that function for details.
|
2772
|
+
//
|
2773
|
+
// Using this function is not recommended. In OpenSSL, these defaults are
|
2774
|
+
// determined by OpenSSL's install prefix. There is no corresponding concept for
|
2775
|
+
// BoringSSL. Future versions of BoringSSL may change or remove this
|
2776
|
+
// functionality.
|
2679
2777
|
OPENSSL_EXPORT int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
|
2680
2778
|
|
2681
|
-
// SSL_CTX_load_verify_locations
|
2682
|
-
//
|
2683
|
-
// it is opened and PEM-encoded CA certificates are read. If |ca_dir| is passed,
|
2684
|
-
// it is treated as a directory in OpenSSL's hashed directory format. It returns
|
2685
|
-
// one on success and zero on failure.
|
2686
|
-
//
|
2687
|
-
// See
|
2688
|
-
// https://www.openssl.org/docs/man1.1.0/man3/SSL_CTX_load_verify_locations.html
|
2689
|
-
// for documentation on the directory format.
|
2779
|
+
// SSL_CTX_load_verify_locations calls |X509_STORE_load_locations| on |ctx|'s
|
2780
|
+
// store. See that function for details.
|
2690
2781
|
OPENSSL_EXPORT int SSL_CTX_load_verify_locations(SSL_CTX *ctx,
|
2691
2782
|
const char *ca_file,
|
2692
2783
|
const char *ca_dir);
|
@@ -2768,17 +2859,29 @@ OPENSSL_EXPORT int SSL_set0_verify_cert_store(SSL *ssl, X509_STORE *store);
|
|
2768
2859
|
OPENSSL_EXPORT int SSL_set1_verify_cert_store(SSL *ssl, X509_STORE *store);
|
2769
2860
|
|
2770
2861
|
// SSL_CTX_set_verify_algorithm_prefs configures |ctx| to use |prefs| as the
|
2771
|
-
// preference list when verifying signatures from the peer's long-term key
|
2772
|
-
// returns one on zero on error. |prefs| should not include
|
2773
|
-
// value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
2862
|
+
// preference list when verifying signatures from the peer's long-term key in
|
2863
|
+
// TLS 1.2 and up. It returns one on zero on error. |prefs| should not include
|
2864
|
+
// the internal-only TLS 1.0 value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
2865
|
+
//
|
2866
|
+
// This setting is not used in TLS 1.0 and 1.1. Those protocols always sign a
|
2867
|
+
// hardcoded algorithm (an MD5/SHA-1 concatenation for RSA, and SHA-1 for
|
2868
|
+
// ECDSA). BoringSSL will accept those algorithms if and only if those versions
|
2869
|
+
// are used. To disable them, set the minimum version to TLS 1.2 (default) or
|
2870
|
+
// higher.
|
2774
2871
|
OPENSSL_EXPORT int SSL_CTX_set_verify_algorithm_prefs(SSL_CTX *ctx,
|
2775
2872
|
const uint16_t *prefs,
|
2776
2873
|
size_t num_prefs);
|
2777
2874
|
|
2778
2875
|
// SSL_set_verify_algorithm_prefs configures |ssl| to use |prefs| as the
|
2779
|
-
// preference list when verifying signatures from the peer's long-term key
|
2780
|
-
// returns one on zero on error. |prefs| should not include
|
2781
|
-
// value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
2876
|
+
// preference list when verifying signatures from the peer's long-term key in
|
2877
|
+
// TLS 1.2 and up. It returns one on zero on error. |prefs| should not include
|
2878
|
+
// the internal-only TLS 1.0 value |SSL_SIGN_RSA_PKCS1_MD5_SHA1|.
|
2879
|
+
//
|
2880
|
+
// This setting is not used in TLS 1.0 and 1.1. Those protocols always sign a
|
2881
|
+
// hardcoded algorithm (an MD5/SHA-1 concatenation for RSA, and SHA-1 for
|
2882
|
+
// ECDSA). BoringSSL will accept those algorithms if and only if those versions
|
2883
|
+
// are used. To disable them, set the minimum version to TLS 1.2 (default) or
|
2884
|
+
// higher.
|
2782
2885
|
OPENSSL_EXPORT int SSL_set_verify_algorithm_prefs(SSL *ssl,
|
2783
2886
|
const uint16_t *prefs,
|
2784
2887
|
size_t num_prefs);
|
@@ -2806,6 +2909,12 @@ OPENSSL_EXPORT void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,
|
|
2806
2909
|
OPENSSL_EXPORT void SSL_set0_client_CAs(SSL *ssl,
|
2807
2910
|
STACK_OF(CRYPTO_BUFFER) *name_list);
|
2808
2911
|
|
2912
|
+
// SSL_set0_CA_names sets |ssl|'s CA name list for the certificate authorities
|
2913
|
+
// extension to |name_list|, which should contain DER-encoded distinguished
|
2914
|
+
// names (RFC 5280). It takes ownership of |name_list|.
|
2915
|
+
OPENSSL_EXPORT void SSL_set0_CA_names(SSL *ssl,
|
2916
|
+
STACK_OF(CRYPTO_BUFFER) *name_list);
|
2917
|
+
|
2809
2918
|
// SSL_CTX_set0_client_CAs sets |ctx|'s client certificate CA list to
|
2810
2919
|
// |name_list|, which should contain DER-encoded distinguished names (RFC 5280).
|
2811
2920
|
// It takes ownership of |name_list|.
|
@@ -2829,12 +2938,12 @@ OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl);
|
|
2829
2938
|
//
|
2830
2939
|
// The returned stack is owned by |ssl|, as are its contents. It should not be
|
2831
2940
|
// used past the point where the handshake is restarted after the callback.
|
2832
|
-
OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
|
2833
|
-
|
2941
|
+
OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *SSL_get0_server_requested_CAs(
|
2942
|
+
const SSL *ssl);
|
2834
2943
|
|
2835
2944
|
// SSL_CTX_get_client_CA_list returns |ctx|'s client certificate CA list.
|
2836
|
-
OPENSSL_EXPORT STACK_OF(X509_NAME) *
|
2837
|
-
|
2945
|
+
OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(
|
2946
|
+
const SSL_CTX *ctx);
|
2838
2947
|
|
2839
2948
|
// SSL_add_client_CA appends |x509|'s subject to the client certificate CA list.
|
2840
2949
|
// It returns one on success or zero on error. The caller retains ownership of
|
@@ -2959,7 +3068,8 @@ OPENSSL_EXPORT int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos,
|
|
2959
3068
|
|
2960
3069
|
// SSL_CTX_set_alpn_select_cb sets a callback function on |ctx| that is called
|
2961
3070
|
// during ClientHello processing in order to select an ALPN protocol from the
|
2962
|
-
// client's list of offered protocols.
|
3071
|
+
// client's list of offered protocols. |SSL_select_next_proto| is an optional
|
3072
|
+
// utility function which may be useful in implementing this callback.
|
2963
3073
|
//
|
2964
3074
|
// The callback is passed a wire-format (i.e. a series of non-empty, 8-bit
|
2965
3075
|
// length-prefixed strings) ALPN protocol list in |in|. To select a protocol,
|
@@ -2988,8 +3098,9 @@ OPENSSL_EXPORT int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos,
|
|
2988
3098
|
// |SSL_get_pending_cipher| to query the cipher suite. This may be used to
|
2989
3099
|
// implement HTTP/2's cipher suite constraints.
|
2990
3100
|
OPENSSL_EXPORT void SSL_CTX_set_alpn_select_cb(
|
2991
|
-
SSL_CTX *ctx,
|
2992
|
-
|
3101
|
+
SSL_CTX *ctx,
|
3102
|
+
int (*cb)(SSL *ssl, const uint8_t **out, uint8_t *out_len,
|
3103
|
+
const uint8_t *in, unsigned in_len, void *arg),
|
2993
3104
|
void *arg);
|
2994
3105
|
|
2995
3106
|
// SSL_get0_alpn_selected gets the selected ALPN protocol (if any) from |ssl|.
|
@@ -3109,38 +3220,59 @@ OPENSSL_EXPORT int SSL_CTX_add_cert_compression_alg(
|
|
3109
3220
|
// and deprecated in favor of it.
|
3110
3221
|
|
3111
3222
|
// SSL_CTX_set_next_protos_advertised_cb sets a callback that is called when a
|
3112
|
-
// TLS server needs a list of supported protocols for Next Protocol
|
3113
|
-
//
|
3114
|
-
//
|
3115
|
-
//
|
3116
|
-
//
|
3117
|
-
//
|
3118
|
-
//
|
3119
|
-
//
|
3223
|
+
// TLS server needs a list of supported protocols for Next Protocol Negotiation.
|
3224
|
+
//
|
3225
|
+
// If the callback wishes to advertise NPN to the client, it should return
|
3226
|
+
// |SSL_TLSEXT_ERR_OK| and then set |*out| and |*out_len| to describe to a
|
3227
|
+
// buffer containing a (possibly empty) list of supported protocols in wire
|
3228
|
+
// format. That is, each protocol is prefixed with a 1-byte length, then
|
3229
|
+
// concatenated. From there, the client will select a protocol, possibly one not
|
3230
|
+
// on the server's list. The caller can use |SSL_get0_next_proto_negotiated|
|
3231
|
+
// after the handshake completes to query the final protocol.
|
3232
|
+
//
|
3233
|
+
// The returned buffer must remain valid and unmodified for at least the
|
3234
|
+
// duration of the |SSL| operation (e.g. |SSL_do_handshake|) that triggered the
|
3235
|
+
// callback.
|
3236
|
+
//
|
3237
|
+
// If the caller wishes not to advertise NPN, it should return
|
3238
|
+
// |SSL_TLSEXT_ERR_NOACK|. No NPN extension will be included in the ServerHello,
|
3239
|
+
// and the TLS server will behave as if it does not implement NPN.
|
3120
3240
|
OPENSSL_EXPORT void SSL_CTX_set_next_protos_advertised_cb(
|
3121
3241
|
SSL_CTX *ctx,
|
3122
3242
|
int (*cb)(SSL *ssl, const uint8_t **out, unsigned *out_len, void *arg),
|
3123
3243
|
void *arg);
|
3124
3244
|
|
3125
3245
|
// SSL_CTX_set_next_proto_select_cb sets a callback that is called when a client
|
3126
|
-
// needs to select a protocol from the server's provided list
|
3127
|
-
//
|
3128
|
-
//
|
3129
|
-
//
|
3130
|
-
//
|
3131
|
-
//
|
3132
|
-
//
|
3133
|
-
//
|
3134
|
-
//
|
3135
|
-
//
|
3246
|
+
// needs to select a protocol from the server's provided list, passed in wire
|
3247
|
+
// format in |in_len| bytes from |in|. The callback can assume that |in| is
|
3248
|
+
// syntactically valid. |SSL_select_next_proto| is an optional utility function
|
3249
|
+
// which may be useful in implementing this callback.
|
3250
|
+
//
|
3251
|
+
// On success, the callback should return |SSL_TLSEXT_ERR_OK| and set |*out| and
|
3252
|
+
// |*out_len| to describe a buffer containing the selected protocol, or an
|
3253
|
+
// empty buffer to select no protocol. The returned buffer may point within
|
3254
|
+
// |in|, or it may point to some other buffer that remains valid and unmodified
|
3255
|
+
// for at least the duration of the |SSL| operation (e.g. |SSL_do_handshake|)
|
3256
|
+
// that triggered the callback.
|
3257
|
+
//
|
3258
|
+
// Returning any other value indicates a fatal error and will terminate the TLS
|
3259
|
+
// connection. To proceed without selecting a protocol, the callback must return
|
3260
|
+
// |SSL_TLSEXT_ERR_OK| and set |*out| and |*out_len| to an empty buffer. (E.g.
|
3261
|
+
// NULL and zero, respectively.)
|
3262
|
+
//
|
3263
|
+
// Configuring this callback enables NPN on a client. Although the callback can
|
3264
|
+
// then decline to negotiate a protocol, merely configuring the callback causes
|
3265
|
+
// the client to offer NPN in the ClientHello. Callers thus should not configure
|
3266
|
+
// this callback in TLS client contexts that are not intended to use NPN.
|
3136
3267
|
OPENSSL_EXPORT void SSL_CTX_set_next_proto_select_cb(
|
3137
|
-
SSL_CTX *ctx,
|
3138
|
-
|
3268
|
+
SSL_CTX *ctx,
|
3269
|
+
int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len, const uint8_t *in,
|
3270
|
+
unsigned in_len, void *arg),
|
3139
3271
|
void *arg);
|
3140
3272
|
|
3141
3273
|
// SSL_get0_next_proto_negotiated sets |*out_data| and |*out_len| to point to
|
3142
3274
|
// the client's requested protocol for this connection. If the client didn't
|
3143
|
-
// request any protocol, then |*
|
3275
|
+
// request any protocol, then |*out_len| is set to zero.
|
3144
3276
|
//
|
3145
3277
|
// Note that the client can request any protocol it chooses. The value returned
|
3146
3278
|
// from this function need not be a member of the list of supported protocols
|
@@ -3149,21 +3281,45 @@ OPENSSL_EXPORT void SSL_get0_next_proto_negotiated(const SSL *ssl,
|
|
3149
3281
|
const uint8_t **out_data,
|
3150
3282
|
unsigned *out_len);
|
3151
3283
|
|
3152
|
-
// SSL_select_next_proto implements the standard protocol selection
|
3153
|
-
// expected that this function is called from
|
3284
|
+
// SSL_select_next_proto implements the standard protocol selection for either
|
3285
|
+
// ALPN servers or NPN clients. It is expected that this function is called from
|
3286
|
+
// the callback set by |SSL_CTX_set_alpn_select_cb| or
|
3154
3287
|
// |SSL_CTX_set_next_proto_select_cb|.
|
3155
3288
|
//
|
3156
|
-
// |peer| and |supported|
|
3157
|
-
//
|
3158
|
-
//
|
3159
|
-
//
|
3160
|
-
// non-empty.
|
3161
|
-
//
|
3162
|
-
// This function finds the first protocol in |peer| which is also in
|
3163
|
-
// |supported|. If one was found, it sets |*out| and |*out_len| to point to it
|
3164
|
-
// and returns |OPENSSL_NPN_NEGOTIATED|. Otherwise, it returns
|
3289
|
+
// |peer| and |supported| contain the peer and locally-configured protocols,
|
3290
|
+
// respectively. This function finds the first protocol in |peer| which is also
|
3291
|
+
// in |supported|. If one was found, it sets |*out| and |*out_len| to point to
|
3292
|
+
// it and returns |OPENSSL_NPN_NEGOTIATED|. Otherwise, it returns
|
3165
3293
|
// |OPENSSL_NPN_NO_OVERLAP| and sets |*out| and |*out_len| to the first
|
3166
3294
|
// supported protocol.
|
3295
|
+
//
|
3296
|
+
// In ALPN, the server should only select protocols among those that the client
|
3297
|
+
// offered. Thus, if this function returns |OPENSSL_NPN_NO_OVERLAP|, the caller
|
3298
|
+
// should ignore |*out| and return |SSL_TLSEXT_ERR_ALERT_FATAL| from
|
3299
|
+
// |SSL_CTX_set_alpn_select_cb|'s callback to indicate there was no match.
|
3300
|
+
//
|
3301
|
+
// In NPN, the client may either select one of the server's protocols, or an
|
3302
|
+
// "opportunistic" protocol as described in Section 6 of
|
3303
|
+
// draft-agl-tls-nextprotoneg-03. When this function returns
|
3304
|
+
// |OPENSSL_NPN_NO_OVERLAP|, |*out| implicitly selects the first supported
|
3305
|
+
// protocol for use as the opportunistic protocol. The caller may use it,
|
3306
|
+
// ignore it and select a different opportunistic protocol, or ignore it and
|
3307
|
+
// select no protocol (empty string).
|
3308
|
+
//
|
3309
|
+
// |peer| and |supported| must be vectors of 8-bit, length-prefixed byte
|
3310
|
+
// strings. The length byte itself is not included in the length. A byte string
|
3311
|
+
// of length 0 is invalid. No byte string may be truncated. |supported| must be
|
3312
|
+
// non-empty; a caller that supports no ALPN/NPN protocols should skip
|
3313
|
+
// negotiating the extension, rather than calling this function. If any of these
|
3314
|
+
// preconditions do not hold, this function will return |OPENSSL_NPN_NO_OVERLAP|
|
3315
|
+
// and set |*out| and |*out_len| to an empty buffer for robustness, but callers
|
3316
|
+
// are not recommended to rely on this. An empty buffer is not a valid output
|
3317
|
+
// for |SSL_CTX_set_alpn_select_cb|'s callback.
|
3318
|
+
//
|
3319
|
+
// WARNING: |*out| and |*out_len| may alias either |peer| or |supported| and may
|
3320
|
+
// not be used after one of those buffers is modified or released. Additionally,
|
3321
|
+
// this function is not const-correct for compatibility reasons. Although |*out|
|
3322
|
+
// is a non-const pointer, callers may not modify the buffer though |*out|.
|
3167
3323
|
OPENSSL_EXPORT int SSL_select_next_proto(uint8_t **out, uint8_t *out_len,
|
3168
3324
|
const uint8_t *peer, unsigned peer_len,
|
3169
3325
|
const uint8_t *supported,
|
@@ -3227,10 +3383,10 @@ DEFINE_CONST_STACK_OF(SRTP_PROTECTION_PROFILE)
|
|
3227
3383
|
#define SRTP_AES128_CM_SHA1_32 0x0002
|
3228
3384
|
#define SRTP_AES128_F8_SHA1_80 0x0003
|
3229
3385
|
#define SRTP_AES128_F8_SHA1_32 0x0004
|
3230
|
-
#define SRTP_NULL_SHA1_80
|
3231
|
-
#define SRTP_NULL_SHA1_32
|
3232
|
-
#define SRTP_AEAD_AES_128_GCM
|
3233
|
-
#define SRTP_AEAD_AES_256_GCM
|
3386
|
+
#define SRTP_NULL_SHA1_80 0x0005
|
3387
|
+
#define SRTP_NULL_SHA1_32 0x0006
|
3388
|
+
#define SRTP_AEAD_AES_128_GCM 0x0007
|
3389
|
+
#define SRTP_AEAD_AES_256_GCM 0x0008
|
3234
3390
|
|
3235
3391
|
// SSL_CTX_set_srtp_profiles enables SRTP for all SSL objects created from
|
3236
3392
|
// |ctx|. |profile| contains a colon-separated list of profile names. It returns
|
@@ -3335,41 +3491,148 @@ OPENSSL_EXPORT const char *SSL_get_psk_identity(const SSL *ssl);
|
|
3335
3491
|
|
3336
3492
|
// Delegated credentials.
|
3337
3493
|
//
|
3338
|
-
//
|
3339
|
-
//
|
3340
|
-
// draft-ietf-tls-subcerts is a proposed extension for TLS 1.3 and above that
|
3341
|
-
// allows an end point to use its certificate to delegate credentials for
|
3342
|
-
// authentication. If the peer indicates support for this extension, then this
|
3343
|
-
// host may use a delegated credential to sign the handshake. Once issued,
|
3494
|
+
// Delegated credentials (RFC 9345) allow a TLS 1.3 endpoint to use its
|
3495
|
+
// certificate to issue new credentials for authentication. Once issued,
|
3344
3496
|
// credentials can't be revoked. In order to mitigate the damage in case the
|
3345
3497
|
// credential secret key is compromised, the credential is only valid for a
|
3346
|
-
// short time (days, hours, or even minutes).
|
3347
|
-
//
|
3348
|
-
//
|
3349
|
-
//
|
3350
|
-
//
|
3351
|
-
//
|
3352
|
-
//
|
3353
|
-
//
|
3354
|
-
|
3355
|
-
|
3356
|
-
//
|
3357
|
-
//
|
3358
|
-
//
|
3359
|
-
//
|
3360
|
-
//
|
3361
|
-
//
|
3362
|
-
|
3363
|
-
|
3364
|
-
//
|
3365
|
-
//
|
3366
|
-
|
3367
|
-
|
3368
|
-
|
3369
|
-
|
3370
|
-
|
3371
|
-
|
3372
|
-
|
3498
|
+
// short time (days, hours, or even minutes).
|
3499
|
+
//
|
3500
|
+
// Currently only the authenticating side, as a server, is implemented. To
|
3501
|
+
// authenticate with delegated credentials, construct an |SSL_CREDENTIAL| with
|
3502
|
+
// |SSL_CREDENTIAL_new_delegated| and add it to the credential list. See also
|
3503
|
+
// |SSL_CTX_add1_credential|. Callers may configure a mix of delegated
|
3504
|
+
// credentials and X.509 credentials on the same |SSL| or |SSL_CTX| to support a
|
3505
|
+
// range of clients.
|
3506
|
+
|
3507
|
+
// SSL_CREDENTIAL_new_delegated returns a new, empty delegated credential, or
|
3508
|
+
// NULL on error. Callers should release the result with |SSL_CREDENTIAL_free|
|
3509
|
+
// when done.
|
3510
|
+
//
|
3511
|
+
// Callers should configure a delegated credential, certificate chain and
|
3512
|
+
// private key on the credential, along with other properties, then add it with
|
3513
|
+
// |SSL_CTX_add1_credential|.
|
3514
|
+
OPENSSL_EXPORT SSL_CREDENTIAL *SSL_CREDENTIAL_new_delegated(void);
|
3515
|
+
|
3516
|
+
// SSL_CREDENTIAL_set1_delegated_credential sets |cred|'s delegated credentials
|
3517
|
+
// structure to |dc|. It returns one on success and zero on error, including if
|
3518
|
+
// |dc| is malformed. This should be a DelegatedCredential structure, signed by
|
3519
|
+
// the end-entity certificate, as described in RFC 9345.
|
3520
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set1_delegated_credential(
|
3521
|
+
SSL_CREDENTIAL *cred, CRYPTO_BUFFER *dc);
|
3522
|
+
|
3523
|
+
|
3524
|
+
// Password Authenticated Key Exchange (PAKE).
|
3525
|
+
//
|
3526
|
+
// Password Authenticated Key Exchange protocols allow client and server to
|
3527
|
+
// mutually authenticate one another using knowledge of a password or other
|
3528
|
+
// low-entropy secret. While the TLS 1.3 pre-shared key (PSK) mechanism can
|
3529
|
+
// authenticate a high-entropy secret, it cannot be used with low-entropy
|
3530
|
+
// secrets as the PSK binder values can be used to mount a dictionary attack on
|
3531
|
+
// a low-entropy PSK. Using TLS 1.3 with a PAKE limits an attacker to confirming
|
3532
|
+
// one password guess per handshake attempt.
|
3533
|
+
//
|
3534
|
+
// WARNING: The PAKE mode in TLS is not a general-purpose authentication scheme.
|
3535
|
+
// As the underlying secret is still low-entropy, callers must limit brute force
|
3536
|
+
// attacks across multiple connections, especially in multi-connection protocols
|
3537
|
+
// such as HTTP. The |error_limit| and |rate_limit| parameters in the functions
|
3538
|
+
// below may be used to implement this, provided the same |SSL_CREDENTIAL|
|
3539
|
+
// object is used across connections. Applications using multiple connections
|
3540
|
+
// should use the PAKE credential only once to authenticate a high-entropy
|
3541
|
+
// secret, e.g. exporting a PSK from |SSL_export_keying_material|, and use the
|
3542
|
+
// high-entropy secret for subsequent connections.
|
3543
|
+
//
|
3544
|
+
// TODO(crbug.com/369963041): Implement RFC 9258 so one can actually do that.
|
3545
|
+
//
|
3546
|
+
// WARNING: PAKE support in TLS is still experimental and may change as the
|
3547
|
+
// standard evolves. See
|
3548
|
+
// https://chris-wood.github.io/draft-bmw-tls-pake13/draft-bmw-tls-pake13.html
|
3549
|
+
//
|
3550
|
+
// Currently, only the SPAKE2PLUS_V1 named PAKE algorithm is implemented; see
|
3551
|
+
// https://chris-wood.github.io/draft-bmw-tls-pake13/draft-bmw-tls-pake13.html#section-8.1.
|
3552
|
+
|
3553
|
+
// SSL_PAKE_SPAKE2PLUSV1 is the codepoint for SPAKE2PLUS_V1. See
|
3554
|
+
// https://chris-wood.github.io/draft-bmw-tls-pake13/draft-bmw-tls-pake13.html#name-named-pake-registry.
|
3555
|
+
#define SSL_PAKE_SPAKE2PLUSV1 0x7d96
|
3556
|
+
|
3557
|
+
// SSL_spake2plusv1_register computes the values that the client (w0,
|
3558
|
+
// w1) and server (w0, registration_record) require to run SPAKE2+. These values
|
3559
|
+
// can be used when calling |SSL_CREDENTIAL_new_spake2plusv1_client| and
|
3560
|
+
// |SSL_CREDENTIAL_new_spake2plusv1_server|. The client and server identities
|
3561
|
+
// must match the values passed to those functions.
|
3562
|
+
//
|
3563
|
+
// Returns one on success and zero on error.
|
3564
|
+
OPENSSL_EXPORT int SSL_spake2plusv1_register(
|
3565
|
+
uint8_t out_w0[32], uint8_t out_w1[32], uint8_t out_registration_record[65],
|
3566
|
+
const uint8_t *password, size_t password_len,
|
3567
|
+
const uint8_t *client_identity, size_t client_identity_len,
|
3568
|
+
const uint8_t *server_identity, size_t server_identity_len);
|
3569
|
+
|
3570
|
+
// SSL_CREDENTIAL_new_spake2plusv1_client creates a new |SSL_CREDENTIAL| that
|
3571
|
+
// authenticates using SPAKE2+. It is to be used with a TLS client.
|
3572
|
+
//
|
3573
|
+
// The |context|, |client_identity|, and |server_identity| fields serve to
|
3574
|
+
// identity the SPAKE2+ settings and both sides of a connection must agree on
|
3575
|
+
// these values. If |context| is |NULL|, a default value will be used.
|
3576
|
+
//
|
3577
|
+
// |error_limit| is the number of failed handshakes allowed on the credential.
|
3578
|
+
// After the limit is reached, using the credential will fail. Ideally this
|
3579
|
+
// value is set to 1. Setting it to a higher value allows an attacker to have
|
3580
|
+
// that many attempts at guessing the password using this |SSL_CREDENTIAL|.
|
3581
|
+
// (Assuming that multiple TLS connections are allowed.)
|
3582
|
+
//
|
3583
|
+
// |w0| and |w1| come from calling |SSL_spake2plusv1_register|.
|
3584
|
+
//
|
3585
|
+
// Unlike most |SSL_CREDENTIAL|s, PAKE client credentials must be the only
|
3586
|
+
// credential configured on the connection. BoringSSL does not currently support
|
3587
|
+
// configuring multiple PAKE credentials as a client, or configuring a mix of
|
3588
|
+
// PAKE and non-PAKE credentials. Once a PAKE credential is configured, the
|
3589
|
+
// connection will require the server to authenticate with the same secret, so a
|
3590
|
+
// successful connection then implies that the server supported the PAKE and
|
3591
|
+
// knew the password.
|
3592
|
+
OPENSSL_EXPORT SSL_CREDENTIAL *SSL_CREDENTIAL_new_spake2plusv1_client(
|
3593
|
+
const uint8_t *context, size_t context_len, const uint8_t *client_identity,
|
3594
|
+
size_t client_identity_len, const uint8_t *server_identity,
|
3595
|
+
size_t server_identity_len, uint32_t error_limit, const uint8_t *w0,
|
3596
|
+
size_t w0_len, const uint8_t *w1, size_t w1_len);
|
3597
|
+
|
3598
|
+
// SSL_CREDENTIAL_new_spake2plusv1_server creates a new |SSL_CREDENTIAL| that
|
3599
|
+
// authenticates using SPAKE2+. It is to be used with a TLS server.
|
3600
|
+
//
|
3601
|
+
// The |context|, |client_identity|, and |server_identity| fields serve to
|
3602
|
+
// identity the SPAKE2+ settings and both sides of a connection must agree on
|
3603
|
+
// these values. If |context| is |NULL|, a default value will be used.
|
3604
|
+
//
|
3605
|
+
// |rate_limit| is the number of failed or unfinished handshakes allowed on the
|
3606
|
+
// credential. After the limit is reached, using the credential will fail.
|
3607
|
+
// Ideally this value is set to 1. Setting it to a higher value allows an
|
3608
|
+
// attacker to have that many attempts at guessing the password using this
|
3609
|
+
// |SSL_CREDENTIAL|. (Assuming that multiple TLS connections are allowed.)
|
3610
|
+
//
|
3611
|
+
// WARNING: |rate_limit| differs from the client's |error_limit| parameter.
|
3612
|
+
// Server PAKE credentials must temporarily deduct incomplete handshakes from
|
3613
|
+
// the limit, until the peer completes the handshake correctly. Thus
|
3614
|
+
// applications use that multiple connections in parallel may need a higher
|
3615
|
+
// limit, and thus higher attacker exposure, to avoid failures. Such
|
3616
|
+
// applications should instead use one PAKE-based connection to established a
|
3617
|
+
// high-entropy secret (e.g. with |SSL_export_keying_material|) instead of
|
3618
|
+
// repeating the PAKE exchange for each connection.
|
3619
|
+
//
|
3620
|
+
// |w0| and |registration_record| come from calling |SSL_spake2plusv1_register|,
|
3621
|
+
// which may be computed externally so that the server does not know the
|
3622
|
+
// password, or a password-equivalent secret.
|
3623
|
+
//
|
3624
|
+
// A server wishing to support a PAKE should install one of these credentials.
|
3625
|
+
// It is also possible to install certificate-based credentials, in which case
|
3626
|
+
// both PAKE and non-PAKE clients can be supported. However, if only a PAKE
|
3627
|
+
// credential is installed then the server knows that any successfully-connected
|
3628
|
+
// clients also knows the password. Otherwise, the server must be careful to
|
3629
|
+
// inspect the credential used for a connection before assuming that.
|
3630
|
+
OPENSSL_EXPORT SSL_CREDENTIAL *SSL_CREDENTIAL_new_spake2plusv1_server(
|
3631
|
+
const uint8_t *context, size_t context_len, const uint8_t *client_identity,
|
3632
|
+
size_t client_identity_len, const uint8_t *server_identity,
|
3633
|
+
size_t server_identity_len, uint32_t rate_limit, const uint8_t *w0,
|
3634
|
+
size_t w0_len, const uint8_t *registration_record,
|
3635
|
+
size_t registration_record_len);
|
3373
3636
|
|
3374
3637
|
|
3375
3638
|
// QUIC integration.
|
@@ -3436,13 +3699,13 @@ OPENSSL_EXPORT int SSL_delegated_credential_used(const SSL *ssl);
|
|
3436
3699
|
// holds for any application protocol state remembered for 0-RTT, e.g. HTTP/3
|
3437
3700
|
// SETTINGS.
|
3438
3701
|
|
3439
|
-
// ssl_encryption_level_t represents
|
3440
|
-
//
|
3702
|
+
// ssl_encryption_level_t represents an encryption level in TLS 1.3. Values in
|
3703
|
+
// this enum match the first 4 epochs used in DTLS 1.3 (section 6.1).
|
3441
3704
|
enum ssl_encryption_level_t BORINGSSL_ENUM_INT {
|
3442
3705
|
ssl_encryption_initial = 0,
|
3443
|
-
ssl_encryption_early_data,
|
3444
|
-
ssl_encryption_handshake,
|
3445
|
-
ssl_encryption_application,
|
3706
|
+
ssl_encryption_early_data = 1,
|
3707
|
+
ssl_encryption_handshake = 2,
|
3708
|
+
ssl_encryption_application = 3,
|
3446
3709
|
};
|
3447
3710
|
|
3448
3711
|
// ssl_quic_method_st (aka |SSL_QUIC_METHOD|) describes custom QUIC hooks.
|
@@ -3838,7 +4101,7 @@ OPENSSL_EXPORT void SSL_get0_ech_retry_configs(
|
|
3838
4101
|
// to the size of the buffer. The caller must call |OPENSSL_free| on |*out| to
|
3839
4102
|
// release the memory. On failure, it returns zero.
|
3840
4103
|
//
|
3841
|
-
// The |config_id| field is a single byte
|
4104
|
+
// The |config_id| field is a single byte identifier for the ECHConfig. Reusing
|
3842
4105
|
// config IDs is allowed, but if multiple ECHConfigs with the same config ID are
|
3843
4106
|
// active at a time, server load may increase. See
|
3844
4107
|
// |SSL_ECH_KEYS_has_duplicate_config_id|.
|
@@ -4034,6 +4297,15 @@ OPENSSL_EXPORT int SSL_CTX_get_ex_new_index(long argl, void *argp,
|
|
4034
4297
|
CRYPTO_EX_dup *dup_unused,
|
4035
4298
|
CRYPTO_EX_free *free_func);
|
4036
4299
|
|
4300
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_set_ex_data(SSL_CREDENTIAL *cred, int idx,
|
4301
|
+
void *data);
|
4302
|
+
OPENSSL_EXPORT void *SSL_CREDENTIAL_get_ex_data(const SSL_CREDENTIAL *cred,
|
4303
|
+
int idx);
|
4304
|
+
OPENSSL_EXPORT int SSL_CREDENTIAL_get_ex_new_index(long argl, void *argp,
|
4305
|
+
CRYPTO_EX_unused *unused,
|
4306
|
+
CRYPTO_EX_dup *dup_unused,
|
4307
|
+
CRYPTO_EX_free *free_func);
|
4308
|
+
|
4037
4309
|
|
4038
4310
|
// Low-level record-layer state.
|
4039
4311
|
|
@@ -4173,18 +4445,18 @@ OPENSSL_EXPORT int SSL_set_handshake_hints(SSL *ssl, const uint8_t *hints,
|
|
4173
4445
|
|
4174
4446
|
// SSL_CTX_set_msg_callback installs |cb| as the message callback for |ctx|.
|
4175
4447
|
// This callback will be called when sending or receiving low-level record
|
4176
|
-
// headers, complete handshake messages, ChangeCipherSpec, and
|
4177
|
-
// |write_p| is one for outgoing messages and zero for incoming messages.
|
4448
|
+
// headers, complete handshake messages, ChangeCipherSpec, alerts, and DTLS
|
4449
|
+
// ACKs. |write_p| is one for outgoing messages and zero for incoming messages.
|
4178
4450
|
//
|
4179
4451
|
// For each record header, |cb| is called with |version| = 0 and |content_type|
|
4180
4452
|
// = |SSL3_RT_HEADER|. The |len| bytes from |buf| contain the header. Note that
|
4181
4453
|
// this does not include the record body. If the record is sealed, the length
|
4182
4454
|
// in the header is the length of the ciphertext.
|
4183
4455
|
//
|
4184
|
-
// For each handshake message, ChangeCipherSpec, and
|
4185
|
-
// protocol version and |content_type| is the corresponding record type.
|
4186
|
-
// |len| bytes from |buf| contain the handshake message, one-byte
|
4187
|
-
// ChangeCipherSpec body,
|
4456
|
+
// For each handshake message, ChangeCipherSpec, alert, and DTLS ACK, |version|
|
4457
|
+
// is the protocol version and |content_type| is the corresponding record type.
|
4458
|
+
// The |len| bytes from |buf| contain the handshake message, one-byte
|
4459
|
+
// ChangeCipherSpec body, two-byte alert, and ACK respectively.
|
4188
4460
|
//
|
4189
4461
|
// In connections that enable ECH, |cb| is additionally called with
|
4190
4462
|
// |content_type| = |SSL3_RT_CLIENT_HELLO_INNER| for each ClientHelloInner that
|
@@ -4217,9 +4489,18 @@ OPENSSL_EXPORT void SSL_set_msg_callback_arg(SSL *ssl, void *arg);
|
|
4217
4489
|
// access to the log.
|
4218
4490
|
//
|
4219
4491
|
// The format is described in
|
4220
|
-
// https://
|
4221
|
-
|
4222
|
-
|
4492
|
+
// https://www.ietf.org/archive/id/draft-ietf-tls-keylogfile-01.html
|
4493
|
+
//
|
4494
|
+
// WARNING: The data in |line| allows an attacker to break security properties
|
4495
|
+
// of the TLS protocol, including confidentiality, integrity, and forward
|
4496
|
+
// secrecy. This impacts both the current connection, and, in TLS 1.2, future
|
4497
|
+
// connections that resume a session from it. Both direct access to the data and
|
4498
|
+
// side channel leaks from application code are possible attack vectors. This
|
4499
|
+
// callback is intended for debugging and should not be used in production
|
4500
|
+
// connections.
|
4501
|
+
OPENSSL_EXPORT void SSL_CTX_set_keylog_callback(SSL_CTX *ctx,
|
4502
|
+
void (*cb)(const SSL *ssl,
|
4503
|
+
const char *line));
|
4223
4504
|
|
4224
4505
|
// SSL_CTX_get_keylog_callback returns the callback configured by
|
4225
4506
|
// |SSL_CTX_set_keylog_callback|.
|
@@ -4380,6 +4661,8 @@ struct ssl_early_callback_ctx {
|
|
4380
4661
|
size_t random_len;
|
4381
4662
|
const uint8_t *session_id;
|
4382
4663
|
size_t session_id_len;
|
4664
|
+
const uint8_t *dtls_cookie;
|
4665
|
+
size_t dtls_cookie_len;
|
4383
4666
|
const uint8_t *cipher_suites;
|
4384
4667
|
size_t cipher_suites_len;
|
4385
4668
|
const uint8_t *compression_methods;
|
@@ -4400,6 +4683,16 @@ enum ssl_select_cert_result_t BORINGSSL_ENUM_INT {
|
|
4400
4683
|
// ssl_select_cert_error indicates that a fatal error occured and the
|
4401
4684
|
// handshake should be terminated.
|
4402
4685
|
ssl_select_cert_error = -1,
|
4686
|
+
// ssl_select_cert_disable_ech indicates that, although an encrypted
|
4687
|
+
// ClientHelloInner was decrypted, it should be discarded. The certificate
|
4688
|
+
// selection callback will then be called again, passing in the
|
4689
|
+
// ClientHelloOuter instead. From there, the handshake will proceed
|
4690
|
+
// without retry_configs, to signal to the client to disable ECH.
|
4691
|
+
//
|
4692
|
+
// This value may only be returned when |SSL_ech_accepted| returnes one. It
|
4693
|
+
// may be useful if the ClientHelloInner indicated a service which does not
|
4694
|
+
// support ECH, e.g. if it is a TLS-1.2 only service.
|
4695
|
+
ssl_select_cert_disable_ech = -2,
|
4403
4696
|
};
|
4404
4697
|
|
4405
4698
|
// SSL_early_callback_ctx_extension_get searches the extensions in
|
@@ -4522,8 +4815,9 @@ OPENSSL_EXPORT int SSL_was_key_usage_invalid(const SSL *ssl);
|
|
4522
4815
|
// a server (respectively, client) handshake completes, fails, or is paused.
|
4523
4816
|
// The |value| argument is one if the handshake succeeded and <= 0
|
4524
4817
|
// otherwise.
|
4525
|
-
OPENSSL_EXPORT void SSL_CTX_set_info_callback(
|
4526
|
-
|
4818
|
+
OPENSSL_EXPORT void SSL_CTX_set_info_callback(SSL_CTX *ctx,
|
4819
|
+
void (*cb)(const SSL *ssl,
|
4820
|
+
int type, int value));
|
4527
4821
|
|
4528
4822
|
// SSL_CTX_get_info_callback returns the callback set by
|
4529
4823
|
// |SSL_CTX_set_info_callback|.
|
@@ -4533,8 +4827,9 @@ OPENSSL_EXPORT void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,
|
|
4533
4827
|
|
4534
4828
|
// SSL_set_info_callback configures a callback to be run at various events
|
4535
4829
|
// during a connection's lifetime. See |SSL_CTX_set_info_callback|.
|
4536
|
-
OPENSSL_EXPORT void SSL_set_info_callback(
|
4537
|
-
|
4830
|
+
OPENSSL_EXPORT void SSL_set_info_callback(SSL *ssl,
|
4831
|
+
void (*cb)(const SSL *ssl, int type,
|
4832
|
+
int value));
|
4538
4833
|
|
4539
4834
|
// SSL_get_info_callback returns the callback set by |SSL_set_info_callback|.
|
4540
4835
|
OPENSSL_EXPORT void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,
|
@@ -4626,10 +4921,23 @@ OPENSSL_EXPORT int SSL_used_hello_retry_request(const SSL *ssl);
|
|
4626
4921
|
// https://bugs.openjdk.java.net/browse/JDK-8213202
|
4627
4922
|
OPENSSL_EXPORT void SSL_set_jdk11_workaround(SSL *ssl, int enable);
|
4628
4923
|
|
4924
|
+
// SSL_parse_client_hello decodes a ClientHello structure from |len| bytes in
|
4925
|
+
// |in|. On success, it returns one and writes the result to |*out|. Otherwise,
|
4926
|
+
// it returns zero. |ssl| will be saved into |*out| and determines how the
|
4927
|
+
// ClientHello is parsed, notably TLS vs DTLS. The fields in |*out| will alias
|
4928
|
+
// |in| and are only valid as long as |in| is valid and unchanged.
|
4929
|
+
//
|
4930
|
+
// |in| should contain just the ClientHello structure (RFC 8446 and RFC 9147),
|
4931
|
+
// excluding the handshake header and already reassembled from record layer.
|
4932
|
+
// That is, |in| should begin with the legacy_version field, not the
|
4933
|
+
// client_hello HandshakeType constant or the handshake ContentType constant.
|
4934
|
+
OPENSSL_EXPORT int SSL_parse_client_hello(const SSL *ssl, SSL_CLIENT_HELLO *out,
|
4935
|
+
const uint8_t *in, size_t len);
|
4936
|
+
|
4629
4937
|
|
4630
4938
|
// Deprecated functions.
|
4631
4939
|
|
4632
|
-
// SSL_library_init
|
4940
|
+
// SSL_library_init returns one.
|
4633
4941
|
OPENSSL_EXPORT int SSL_library_init(void);
|
4634
4942
|
|
4635
4943
|
// SSL_CIPHER_description writes a description of |cipher| into |buf| and
|
@@ -4921,16 +5229,16 @@ OPENSSL_EXPORT int SSL_set1_sigalgs_list(SSL *ssl, const char *str);
|
|
4921
5229
|
|
4922
5230
|
#define SSL_get_cipher(ssl) SSL_CIPHER_get_name(SSL_get_current_cipher(ssl))
|
4923
5231
|
#define SSL_get_cipher_bits(ssl, out_alg_bits) \
|
4924
|
-
|
5232
|
+
SSL_CIPHER_get_bits(SSL_get_current_cipher(ssl), out_alg_bits)
|
4925
5233
|
#define SSL_get_cipher_version(ssl) \
|
4926
|
-
|
5234
|
+
SSL_CIPHER_get_version(SSL_get_current_cipher(ssl))
|
4927
5235
|
#define SSL_get_cipher_name(ssl) \
|
4928
|
-
|
5236
|
+
SSL_CIPHER_get_name(SSL_get_current_cipher(ssl))
|
4929
5237
|
#define SSL_get_time(session) SSL_SESSION_get_time(session)
|
4930
5238
|
#define SSL_set_time(session, time) SSL_SESSION_set_time((session), (time))
|
4931
5239
|
#define SSL_get_timeout(session) SSL_SESSION_get_timeout(session)
|
4932
5240
|
#define SSL_set_timeout(session, timeout) \
|
4933
|
-
|
5241
|
+
SSL_SESSION_set_timeout((session), (timeout))
|
4934
5242
|
|
4935
5243
|
struct ssl_comp_st {
|
4936
5244
|
int id;
|
@@ -5031,19 +5339,19 @@ OPENSSL_EXPORT int SSL_want(const SSL *ssl);
|
|
5031
5339
|
#define SSL_want_read(ssl) (SSL_want(ssl) == SSL_READING)
|
5032
5340
|
#define SSL_want_write(ssl) (SSL_want(ssl) == SSL_WRITING)
|
5033
5341
|
|
5034
|
-
|
5035
|
-
|
5036
|
-
|
5037
|
-
|
5038
|
-
|
5342
|
+
// SSL_get_finished writes up to |count| bytes of the Finished message sent by
|
5343
|
+
// |ssl| to |buf|. It returns the total untruncated length or zero if none has
|
5344
|
+
// been sent yet. At TLS 1.3 and later, it returns zero.
|
5345
|
+
//
|
5346
|
+
// Use |SSL_get_tls_unique| instead.
|
5039
5347
|
OPENSSL_EXPORT size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count);
|
5040
5348
|
|
5041
|
-
|
5042
|
-
|
5043
|
-
|
5044
|
-
|
5045
|
-
|
5046
|
-
|
5349
|
+
// SSL_get_peer_finished writes up to |count| bytes of the Finished message
|
5350
|
+
// received from |ssl|'s peer to |buf|. It returns the total untruncated length
|
5351
|
+
// or zero if none has been received yet. At TLS 1.3 and later, it returns
|
5352
|
+
// zero.
|
5353
|
+
//
|
5354
|
+
// Use |SSL_get_tls_unique| instead.
|
5047
5355
|
OPENSSL_EXPORT size_t SSL_get_peer_finished(const SSL *ssl, void *buf,
|
5048
5356
|
size_t count);
|
5049
5357
|
|
@@ -5192,7 +5500,7 @@ OPENSSL_EXPORT SSL_SESSION *SSL_get1_session(SSL *ssl);
|
|
5192
5500
|
#define OPENSSL_INIT_LOAD_SSL_STRINGS 0
|
5193
5501
|
#define OPENSSL_INIT_SSL_DEFAULT 0
|
5194
5502
|
|
5195
|
-
// OPENSSL_init_ssl
|
5503
|
+
// OPENSSL_init_ssl returns one.
|
5196
5504
|
OPENSSL_EXPORT int OPENSSL_init_ssl(uint64_t opts,
|
5197
5505
|
const OPENSSL_INIT_SETTINGS *settings);
|
5198
5506
|
|
@@ -5315,6 +5623,25 @@ OPENSSL_EXPORT int SSL_set1_curves_list(SSL *ssl, const char *curves);
|
|
5315
5623
|
// returns this value, but we define this constant for compatibility.
|
5316
5624
|
#define TLSEXT_nid_unknown 0x1000000
|
5317
5625
|
|
5626
|
+
// SSL_CTX_check_private_key returns one if |ctx| has both a certificate and
|
5627
|
+
// private key, and zero otherwise.
|
5628
|
+
//
|
5629
|
+
// This function does not check consistency because the library checks when the
|
5630
|
+
// certificate and key are individually configured. However, if the private key
|
5631
|
+
// is configured before the certificate, inconsistent private keys are silently
|
5632
|
+
// dropped. Some callers are inadvertently relying on this function to detect
|
5633
|
+
// when this happens.
|
5634
|
+
//
|
5635
|
+
// Instead, callers should configure the certificate first, then the private
|
5636
|
+
// key, checking for errors in each. This function is then unnecessary.
|
5637
|
+
OPENSSL_EXPORT int SSL_CTX_check_private_key(const SSL_CTX *ctx);
|
5638
|
+
|
5639
|
+
// SSL_check_private_key returns one if |ssl| has both a certificate and private
|
5640
|
+
// key, and zero otherwise.
|
5641
|
+
//
|
5642
|
+
// See discussion in |SSL_CTX_check_private_key|.
|
5643
|
+
OPENSSL_EXPORT int SSL_check_private_key(const SSL *ssl);
|
5644
|
+
|
5318
5645
|
|
5319
5646
|
// Compliance policy configurations
|
5320
5647
|
//
|
@@ -5356,12 +5683,20 @@ enum ssl_compliance_policy_t BORINGSSL_ENUM_INT {
|
|
5356
5683
|
// other than by the supported signature algorithms. But WPA3's "192-bit"
|
5357
5684
|
// mode requires at least P-384 or 3072-bit along the chain. The caller must
|
5358
5685
|
// enforce this themselves on the verified chain using functions such as
|
5359
|
-
//
|
5686
|
+
// |X509_STORE_CTX_get0_chain|.
|
5360
5687
|
//
|
5361
5688
|
// Note that this setting is less secure than the default. The
|
5362
5689
|
// implementation risks of using a more obscure primitive like P-384
|
5363
5690
|
// dominate other considerations.
|
5364
5691
|
ssl_compliance_policy_wpa3_192_202304,
|
5692
|
+
|
5693
|
+
// ssl_compliance_policy_cnsa_202407 confingures a TLS connection to use:
|
5694
|
+
// * For TLS 1.3, AES-256-GCM over AES-128-GCM over ChaCha20-Poly1305.
|
5695
|
+
//
|
5696
|
+
// I.e. it ensures that AES-GCM will be used whenever the client supports it.
|
5697
|
+
// The cipher suite configuration mini-language can be used to similarly
|
5698
|
+
// configure prior TLS versions if they are enabled.
|
5699
|
+
ssl_compliance_policy_cnsa_202407,
|
5365
5700
|
};
|
5366
5701
|
|
5367
5702
|
// SSL_CTX_set_compliance_policy configures various aspects of |ctx| based on
|
@@ -5372,11 +5707,20 @@ enum ssl_compliance_policy_t BORINGSSL_ENUM_INT {
|
|
5372
5707
|
OPENSSL_EXPORT int SSL_CTX_set_compliance_policy(
|
5373
5708
|
SSL_CTX *ctx, enum ssl_compliance_policy_t policy);
|
5374
5709
|
|
5710
|
+
// SSL_CTX_get_compliance_policy returns the compliance policy configured on
|
5711
|
+
// |ctx|.
|
5712
|
+
OPENSSL_EXPORT enum ssl_compliance_policy_t SSL_CTX_get_compliance_policy(
|
5713
|
+
const SSL_CTX *ctx);
|
5714
|
+
|
5375
5715
|
// SSL_set_compliance_policy acts the same as |SSL_CTX_set_compliance_policy|,
|
5376
5716
|
// but only configures a single |SSL*|.
|
5377
5717
|
OPENSSL_EXPORT int SSL_set_compliance_policy(
|
5378
5718
|
SSL *ssl, enum ssl_compliance_policy_t policy);
|
5379
5719
|
|
5720
|
+
// SSL_get_compliance_policy returns the compliance policy configured on
|
5721
|
+
// |ssl|.
|
5722
|
+
OPENSSL_EXPORT enum ssl_compliance_policy_t SSL_get_compliance_policy(
|
5723
|
+
const SSL *ssl);
|
5380
5724
|
|
5381
5725
|
// Nodejs compatibility section (hidden).
|
5382
5726
|
//
|
@@ -5399,7 +5743,7 @@ OPENSSL_EXPORT int SSL_set_compliance_policy(
|
|
5399
5743
|
//
|
5400
5744
|
// See PORTING.md in the BoringSSL source tree for a table of corresponding
|
5401
5745
|
// functions.
|
5402
|
-
// https://boringssl.googlesource.com/boringssl/+/
|
5746
|
+
// https://boringssl.googlesource.com/boringssl/+/main/PORTING.md#Replacements-for-values
|
5403
5747
|
|
5404
5748
|
#define DTLS_CTRL_GET_TIMEOUT doesnt_exist
|
5405
5749
|
#define DTLS_CTRL_HANDLE_TIMEOUT doesnt_exist
|
@@ -5492,7 +5836,7 @@ OPENSSL_EXPORT int SSL_set_compliance_policy(
|
|
5492
5836
|
#define SSL_CTX_set_session_cache_mode SSL_CTX_set_session_cache_mode
|
5493
5837
|
#define SSL_CTX_set_tlsext_servername_arg SSL_CTX_set_tlsext_servername_arg
|
5494
5838
|
#define SSL_CTX_set_tlsext_servername_callback \
|
5495
|
-
|
5839
|
+
SSL_CTX_set_tlsext_servername_callback
|
5496
5840
|
#define SSL_CTX_set_tlsext_ticket_key_cb SSL_CTX_set_tlsext_ticket_key_cb
|
5497
5841
|
#define SSL_CTX_set_tlsext_ticket_keys SSL_CTX_set_tlsext_ticket_keys
|
5498
5842
|
#define SSL_CTX_set_tmp_dh SSL_CTX_set_tmp_dh
|
@@ -5510,7 +5854,7 @@ OPENSSL_EXPORT int SSL_set_compliance_policy(
|
|
5510
5854
|
#define SSL_get_negotiated_group SSL_get_negotiated_group
|
5511
5855
|
#define SSL_get_options SSL_get_options
|
5512
5856
|
#define SSL_get_secure_renegotiation_support \
|
5513
|
-
|
5857
|
+
SSL_get_secure_renegotiation_support
|
5514
5858
|
#define SSL_need_tmp_RSA SSL_need_tmp_RSA
|
5515
5859
|
#define SSL_num_renegotiations SSL_num_renegotiations
|
5516
5860
|
#define SSL_session_reused SSL_session_reused
|
@@ -5530,7 +5874,7 @@ OPENSSL_EXPORT int SSL_set_compliance_policy(
|
|
5530
5874
|
#define SSL_set_tmp_rsa SSL_set_tmp_rsa
|
5531
5875
|
#define SSL_total_renegotiations SSL_total_renegotiations
|
5532
5876
|
|
5533
|
-
#endif
|
5877
|
+
#endif // !defined(BORINGSSL_PREFIX)
|
5534
5878
|
|
5535
5879
|
|
5536
5880
|
#if defined(__cplusplus)
|
@@ -5543,6 +5887,8 @@ extern "C++" {
|
|
5543
5887
|
BSSL_NAMESPACE_BEGIN
|
5544
5888
|
|
5545
5889
|
BORINGSSL_MAKE_DELETER(SSL, SSL_free)
|
5890
|
+
BORINGSSL_MAKE_DELETER(SSL_CREDENTIAL, SSL_CREDENTIAL_free)
|
5891
|
+
BORINGSSL_MAKE_UP_REF(SSL_CREDENTIAL, SSL_CREDENTIAL_up_ref)
|
5546
5892
|
BORINGSSL_MAKE_DELETER(SSL_CTX, SSL_CTX_free)
|
5547
5893
|
BORINGSSL_MAKE_UP_REF(SSL_CTX, SSL_CTX_up_ref)
|
5548
5894
|
BORINGSSL_MAKE_DELETER(SSL_ECH_KEYS, SSL_ECH_KEYS_free)
|
@@ -5608,9 +5954,12 @@ OPENSSL_EXPORT bool SSL_serialize_handback(const SSL *ssl, CBB *out);
|
|
5608
5954
|
OPENSSL_EXPORT bool SSL_apply_handback(SSL *ssl, Span<const uint8_t> handback);
|
5609
5955
|
|
5610
5956
|
// SSL_get_traffic_secrets sets |*out_read_traffic_secret| and
|
5611
|
-
// |*out_write_traffic_secret| to reference the TLS 1.3 traffic secrets
|
5612
|
-
// |ssl|.
|
5613
|
-
//
|
5957
|
+
// |*out_write_traffic_secret| to reference the current TLS 1.3 traffic secrets
|
5958
|
+
// for |ssl|. It returns true on success and false on error.
|
5959
|
+
//
|
5960
|
+
// This function is only valid on TLS 1.3 connections that have completed the
|
5961
|
+
// handshake. It is not valid for QUIC or DTLS, where multiple traffic secrets
|
5962
|
+
// may be active at a time.
|
5614
5963
|
OPENSSL_EXPORT bool SSL_get_traffic_secrets(
|
5615
5964
|
const SSL *ssl, Span<const uint8_t> *out_read_traffic_secret,
|
5616
5965
|
Span<const uint8_t> *out_write_traffic_secret);
|
@@ -5815,7 +6164,6 @@ BSSL_NAMESPACE_END
|
|
5815
6164
|
#define SSL_R_WRONG_VERSION_ON_EARLY_DATA 278
|
5816
6165
|
#define SSL_R_UNEXPECTED_EXTENSION_ON_EARLY_DATA 279
|
5817
6166
|
#define SSL_R_NO_SUPPORTED_VERSIONS_ENABLED 280
|
5818
|
-
#define SSL_R_APPLICATION_DATA_INSTEAD_OF_HANDSHAKE 281
|
5819
6167
|
#define SSL_R_EMPTY_HELLO_RETRY_REQUEST 282
|
5820
6168
|
#define SSL_R_EARLY_DATA_NOT_IN_USE 283
|
5821
6169
|
#define SSL_R_HANDSHAKE_NOT_COMPLETE 284
|
@@ -5857,6 +6205,11 @@ BSSL_NAMESPACE_END
|
|
5857
6205
|
#define SSL_R_INVALID_OUTER_EXTENSION 320
|
5858
6206
|
#define SSL_R_INCONSISTENT_ECH_NEGOTIATION 321
|
5859
6207
|
#define SSL_R_INVALID_ALPS_CODEPOINT 322
|
6208
|
+
#define SSL_R_NO_MATCHING_ISSUER 323
|
6209
|
+
#define SSL_R_INVALID_SPAKE2PLUSV1_VALUE 324
|
6210
|
+
#define SSL_R_PAKE_EXHAUSTED 325
|
6211
|
+
#define SSL_R_PEER_PAKE_MISMATCH 326
|
6212
|
+
#define SSL_R_UNSUPPORTED_CREDENTIAL_LIST 327
|
5860
6213
|
#define SSL_R_SSLV3_ALERT_CLOSE_NOTIFY 1000
|
5861
6214
|
#define SSL_R_SSLV3_ALERT_UNEXPECTED_MESSAGE 1010
|
5862
6215
|
#define SSL_R_SSLV3_ALERT_BAD_RECORD_MAC 1020
|
@@ -5891,5 +6244,6 @@ BSSL_NAMESPACE_END
|
|
5891
6244
|
#define SSL_R_TLSV1_ALERT_CERTIFICATE_REQUIRED 1116
|
5892
6245
|
#define SSL_R_TLSV1_ALERT_NO_APPLICATION_PROTOCOL 1120
|
5893
6246
|
#define SSL_R_TLSV1_ALERT_ECH_REQUIRED 1121
|
6247
|
+
#define SSL_R_PAKE_AND_KEY_SHARE_NOT_ALLOWED 1122
|
5894
6248
|
|
5895
6249
|
#endif // OPENSSL_HEADER_SSL_H
|