grpc 1.0.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +3696 -867
- data/etc/roots.pem +39 -111
- data/include/grpc/byte_buffer.h +64 -1
- data/include/grpc/census.h +40 -96
- data/include/grpc/compression.h +2 -1
- data/include/grpc/grpc.h +42 -7
- data/include/grpc/grpc_posix.h +8 -5
- data/include/grpc/impl/codegen/atm.h +3 -0
- data/include/grpc/impl/codegen/atm_gcc_atomic.h +2 -0
- data/include/grpc/impl/codegen/atm_gcc_sync.h +8 -0
- data/include/grpc/impl/codegen/atm_windows.h +4 -0
- data/include/grpc/impl/codegen/byte_buffer_reader.h +4 -4
- data/include/grpc/impl/codegen/compression_types.h +1 -1
- data/include/grpc/impl/codegen/connectivity_state.h +2 -0
- data/include/grpc/impl/codegen/exec_ctx_fwd.h +41 -0
- data/include/grpc/impl/codegen/gpr_slice.h +84 -0
- data/include/grpc/impl/codegen/{alloc.h → gpr_types.h} +30 -29
- data/include/grpc/impl/codegen/grpc_types.h +91 -9
- data/include/grpc/impl/codegen/port_platform.h +25 -92
- data/include/grpc/impl/codegen/slice.h +54 -97
- data/include/grpc/impl/codegen/sync.h +0 -253
- data/include/grpc/module.modulemap +0 -2
- data/include/grpc/slice.h +132 -0
- data/include/grpc/{impl/codegen/slice_buffer.h → slice_buffer.h} +22 -39
- data/include/grpc/support/alloc.h +40 -1
- data/include/grpc/support/log.h +80 -1
- data/include/grpc/support/log_windows.h +2 -0
- data/include/grpc/support/string_util.h +1 -1
- data/include/grpc/support/sync.h +252 -0
- data/include/grpc/support/time.h +67 -1
- data/src/boringssl/err_data.c +639 -627
- data/src/core/ext/census/base_resources.c +71 -0
- data/src/core/ext/census/base_resources.h +39 -0
- data/src/core/ext/census/gen/census.pb.c +26 -29
- data/src/core/ext/census/gen/census.pb.h +68 -67
- data/src/core/ext/census/gen/trace_context.pb.c +81 -0
- data/src/core/ext/census/gen/trace_context.pb.h +99 -0
- data/src/core/ext/census/grpc_filter.c +22 -16
- data/src/core/ext/census/grpc_plugin.c +2 -1
- data/src/core/ext/census/initialize.c +16 -4
- data/src/core/ext/census/mlog.h +1 -1
- data/src/core/ext/census/placeholders.c +0 -45
- data/src/core/ext/census/resource.c +312 -0
- data/src/core/ext/census/resource.h +63 -0
- data/src/core/ext/census/trace_context.c +86 -0
- data/src/core/ext/census/trace_context.h +68 -0
- data/src/core/ext/census/tracing.c +8 -2
- data/src/core/ext/{client_config → client_channel}/channel_connectivity.c +8 -4
- data/src/core/ext/client_channel/client_channel.c +1218 -0
- data/src/core/ext/{client_config → client_channel}/client_channel.h +8 -11
- data/src/core/ext/{client_config → client_channel}/client_channel_factory.c +33 -3
- data/src/core/ext/{client_config → client_channel}/client_channel_factory.h +15 -8
- data/src/core/ext/{client_config/client_config_plugin.c → client_channel/client_channel_plugin.c} +16 -15
- data/src/core/ext/{client_config → client_channel}/connector.c +1 -1
- data/src/core/ext/{client_config → client_channel}/connector.h +5 -8
- data/{include/grpc/support/slice_buffer.h → src/core/ext/client_channel/default_initial_connect_string.c} +4 -5
- data/src/core/ext/client_channel/http_connect_handshaker.c +399 -0
- data/src/core/ext/client_channel/http_connect_handshaker.h +52 -0
- data/src/core/ext/{client_config → client_channel}/initial_connect_string.c +6 -7
- data/src/core/ext/{client_config → client_channel}/initial_connect_string.h +10 -10
- data/src/core/ext/{client_config → client_channel}/lb_policy.c +11 -11
- data/src/core/ext/{client_config → client_channel}/lb_policy.h +68 -27
- data/src/core/ext/client_channel/lb_policy_factory.c +163 -0
- data/src/core/ext/{client_config → client_channel}/lb_policy_factory.h +64 -9
- data/src/core/ext/{client_config → client_channel}/lb_policy_registry.c +6 -4
- data/src/core/ext/{client_config → client_channel}/lb_policy_registry.h +4 -4
- data/src/core/ext/{client_config → client_channel}/parse_address.c +21 -14
- data/src/core/ext/{client_config → client_channel}/parse_address.h +8 -10
- data/src/core/ext/{client_config → client_channel}/resolver.c +3 -4
- data/src/core/ext/{client_config → client_channel}/resolver.h +11 -15
- data/src/core/ext/{client_config → client_channel}/resolver_factory.c +4 -3
- data/src/core/ext/{client_config → client_channel}/resolver_factory.h +13 -11
- data/src/core/ext/{client_config → client_channel}/resolver_registry.c +54 -34
- data/src/core/ext/{client_config → client_channel}/resolver_registry.h +21 -8
- data/src/core/ext/{client_config → client_channel}/subchannel.c +208 -119
- data/src/core/ext/{client_config → client_channel}/subchannel.h +21 -11
- data/src/core/ext/{client_config → client_channel}/subchannel_index.c +6 -17
- data/src/core/ext/{client_config → client_channel}/subchannel_index.h +7 -7
- data/src/core/ext/{client_config → client_channel}/uri_parser.c +21 -28
- data/src/core/ext/{client_config → client_channel}/uri_parser.h +3 -3
- data/src/core/ext/lb_policy/grpclb/grpclb.c +1406 -0
- data/src/core/ext/lb_policy/grpclb/grpclb.h +44 -0
- data/src/core/ext/lb_policy/grpclb/load_balancer_api.c +117 -37
- data/src/core/ext/lb_policy/grpclb/load_balancer_api.h +31 -12
- data/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +6 -36
- data/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +22 -42
- data/src/core/ext/lb_policy/pick_first/pick_first.c +64 -46
- data/src/core/ext/lb_policy/round_robin/round_robin.c +324 -160
- data/src/core/ext/load_reporting/load_reporting.c +7 -56
- data/src/core/ext/load_reporting/load_reporting.h +41 -28
- data/src/core/ext/load_reporting/load_reporting_filter.c +132 -42
- data/src/core/ext/load_reporting/load_reporting_filter.h +1 -0
- data/src/core/ext/resolver/dns/native/dns_resolver.c +88 -80
- data/src/core/ext/resolver/sockaddr/sockaddr_resolver.c +57 -102
- data/src/core/ext/transport/chttp2/alpn/alpn.c +1 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.c +253 -0
- data/src/core/{lib/iomgr/ev_poll_and_epoll_posix.h → ext/transport/chttp2/client/chttp2_connector.h} +5 -5
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +31 -160
- data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +5 -5
- data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c +44 -243
- data/src/core/ext/transport/chttp2/server/chttp2_server.c +342 -0
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +47 -0
- data/src/core/ext/transport/chttp2/server/insecure/server_chttp2.c +11 -124
- data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c +20 -9
- data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c +28 -236
- data/src/core/ext/transport/chttp2/transport/bin_decoder.c +31 -27
- data/src/core/ext/transport/chttp2/transport/bin_decoder.h +5 -4
- data/src/core/ext/transport/chttp2/transport/bin_encoder.c +25 -22
- data/src/core/ext/transport/chttp2/transport/bin_encoder.h +8 -7
- data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +0 -3
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +1345 -1521
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -1
- data/src/core/ext/transport/chttp2/transport/frame.h +3 -5
- data/src/core/ext/transport/chttp2/transport/frame_data.c +50 -47
- data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -9
- data/src/core/ext/transport/chttp2/transport/frame_goaway.c +19 -21
- data/src/core/ext/transport/chttp2/transport/frame_goaway.h +9 -8
- data/src/core/ext/transport/chttp2/transport/frame_ping.c +13 -12
- data/src/core/ext/transport/chttp2/transport/frame_ping.h +6 -6
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +31 -19
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +8 -7
- data/src/core/ext/transport/chttp2/transport/frame_settings.c +22 -25
- data/src/core/ext/transport/chttp2/transport/frame_settings.h +9 -8
- data/src/core/ext/transport/chttp2/transport/frame_window_update.c +26 -18
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +5 -6
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +68 -58
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +8 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.c +327 -214
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +14 -9
- data/src/core/ext/transport/chttp2/transport/hpack_table.c +24 -19
- data/src/core/ext/transport/chttp2/transport/hpack_table.h +9 -6
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +2 -2
- data/src/core/ext/transport/chttp2/transport/incoming_metadata.h +1 -1
- data/src/core/ext/transport/chttp2/transport/internal.h +284 -436
- data/src/core/ext/transport/chttp2/transport/parsing.c +355 -590
- data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -309
- data/src/core/ext/transport/chttp2/transport/stream_map.c +13 -34
- data/src/core/ext/transport/chttp2/transport/stream_map.h +3 -4
- data/src/core/ext/transport/chttp2/transport/writing.c +174 -286
- data/src/core/lib/channel/channel_args.c +70 -13
- data/src/core/lib/channel/channel_args.h +28 -2
- data/src/core/lib/channel/channel_stack.c +77 -28
- data/src/core/lib/channel/channel_stack.h +61 -23
- data/src/core/lib/channel/channel_stack_builder.c +33 -25
- data/src/core/lib/channel/channel_stack_builder.h +17 -8
- data/src/core/lib/channel/compress_filter.c +52 -36
- data/src/core/lib/channel/connected_channel.c +20 -12
- data/src/core/lib/channel/connected_channel.h +2 -1
- data/src/core/lib/channel/context.h +13 -1
- data/src/core/lib/channel/deadline_filter.c +344 -0
- data/src/core/lib/channel/deadline_filter.h +99 -0
- data/src/core/lib/channel/handshaker.c +240 -0
- data/src/core/lib/channel/handshaker.h +164 -0
- data/src/core/lib/{security/credentials/google_default/credentials_windows.c → channel/handshaker_factory.c} +16 -23
- data/src/core/lib/channel/handshaker_factory.h +66 -0
- data/src/core/lib/channel/handshaker_registry.c +113 -0
- data/src/core/{ext/client_config/client_config.h → lib/channel/handshaker_registry.h} +26 -16
- data/src/core/lib/channel/http_client_filter.c +248 -46
- data/src/core/lib/channel/http_client_filter.h +3 -0
- data/src/core/lib/channel/http_server_filter.c +136 -24
- data/src/core/lib/channel/message_size_filter.c +261 -0
- data/src/core/lib/channel/message_size_filter.h +39 -0
- data/src/core/lib/compression/message_compress.c +43 -37
- data/src/core/lib/compression/message_compress.h +7 -5
- data/src/core/lib/http/format_request.c +26 -11
- data/src/core/lib/http/format_request.h +7 -5
- data/src/core/lib/http/httpcli.c +45 -27
- data/src/core/lib/http/httpcli.h +4 -4
- data/src/core/lib/http/httpcli_security_connector.c +56 -46
- data/src/core/lib/http/parser.c +17 -14
- data/src/core/lib/http/parser.h +4 -2
- data/src/core/lib/iomgr/closure.c +49 -7
- data/src/core/lib/iomgr/closure.h +56 -14
- data/src/core/lib/iomgr/combiner.c +422 -0
- data/src/core/lib/iomgr/combiner.h +64 -0
- data/src/core/lib/iomgr/endpoint.c +8 -2
- data/src/core/lib/iomgr/endpoint.h +17 -7
- data/src/core/lib/iomgr/endpoint_pair.h +3 -2
- data/src/core/lib/iomgr/endpoint_pair_posix.c +9 -8
- data/src/core/{ext/client_config/lb_policy_factory.c → lib/iomgr/endpoint_pair_uv.c} +18 -13
- data/src/core/lib/iomgr/endpoint_pair_windows.c +7 -6
- data/src/core/lib/iomgr/error.c +72 -6
- data/src/core/lib/iomgr/error.h +30 -3
- data/src/core/lib/iomgr/ev_epoll_linux.c +500 -382
- data/src/core/lib/iomgr/ev_epoll_linux.h +3 -2
- data/src/core/lib/iomgr/ev_poll_posix.c +317 -30
- data/src/core/lib/iomgr/ev_poll_posix.h +1 -0
- data/src/core/lib/iomgr/ev_posix.c +26 -5
- data/src/core/lib/iomgr/ev_posix.h +12 -1
- data/src/core/lib/iomgr/exec_ctx.c +27 -94
- data/src/core/lib/iomgr/exec_ctx.h +19 -22
- data/src/core/lib/iomgr/executor.c +29 -8
- data/src/core/lib/iomgr/executor.h +2 -4
- data/src/core/lib/iomgr/iocp_windows.c +3 -4
- data/src/core/lib/iomgr/iomgr.c +14 -10
- data/src/core/lib/iomgr/iomgr.h +6 -2
- data/src/core/lib/iomgr/iomgr_posix.c +2 -2
- data/src/core/lib/iomgr/iomgr_uv.c +49 -0
- data/src/core/lib/iomgr/iomgr_windows.c +2 -2
- data/src/core/lib/iomgr/load_file.c +3 -3
- data/src/core/lib/iomgr/load_file.h +2 -2
- data/src/core/lib/iomgr/network_status_tracker.c +1 -1
- data/src/core/lib/iomgr/pollset_set_uv.c +62 -0
- data/src/core/lib/iomgr/pollset_set_windows.c +3 -3
- data/src/core/lib/iomgr/pollset_uv.c +142 -0
- data/src/core/lib/iomgr/pollset_uv.h +42 -0
- data/src/core/lib/iomgr/pollset_windows.c +5 -6
- data/src/core/lib/iomgr/port.h +129 -0
- data/src/core/lib/iomgr/resolve_address.h +2 -1
- data/src/core/lib/iomgr/resolve_address_posix.c +14 -13
- data/src/core/lib/iomgr/resolve_address_uv.c +233 -0
- data/src/core/lib/iomgr/resolve_address_windows.c +14 -12
- data/src/core/lib/iomgr/resource_quota.c +832 -0
- data/src/core/lib/iomgr/resource_quota.h +159 -0
- data/src/core/lib/iomgr/sockaddr.h +10 -2
- data/src/core/lib/iomgr/sockaddr_utils.c +63 -36
- data/src/core/lib/iomgr/sockaddr_utils.h +14 -14
- data/src/core/lib/iomgr/socket_mutator.c +98 -0
- data/src/core/lib/iomgr/socket_mutator.h +80 -0
- data/src/core/lib/iomgr/socket_utils.h +42 -0
- data/src/core/lib/iomgr/socket_utils_common_posix.c +28 -13
- data/src/core/lib/iomgr/socket_utils_linux.c +11 -5
- data/src/core/lib/iomgr/socket_utils_posix.c +10 -7
- data/src/core/lib/iomgr/socket_utils_posix.h +11 -4
- data/src/core/lib/iomgr/socket_utils_uv.c +49 -0
- data/src/core/lib/iomgr/socket_utils_windows.c +52 -0
- data/src/core/lib/iomgr/socket_windows.c +14 -6
- data/src/core/lib/iomgr/socket_windows.h +1 -0
- data/src/core/lib/iomgr/tcp_client.h +8 -2
- data/src/core/lib/iomgr/tcp_client_posix.c +131 -82
- data/src/core/lib/iomgr/tcp_client_posix.h +45 -0
- data/src/core/lib/iomgr/tcp_client_uv.c +190 -0
- data/src/core/lib/iomgr/tcp_client_windows.c +54 -30
- data/src/core/lib/iomgr/tcp_posix.c +135 -56
- data/src/core/lib/iomgr/tcp_posix.h +2 -2
- data/src/core/lib/iomgr/tcp_server.h +14 -6
- data/src/core/lib/iomgr/tcp_server_posix.c +154 -118
- data/src/core/lib/iomgr/tcp_server_uv.c +388 -0
- data/src/core/lib/iomgr/tcp_server_windows.c +127 -100
- data/src/core/lib/iomgr/tcp_uv.c +367 -0
- data/src/core/lib/iomgr/tcp_uv.h +59 -0
- data/src/core/lib/iomgr/tcp_windows.c +65 -48
- data/src/core/lib/iomgr/tcp_windows.h +3 -1
- data/src/core/lib/iomgr/timer.h +21 -21
- data/src/core/lib/iomgr/{timer.c → timer_generic.c} +15 -10
- data/src/core/lib/iomgr/timer_generic.h +49 -0
- data/src/core/lib/iomgr/timer_heap.c +6 -0
- data/src/core/lib/iomgr/timer_uv.c +99 -0
- data/src/core/lib/iomgr/timer_uv.h +47 -0
- data/src/core/lib/iomgr/udp_server.c +116 -98
- data/src/core/lib/iomgr/udp_server.h +5 -3
- data/src/core/lib/iomgr/unix_sockets_posix.c +14 -6
- data/src/core/lib/iomgr/unix_sockets_posix.h +6 -5
- data/src/core/lib/iomgr/unix_sockets_posix_noop.c +4 -4
- data/src/core/lib/iomgr/wakeup_fd_cv.c +118 -0
- data/src/core/lib/iomgr/wakeup_fd_cv.h +80 -0
- data/src/core/lib/iomgr/wakeup_fd_eventfd.c +3 -3
- data/src/core/lib/iomgr/wakeup_fd_nospecial.c +3 -3
- data/src/core/lib/iomgr/wakeup_fd_pipe.c +12 -6
- data/src/core/lib/iomgr/wakeup_fd_posix.c +34 -5
- data/src/core/lib/iomgr/wakeup_fd_posix.h +5 -0
- data/src/core/lib/iomgr/workqueue.h +12 -20
- data/src/core/{ext/client_config/client_config.c → lib/iomgr/workqueue_uv.c} +24 -33
- data/{include/grpc/support/slice.h → src/core/lib/iomgr/workqueue_uv.h} +4 -6
- data/src/core/lib/iomgr/workqueue_windows.c +9 -8
- data/src/core/lib/json/json.c +3 -3
- data/src/core/lib/json/json.h +11 -11
- data/src/core/lib/json/json_reader.c +9 -5
- data/src/core/lib/profiling/basic_timers.c +10 -1
- data/src/core/lib/profiling/timers.h +2 -0
- data/src/core/lib/security/context/security_context.c +13 -3
- data/src/core/lib/security/context/security_context.h +20 -0
- data/src/core/lib/security/credentials/composite/composite_credentials.c +28 -14
- data/src/core/lib/security/credentials/composite/composite_credentials.h +2 -2
- data/src/core/lib/security/credentials/credentials.c +48 -19
- data/src/core/lib/security/credentials/credentials.h +36 -19
- data/src/core/lib/security/credentials/credentials_metadata.c +11 -8
- data/src/core/lib/security/credentials/fake/fake_credentials.c +15 -11
- data/src/core/lib/security/credentials/google_default/{credentials_posix.c → credentials_generic.c} +7 -14
- data/src/core/lib/security/credentials/google_default/google_default_credentials.c +33 -21
- data/src/core/lib/security/credentials/google_default/google_default_credentials.h +14 -0
- data/src/core/lib/security/credentials/iam/iam_credentials.c +3 -2
- data/src/core/lib/security/credentials/jwt/json_token.c +1 -0
- data/src/core/lib/security/credentials/jwt/json_token.h +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_credentials.c +54 -19
- data/src/core/lib/security/credentials/jwt/jwt_credentials.h +2 -1
- data/src/core/lib/security/credentials/jwt/jwt_verifier.c +129 -79
- data/src/core/lib/security/credentials/jwt/jwt_verifier.h +9 -6
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +63 -28
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +1 -1
- data/src/core/lib/security/credentials/plugin/plugin_credentials.c +32 -11
- data/src/core/lib/security/credentials/ssl/ssl_credentials.c +13 -9
- data/src/core/lib/security/transport/client_auth_filter.c +33 -27
- data/src/core/lib/security/transport/secure_endpoint.c +93 -68
- data/src/core/lib/security/transport/secure_endpoint.h +2 -2
- data/src/core/lib/security/transport/security_connector.c +133 -168
- data/src/core/lib/security/transport/security_connector.h +31 -46
- data/src/core/lib/security/transport/security_handshaker.c +501 -0
- data/src/core/lib/security/transport/{handshake.h → security_handshaker.h} +10 -10
- data/src/core/lib/security/transport/server_auth_filter.c +50 -38
- data/src/core/lib/security/util/b64.c +11 -8
- data/src/core/lib/security/util/b64.h +5 -4
- data/src/core/lib/slice/percent_encoding.c +182 -0
- data/src/core/lib/slice/percent_encoding.h +78 -0
- data/src/core/lib/{support → slice}/slice.c +81 -50
- data/src/core/lib/{support → slice}/slice_buffer.c +78 -60
- data/src/core/lib/slice/slice_internal.h +49 -0
- data/src/core/lib/slice/slice_string_helpers.c +90 -0
- data/src/core/lib/{iomgr/workqueue_posix.h → slice/slice_string_helpers.h} +18 -18
- data/src/core/lib/support/backoff.c +24 -13
- data/src/core/lib/support/backoff.h +5 -2
- data/src/core/lib/support/env.h +0 -2
- data/src/core/lib/support/log.c +5 -4
- data/src/core/lib/support/log_linux.c +0 -1
- data/src/core/lib/support/log_posix.c +1 -1
- data/src/core/lib/support/mpscq.c +83 -0
- data/src/core/lib/support/mpscq.h +65 -0
- data/src/core/lib/support/string.c +58 -49
- data/src/core/lib/support/string.h +11 -8
- data/src/core/lib/support/subprocess_posix.c +5 -2
- data/src/core/lib/support/thd.c +1 -1
- data/src/core/lib/support/time.c +43 -79
- data/src/core/lib/support/time_posix.c +1 -1
- data/src/core/lib/support/tmpfile.h +0 -2
- data/src/core/lib/surface/alarm.c +4 -1
- data/src/core/lib/surface/byte_buffer.c +17 -11
- data/src/core/lib/surface/byte_buffer_reader.c +23 -15
- data/src/core/lib/surface/call.c +294 -276
- data/src/core/lib/surface/call.h +24 -9
- data/src/core/lib/surface/call_log_batch.c +5 -3
- data/src/core/lib/surface/channel.c +127 -111
- data/src/core/lib/surface/channel.h +14 -5
- data/src/core/lib/surface/channel_init.c +1 -1
- data/src/core/lib/surface/channel_init.h +10 -1
- data/src/core/lib/surface/channel_ping.c +7 -6
- data/src/core/lib/surface/completion_queue.c +154 -18
- data/src/core/lib/surface/completion_queue.h +5 -0
- data/src/core/lib/surface/init.c +40 -6
- data/src/core/lib/surface/init.h +1 -0
- data/src/core/lib/surface/init_secure.c +5 -2
- data/src/core/lib/surface/lame_client.c +28 -18
- data/src/core/lib/surface/server.c +134 -87
- data/src/core/lib/surface/server.h +8 -0
- data/src/core/lib/surface/validate_metadata.c +1 -1
- data/src/core/lib/surface/version.c +3 -1
- data/src/core/lib/transport/byte_stream.c +7 -4
- data/src/core/lib/transport/byte_stream.h +6 -10
- data/src/core/lib/transport/connectivity_state.c +21 -12
- data/src/core/lib/transport/connectivity_state.h +4 -1
- data/src/core/lib/transport/mdstr_hash_table.c +118 -0
- data/src/core/lib/transport/mdstr_hash_table.h +77 -0
- data/src/core/lib/transport/metadata.c +83 -60
- data/src/core/lib/transport/metadata.h +41 -23
- data/src/core/lib/transport/metadata_batch.c +17 -11
- data/src/core/lib/transport/metadata_batch.h +20 -6
- data/src/core/lib/transport/pid_controller.c +57 -0
- data/src/core/lib/transport/pid_controller.h +64 -0
- data/src/core/lib/transport/service_config.c +251 -0
- data/src/core/lib/transport/service_config.h +71 -0
- data/src/core/lib/transport/static_metadata.c +18 -16
- data/src/core/lib/transport/static_metadata.h +113 -107
- data/src/core/{ext/transport/chttp2 → lib}/transport/timeout_encoding.c +3 -3
- data/src/core/{ext/transport/chttp2 → lib}/transport/timeout_encoding.h +7 -7
- data/src/core/lib/transport/transport.c +84 -23
- data/src/core/lib/transport/transport.h +53 -8
- data/src/core/lib/transport/transport_impl.h +3 -0
- data/src/core/lib/transport/transport_op_string.c +92 -20
- data/src/core/lib/tsi/ssl_transport_security.c +3 -1
- data/src/core/plugin_registry/grpc_plugin_registry.c +8 -4
- data/src/ruby/ext/grpc/extconf.rb +0 -1
- data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -7
- data/src/ruby/ext/grpc/rb_call.c +15 -5
- data/src/ruby/ext/grpc/rb_channel.c +1 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +466 -0
- data/src/{core/ext/client_config/default_initial_connect_string.c → ruby/ext/grpc/rb_compression_options.h} +10 -5
- data/src/ruby/ext/grpc/rb_grpc.c +3 -1
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +198 -190
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +306 -294
- data/src/ruby/ext/grpc/rb_server.c +18 -12
- data/src/ruby/lib/grpc/errors.rb +154 -2
- data/src/ruby/lib/grpc/generic/active_call.rb +144 -63
- data/src/ruby/lib/grpc/generic/bidi_call.rb +18 -2
- data/src/ruby/lib/grpc/generic/client_stub.rb +7 -5
- data/src/ruby/lib/grpc/generic/rpc_desc.rb +39 -13
- data/src/ruby/lib/grpc/generic/rpc_server.rb +51 -24
- data/src/ruby/lib/grpc/generic/service.rb +3 -2
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/checker.rb +3 -1
- data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +7 -0
- data/src/ruby/pb/test/client.rb +307 -7
- data/src/ruby/pb/test/server.rb +26 -1
- data/src/ruby/spec/compression_options_spec.rb +164 -0
- data/src/ruby/spec/error_sanity_spec.rb +64 -0
- data/src/ruby/spec/generic/active_call_spec.rb +290 -12
- data/src/ruby/spec/generic/client_stub_spec.rb +91 -41
- data/src/ruby/spec/generic/rpc_desc_spec.rb +36 -16
- data/src/ruby/spec/generic/rpc_server_pool_spec.rb +22 -28
- data/src/ruby/spec/generic/rpc_server_spec.rb +6 -6
- data/src/ruby/spec/pb/health/checker_spec.rb +27 -19
- data/src/ruby/spec/spec_helper.rb +2 -0
- data/third_party/boringssl/crypto/aes/aes.c +12 -12
- data/third_party/boringssl/crypto/aes/mode_wrappers.c +6 -2
- data/third_party/boringssl/crypto/asn1/a_d2i_fp.c +28 -13
- data/third_party/boringssl/crypto/asn1/a_gentm.c +2 -0
- data/third_party/boringssl/crypto/asn1/a_object.c +7 -3
- data/third_party/boringssl/crypto/asn1/a_strnid.c +1 -0
- data/third_party/boringssl/crypto/asn1/a_time.c +0 -11
- data/third_party/boringssl/crypto/asn1/a_type.c +0 -2
- data/third_party/boringssl/crypto/asn1/a_utctm.c +1 -30
- data/third_party/boringssl/crypto/asn1/asn1_lib.c +56 -76
- data/third_party/boringssl/crypto/asn1/asn1_locl.h +0 -10
- data/third_party/boringssl/crypto/asn1/asn1_par.c +0 -322
- data/third_party/boringssl/crypto/asn1/f_enum.c +1 -108
- data/third_party/boringssl/crypto/asn1/f_int.c +1 -106
- data/third_party/boringssl/crypto/asn1/f_string.c +1 -106
- data/third_party/boringssl/crypto/asn1/tasn_dec.c +10 -14
- data/third_party/boringssl/crypto/asn1/tasn_enc.c +17 -11
- data/third_party/boringssl/crypto/asn1/tasn_typ.c +29 -42
- data/third_party/boringssl/crypto/asn1/tasn_utl.c +1 -1
- data/third_party/boringssl/crypto/base64/base64.c +249 -285
- data/third_party/boringssl/crypto/bio/bio.c +13 -23
- data/third_party/boringssl/crypto/bio/bio_mem.c +3 -2
- data/third_party/boringssl/crypto/bio/connect.c +12 -3
- data/third_party/boringssl/crypto/bio/fd.c +22 -15
- data/third_party/boringssl/crypto/bio/file.c +2 -38
- data/third_party/boringssl/crypto/bio/hexdump.c +1 -2
- data/third_party/boringssl/crypto/bio/internal.h +3 -0
- data/third_party/boringssl/crypto/bio/pair.c +1 -1
- data/third_party/boringssl/crypto/bio/socket.c +10 -2
- data/third_party/boringssl/crypto/bio/socket_helper.c +2 -2
- data/third_party/boringssl/crypto/bn/asm/x86_64-gcc.c +0 -8
- data/third_party/boringssl/crypto/bn/bn.c +38 -0
- data/third_party/boringssl/crypto/bn/cmp.c +25 -0
- data/third_party/boringssl/crypto/bn/convert.c +73 -76
- data/third_party/boringssl/crypto/bn/div.c +136 -70
- data/third_party/boringssl/crypto/bn/exponentiation.c +86 -381
- data/third_party/boringssl/crypto/bn/gcd.c +213 -296
- data/third_party/boringssl/crypto/bn/generic.c +0 -80
- data/third_party/boringssl/crypto/bn/internal.h +15 -3
- data/third_party/boringssl/crypto/bn/montgomery.c +57 -207
- data/third_party/boringssl/crypto/bn/montgomery_inv.c +160 -0
- data/third_party/boringssl/crypto/bn/mul.c +2 -1
- data/third_party/boringssl/crypto/bn/prime.c +24 -8
- data/third_party/boringssl/crypto/bn/random.c +47 -33
- data/third_party/boringssl/crypto/bn/sqrt.c +4 -5
- data/third_party/boringssl/crypto/buf/buf.c +25 -21
- data/third_party/boringssl/crypto/bytestring/ber.c +1 -0
- data/third_party/boringssl/crypto/bytestring/cbb.c +50 -22
- data/third_party/boringssl/crypto/bytestring/cbs.c +28 -4
- data/third_party/boringssl/crypto/chacha/{chacha_generic.c → chacha.c} +56 -29
- data/third_party/boringssl/crypto/cipher/aead.c +11 -22
- data/third_party/boringssl/crypto/cipher/cipher.c +2 -2
- data/third_party/boringssl/crypto/cipher/e_aes.c +53 -103
- data/third_party/boringssl/crypto/cipher/e_chacha20poly1305.c +2 -8
- data/third_party/boringssl/crypto/cipher/e_des.c +3 -5
- data/third_party/boringssl/crypto/cipher/e_null.c +1 -1
- data/third_party/boringssl/crypto/cipher/e_rc2.c +1 -1
- data/third_party/boringssl/crypto/cipher/e_rc4.c +1 -1
- data/third_party/boringssl/crypto/cipher/e_ssl3.c +3 -63
- data/third_party/boringssl/crypto/cipher/e_tls.c +12 -83
- data/third_party/boringssl/crypto/cipher/internal.h +8 -10
- data/third_party/boringssl/crypto/cipher/tls_cbc.c +69 -40
- data/third_party/boringssl/crypto/conf/conf.c +2 -1
- data/third_party/boringssl/crypto/cpu-aarch64-linux.c +61 -0
- data/third_party/boringssl/crypto/cpu-arm-linux.c +360 -0
- data/third_party/boringssl/crypto/cpu-arm.c +0 -161
- data/third_party/boringssl/crypto/cpu-intel.c +5 -3
- data/third_party/boringssl/{ssl/test/scoped_types.h → crypto/cpu-ppc64le.c} +21 -9
- data/third_party/boringssl/crypto/crypto.c +29 -7
- data/third_party/boringssl/crypto/curve25519/curve25519.c +284 -242
- data/third_party/boringssl/crypto/curve25519/internal.h +64 -0
- data/third_party/boringssl/crypto/curve25519/spake25519.c +464 -0
- data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +21 -0
- data/third_party/boringssl/crypto/dh/check.c +22 -6
- data/third_party/boringssl/crypto/dh/dh.c +45 -21
- data/third_party/boringssl/crypto/dh/dh_asn1.c +96 -20
- data/third_party/boringssl/crypto/dh/params.c +30 -78
- data/third_party/boringssl/crypto/digest/digest.c +3 -3
- data/third_party/boringssl/crypto/dsa/dsa.c +59 -29
- data/third_party/boringssl/crypto/dsa/dsa_asn1.c +4 -0
- data/third_party/boringssl/crypto/ec/ec.c +84 -140
- data/third_party/boringssl/crypto/ec/ec_asn1.c +82 -52
- data/third_party/boringssl/crypto/ec/ec_key.c +15 -15
- data/third_party/boringssl/crypto/ec/ec_montgomery.c +87 -50
- data/third_party/boringssl/crypto/ec/internal.h +12 -36
- data/third_party/boringssl/crypto/ec/oct.c +11 -11
- data/third_party/boringssl/crypto/ec/p224-64.c +59 -116
- data/third_party/boringssl/crypto/ec/p256-64.c +88 -163
- data/third_party/boringssl/crypto/ec/p256-x86_64.c +46 -58
- data/third_party/boringssl/crypto/ec/simple.c +81 -201
- data/third_party/boringssl/crypto/ec/util-64.c +0 -74
- data/third_party/boringssl/crypto/ecdh/ecdh.c +7 -1
- data/third_party/boringssl/crypto/ecdsa/ecdsa.c +28 -46
- data/third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c +1 -0
- data/third_party/boringssl/crypto/engine/engine.c +1 -1
- data/third_party/boringssl/crypto/err/err.c +3 -3
- data/third_party/boringssl/crypto/evp/evp.c +14 -59
- data/third_party/boringssl/crypto/evp/evp_asn1.c +144 -87
- data/third_party/boringssl/crypto/evp/evp_ctx.c +7 -7
- data/third_party/boringssl/crypto/evp/internal.h +4 -46
- data/third_party/boringssl/crypto/evp/p_dsa_asn1.c +8 -157
- data/third_party/boringssl/crypto/evp/p_ec.c +1 -1
- data/third_party/boringssl/crypto/evp/p_ec_asn1.c +22 -170
- data/third_party/boringssl/crypto/evp/p_rsa.c +1 -1
- data/third_party/boringssl/crypto/evp/p_rsa_asn1.c +10 -548
- data/third_party/boringssl/crypto/evp/print.c +520 -0
- data/third_party/boringssl/crypto/ex_data.c +4 -6
- data/third_party/boringssl/crypto/hkdf/hkdf.c +38 -17
- data/third_party/boringssl/crypto/hmac/hmac.c +6 -6
- data/third_party/boringssl/crypto/internal.h +57 -77
- data/third_party/boringssl/crypto/lhash/lhash.c +6 -10
- data/third_party/boringssl/crypto/md4/md4.c +9 -0
- data/third_party/boringssl/crypto/mem.c +19 -19
- data/third_party/boringssl/crypto/modes/cfb.c +5 -6
- data/third_party/boringssl/crypto/modes/ctr.c +10 -18
- data/third_party/boringssl/crypto/modes/gcm.c +100 -66
- data/third_party/boringssl/crypto/modes/internal.h +15 -27
- data/third_party/boringssl/crypto/modes/ofb.c +9 -22
- data/third_party/boringssl/crypto/newhope/error_correction.c +131 -0
- data/third_party/boringssl/crypto/newhope/internal.h +71 -0
- data/third_party/boringssl/crypto/newhope/newhope.c +174 -0
- data/third_party/boringssl/crypto/newhope/ntt.c +148 -0
- data/third_party/boringssl/crypto/newhope/poly.c +183 -0
- data/third_party/boringssl/crypto/newhope/precomp.c +306 -0
- data/third_party/boringssl/crypto/newhope/reduce.c +42 -0
- data/third_party/boringssl/crypto/obj/obj.c +111 -135
- data/third_party/boringssl/crypto/obj/obj_dat.h +4 -10
- data/third_party/boringssl/crypto/pem/pem_lib.c +6 -43
- data/third_party/boringssl/crypto/pem/pem_pkey.c +10 -19
- data/third_party/boringssl/crypto/pkcs8/p5_pbe.c +1 -0
- data/third_party/boringssl/crypto/pkcs8/p5_pbev2.c +2 -1
- data/third_party/boringssl/crypto/pkcs8/p8_pkey.c +2 -2
- data/third_party/boringssl/crypto/pkcs8/pkcs8.c +95 -87
- data/third_party/boringssl/crypto/{test/test_util.h → poly1305/internal.h} +15 -10
- data/third_party/boringssl/crypto/poly1305/poly1305.c +8 -15
- data/third_party/boringssl/crypto/poly1305/poly1305_arm.c +1 -0
- data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +3 -3
- data/third_party/boringssl/crypto/rand/deterministic.c +47 -0
- data/third_party/boringssl/crypto/rand/rand.c +4 -1
- data/third_party/boringssl/crypto/rand/urandom.c +5 -7
- data/third_party/boringssl/crypto/rand/windows.c +5 -8
- data/third_party/boringssl/crypto/rc4/rc4.c +24 -209
- data/third_party/boringssl/crypto/refcount_lock.c +2 -2
- data/third_party/boringssl/crypto/rsa/blinding.c +74 -232
- data/third_party/boringssl/crypto/rsa/internal.h +5 -13
- data/third_party/boringssl/crypto/rsa/padding.c +64 -63
- data/third_party/boringssl/crypto/rsa/rsa.c +50 -28
- data/third_party/boringssl/crypto/rsa/rsa_asn1.c +8 -16
- data/third_party/boringssl/crypto/rsa/rsa_impl.c +134 -122
- data/third_party/boringssl/crypto/sha/sha256.c +2 -2
- data/third_party/boringssl/crypto/sha/sha512.c +7 -7
- data/third_party/boringssl/crypto/stack/stack.c +13 -22
- data/third_party/boringssl/crypto/thread.c +21 -12
- data/third_party/boringssl/crypto/thread_none.c +6 -2
- data/third_party/boringssl/crypto/thread_pthread.c +16 -7
- data/third_party/boringssl/crypto/thread_win.c +38 -85
- data/third_party/boringssl/crypto/x509/a_sign.c +3 -3
- data/third_party/boringssl/crypto/x509/a_strex.c +1 -1
- data/third_party/boringssl/crypto/x509/a_verify.c +2 -2
- data/third_party/boringssl/crypto/{evp → x509}/algorithm.c +37 -53
- data/third_party/boringssl/crypto/x509/asn1_gen.c +1 -2
- data/third_party/boringssl/crypto/x509/by_dir.c +6 -6
- data/third_party/boringssl/crypto/x509/internal.h +66 -0
- data/third_party/boringssl/crypto/x509/rsa_pss.c +385 -0
- data/third_party/boringssl/crypto/x509/t_x509.c +10 -12
- data/third_party/boringssl/crypto/x509/x509.c +5 -0
- data/third_party/boringssl/crypto/x509/x509_att.c +9 -3
- data/third_party/boringssl/crypto/x509/x509_lu.c +34 -44
- data/third_party/boringssl/crypto/x509/x509_obj.c +19 -2
- data/third_party/boringssl/crypto/x509/x509_r2x.c +9 -5
- data/third_party/boringssl/crypto/x509/x509_set.c +5 -0
- data/third_party/boringssl/crypto/x509/x509_txt.c +5 -0
- data/third_party/boringssl/crypto/x509/x509_vfy.c +63 -32
- data/third_party/boringssl/crypto/x509/x509_vpm.c +29 -18
- data/third_party/boringssl/crypto/x509/x509cset.c +2 -1
- data/third_party/boringssl/crypto/x509/x_crl.c +2 -2
- data/third_party/boringssl/crypto/x509/x_name.c +14 -17
- data/third_party/boringssl/crypto/x509/x_pubkey.c +10 -7
- data/third_party/boringssl/crypto/x509/x_x509.c +67 -6
- data/third_party/boringssl/crypto/x509v3/pcy_cache.c +2 -2
- data/third_party/boringssl/crypto/x509v3/pcy_tree.c +2 -1
- data/third_party/boringssl/crypto/x509v3/v3_conf.c +4 -3
- data/third_party/boringssl/crypto/x509v3/v3_cpols.c +5 -0
- data/third_party/boringssl/crypto/x509v3/v3_prn.c +0 -3
- data/third_party/boringssl/crypto/x509v3/v3_purp.c +2 -2
- data/third_party/boringssl/crypto/x509v3/v3_utl.c +2 -1
- data/third_party/boringssl/include/openssl/aead.h +72 -73
- data/third_party/boringssl/include/openssl/arm_arch.h +0 -6
- data/third_party/boringssl/include/openssl/asn1.h +103 -235
- data/third_party/boringssl/include/openssl/asn1_mac.h +17 -74
- data/third_party/boringssl/include/openssl/asn1t.h +1 -11
- data/third_party/boringssl/include/openssl/base.h +145 -3
- data/third_party/boringssl/include/openssl/base64.h +20 -17
- data/third_party/boringssl/include/openssl/bio.h +59 -34
- data/third_party/boringssl/include/openssl/bn.h +118 -51
- data/third_party/boringssl/include/openssl/buf.h +15 -0
- data/third_party/boringssl/include/openssl/bytestring.h +52 -4
- data/third_party/boringssl/include/openssl/chacha.h +2 -2
- data/third_party/boringssl/include/openssl/cipher.h +18 -1
- data/third_party/boringssl/include/openssl/cmac.h +11 -0
- data/third_party/boringssl/include/openssl/conf.h +13 -2
- data/third_party/boringssl/include/openssl/cpu.h +20 -23
- data/third_party/boringssl/include/openssl/crypto.h +22 -1
- data/third_party/boringssl/include/openssl/curve25519.h +96 -4
- data/third_party/boringssl/include/openssl/dh.h +71 -16
- data/third_party/boringssl/include/openssl/digest.h +38 -11
- data/third_party/boringssl/include/openssl/dsa.h +40 -4
- data/third_party/boringssl/include/openssl/ec.h +44 -18
- data/third_party/boringssl/include/openssl/ec_key.h +27 -6
- data/third_party/boringssl/include/openssl/ecdsa.h +11 -0
- data/third_party/boringssl/include/openssl/engine.h +11 -0
- data/third_party/boringssl/include/openssl/evp.h +52 -88
- data/third_party/boringssl/include/openssl/hkdf.h +24 -4
- data/third_party/boringssl/include/openssl/hmac.h +20 -6
- data/third_party/boringssl/include/openssl/md4.h +4 -0
- data/third_party/boringssl/include/openssl/mem.h +19 -0
- data/third_party/boringssl/include/openssl/newhope.h +158 -0
- data/third_party/boringssl/include/openssl/nid.h +4166 -0
- data/third_party/boringssl/include/openssl/obj.h +31 -3
- data/third_party/boringssl/include/openssl/obj_mac.h +17 -4143
- data/third_party/boringssl/include/openssl/{opensslfeatures.h → opensslconf.h} +3 -3
- data/third_party/boringssl/include/openssl/pem.h +5 -0
- data/third_party/boringssl/include/openssl/pkcs8.h +12 -0
- data/third_party/boringssl/include/openssl/rand.h +6 -0
- data/third_party/boringssl/include/openssl/rc4.h +6 -0
- data/third_party/boringssl/{crypto/dh/internal.h → include/openssl/ripemd.h} +38 -11
- data/third_party/boringssl/include/openssl/rsa.h +127 -65
- data/third_party/boringssl/include/openssl/sha.h +14 -10
- data/third_party/boringssl/include/openssl/ssl.h +561 -275
- data/third_party/boringssl/include/openssl/ssl3.h +18 -25
- data/third_party/boringssl/include/openssl/stack.h +2 -4
- data/third_party/boringssl/include/openssl/stack_macros.h +321 -353
- data/third_party/boringssl/include/openssl/thread.h +31 -13
- data/third_party/boringssl/include/openssl/time_support.h +1 -0
- data/third_party/boringssl/include/openssl/tls1.h +37 -33
- data/third_party/boringssl/include/openssl/x509.h +69 -26
- data/third_party/boringssl/include/openssl/x509_vfy.h +12 -10
- data/third_party/boringssl/include/openssl/x509v3.h +23 -2
- data/third_party/boringssl/ssl/custom_extensions.c +3 -5
- data/third_party/boringssl/ssl/d1_both.c +463 -499
- data/third_party/boringssl/ssl/d1_lib.c +38 -109
- data/third_party/boringssl/ssl/d1_pkt.c +173 -334
- data/third_party/boringssl/ssl/d1_srtp.c +20 -18
- data/third_party/boringssl/ssl/{d1_meth.c → dtls_method.c} +88 -15
- data/third_party/boringssl/ssl/dtls_record.c +27 -26
- data/third_party/boringssl/ssl/{s3_clnt.c → handshake_client.c} +816 -904
- data/third_party/boringssl/ssl/handshake_server.c +1932 -0
- data/third_party/boringssl/ssl/internal.h +712 -439
- data/third_party/boringssl/ssl/s3_both.c +445 -257
- data/third_party/boringssl/ssl/s3_enc.c +53 -36
- data/third_party/boringssl/ssl/s3_lib.c +23 -268
- data/third_party/boringssl/ssl/s3_pkt.c +168 -364
- data/third_party/boringssl/ssl/ssl_aead_ctx.c +46 -17
- data/third_party/boringssl/ssl/ssl_asn1.c +56 -26
- data/third_party/boringssl/ssl/ssl_buffer.c +16 -24
- data/third_party/boringssl/ssl/ssl_cert.c +324 -49
- data/third_party/boringssl/ssl/ssl_cipher.c +205 -150
- data/third_party/boringssl/ssl/ssl_ecdh.c +287 -51
- data/third_party/boringssl/ssl/ssl_file.c +21 -68
- data/third_party/boringssl/ssl/ssl_lib.c +881 -510
- data/third_party/boringssl/ssl/ssl_rsa.c +404 -34
- data/third_party/boringssl/ssl/ssl_session.c +324 -103
- data/third_party/boringssl/ssl/ssl_stat.c +6 -88
- data/third_party/boringssl/ssl/t1_enc.c +23 -39
- data/third_party/boringssl/ssl/t1_lib.c +1120 -622
- data/third_party/boringssl/ssl/tls13_both.c +440 -0
- data/third_party/boringssl/ssl/tls13_client.c +682 -0
- data/third_party/boringssl/ssl/tls13_enc.c +391 -0
- data/third_party/boringssl/ssl/tls13_server.c +672 -0
- data/third_party/boringssl/ssl/{s3_meth.c → tls_method.c} +100 -21
- data/third_party/boringssl/ssl/tls_record.c +159 -77
- data/third_party/nanopb/pb.h +60 -28
- data/third_party/nanopb/pb_decode.c +120 -92
- data/third_party/nanopb/pb_decode.h +3 -3
- data/third_party/nanopb/pb_encode.c +73 -67
- data/third_party/nanopb/pb_encode.h +4 -4
- metadata +155 -89
- data/include/grpc/impl/codegen/byte_buffer.h +0 -122
- data/include/grpc/impl/codegen/log.h +0 -118
- data/include/grpc/impl/codegen/time.h +0 -130
- data/src/core/ext/client_config/client_channel.c +0 -593
- data/src/core/ext/client_config/subchannel_call_holder.c +0 -272
- data/src/core/ext/client_config/subchannel_call_holder.h +0 -99
- data/src/core/lib/iomgr/ev_poll_and_epoll_posix.c +0 -2046
- data/src/core/lib/iomgr/workqueue_posix.c +0 -151
- data/src/core/lib/security/transport/handshake.c +0 -368
- data/third_party/boringssl/crypto/asn1/a_bytes.c +0 -308
- data/third_party/boringssl/crypto/asn1/bio_asn1.c +0 -477
- data/third_party/boringssl/crypto/asn1/bio_ndef.c +0 -251
- data/third_party/boringssl/crypto/asn1/t_pkey.c +0 -110
- data/third_party/boringssl/crypto/asn1/tasn_prn.c +0 -596
- data/third_party/boringssl/crypto/chacha/chacha_vec.c +0 -328
- data/third_party/boringssl/crypto/directory.h +0 -66
- data/third_party/boringssl/crypto/directory_posix.c +0 -108
- data/third_party/boringssl/crypto/directory_win.c +0 -144
- data/third_party/boringssl/crypto/test/scoped_types.h +0 -140
- data/third_party/boringssl/include/openssl/pqueue.h +0 -146
- data/third_party/boringssl/ssl/d1_clnt.c +0 -561
- data/third_party/boringssl/ssl/d1_srvr.c +0 -476
- data/third_party/boringssl/ssl/pqueue/pqueue.c +0 -197
- data/third_party/boringssl/ssl/s3_srvr.c +0 -2272
- data/third_party/boringssl/ssl/test/async_bio.h +0 -45
- data/third_party/boringssl/ssl/test/packeted_bio.h +0 -44
- data/third_party/boringssl/ssl/test/test_config.h +0 -110
data/include/grpc/support/time.h
CHANGED
@@ -34,6 +34,72 @@
|
|
34
34
|
#ifndef GRPC_SUPPORT_TIME_H
|
35
35
|
#define GRPC_SUPPORT_TIME_H
|
36
36
|
|
37
|
-
#include <grpc/impl/codegen/
|
37
|
+
#include <grpc/impl/codegen/gpr_types.h>
|
38
|
+
|
39
|
+
#include <stddef.h>
|
40
|
+
#include <time.h>
|
41
|
+
|
42
|
+
#ifdef __cplusplus
|
43
|
+
extern "C" {
|
44
|
+
#endif
|
45
|
+
|
46
|
+
/* Time constants. */
|
47
|
+
GPRAPI gpr_timespec
|
48
|
+
gpr_time_0(gpr_clock_type type); /* The zero time interval. */
|
49
|
+
GPRAPI gpr_timespec gpr_inf_future(gpr_clock_type type); /* The far future */
|
50
|
+
GPRAPI gpr_timespec gpr_inf_past(gpr_clock_type type); /* The far past. */
|
51
|
+
|
52
|
+
#define GPR_MS_PER_SEC 1000
|
53
|
+
#define GPR_US_PER_SEC 1000000
|
54
|
+
#define GPR_NS_PER_SEC 1000000000
|
55
|
+
#define GPR_NS_PER_MS 1000000
|
56
|
+
#define GPR_NS_PER_US 1000
|
57
|
+
#define GPR_US_PER_MS 1000
|
58
|
+
|
59
|
+
/* initialize time subsystem */
|
60
|
+
GPRAPI void gpr_time_init(void);
|
61
|
+
|
62
|
+
/* Return the current time measured from the given clocks epoch. */
|
63
|
+
GPRAPI gpr_timespec gpr_now(gpr_clock_type clock);
|
64
|
+
|
65
|
+
/* Convert a timespec from one clock to another */
|
66
|
+
GPRAPI gpr_timespec gpr_convert_clock_type(gpr_timespec t,
|
67
|
+
gpr_clock_type target_clock);
|
68
|
+
|
69
|
+
/* Return -ve, 0, or +ve according to whether a < b, a == b, or a > b
|
70
|
+
respectively. */
|
71
|
+
GPRAPI int gpr_time_cmp(gpr_timespec a, gpr_timespec b);
|
72
|
+
|
73
|
+
GPRAPI gpr_timespec gpr_time_max(gpr_timespec a, gpr_timespec b);
|
74
|
+
GPRAPI gpr_timespec gpr_time_min(gpr_timespec a, gpr_timespec b);
|
75
|
+
|
76
|
+
/* Add and subtract times. Calculations saturate at infinities. */
|
77
|
+
GPRAPI gpr_timespec gpr_time_add(gpr_timespec a, gpr_timespec b);
|
78
|
+
GPRAPI gpr_timespec gpr_time_sub(gpr_timespec a, gpr_timespec b);
|
79
|
+
|
80
|
+
/* Return a timespec representing a given number of time units. INT64_MIN is
|
81
|
+
interpreted as gpr_inf_past, and INT64_MAX as gpr_inf_future. */
|
82
|
+
GPRAPI gpr_timespec gpr_time_from_micros(int64_t x, gpr_clock_type clock_type);
|
83
|
+
GPRAPI gpr_timespec gpr_time_from_nanos(int64_t x, gpr_clock_type clock_type);
|
84
|
+
GPRAPI gpr_timespec gpr_time_from_millis(int64_t x, gpr_clock_type clock_type);
|
85
|
+
GPRAPI gpr_timespec gpr_time_from_seconds(int64_t x, gpr_clock_type clock_type);
|
86
|
+
GPRAPI gpr_timespec gpr_time_from_minutes(int64_t x, gpr_clock_type clock_type);
|
87
|
+
GPRAPI gpr_timespec gpr_time_from_hours(int64_t x, gpr_clock_type clock_type);
|
88
|
+
|
89
|
+
GPRAPI int32_t gpr_time_to_millis(gpr_timespec timespec);
|
90
|
+
|
91
|
+
/* Return 1 if two times are equal or within threshold of each other,
|
92
|
+
0 otherwise */
|
93
|
+
GPRAPI int gpr_time_similar(gpr_timespec a, gpr_timespec b,
|
94
|
+
gpr_timespec threshold);
|
95
|
+
|
96
|
+
/* Sleep until at least 'until' - an absolute timeout */
|
97
|
+
GPRAPI void gpr_sleep_until(gpr_timespec until);
|
98
|
+
|
99
|
+
GPRAPI double gpr_timespec_to_micros(gpr_timespec t);
|
100
|
+
|
101
|
+
#ifdef __cplusplus
|
102
|
+
}
|
103
|
+
#endif
|
38
104
|
|
39
105
|
#endif /* GRPC_SUPPORT_TIME_H */
|
data/src/boringssl/err_data.c
CHANGED
@@ -54,182 +54,166 @@ OPENSSL_COMPILE_ASSERT(ERR_LIB_USER == 32, library_values_changed_32);
|
|
54
54
|
OPENSSL_COMPILE_ASSERT(ERR_NUM_LIBS == 33, library_values_changed_num);
|
55
55
|
|
56
56
|
const uint32_t kOpenSSLReasonValues[] = {
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
57
|
+
0xc320838,
|
58
|
+
0xc328852,
|
59
|
+
0xc330861,
|
60
|
+
0xc338871,
|
61
|
+
0xc340880,
|
62
|
+
0xc348899,
|
63
|
+
0xc3508a5,
|
64
|
+
0xc3588c2,
|
65
|
+
0xc3608d4,
|
66
|
+
0xc3688e2,
|
67
|
+
0xc3708f2,
|
68
|
+
0xc3788ff,
|
69
|
+
0xc38090f,
|
70
|
+
0xc38891a,
|
71
|
+
0xc390930,
|
72
|
+
0xc39893f,
|
73
|
+
0xc3a0953,
|
74
|
+
0xc3a8845,
|
75
|
+
0xc3b00ea,
|
76
|
+
0x10320845,
|
77
|
+
0x103293ab,
|
78
|
+
0x103313b7,
|
79
|
+
0x103393d0,
|
80
|
+
0x103413e3,
|
81
|
+
0x10348e8b,
|
82
|
+
0x10350c19,
|
83
|
+
0x103593f6,
|
84
|
+
0x1036140b,
|
85
|
+
0x1036941e,
|
86
|
+
0x1037143d,
|
87
|
+
0x10379456,
|
88
|
+
0x1038146b,
|
89
|
+
0x10389489,
|
90
|
+
0x10391498,
|
91
|
+
0x103994b4,
|
92
|
+
0x103a14cf,
|
93
|
+
0x103a94de,
|
94
|
+
0x103b14fa,
|
95
|
+
0x103b9515,
|
96
|
+
0x103c152c,
|
97
|
+
0x103c80ea,
|
98
|
+
0x103d153d,
|
99
|
+
0x103d9551,
|
100
|
+
0x103e1570,
|
101
|
+
0x103e957f,
|
102
|
+
0x103f1596,
|
103
|
+
0x103f95a9,
|
104
|
+
0x10400bea,
|
105
|
+
0x104095bc,
|
106
|
+
0x104115da,
|
107
|
+
0x104195ed,
|
108
|
+
0x10421607,
|
109
|
+
0x10429617,
|
110
|
+
0x1043162b,
|
111
|
+
0x10439641,
|
112
|
+
0x10441659,
|
113
|
+
0x1044966e,
|
114
|
+
0x10451682,
|
115
|
+
0x10459694,
|
116
|
+
0x104605fb,
|
117
|
+
0x1046893f,
|
118
|
+
0x104716a9,
|
119
|
+
0x104796c0,
|
120
|
+
0x104816d5,
|
121
|
+
0x104896e3,
|
122
|
+
0x14320bcd,
|
123
|
+
0x14328bdb,
|
124
|
+
0x14330bea,
|
125
|
+
0x14338bfc,
|
126
|
+
0x143400ac,
|
127
|
+
0x143480ea,
|
126
128
|
0x18320083,
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
0x2c3ba94d,
|
216
|
-
0x2c3c2961,
|
217
|
-
0x2c3ca977,
|
218
|
-
0x2c3d2990,
|
219
|
-
0x2c3da9be,
|
220
|
-
0x2c3e29cc,
|
221
|
-
0x2c3ea9e4,
|
222
|
-
0x2c3f29fc,
|
223
|
-
0x2c3faa09,
|
224
|
-
0x2c402a2c,
|
225
|
-
0x2c40aa4b,
|
226
|
-
0x2c4111cf,
|
227
|
-
0x2c41aa5c,
|
228
|
-
0x2c422a6f,
|
229
|
-
0x2c429141,
|
230
|
-
0x2c432a80,
|
231
|
-
0x2c438693,
|
232
|
-
0x2c4429ad,
|
129
|
+
0x18328ee1,
|
130
|
+
0x183300ac,
|
131
|
+
0x18338ef7,
|
132
|
+
0x18340f0b,
|
133
|
+
0x183480ea,
|
134
|
+
0x18350f20,
|
135
|
+
0x18358f38,
|
136
|
+
0x18360f4d,
|
137
|
+
0x18368f61,
|
138
|
+
0x18370f85,
|
139
|
+
0x18378f9b,
|
140
|
+
0x18380faf,
|
141
|
+
0x18388fbf,
|
142
|
+
0x18390a57,
|
143
|
+
0x18398fcf,
|
144
|
+
0x183a0fe4,
|
145
|
+
0x183a8ff8,
|
146
|
+
0x183b0c25,
|
147
|
+
0x183b9005,
|
148
|
+
0x183c1017,
|
149
|
+
0x183c9022,
|
150
|
+
0x183d1032,
|
151
|
+
0x183d9043,
|
152
|
+
0x183e1054,
|
153
|
+
0x183e9066,
|
154
|
+
0x183f108f,
|
155
|
+
0x183f90a8,
|
156
|
+
0x184010c0,
|
157
|
+
0x184086d3,
|
158
|
+
0x203210e7,
|
159
|
+
0x243210f3,
|
160
|
+
0x24328985,
|
161
|
+
0x24331105,
|
162
|
+
0x24339112,
|
163
|
+
0x2434111f,
|
164
|
+
0x24349131,
|
165
|
+
0x24351140,
|
166
|
+
0x2435915d,
|
167
|
+
0x2436116a,
|
168
|
+
0x24369178,
|
169
|
+
0x24371186,
|
170
|
+
0x24379194,
|
171
|
+
0x2438119d,
|
172
|
+
0x243891aa,
|
173
|
+
0x243911bd,
|
174
|
+
0x28320c0d,
|
175
|
+
0x28328c25,
|
176
|
+
0x28330bea,
|
177
|
+
0x28338c38,
|
178
|
+
0x28340c19,
|
179
|
+
0x283480ac,
|
180
|
+
0x283500ea,
|
181
|
+
0x2c3228ca,
|
182
|
+
0x2c32a8d8,
|
183
|
+
0x2c3328ea,
|
184
|
+
0x2c33a8fc,
|
185
|
+
0x2c342910,
|
186
|
+
0x2c34a922,
|
187
|
+
0x2c35293d,
|
188
|
+
0x2c35a94f,
|
189
|
+
0x2c362962,
|
190
|
+
0x2c36832d,
|
191
|
+
0x2c37296f,
|
192
|
+
0x2c37a981,
|
193
|
+
0x2c382994,
|
194
|
+
0x2c38a9ab,
|
195
|
+
0x2c3929b9,
|
196
|
+
0x2c39a9c9,
|
197
|
+
0x2c3a29db,
|
198
|
+
0x2c3aa9ef,
|
199
|
+
0x2c3b2a00,
|
200
|
+
0x2c3baa1f,
|
201
|
+
0x2c3c2a33,
|
202
|
+
0x2c3caa49,
|
203
|
+
0x2c3d2a62,
|
204
|
+
0x2c3daa7f,
|
205
|
+
0x2c3e2a90,
|
206
|
+
0x2c3eaa9e,
|
207
|
+
0x2c3f2ab6,
|
208
|
+
0x2c3faace,
|
209
|
+
0x2c402adb,
|
210
|
+
0x2c4090e7,
|
211
|
+
0x2c412aec,
|
212
|
+
0x2c41aaff,
|
213
|
+
0x2c4210c0,
|
214
|
+
0x2c42ab10,
|
215
|
+
0x2c430720,
|
216
|
+
0x2c43aa11,
|
233
217
|
0x30320000,
|
234
218
|
0x30328015,
|
235
219
|
0x3033001f,
|
@@ -239,443 +223,465 @@ const uint32_t kOpenSSLReasonValues[] = {
|
|
239
223
|
0x3035006b,
|
240
224
|
0x30358083,
|
241
225
|
0x30360094,
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
226
|
+
0x303680ac,
|
227
|
+
0x303700b9,
|
228
|
+
0x303780c8,
|
229
|
+
0x303800ea,
|
230
|
+
0x303880f7,
|
231
|
+
0x3039010a,
|
232
|
+
0x30398125,
|
233
|
+
0x303a013a,
|
234
|
+
0x303a814e,
|
235
|
+
0x303b0162,
|
236
|
+
0x303b8173,
|
237
|
+
0x303c018c,
|
238
|
+
0x303c81a9,
|
239
|
+
0x303d01b7,
|
240
|
+
0x303d81cb,
|
241
|
+
0x303e01db,
|
242
|
+
0x303e81f4,
|
243
|
+
0x303f0204,
|
244
|
+
0x303f8217,
|
245
|
+
0x30400226,
|
246
|
+
0x30408232,
|
247
|
+
0x30410247,
|
248
|
+
0x30418257,
|
249
|
+
0x3042026e,
|
250
|
+
0x3042827b,
|
251
|
+
0x3043028e,
|
252
|
+
0x3043829d,
|
253
|
+
0x304402b2,
|
254
|
+
0x304482d3,
|
255
|
+
0x304502e6,
|
256
|
+
0x304582f9,
|
257
|
+
0x30460312,
|
258
|
+
0x3046832d,
|
259
|
+
0x3047034a,
|
260
|
+
0x30478363,
|
261
|
+
0x30480371,
|
262
|
+
0x30488382,
|
263
|
+
0x30490391,
|
264
|
+
0x304983a9,
|
265
|
+
0x304a03bb,
|
266
|
+
0x304a83cf,
|
267
|
+
0x304b03ee,
|
268
|
+
0x304b8401,
|
269
|
+
0x304c040c,
|
270
|
+
0x304c841d,
|
271
|
+
0x304d0429,
|
272
|
+
0x304d843f,
|
273
|
+
0x304e044d,
|
274
|
+
0x304e8463,
|
275
|
+
0x304f0475,
|
276
|
+
0x304f8487,
|
277
|
+
0x3050049a,
|
278
|
+
0x305084ad,
|
279
|
+
0x305104be,
|
280
|
+
0x305184ce,
|
281
|
+
0x305204e6,
|
282
|
+
0x305284fb,
|
283
|
+
0x30530513,
|
284
|
+
0x30538527,
|
285
|
+
0x3054053f,
|
286
|
+
0x30548558,
|
287
|
+
0x30550571,
|
288
|
+
0x3055858e,
|
289
|
+
0x30560599,
|
290
|
+
0x305685b1,
|
291
|
+
0x305705c1,
|
292
|
+
0x305785d2,
|
293
|
+
0x305805e5,
|
294
|
+
0x305885fb,
|
295
|
+
0x30590604,
|
296
|
+
0x30598619,
|
297
|
+
0x305a062c,
|
298
|
+
0x305a863b,
|
299
|
+
0x305b065b,
|
300
|
+
0x305b866a,
|
301
|
+
0x305c068b,
|
302
|
+
0x305c86a7,
|
303
|
+
0x305d06b3,
|
304
|
+
0x305d86d3,
|
305
|
+
0x305e06ef,
|
306
|
+
0x305e8700,
|
307
|
+
0x305f0716,
|
308
|
+
0x305f8720,
|
309
|
+
0x34320b47,
|
310
|
+
0x34328b5b,
|
311
|
+
0x34330b78,
|
312
|
+
0x34338b8b,
|
313
|
+
0x34340b9a,
|
314
|
+
0x34348bb7,
|
326
315
|
0x3c320083,
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
316
|
+
0x3c328c62,
|
317
|
+
0x3c330c7b,
|
318
|
+
0x3c338c96,
|
319
|
+
0x3c340cb3,
|
320
|
+
0x3c348cdd,
|
321
|
+
0x3c350cf8,
|
322
|
+
0x3c358d1e,
|
323
|
+
0x3c360d37,
|
324
|
+
0x3c368d4f,
|
325
|
+
0x3c370d60,
|
326
|
+
0x3c378d6e,
|
327
|
+
0x3c380d7b,
|
328
|
+
0x3c388d8f,
|
329
|
+
0x3c390c25,
|
330
|
+
0x3c398da3,
|
331
|
+
0x3c3a0db7,
|
332
|
+
0x3c3a88ff,
|
333
|
+
0x3c3b0dc7,
|
334
|
+
0x3c3b8de2,
|
335
|
+
0x3c3c0df4,
|
336
|
+
0x3c3c8e0a,
|
337
|
+
0x3c3d0e14,
|
338
|
+
0x3c3d8e28,
|
339
|
+
0x3c3e0e36,
|
340
|
+
0x3c3e8e5b,
|
341
|
+
0x3c3f0c4e,
|
342
|
+
0x3c3f8e44,
|
343
|
+
0x3c4000ac,
|
344
|
+
0x3c4080ea,
|
345
|
+
0x3c410cce,
|
346
|
+
0x3c418d0d,
|
347
|
+
0x403216fa,
|
348
|
+
0x40329710,
|
349
|
+
0x4033173e,
|
350
|
+
0x40339748,
|
351
|
+
0x4034175f,
|
352
|
+
0x4034977d,
|
353
|
+
0x4035178d,
|
354
|
+
0x4035979f,
|
355
|
+
0x403617ac,
|
356
|
+
0x403697b8,
|
357
|
+
0x403717cd,
|
358
|
+
0x403797df,
|
359
|
+
0x403817ea,
|
360
|
+
0x403897fc,
|
361
|
+
0x40390e8b,
|
362
|
+
0x4039980c,
|
363
|
+
0x403a181f,
|
364
|
+
0x403a9840,
|
365
|
+
0x403b1851,
|
366
|
+
0x403b9861,
|
377
367
|
0x403c0064,
|
378
368
|
0x403c8083,
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
369
|
+
0x403d18aa,
|
370
|
+
0x403d98c0,
|
371
|
+
0x403e18cf,
|
372
|
+
0x403e98e2,
|
373
|
+
0x403f18fc,
|
374
|
+
0x403f990a,
|
375
|
+
0x4040191f,
|
376
|
+
0x40409933,
|
377
|
+
0x40411950,
|
378
|
+
0x4041996b,
|
379
|
+
0x40421984,
|
380
|
+
0x40429997,
|
381
|
+
0x404319ab,
|
382
|
+
0x404399c3,
|
383
|
+
0x404419da,
|
384
|
+
0x404480ac,
|
385
|
+
0x404519ef,
|
386
|
+
0x40459a01,
|
387
|
+
0x40461a25,
|
388
|
+
0x40469a45,
|
389
|
+
0x40471a53,
|
390
|
+
0x40479a7a,
|
391
|
+
0x40481ab7,
|
392
|
+
0x40489ad0,
|
393
|
+
0x40491ae7,
|
394
|
+
0x40499b01,
|
395
|
+
0x404a1b18,
|
396
|
+
0x404a9b36,
|
397
|
+
0x404b1b4e,
|
398
|
+
0x404b9b65,
|
399
|
+
0x404c1b7b,
|
400
|
+
0x404c9b8d,
|
401
|
+
0x404d1bae,
|
402
|
+
0x404d9bd0,
|
403
|
+
0x404e1be4,
|
404
|
+
0x404e9bf1,
|
405
|
+
0x404f1c1e,
|
406
|
+
0x404f9c47,
|
407
|
+
0x40501c71,
|
408
|
+
0x40509c85,
|
409
|
+
0x40511ca0,
|
410
|
+
0x40519cb0,
|
411
|
+
0x40521cc7,
|
412
|
+
0x40529ceb,
|
413
|
+
0x40531d03,
|
414
|
+
0x40539d16,
|
415
|
+
0x40541d2b,
|
416
|
+
0x40549d4e,
|
417
|
+
0x40551d5c,
|
418
|
+
0x40559d79,
|
419
|
+
0x40561d86,
|
420
|
+
0x40569d9f,
|
421
|
+
0x40571db7,
|
422
|
+
0x40579dca,
|
423
|
+
0x40581ddf,
|
424
|
+
0x40589e06,
|
425
|
+
0x40591e35,
|
426
|
+
0x40599e62,
|
427
|
+
0x405a1e76,
|
428
|
+
0x405a9e86,
|
429
|
+
0x405b1e9e,
|
430
|
+
0x405b9eaf,
|
431
|
+
0x405c1ec2,
|
432
|
+
0x405c9ed3,
|
433
|
+
0x405d1ee0,
|
434
|
+
0x405d9ef7,
|
435
|
+
0x405e1f17,
|
436
|
+
0x405e8a95,
|
437
|
+
0x405f1f38,
|
438
|
+
0x405f9f45,
|
439
|
+
0x40601f53,
|
440
|
+
0x40609f75,
|
441
|
+
0x40611f9d,
|
442
|
+
0x40619fb2,
|
443
|
+
0x40621fc9,
|
444
|
+
0x40629fda,
|
445
|
+
0x40631feb,
|
446
|
+
0x4063a000,
|
447
|
+
0x40642017,
|
448
|
+
0x4064a043,
|
449
|
+
0x4065205e,
|
450
|
+
0x4065a075,
|
451
|
+
0x4066208d,
|
452
|
+
0x4066a0b7,
|
453
|
+
0x406720e2,
|
454
|
+
0x4067a103,
|
455
|
+
0x40682116,
|
456
|
+
0x4068a137,
|
457
|
+
0x40692169,
|
458
|
+
0x4069a197,
|
459
|
+
0x406a21b8,
|
460
|
+
0x406aa1d8,
|
461
|
+
0x406b2360,
|
462
|
+
0x406ba383,
|
463
|
+
0x406c2399,
|
464
|
+
0x406ca5c5,
|
465
|
+
0x406d25f4,
|
466
|
+
0x406da61c,
|
467
|
+
0x406e264a,
|
468
|
+
0x406ea662,
|
469
|
+
0x406f2681,
|
470
|
+
0x406fa696,
|
471
|
+
0x407026a9,
|
472
|
+
0x4070a6c6,
|
473
|
+
0x40710800,
|
474
|
+
0x4071a6d8,
|
475
|
+
0x407226eb,
|
476
|
+
0x4072a704,
|
477
|
+
0x4073271c,
|
478
|
+
0x4073936d,
|
479
|
+
0x40742730,
|
480
|
+
0x4074a74a,
|
481
|
+
0x4075275b,
|
482
|
+
0x4075a76f,
|
483
|
+
0x4076277d,
|
484
|
+
0x407691aa,
|
485
|
+
0x407727a2,
|
486
|
+
0x4077a7c4,
|
487
|
+
0x407827df,
|
488
|
+
0x4078a818,
|
489
|
+
0x4079282f,
|
490
|
+
0x4079a845,
|
491
|
+
0x407a2851,
|
492
|
+
0x407aa864,
|
493
|
+
0x407b2879,
|
494
|
+
0x407ba88b,
|
495
|
+
0x407c28a0,
|
496
|
+
0x407ca8a9,
|
497
|
+
0x407d2152,
|
498
|
+
0x407d9c57,
|
499
|
+
0x407e27f4,
|
500
|
+
0x407e9e16,
|
501
|
+
0x407f1a67,
|
502
|
+
0x407f9887,
|
503
|
+
0x40801c2e,
|
504
|
+
0x40809a8f,
|
505
|
+
0x40811cd9,
|
506
|
+
0x40819c08,
|
507
|
+
0x40822635,
|
508
|
+
0x4082986d,
|
509
|
+
0x40831df1,
|
510
|
+
0x4083a028,
|
511
|
+
0x40841aa3,
|
512
|
+
0x40849e4e,
|
513
|
+
0x41f4228b,
|
514
|
+
0x41f9231d,
|
515
|
+
0x41fe2210,
|
516
|
+
0x41fea3ec,
|
517
|
+
0x41ff24dd,
|
518
|
+
0x420322a4,
|
519
|
+
0x420822c6,
|
520
|
+
0x4208a302,
|
521
|
+
0x420921f4,
|
522
|
+
0x4209a33c,
|
523
|
+
0x420a224b,
|
524
|
+
0x420aa22b,
|
525
|
+
0x420b226b,
|
526
|
+
0x420ba2e4,
|
527
|
+
0x420c24f9,
|
528
|
+
0x420ca3b9,
|
529
|
+
0x420d23d3,
|
530
|
+
0x420da40a,
|
531
|
+
0x42122424,
|
532
|
+
0x421724c0,
|
533
|
+
0x4217a466,
|
534
|
+
0x421c2488,
|
535
|
+
0x421f2443,
|
536
|
+
0x42212510,
|
537
|
+
0x422624a3,
|
538
|
+
0x422b25a9,
|
539
|
+
0x422ba572,
|
540
|
+
0x422c2591,
|
541
|
+
0x422ca54c,
|
542
|
+
0x422d252b,
|
543
|
+
0x4432072b,
|
544
|
+
0x4432873a,
|
545
|
+
0x44330746,
|
546
|
+
0x44338754,
|
547
|
+
0x44340767,
|
548
|
+
0x44348778,
|
549
|
+
0x4435077f,
|
550
|
+
0x44358789,
|
551
|
+
0x4436079c,
|
552
|
+
0x443687b2,
|
553
|
+
0x443707c4,
|
554
|
+
0x443787d1,
|
555
|
+
0x443807e0,
|
556
|
+
0x443887e8,
|
557
|
+
0x44390800,
|
558
|
+
0x4439880e,
|
559
|
+
0x443a0821,
|
560
|
+
0x4c3211d4,
|
561
|
+
0x4c3291e4,
|
562
|
+
0x4c3311f7,
|
563
|
+
0x4c339217,
|
564
|
+
0x4c3400ac,
|
565
|
+
0x4c3480ea,
|
566
|
+
0x4c351223,
|
567
|
+
0x4c359231,
|
568
|
+
0x4c36124d,
|
569
|
+
0x4c369260,
|
570
|
+
0x4c37126f,
|
571
|
+
0x4c37927d,
|
572
|
+
0x4c381292,
|
573
|
+
0x4c38929e,
|
574
|
+
0x4c3912be,
|
575
|
+
0x4c3992e8,
|
576
|
+
0x4c3a1301,
|
577
|
+
0x4c3a931a,
|
578
|
+
0x4c3b05fb,
|
579
|
+
0x4c3b9333,
|
580
|
+
0x4c3c1345,
|
581
|
+
0x4c3c9354,
|
582
|
+
0x4c3d136d,
|
583
|
+
0x4c3d937c,
|
584
|
+
0x4c3e1389,
|
585
|
+
0x50322b22,
|
586
|
+
0x5032ab31,
|
587
|
+
0x50332b3c,
|
588
|
+
0x5033ab4c,
|
589
|
+
0x50342b65,
|
590
|
+
0x5034ab7f,
|
591
|
+
0x50352b8d,
|
592
|
+
0x5035aba3,
|
593
|
+
0x50362bb5,
|
594
|
+
0x5036abcb,
|
595
|
+
0x50372be4,
|
596
|
+
0x5037abf7,
|
597
|
+
0x50382c0f,
|
598
|
+
0x5038ac20,
|
599
|
+
0x50392c35,
|
600
|
+
0x5039ac49,
|
601
|
+
0x503a2c69,
|
602
|
+
0x503aac7f,
|
603
|
+
0x503b2c97,
|
604
|
+
0x503baca9,
|
605
|
+
0x503c2cc5,
|
606
|
+
0x503cacdc,
|
607
|
+
0x503d2cf5,
|
608
|
+
0x503dad0b,
|
609
|
+
0x503e2d18,
|
610
|
+
0x503ead2e,
|
611
|
+
0x503f2d40,
|
612
|
+
0x503f8382,
|
613
|
+
0x50402d53,
|
614
|
+
0x5040ad63,
|
615
|
+
0x50412d7d,
|
616
|
+
0x5041ad8c,
|
617
|
+
0x50422da6,
|
618
|
+
0x5042adc3,
|
619
|
+
0x50432dd3,
|
620
|
+
0x5043ade3,
|
621
|
+
0x50442df2,
|
622
|
+
0x5044843f,
|
623
|
+
0x50452e06,
|
624
|
+
0x5045ae24,
|
625
|
+
0x50462e37,
|
626
|
+
0x5046ae4d,
|
627
|
+
0x50472e5f,
|
628
|
+
0x5047ae74,
|
629
|
+
0x50482e9a,
|
630
|
+
0x5048aea8,
|
631
|
+
0x50492ebb,
|
632
|
+
0x5049aed0,
|
633
|
+
0x504a2ee6,
|
634
|
+
0x504aaef6,
|
635
|
+
0x504b2f16,
|
636
|
+
0x504baf29,
|
637
|
+
0x504c2f4c,
|
638
|
+
0x504caf7a,
|
639
|
+
0x504d2f8c,
|
640
|
+
0x504dafa9,
|
641
|
+
0x504e2fc4,
|
642
|
+
0x504eafe0,
|
643
|
+
0x504f2ff2,
|
644
|
+
0x504fb009,
|
645
|
+
0x50503018,
|
646
|
+
0x505086ef,
|
647
|
+
0x5051302b,
|
648
|
+
0x58320ec9,
|
649
|
+
0x68320e8b,
|
650
|
+
0x68328c25,
|
651
|
+
0x68330c38,
|
652
|
+
0x68338e99,
|
653
|
+
0x68340ea9,
|
654
|
+
0x683480ea,
|
655
|
+
0x6c320e67,
|
656
|
+
0x6c328bfc,
|
657
|
+
0x6c330e72,
|
658
|
+
0x74320a0b,
|
659
|
+
0x78320970,
|
660
|
+
0x78328985,
|
661
|
+
0x78330991,
|
656
662
|
0x78338083,
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
663
|
+
0x783409a0,
|
664
|
+
0x783489b5,
|
665
|
+
0x783509d4,
|
666
|
+
0x783589f6,
|
667
|
+
0x78360a0b,
|
668
|
+
0x78368a21,
|
669
|
+
0x78370a31,
|
670
|
+
0x78378a44,
|
671
|
+
0x78380a57,
|
672
|
+
0x78388a69,
|
673
|
+
0x78390a76,
|
674
|
+
0x78398a95,
|
675
|
+
0x783a0aaa,
|
676
|
+
0x783a8ab8,
|
677
|
+
0x783b0ac2,
|
678
|
+
0x783b8ad6,
|
679
|
+
0x783c0aed,
|
680
|
+
0x783c8b02,
|
681
|
+
0x783d0b19,
|
682
|
+
0x783d8b2e,
|
683
|
+
0x783e0a84,
|
684
|
+
0x7c3210d6,
|
679
685
|
};
|
680
686
|
|
681
687
|
const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
|
@@ -689,8 +695,10 @@ const char kOpenSSLReasonStringData[] =
|
|
689
695
|
"BN_LIB\0"
|
690
696
|
"BOOLEAN_IS_WRONG_LENGTH\0"
|
691
697
|
"BUFFER_TOO_SMALL\0"
|
698
|
+
"CONTEXT_NOT_INITIALISED\0"
|
692
699
|
"DECODE_ERROR\0"
|
693
700
|
"DEPTH_EXCEEDED\0"
|
701
|
+
"DIGEST_AND_KEY_TYPE_NOT_SUPPORTED\0"
|
694
702
|
"ENCODE_ERROR\0"
|
695
703
|
"ERROR_GETTING_TIME\0"
|
696
704
|
"EXPECTING_AN_ASN1_SEQUENCE\0"
|
@@ -762,10 +770,13 @@ const char kOpenSSLReasonStringData[] =
|
|
762
770
|
"UNEXPECTED_EOC\0"
|
763
771
|
"UNIVERSALSTRING_IS_WRONG_LENGTH\0"
|
764
772
|
"UNKNOWN_FORMAT\0"
|
773
|
+
"UNKNOWN_MESSAGE_DIGEST_ALGORITHM\0"
|
774
|
+
"UNKNOWN_SIGNATURE_ALGORITHM\0"
|
765
775
|
"UNKNOWN_TAG\0"
|
766
776
|
"UNSUPPORTED_ANY_DEFINED_BY_TYPE\0"
|
767
777
|
"UNSUPPORTED_PUBLIC_KEY_TYPE\0"
|
768
778
|
"UNSUPPORTED_TYPE\0"
|
779
|
+
"WRONG_PUBLIC_KEY_TYPE\0"
|
769
780
|
"WRONG_TAG\0"
|
770
781
|
"WRONG_TYPE\0"
|
771
782
|
"BAD_FOPEN_MODE\0"
|
@@ -849,6 +860,7 @@ const char kOpenSSLReasonStringData[] =
|
|
849
860
|
"GROUP_MISMATCH\0"
|
850
861
|
"I2D_ECPKPARAMETERS_FAILURE\0"
|
851
862
|
"INCOMPATIBLE_OBJECTS\0"
|
863
|
+
"INVALID_COFACTOR\0"
|
852
864
|
"INVALID_COMPRESSED_POINT\0"
|
853
865
|
"INVALID_COMPRESSION_BIT\0"
|
854
866
|
"INVALID_ENCODING\0"
|
@@ -873,27 +885,19 @@ const char kOpenSSLReasonStringData[] =
|
|
873
885
|
"NOT_IMPLEMENTED\0"
|
874
886
|
"RANDOM_NUMBER_GENERATION_FAILED\0"
|
875
887
|
"OPERATION_NOT_SUPPORTED\0"
|
876
|
-
"BN_DECODE_ERROR\0"
|
877
888
|
"COMMAND_NOT_SUPPORTED\0"
|
878
|
-
"CONTEXT_NOT_INITIALISED\0"
|
879
889
|
"DIFFERENT_KEY_TYPES\0"
|
880
890
|
"DIFFERENT_PARAMETERS\0"
|
881
|
-
"DIGEST_AND_KEY_TYPE_NOT_SUPPORTED\0"
|
882
891
|
"EXPECTING_AN_EC_KEY_KEY\0"
|
883
892
|
"EXPECTING_AN_RSA_KEY\0"
|
884
|
-
"EXPECTING_A_DH_KEY\0"
|
885
893
|
"EXPECTING_A_DSA_KEY\0"
|
886
894
|
"ILLEGAL_OR_UNSUPPORTED_PADDING_MODE\0"
|
887
|
-
"INVALID_CURVE\0"
|
888
895
|
"INVALID_DIGEST_LENGTH\0"
|
889
896
|
"INVALID_DIGEST_TYPE\0"
|
890
897
|
"INVALID_KEYBITS\0"
|
891
898
|
"INVALID_MGF1_MD\0"
|
892
899
|
"INVALID_PADDING_MODE\0"
|
893
|
-
"INVALID_PSS_PARAMETERS\0"
|
894
900
|
"INVALID_PSS_SALTLEN\0"
|
895
|
-
"INVALID_SALT_LENGTH\0"
|
896
|
-
"INVALID_TRAILER\0"
|
897
901
|
"KEYS_NOT_SET\0"
|
898
902
|
"NO_DEFAULT_DIGEST\0"
|
899
903
|
"NO_KEY_SET\0"
|
@@ -903,17 +907,8 @@ const char kOpenSSLReasonStringData[] =
|
|
903
907
|
"NO_PARAMETERS_SET\0"
|
904
908
|
"OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE\0"
|
905
909
|
"OPERATON_NOT_INITIALIZED\0"
|
906
|
-
"PARAMETER_ENCODING_ERROR\0"
|
907
|
-
"UNKNOWN_DIGEST\0"
|
908
|
-
"UNKNOWN_MASK_DIGEST\0"
|
909
|
-
"UNKNOWN_MESSAGE_DIGEST_ALGORITHM\0"
|
910
910
|
"UNKNOWN_PUBLIC_KEY_TYPE\0"
|
911
|
-
"UNKNOWN_SIGNATURE_ALGORITHM\0"
|
912
911
|
"UNSUPPORTED_ALGORITHM\0"
|
913
|
-
"UNSUPPORTED_MASK_ALGORITHM\0"
|
914
|
-
"UNSUPPORTED_MASK_PARAMETER\0"
|
915
|
-
"UNSUPPORTED_SIGNATURE_TYPE\0"
|
916
|
-
"WRONG_PUBLIC_KEY_TYPE\0"
|
917
912
|
"OUTPUT_TOO_LARGE\0"
|
918
913
|
"UNKNOWN_NID\0"
|
919
914
|
"BAD_BASE64_DECODE\0"
|
@@ -949,6 +944,7 @@ const char kOpenSSLReasonStringData[] =
|
|
949
944
|
"UNKNOWN_ALGORITHM\0"
|
950
945
|
"UNKNOWN_CIPHER\0"
|
951
946
|
"UNKNOWN_CIPHER_ALGORITHM\0"
|
947
|
+
"UNKNOWN_DIGEST\0"
|
952
948
|
"UNKNOWN_HASH\0"
|
953
949
|
"UNSUPPORTED_PRIVATE_KEY_ALGORITHM\0"
|
954
950
|
"BAD_E_VALUE\0"
|
@@ -1009,6 +1005,8 @@ const char kOpenSSLReasonStringData[] =
|
|
1009
1005
|
"BAD_SSL_FILETYPE\0"
|
1010
1006
|
"BAD_WRITE_RETRY\0"
|
1011
1007
|
"BIO_NOT_SET\0"
|
1008
|
+
"BLOCK_CIPHER_PAD_IS_WRONG\0"
|
1009
|
+
"BUFFERED_MESSAGES_ON_CIPHER_CHANGE\0"
|
1012
1010
|
"CA_DN_LENGTH_MISMATCH\0"
|
1013
1011
|
"CA_DN_TOO_LONG\0"
|
1014
1012
|
"CCS_RECEIVED_EARLY\0"
|
@@ -1029,7 +1027,10 @@ const char kOpenSSLReasonStringData[] =
|
|
1029
1027
|
"DH_PUBLIC_VALUE_LENGTH_IS_WRONG\0"
|
1030
1028
|
"DH_P_TOO_LONG\0"
|
1031
1029
|
"DIGEST_CHECK_FAILED\0"
|
1030
|
+
"DOWNGRADE_DETECTED\0"
|
1032
1031
|
"DTLS_MESSAGE_TOO_BIG\0"
|
1032
|
+
"DUPLICATE_EXTENSION\0"
|
1033
|
+
"DUPLICATE_KEY_SHARE\0"
|
1033
1034
|
"ECC_CERT_NOT_FOR_SIGNING\0"
|
1034
1035
|
"EMS_STATE_INCONSISTENT\0"
|
1035
1036
|
"ENCRYPTED_LENGTH_TOO_LONG\0"
|
@@ -1044,13 +1045,17 @@ const char kOpenSSLReasonStringData[] =
|
|
1044
1045
|
"HTTPS_PROXY_REQUEST\0"
|
1045
1046
|
"HTTP_REQUEST\0"
|
1046
1047
|
"INAPPROPRIATE_FALLBACK\0"
|
1048
|
+
"INVALID_ALPN_PROTOCOL\0"
|
1047
1049
|
"INVALID_COMMAND\0"
|
1050
|
+
"INVALID_COMPRESSION_LIST\0"
|
1048
1051
|
"INVALID_MESSAGE\0"
|
1052
|
+
"INVALID_OUTER_RECORD_TYPE\0"
|
1049
1053
|
"INVALID_SSL_SESSION\0"
|
1050
1054
|
"INVALID_TICKET_KEYS_LENGTH\0"
|
1051
1055
|
"LENGTH_MISMATCH\0"
|
1052
1056
|
"LIBRARY_HAS_NO_CIPHERS\0"
|
1053
1057
|
"MISSING_EXTENSION\0"
|
1058
|
+
"MISSING_KEY_SHARE\0"
|
1054
1059
|
"MISSING_RSA_CERTIFICATE\0"
|
1055
1060
|
"MISSING_TMP_DH_KEY\0"
|
1056
1061
|
"MISSING_TMP_ECDH_KEY\0"
|
@@ -1063,8 +1068,11 @@ const char kOpenSSLReasonStringData[] =
|
|
1063
1068
|
"NO_CERTIFICATE_SET\0"
|
1064
1069
|
"NO_CIPHERS_AVAILABLE\0"
|
1065
1070
|
"NO_CIPHERS_PASSED\0"
|
1071
|
+
"NO_CIPHERS_SPECIFIED\0"
|
1066
1072
|
"NO_CIPHER_MATCH\0"
|
1073
|
+
"NO_COMMON_SIGNATURE_ALGORITHMS\0"
|
1067
1074
|
"NO_COMPRESSION_SPECIFIED\0"
|
1075
|
+
"NO_GROUPS_SPECIFIED\0"
|
1068
1076
|
"NO_METHOD_SPECIFIED\0"
|
1069
1077
|
"NO_P256_SUPPORT\0"
|
1070
1078
|
"NO_PRIVATE_KEY_ASSIGNED\0"
|
@@ -1086,6 +1094,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1086
1094
|
"READ_TIMEOUT_EXPIRED\0"
|
1087
1095
|
"RECORD_LENGTH_MISMATCH\0"
|
1088
1096
|
"RECORD_TOO_LARGE\0"
|
1097
|
+
"RENEGOTIATION_EMS_MISMATCH\0"
|
1089
1098
|
"RENEGOTIATION_ENCODING_ERR\0"
|
1090
1099
|
"RENEGOTIATION_MISMATCH\0"
|
1091
1100
|
"REQUIRED_CIPHER_MISSING\0"
|
@@ -1095,6 +1104,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1095
1104
|
"SERVERHELLO_TLSEXT\0"
|
1096
1105
|
"SESSION_ID_CONTEXT_UNINITIALIZED\0"
|
1097
1106
|
"SESSION_MAY_NOT_BE_CREATED\0"
|
1107
|
+
"SHUTDOWN_WHILE_IN_INIT\0"
|
1098
1108
|
"SIGNATURE_ALGORITHMS_EXTENSION_SENT_BY_SERVER\0"
|
1099
1109
|
"SRTP_COULD_NOT_ALLOCATE_PROFILES\0"
|
1100
1110
|
"SRTP_UNKNOWN_PROTECTION_PROFILE\0"
|
@@ -1135,6 +1145,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1135
1145
|
"TLS_PEER_DID_NOT_RESPOND_WITH_CERTIFICATE_LIST\0"
|
1136
1146
|
"TLS_RSA_ENCRYPTED_VALUE_LENGTH_IS_WRONG\0"
|
1137
1147
|
"TOO_MANY_EMPTY_FRAGMENTS\0"
|
1148
|
+
"TOO_MANY_KEY_UPDATES\0"
|
1138
1149
|
"TOO_MANY_WARNING_ALERTS\0"
|
1139
1150
|
"UNABLE_TO_FIND_ECDH_PARAMETERS\0"
|
1140
1151
|
"UNEXPECTED_EXTENSION\0"
|
@@ -1153,6 +1164,7 @@ const char kOpenSSLReasonStringData[] =
|
|
1153
1164
|
"UNSUPPORTED_COMPRESSION_ALGORITHM\0"
|
1154
1165
|
"UNSUPPORTED_ELLIPTIC_CURVE\0"
|
1155
1166
|
"UNSUPPORTED_PROTOCOL\0"
|
1167
|
+
"UNSUPPORTED_PROTOCOL_FOR_CUSTOM_KEY\0"
|
1156
1168
|
"WRONG_CERTIFICATE_TYPE\0"
|
1157
1169
|
"WRONG_CIPHER_RETURNED\0"
|
1158
1170
|
"WRONG_CURVE\0"
|
@@ -1173,12 +1185,14 @@ const char kOpenSSLReasonStringData[] =
|
|
1173
1185
|
"IDP_MISMATCH\0"
|
1174
1186
|
"INVALID_DIRECTORY\0"
|
1175
1187
|
"INVALID_FIELD_NAME\0"
|
1188
|
+
"INVALID_PSS_PARAMETERS\0"
|
1176
1189
|
"INVALID_TRUST\0"
|
1177
1190
|
"ISSUER_MISMATCH\0"
|
1178
1191
|
"KEY_TYPE_MISMATCH\0"
|
1179
1192
|
"KEY_VALUES_MISMATCH\0"
|
1180
1193
|
"LOADING_CERT_DIR\0"
|
1181
1194
|
"LOADING_DEFAULTS\0"
|
1195
|
+
"NAME_TOO_LONG\0"
|
1182
1196
|
"NEWER_CRL_NOT_NEWER\0"
|
1183
1197
|
"NOT_PKCS7_SIGNED_DATA\0"
|
1184
1198
|
"NO_CERTIFICATES_INCLUDED\0"
|
@@ -1188,8 +1202,6 @@ const char kOpenSSLReasonStringData[] =
|
|
1188
1202
|
"PUBLIC_KEY_DECODE_ERROR\0"
|
1189
1203
|
"PUBLIC_KEY_ENCODE_ERROR\0"
|
1190
1204
|
"SHOULD_RETRY\0"
|
1191
|
-
"UNABLE_TO_FIND_PARAMETERS_IN_CHAIN\0"
|
1192
|
-
"UNABLE_TO_GET_CERTS_PUBLIC_KEY\0"
|
1193
1205
|
"UNKNOWN_KEY_TYPE\0"
|
1194
1206
|
"UNKNOWN_PURPOSE_ID\0"
|
1195
1207
|
"UNKNOWN_TRUST_ID\0"
|