grpc 1.9.1 → 1.10.0.pre1

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.

Files changed (637) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +2654 -953
  3. data/etc/roots.pem +282 -683
  4. data/include/grpc/compression.h +9 -26
  5. data/include/grpc/grpc.h +10 -24
  6. data/include/grpc/grpc_security.h +7 -1
  7. data/include/grpc/impl/codegen/compression_types.h +5 -62
  8. data/include/grpc/impl/codegen/grpc_types.h +10 -6
  9. data/include/grpc/module.modulemap +1 -10
  10. data/include/grpc/support/alloc.h +3 -2
  11. data/include/grpc/support/log.h +1 -2
  12. data/{src/core/lib/gpr/thd_internal.h → include/grpc/support/thd_id.h} +23 -9
  13. data/src/boringssl/err_data.c +550 -496
  14. data/src/core/ext/census/grpc_context.cc +2 -1
  15. data/src/core/ext/filters/client_channel/backup_poller.cc +5 -4
  16. data/src/core/ext/filters/client_channel/channel_connectivity.cc +7 -7
  17. data/src/core/ext/filters/client_channel/client_channel.cc +162 -172
  18. data/src/core/ext/filters/client_channel/client_channel_factory.cc +4 -2
  19. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +10 -10
  20. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +18 -14
  21. data/src/core/ext/filters/client_channel/http_proxy.cc +3 -1
  22. data/src/core/ext/filters/client_channel/lb_policy.cc +21 -105
  23. data/src/core/ext/filters/client_channel/lb_policy.h +166 -170
  24. data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +41 -36
  25. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +1452 -1459
  26. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h +1 -1
  27. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +3 -2
  28. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +7 -8
  29. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +27 -27
  30. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +279 -304
  31. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +358 -330
  32. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc +30 -41
  33. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +7 -14
  34. data/src/core/ext/filters/client_channel/lb_policy_factory.cc +8 -21
  35. data/src/core/ext/filters/client_channel/lb_policy_factory.h +23 -27
  36. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +58 -33
  37. data/src/core/ext/filters/client_channel/lb_policy_registry.h +25 -12
  38. data/src/core/ext/filters/client_channel/parse_address.cc +10 -8
  39. data/src/core/ext/filters/client_channel/proxy_mapper_registry.cc +2 -2
  40. data/src/core/ext/filters/client_channel/resolver.cc +6 -52
  41. data/src/core/ext/filters/client_channel/resolver.h +98 -55
  42. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +266 -237
  43. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +5 -5
  44. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +31 -27
  45. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +244 -207
  46. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +161 -148
  47. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +47 -31
  48. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +126 -126
  49. data/src/core/ext/filters/client_channel/resolver_factory.h +33 -32
  50. data/src/core/ext/filters/client_channel/resolver_registry.cc +110 -90
  51. data/src/core/ext/filters/client_channel/resolver_registry.h +49 -36
  52. data/src/core/ext/filters/client_channel/retry_throttle.cc +29 -22
  53. data/src/core/ext/filters/client_channel/subchannel.cc +173 -173
  54. data/src/core/ext/filters/client_channel/subchannel.h +38 -45
  55. data/src/core/ext/filters/client_channel/subchannel_index.cc +44 -40
  56. data/src/core/ext/filters/client_channel/uri_parser.cc +3 -3
  57. data/src/core/ext/filters/deadline/deadline_filter.cc +27 -18
  58. data/src/core/ext/filters/http/client/http_client_filter.cc +26 -23
  59. data/src/core/ext/filters/http/http_filters_plugin.cc +3 -2
  60. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +78 -110
  61. data/src/core/ext/filters/http/server/http_server_filter.cc +29 -26
  62. data/src/core/ext/filters/load_reporting/server_load_reporting_filter.cc +9 -11
  63. data/src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc +2 -1
  64. data/src/core/ext/filters/max_age/max_age_filter.cc +14 -14
  65. data/src/core/ext/filters/message_size/message_size_filter.cc +20 -18
  66. data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +4 -4
  67. data/src/core/ext/filters/workarounds/workaround_utils.cc +4 -4
  68. data/src/core/ext/transport/chttp2/alpn/alpn.cc +2 -1
  69. data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +10 -10
  70. data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +4 -4
  71. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +11 -12
  72. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +16 -13
  73. data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +36 -9
  74. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +3 -0
  75. data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +17 -14
  76. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +139 -145
  77. data/src/core/ext/transport/chttp2/transport/flow_control.cc +16 -14
  78. data/src/core/ext/transport/chttp2/transport/flow_control.h +8 -7
  79. data/src/core/ext/transport/chttp2/transport/frame_data.cc +35 -33
  80. data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +27 -25
  81. data/src/core/ext/transport/chttp2/transport/frame_ping.cc +12 -12
  82. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +16 -15
  83. data/src/core/ext/transport/chttp2/transport/frame_settings.cc +19 -19
  84. data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +11 -11
  85. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +23 -22
  86. data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +35 -35
  87. data/src/core/ext/transport/chttp2/transport/hpack_table.cc +10 -7
  88. data/src/core/ext/transport/chttp2/transport/http2_settings.cc +2 -2
  89. data/src/core/ext/transport/chttp2/transport/incoming_metadata.cc +2 -2
  90. data/src/core/ext/transport/chttp2/transport/internal.h +1 -1
  91. data/src/core/ext/transport/chttp2/transport/parsing.cc +35 -39
  92. data/src/core/ext/transport/chttp2/transport/stream_map.cc +8 -7
  93. data/src/core/ext/transport/chttp2/transport/varint.cc +5 -5
  94. data/src/core/ext/transport/chttp2/transport/writing.cc +18 -18
  95. data/src/core/ext/transport/inproc/inproc_transport.cc +43 -23
  96. data/src/core/lib/{gpr → avl}/avl.cc +61 -57
  97. data/{include/grpc/support → src/core/lib/avl}/avl.h +25 -35
  98. data/src/core/lib/backoff/backoff.cc +6 -5
  99. data/src/core/lib/channel/channel_args.cc +23 -109
  100. data/src/core/lib/channel/channel_args.h +5 -31
  101. data/src/core/lib/channel/channel_stack.cc +11 -8
  102. data/src/core/lib/channel/channel_stack_builder.cc +10 -7
  103. data/src/core/lib/channel/connected_channel.cc +18 -17
  104. data/src/core/lib/channel/handshaker.cc +8 -8
  105. data/src/core/lib/channel/handshaker_registry.cc +3 -2
  106. data/src/core/lib/compression/algorithm_metadata.h +13 -6
  107. data/src/core/lib/compression/compression.cc +72 -183
  108. data/src/core/lib/compression/compression_internal.cc +274 -0
  109. data/src/core/lib/compression/compression_internal.h +86 -0
  110. data/src/core/lib/compression/message_compress.cc +15 -15
  111. data/src/core/lib/compression/message_compress.h +4 -3
  112. data/src/core/lib/compression/stream_compression_gzip.cc +8 -8
  113. data/src/core/lib/compression/stream_compression_identity.cc +1 -1
  114. data/src/core/lib/debug/stats.cc +10 -8
  115. data/src/core/lib/debug/stats_data.cc +2 -1
  116. data/src/core/lib/debug/trace.cc +3 -3
  117. data/src/core/lib/gpr/alloc.cc +7 -11
  118. data/src/core/lib/gpr/arena.cc +34 -12
  119. data/src/core/lib/gpr/atm.cc +2 -1
  120. data/src/core/lib/gpr/cpu_linux.cc +3 -3
  121. data/src/core/lib/gpr/cpu_posix.cc +2 -1
  122. data/src/core/lib/gpr/env.h +1 -1
  123. data/src/core/lib/gpr/env_linux.cc +1 -1
  124. data/src/core/lib/gpr/env_windows.cc +4 -4
  125. data/src/core/lib/gpr/fork.cc +16 -2
  126. data/src/core/lib/gpr/host_port.cc +5 -4
  127. data/{include/grpc/support → src/core/lib/gpr}/host_port.h +5 -13
  128. data/src/core/lib/gpr/log.cc +5 -4
  129. data/src/core/lib/gpr/log_linux.cc +1 -1
  130. data/src/core/lib/gpr/mpscq.cc +1 -0
  131. data/src/core/lib/gpr/murmur_hash.cc +4 -4
  132. data/src/core/lib/gpr/string.cc +19 -16
  133. data/src/core/lib/gpr/string_posix.cc +3 -3
  134. data/src/core/lib/gpr/sync_posix.cc +5 -9
  135. data/src/core/lib/gpr/thd.cc +3 -3
  136. data/{include/grpc/support → src/core/lib/gpr}/thd.h +20 -28
  137. data/src/core/lib/gpr/thd_posix.cc +6 -4
  138. data/src/core/lib/gpr/thd_windows.cc +3 -1
  139. data/src/core/lib/gpr/time.cc +6 -4
  140. data/src/core/lib/gpr/time_posix.cc +2 -2
  141. data/{include/grpc/support → src/core/lib/gpr}/tls.h +6 -6
  142. data/{include/grpc/support → src/core/lib/gpr}/tls_gcc.h +3 -3
  143. data/{include/grpc/support → src/core/lib/gpr}/tls_msvc.h +3 -3
  144. data/src/core/lib/gpr/tls_pthread.cc +1 -1
  145. data/{include/grpc/support → src/core/lib/gpr}/tls_pthread.h +3 -3
  146. data/{include/grpc/support → src/core/lib/gpr}/useful.h +3 -3
  147. data/src/core/lib/{gpr++ → gprpp}/abstract.h +3 -3
  148. data/src/core/lib/{gpr++ → gprpp}/atomic.h +5 -5
  149. data/src/core/lib/{gpr++ → gprpp}/atomic_with_atm.h +3 -3
  150. data/src/core/lib/{gpr++ → gprpp}/atomic_with_std.h +3 -3
  151. data/src/core/lib/{gpr++ → gprpp}/debug_location.h +3 -3
  152. data/src/core/lib/{gpr++ → gprpp}/inlined_vector.h +44 -22
  153. data/src/core/lib/{gpr++ → gprpp}/manual_constructor.h +2 -2
  154. data/src/core/lib/{gpr++ → gprpp}/memory.h +14 -5
  155. data/src/core/lib/{gpr++ → gprpp}/orphanable.h +39 -14
  156. data/src/core/lib/{gpr++ → gprpp}/ref_counted.h +42 -10
  157. data/src/core/lib/{gpr++ → gprpp}/ref_counted_ptr.h +18 -8
  158. data/src/core/lib/http/format_request.cc +3 -3
  159. data/src/core/lib/http/httpcli.cc +6 -7
  160. data/src/core/lib/http/httpcli_security_connector.cc +10 -10
  161. data/src/core/lib/http/parser.cc +16 -12
  162. data/src/core/lib/iomgr/call_combiner.cc +12 -13
  163. data/src/core/lib/iomgr/closure.h +4 -6
  164. data/src/core/lib/iomgr/combiner.cc +10 -21
  165. data/src/core/lib/iomgr/error.cc +50 -55
  166. data/src/core/lib/iomgr/ev_epoll1_linux.cc +41 -52
  167. data/src/core/lib/iomgr/ev_epollex_linux.cc +80 -28
  168. data/src/core/lib/iomgr/ev_epollsig_linux.cc +23 -30
  169. data/src/core/lib/iomgr/ev_poll_posix.cc +52 -46
  170. data/src/core/lib/iomgr/ev_posix.cc +47 -6
  171. data/src/core/lib/iomgr/exec_ctx.cc +10 -10
  172. data/src/core/lib/iomgr/exec_ctx.h +1 -1
  173. data/src/core/lib/iomgr/executor.cc +16 -13
  174. data/src/core/lib/iomgr/fork_posix.cc +1 -3
  175. data/src/core/lib/iomgr/gethostname_host_name_max.cc +1 -1
  176. data/src/core/lib/iomgr/iocp_windows.cc +1 -2
  177. data/src/core/lib/iomgr/iomgr.cc +2 -2
  178. data/src/core/lib/iomgr/iomgr_uv.cc +2 -0
  179. data/src/core/lib/iomgr/iomgr_uv.h +1 -1
  180. data/src/core/lib/iomgr/is_epollexclusive_available.cc +5 -4
  181. data/src/core/lib/iomgr/load_file.cc +3 -3
  182. data/src/core/lib/iomgr/pollset_windows.cc +1 -1
  183. data/src/core/lib/iomgr/resolve_address_posix.cc +10 -9
  184. data/src/core/lib/iomgr/resolve_address_uv.cc +2 -2
  185. data/src/core/lib/iomgr/resolve_address_windows.cc +3 -2
  186. data/src/core/lib/iomgr/resource_quota.cc +36 -34
  187. data/src/core/lib/iomgr/sockaddr_utils.cc +39 -23
  188. data/src/core/lib/iomgr/socket_factory_posix.cc +5 -5
  189. data/src/core/lib/iomgr/socket_mutator.cc +7 -7
  190. data/src/core/lib/iomgr/socket_utils_common_posix.cc +7 -4
  191. data/src/core/lib/iomgr/socket_utils_linux.cc +3 -2
  192. data/src/core/lib/iomgr/tcp_client_posix.cc +7 -6
  193. data/src/core/lib/iomgr/tcp_client_windows.cc +0 -1
  194. data/src/core/lib/iomgr/tcp_posix.cc +47 -55
  195. data/src/core/lib/iomgr/tcp_server_posix.cc +12 -10
  196. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +7 -5
  197. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +4 -3
  198. data/src/core/lib/iomgr/tcp_windows.cc +1 -1
  199. data/src/core/lib/iomgr/timer_generic.cc +16 -14
  200. data/src/core/lib/iomgr/timer_heap.cc +8 -7
  201. data/src/core/lib/iomgr/timer_manager.cc +4 -3
  202. data/src/core/lib/iomgr/udp_server.cc +24 -16
  203. data/src/core/lib/iomgr/unix_sockets_posix.cc +15 -10
  204. data/src/core/lib/iomgr/wakeup_fd_cv.cc +6 -5
  205. data/src/core/lib/iomgr/wakeup_fd_eventfd.cc +1 -2
  206. data/src/core/lib/json/json.cc +1 -1
  207. data/src/core/lib/json/json_reader.cc +8 -6
  208. data/src/core/lib/json/json_string.cc +19 -18
  209. data/src/core/lib/json/json_writer.cc +10 -8
  210. data/src/core/lib/profiling/basic_timers.cc +1 -1
  211. data/src/core/lib/profiling/timers.h +3 -20
  212. data/src/core/lib/security/context/security_context.cc +16 -14
  213. data/src/core/lib/security/credentials/composite/composite_credentials.cc +17 -14
  214. data/src/core/lib/security/credentials/credentials.cc +9 -8
  215. data/src/core/lib/security/credentials/credentials.h +1 -1
  216. data/src/core/lib/security/credentials/credentials_metadata.cc +2 -2
  217. data/src/core/lib/security/credentials/fake/fake_credentials.cc +12 -13
  218. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +7 -4
  219. data/src/core/lib/security/credentials/iam/iam_credentials.cc +5 -3
  220. data/src/core/lib/security/credentials/jwt/json_token.cc +4 -3
  221. data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +7 -7
  222. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +21 -18
  223. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +23 -18
  224. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +11 -7
  225. data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +22 -21
  226. data/src/core/lib/security/{transport → security_connector}/security_connector.cc +46 -43
  227. data/src/core/lib/security/{transport → security_connector}/security_connector.h +3 -3
  228. data/src/core/lib/security/transport/client_auth_filter.cc +32 -34
  229. data/src/core/lib/security/transport/lb_targets_info.cc +7 -5
  230. data/src/core/lib/security/transport/secure_endpoint.cc +21 -21
  231. data/src/core/lib/security/transport/security_handshaker.cc +19 -18
  232. data/src/core/lib/security/transport/security_handshaker.h +1 -1
  233. data/src/core/lib/security/transport/server_auth_filter.cc +21 -21
  234. data/src/core/lib/slice/b64.cc +19 -16
  235. data/src/core/lib/slice/percent_encoding.cc +5 -5
  236. data/src/core/lib/slice/slice.cc +35 -33
  237. data/src/core/lib/slice/slice_buffer.cc +16 -14
  238. data/src/core/lib/slice/slice_hash_table.cc +3 -2
  239. data/src/core/lib/slice/slice_intern.cc +21 -25
  240. data/src/core/lib/slice/slice_string_helpers.cc +45 -9
  241. data/src/core/lib/slice/slice_string_helpers.h +6 -0
  242. data/src/core/lib/surface/byte_buffer.cc +2 -2
  243. data/src/core/lib/surface/byte_buffer_reader.cc +6 -3
  244. data/src/core/lib/surface/call.cc +171 -260
  245. data/src/core/lib/surface/call_test_only.h +1 -13
  246. data/src/core/lib/surface/channel.cc +20 -43
  247. data/src/core/lib/surface/channel_init.cc +7 -7
  248. data/src/core/lib/surface/channel_ping.cc +2 -2
  249. data/src/core/lib/surface/completion_queue.cc +69 -75
  250. data/src/core/lib/surface/init.cc +4 -5
  251. data/src/core/lib/surface/init_secure.cc +1 -1
  252. data/src/core/lib/surface/lame_client.cc +1 -1
  253. data/src/core/lib/surface/server.cc +64 -59
  254. data/src/core/lib/surface/version.cc +2 -2
  255. data/src/core/lib/transport/bdp_estimator.cc +6 -5
  256. data/src/core/lib/transport/byte_stream.cc +23 -14
  257. data/src/core/lib/transport/byte_stream.h +1 -1
  258. data/src/core/lib/transport/connectivity_state.cc +9 -13
  259. data/src/core/lib/transport/error_utils.cc +10 -7
  260. data/src/core/lib/transport/metadata.cc +27 -26
  261. data/src/core/lib/transport/metadata.h +1 -1
  262. data/src/core/lib/transport/pid_controller.cc +2 -1
  263. data/src/core/lib/transport/service_config.cc +5 -5
  264. data/src/core/lib/transport/static_metadata.cc +225 -222
  265. data/src/core/lib/transport/static_metadata.h +77 -76
  266. data/src/core/lib/transport/timeout_encoding.cc +3 -2
  267. data/src/core/lib/transport/transport.cc +6 -5
  268. data/src/core/lib/transport/transport_op_string.cc +0 -1
  269. data/src/core/plugin_registry/grpc_plugin_registry.cc +4 -4
  270. data/src/core/tsi/alts_transport_security.cc +61 -0
  271. data/src/core/tsi/{gts_transport_security.h → alts_transport_security.h} +16 -8
  272. data/src/core/tsi/fake_transport_security.cc +59 -43
  273. data/src/core/tsi/ssl_transport_security.cc +122 -107
  274. data/src/core/tsi/transport_security.cc +3 -3
  275. data/src/core/tsi/transport_security_adapter.cc +16 -10
  276. data/src/ruby/bin/apis/pubsub_demo.rb +1 -1
  277. data/src/ruby/ext/grpc/rb_channel.c +3 -4
  278. data/src/ruby/ext/grpc/rb_compression_options.c +13 -3
  279. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -76
  280. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +8 -120
  281. data/src/ruby/ext/grpc/rb_server.c +52 -28
  282. data/src/ruby/lib/grpc/generic/rpc_server.rb +7 -4
  283. data/src/ruby/lib/grpc/version.rb +1 -1
  284. data/src/ruby/pb/test/client.rb +1 -1
  285. data/src/ruby/pb/test/server.rb +1 -1
  286. data/src/ruby/spec/client_server_spec.rb +4 -2
  287. data/src/ruby/spec/generic/active_call_spec.rb +2 -1
  288. data/src/ruby/spec/generic/client_stub_spec.rb +32 -8
  289. data/src/ruby/spec/server_spec.rb +26 -7
  290. data/third_party/boringssl/crypto/asn1/a_bitstr.c +7 -2
  291. data/third_party/boringssl/crypto/asn1/a_d2i_fp.c +15 -0
  292. data/third_party/boringssl/crypto/asn1/a_gentm.c +1 -1
  293. data/third_party/boringssl/crypto/asn1/a_print.c +0 -28
  294. data/third_party/boringssl/crypto/asn1/a_strnid.c +3 -0
  295. data/third_party/boringssl/crypto/asn1/a_time.c +17 -9
  296. data/third_party/boringssl/crypto/asn1/a_utctm.c +1 -1
  297. data/third_party/boringssl/crypto/asn1/asn1_lib.c +5 -49
  298. data/third_party/boringssl/crypto/asn1/asn1_locl.h +1 -1
  299. data/third_party/boringssl/crypto/asn1/tasn_dec.c +9 -9
  300. data/third_party/boringssl/crypto/asn1/tasn_enc.c +0 -6
  301. data/third_party/boringssl/crypto/asn1/time_support.c +5 -5
  302. data/third_party/boringssl/crypto/base64/base64.c +65 -43
  303. data/third_party/boringssl/crypto/bio/bio.c +134 -110
  304. data/third_party/boringssl/crypto/bio/bio_mem.c +9 -9
  305. data/third_party/boringssl/crypto/bio/connect.c +17 -17
  306. data/third_party/boringssl/crypto/bio/fd.c +2 -1
  307. data/third_party/boringssl/crypto/bio/file.c +14 -14
  308. data/third_party/boringssl/crypto/bio/hexdump.c +15 -16
  309. data/third_party/boringssl/crypto/bio/internal.h +14 -14
  310. data/third_party/boringssl/crypto/bio/pair.c +45 -45
  311. data/third_party/boringssl/crypto/bio/printf.c +6 -10
  312. data/third_party/boringssl/crypto/{bn → bn_extra}/bn_asn1.c +9 -9
  313. data/third_party/boringssl/crypto/{bn → bn_extra}/convert.c +18 -223
  314. data/third_party/boringssl/crypto/buf/buf.c +20 -44
  315. data/third_party/boringssl/crypto/bytestring/ber.c +35 -35
  316. data/third_party/boringssl/crypto/bytestring/cbb.c +24 -24
  317. data/third_party/boringssl/crypto/bytestring/cbs.c +33 -37
  318. data/third_party/boringssl/crypto/bytestring/internal.h +38 -38
  319. data/third_party/boringssl/crypto/chacha/chacha.c +7 -7
  320. data/third_party/boringssl/crypto/{asn1/t_bitst.c → cipher_extra/cipher_extra.c} +49 -38
  321. data/third_party/boringssl/crypto/{cipher → cipher_extra}/derive_key.c +0 -2
  322. data/third_party/boringssl/crypto/cipher_extra/e_aesctrhmac.c +281 -0
  323. data/third_party/boringssl/crypto/cipher_extra/e_aesgcmsiv.c +867 -0
  324. data/third_party/boringssl/crypto/cipher_extra/e_chacha20poly1305.c +326 -0
  325. data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_null.c +0 -1
  326. data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_rc2.c +22 -10
  327. data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_rc4.c +0 -0
  328. data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_ssl3.c +120 -64
  329. data/third_party/boringssl/crypto/{cipher → cipher_extra}/e_tls.c +220 -141
  330. data/third_party/boringssl/crypto/{asn1/x_bignum.c → cipher_extra/internal.h} +61 -86
  331. data/third_party/boringssl/crypto/cipher_extra/tls_cbc.c +482 -0
  332. data/third_party/boringssl/crypto/cmac/cmac.c +20 -20
  333. data/third_party/boringssl/crypto/conf/conf.c +32 -20
  334. data/third_party/boringssl/crypto/conf/internal.h +3 -3
  335. data/third_party/boringssl/crypto/cpu-aarch64-linux.c +5 -5
  336. data/third_party/boringssl/crypto/cpu-arm-linux.c +44 -41
  337. data/third_party/boringssl/crypto/cpu-intel.c +68 -43
  338. data/third_party/boringssl/crypto/cpu-ppc64le.c +5 -7
  339. data/third_party/boringssl/crypto/crypto.c +54 -32
  340. data/third_party/boringssl/crypto/curve25519/curve25519.c +269 -269
  341. data/third_party/boringssl/crypto/curve25519/internal.h +28 -8
  342. data/third_party/boringssl/crypto/curve25519/spake25519.c +180 -106
  343. data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +9 -9
  344. data/third_party/boringssl/crypto/dh/check.c +33 -34
  345. data/third_party/boringssl/crypto/dh/dh.c +72 -36
  346. data/third_party/boringssl/crypto/dh/dh_asn1.c +1 -1
  347. data/third_party/boringssl/crypto/dh/params.c +1 -161
  348. data/third_party/boringssl/crypto/digest_extra/digest_extra.c +240 -0
  349. data/third_party/boringssl/crypto/dsa/dsa.c +127 -87
  350. data/third_party/boringssl/crypto/dsa/dsa_asn1.c +1 -1
  351. data/third_party/boringssl/crypto/{ec → ec_extra}/ec_asn1.c +83 -70
  352. data/third_party/boringssl/crypto/ecdh/ecdh.c +1 -1
  353. data/third_party/boringssl/crypto/{ecdsa → ecdsa_extra}/ecdsa_asn1.c +86 -31
  354. data/third_party/boringssl/crypto/engine/engine.c +6 -6
  355. data/third_party/boringssl/crypto/err/err.c +197 -106
  356. data/third_party/boringssl/crypto/err/internal.h +58 -0
  357. data/third_party/boringssl/crypto/evp/digestsign.c +86 -14
  358. data/third_party/boringssl/crypto/evp/evp.c +6 -11
  359. data/third_party/boringssl/crypto/evp/evp_asn1.c +17 -17
  360. data/third_party/boringssl/crypto/evp/evp_ctx.c +15 -11
  361. data/third_party/boringssl/crypto/evp/internal.h +66 -51
  362. data/third_party/boringssl/crypto/evp/p_dsa_asn1.c +11 -11
  363. data/third_party/boringssl/crypto/evp/p_ec.c +10 -8
  364. data/third_party/boringssl/crypto/evp/p_ec_asn1.c +11 -12
  365. data/third_party/boringssl/crypto/evp/p_ed25519.c +71 -0
  366. data/third_party/boringssl/crypto/evp/p_ed25519_asn1.c +190 -0
  367. data/third_party/boringssl/crypto/evp/p_rsa.c +50 -95
  368. data/third_party/boringssl/crypto/evp/p_rsa_asn1.c +28 -18
  369. data/third_party/boringssl/crypto/evp/pbkdf.c +49 -56
  370. data/third_party/boringssl/crypto/evp/print.c +5 -36
  371. data/third_party/boringssl/crypto/evp/scrypt.c +209 -0
  372. data/third_party/boringssl/crypto/ex_data.c +15 -45
  373. data/third_party/boringssl/crypto/fipsmodule/aes/internal.h +100 -0
  374. data/third_party/boringssl/crypto/fipsmodule/bcm.c +679 -0
  375. data/third_party/boringssl/crypto/{bn → fipsmodule/bn}/internal.h +40 -27
  376. data/third_party/boringssl/crypto/{bn → fipsmodule/bn}/rsaz_exp.h +0 -0
  377. data/third_party/boringssl/crypto/{cipher → fipsmodule/cipher}/internal.h +34 -67
  378. data/third_party/boringssl/crypto/fipsmodule/delocate.h +88 -0
  379. data/third_party/boringssl/crypto/{des → fipsmodule/des}/internal.h +18 -4
  380. data/third_party/boringssl/crypto/{digest → fipsmodule/digest}/internal.h +18 -18
  381. data/third_party/boringssl/crypto/{digest → fipsmodule/digest}/md32_common.h +58 -64
  382. data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/internal.h +58 -52
  383. data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/p256-x86_64-table.h +11 -11
  384. data/third_party/boringssl/crypto/{ec → fipsmodule/ec}/p256-x86_64.h +32 -32
  385. data/third_party/boringssl/crypto/{rand/internal.h → fipsmodule/is_fips.c} +10 -15
  386. data/third_party/boringssl/crypto/{modes → fipsmodule/modes}/internal.h +112 -119
  387. data/third_party/boringssl/crypto/fipsmodule/rand/internal.h +92 -0
  388. data/third_party/boringssl/crypto/{rsa → fipsmodule/rsa}/internal.h +36 -49
  389. data/third_party/boringssl/crypto/hkdf/hkdf.c +6 -6
  390. data/third_party/boringssl/crypto/internal.h +301 -233
  391. data/third_party/boringssl/crypto/lhash/lhash.c +26 -45
  392. data/third_party/boringssl/crypto/mem.c +76 -33
  393. data/third_party/boringssl/crypto/obj/obj.c +44 -28
  394. data/third_party/boringssl/crypto/obj/obj_dat.h +102 -34
  395. data/third_party/boringssl/crypto/obj/obj_xref.c +6 -6
  396. data/third_party/boringssl/crypto/pem/pem_info.c +3 -5
  397. data/third_party/boringssl/crypto/pem/pem_lib.c +1 -6
  398. data/third_party/boringssl/crypto/pem/pem_pk8.c +1 -0
  399. data/third_party/boringssl/crypto/pem/pem_pkey.c +1 -1
  400. data/third_party/boringssl/crypto/pem/pem_xaux.c +0 -2
  401. data/third_party/boringssl/crypto/pkcs7/internal.h +49 -0
  402. data/third_party/boringssl/crypto/pkcs7/pkcs7.c +166 -0
  403. data/third_party/boringssl/crypto/{x509/pkcs7.c → pkcs7/pkcs7_x509.c} +27 -147
  404. data/third_party/boringssl/crypto/pkcs8/internal.h +34 -16
  405. data/third_party/boringssl/crypto/pkcs8/p5_pbev2.c +120 -39
  406. data/third_party/boringssl/crypto/pkcs8/pkcs8.c +144 -857
  407. data/third_party/boringssl/crypto/pkcs8/pkcs8_x509.c +789 -0
  408. data/third_party/boringssl/crypto/poly1305/internal.h +4 -3
  409. data/third_party/boringssl/crypto/poly1305/poly1305.c +14 -14
  410. data/third_party/boringssl/crypto/poly1305/poly1305_arm.c +11 -11
  411. data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +41 -41
  412. data/third_party/boringssl/crypto/pool/internal.h +2 -2
  413. data/third_party/boringssl/crypto/pool/pool.c +15 -15
  414. data/third_party/boringssl/crypto/{rand → rand_extra}/deterministic.c +7 -7
  415. data/third_party/boringssl/crypto/rand_extra/forkunsafe.c +46 -0
  416. data/third_party/boringssl/crypto/{rand → rand_extra}/fuchsia.c +7 -7
  417. data/third_party/boringssl/crypto/rand_extra/rand_extra.c +70 -0
  418. data/third_party/boringssl/crypto/{rand → rand_extra}/windows.c +5 -5
  419. data/third_party/boringssl/crypto/refcount_c11.c +2 -2
  420. data/third_party/boringssl/crypto/refcount_lock.c +1 -1
  421. data/third_party/boringssl/crypto/{rsa → rsa_extra}/rsa_asn1.c +12 -120
  422. data/third_party/boringssl/crypto/stack/stack.c +13 -13
  423. data/third_party/boringssl/crypto/thread_none.c +1 -1
  424. data/third_party/boringssl/crypto/thread_pthread.c +1 -1
  425. data/third_party/boringssl/crypto/thread_win.c +40 -40
  426. data/third_party/boringssl/crypto/x509/a_sign.c +5 -12
  427. data/third_party/boringssl/crypto/x509/a_verify.c +6 -18
  428. data/third_party/boringssl/crypto/x509/algorithm.c +22 -6
  429. data/third_party/boringssl/crypto/x509/asn1_gen.c +30 -7
  430. data/third_party/boringssl/crypto/x509/by_dir.c +2 -2
  431. data/third_party/boringssl/crypto/x509/by_file.c +2 -2
  432. data/third_party/boringssl/crypto/x509/rsa_pss.c +5 -5
  433. data/third_party/boringssl/crypto/x509/t_x509.c +2 -1
  434. data/third_party/boringssl/crypto/x509/x509_def.c +5 -0
  435. data/third_party/boringssl/crypto/x509/x509_lu.c +35 -4
  436. data/third_party/boringssl/crypto/x509/x509_set.c +10 -0
  437. data/third_party/boringssl/crypto/x509/x509_vfy.c +20 -17
  438. data/third_party/boringssl/crypto/x509/x_name.c +13 -16
  439. data/third_party/boringssl/crypto/x509/x_x509.c +3 -3
  440. data/third_party/boringssl/crypto/x509/x_x509a.c +0 -7
  441. data/third_party/boringssl/crypto/x509v3/ext_dat.h +8 -0
  442. data/third_party/boringssl/crypto/x509v3/pcy_int.h +2 -2
  443. data/third_party/boringssl/crypto/x509v3/pcy_lib.c +0 -9
  444. data/third_party/boringssl/crypto/x509v3/pcy_node.c +1 -1
  445. data/third_party/boringssl/crypto/x509v3/pcy_tree.c +25 -15
  446. data/third_party/boringssl/crypto/x509v3/v3_alt.c +21 -11
  447. data/third_party/boringssl/crypto/x509v3/v3_cpols.c +9 -3
  448. data/third_party/boringssl/crypto/x509v3/v3_info.c +22 -14
  449. data/third_party/boringssl/crypto/x509v3/v3_ncons.c +27 -11
  450. data/third_party/boringssl/crypto/x509v3/v3_pci.c +0 -33
  451. data/third_party/boringssl/crypto/x509v3/v3_utl.c +4 -4
  452. data/third_party/boringssl/include/openssl/aead.h +280 -191
  453. data/third_party/boringssl/include/openssl/aes.h +50 -50
  454. data/third_party/boringssl/include/openssl/arm_arch.h +12 -12
  455. data/third_party/boringssl/include/openssl/asn1.h +14 -77
  456. data/third_party/boringssl/include/openssl/asn1t.h +11 -15
  457. data/third_party/boringssl/include/openssl/base.h +78 -51
  458. data/third_party/boringssl/include/openssl/base64.h +68 -68
  459. data/third_party/boringssl/include/openssl/bio.h +472 -406
  460. data/third_party/boringssl/include/openssl/blowfish.h +1 -1
  461. data/third_party/boringssl/include/openssl/bn.h +454 -435
  462. data/third_party/boringssl/include/openssl/buf.h +27 -27
  463. data/third_party/boringssl/include/openssl/bytestring.h +282 -267
  464. data/third_party/boringssl/include/openssl/cast.h +2 -2
  465. data/third_party/boringssl/include/openssl/chacha.h +5 -5
  466. data/third_party/boringssl/include/openssl/cipher.h +209 -200
  467. data/third_party/boringssl/include/openssl/cmac.h +27 -27
  468. data/third_party/boringssl/include/openssl/conf.h +49 -46
  469. data/third_party/boringssl/include/openssl/cpu.h +60 -45
  470. data/third_party/boringssl/include/openssl/crypto.h +59 -35
  471. data/third_party/boringssl/include/openssl/curve25519.h +97 -92
  472. data/third_party/boringssl/include/openssl/des.h +25 -25
  473. data/third_party/boringssl/include/openssl/dh.h +98 -97
  474. data/third_party/boringssl/include/openssl/digest.h +143 -114
  475. data/third_party/boringssl/include/openssl/dsa.h +217 -202
  476. data/third_party/boringssl/include/openssl/ec.h +132 -131
  477. data/third_party/boringssl/include/openssl/ec_key.h +132 -128
  478. data/third_party/boringssl/include/openssl/ecdh.h +9 -9
  479. data/third_party/boringssl/include/openssl/ecdsa.h +66 -66
  480. data/third_party/boringssl/include/openssl/engine.h +38 -38
  481. data/third_party/boringssl/include/openssl/err.h +189 -219
  482. data/third_party/boringssl/include/openssl/evp.h +473 -397
  483. data/third_party/boringssl/include/openssl/ex_data.h +46 -56
  484. data/third_party/boringssl/include/openssl/hkdf.h +17 -17
  485. data/third_party/boringssl/include/openssl/hmac.h +55 -43
  486. data/third_party/boringssl/include/openssl/is_boringssl.h +16 -0
  487. data/third_party/boringssl/include/openssl/lhash.h +67 -67
  488. data/third_party/boringssl/include/openssl/lhash_macros.h +4 -4
  489. data/third_party/boringssl/include/openssl/md4.h +14 -14
  490. data/third_party/boringssl/include/openssl/md5.h +14 -14
  491. data/third_party/boringssl/include/openssl/mem.h +39 -33
  492. data/third_party/boringssl/include/openssl/nid.h +43 -0
  493. data/third_party/boringssl/include/openssl/obj.h +93 -87
  494. data/third_party/boringssl/include/openssl/opensslconf.h +8 -1
  495. data/third_party/boringssl/include/openssl/pem.h +2 -122
  496. data/third_party/boringssl/include/openssl/pkcs7.h +68 -2
  497. data/third_party/boringssl/include/openssl/pkcs8.h +81 -66
  498. data/third_party/boringssl/include/openssl/poly1305.h +11 -11
  499. data/third_party/boringssl/include/openssl/pool.h +29 -25
  500. data/third_party/boringssl/include/openssl/rand.h +48 -45
  501. data/third_party/boringssl/include/openssl/rc4.h +9 -9
  502. data/third_party/boringssl/include/openssl/ripemd.h +13 -13
  503. data/third_party/boringssl/include/openssl/rsa.h +371 -340
  504. data/third_party/boringssl/include/openssl/sha.h +71 -71
  505. data/third_party/boringssl/include/openssl/span.h +191 -0
  506. data/third_party/boringssl/include/openssl/ssl.h +2639 -2519
  507. data/third_party/boringssl/include/openssl/ssl3.h +39 -122
  508. data/third_party/boringssl/include/openssl/stack.h +355 -164
  509. data/third_party/boringssl/include/openssl/thread.h +43 -43
  510. data/third_party/boringssl/include/openssl/tls1.h +60 -63
  511. data/third_party/boringssl/include/openssl/type_check.h +10 -14
  512. data/third_party/boringssl/include/openssl/x509.h +41 -116
  513. data/third_party/boringssl/include/openssl/x509_vfy.h +17 -25
  514. data/third_party/boringssl/include/openssl/x509v3.h +27 -21
  515. data/third_party/boringssl/ssl/{bio_ssl.c → bio_ssl.cc} +9 -5
  516. data/third_party/boringssl/ssl/{custom_extensions.c → custom_extensions.cc} +19 -12
  517. data/third_party/boringssl/ssl/{d1_both.c → d1_both.cc} +224 -193
  518. data/third_party/boringssl/ssl/{d1_lib.c → d1_lib.cc} +86 -79
  519. data/third_party/boringssl/ssl/{d1_pkt.c → d1_pkt.cc} +55 -87
  520. data/third_party/boringssl/ssl/{d1_srtp.c → d1_srtp.cc} +12 -16
  521. data/third_party/boringssl/ssl/{dtls_method.c → dtls_method.cc} +33 -50
  522. data/third_party/boringssl/ssl/{dtls_record.c → dtls_record.cc} +76 -64
  523. data/third_party/boringssl/ssl/handshake.cc +547 -0
  524. data/third_party/boringssl/ssl/handshake_client.cc +1828 -0
  525. data/third_party/boringssl/ssl/handshake_server.cc +1672 -0
  526. data/third_party/boringssl/ssl/internal.h +2027 -1280
  527. data/third_party/boringssl/ssl/s3_both.cc +603 -0
  528. data/third_party/boringssl/ssl/{s3_lib.c → s3_lib.cc} +22 -10
  529. data/third_party/boringssl/ssl/{s3_pkt.c → s3_pkt.cc} +171 -75
  530. data/third_party/boringssl/ssl/ssl_aead_ctx.cc +415 -0
  531. data/third_party/boringssl/ssl/{ssl_asn1.c → ssl_asn1.cc} +257 -261
  532. data/third_party/boringssl/ssl/{ssl_buffer.c → ssl_buffer.cc} +81 -97
  533. data/third_party/boringssl/ssl/{ssl_cert.c → ssl_cert.cc} +304 -414
  534. data/third_party/boringssl/ssl/{ssl_cipher.c → ssl_cipher.cc} +427 -505
  535. data/third_party/boringssl/ssl/{ssl_file.c → ssl_file.cc} +24 -16
  536. data/third_party/boringssl/ssl/ssl_key_share.cc +245 -0
  537. data/third_party/boringssl/ssl/{ssl_lib.c → ssl_lib.cc} +665 -828
  538. data/third_party/boringssl/ssl/ssl_privkey.cc +518 -0
  539. data/third_party/boringssl/ssl/{ssl_session.c → ssl_session.cc} +596 -471
  540. data/third_party/boringssl/ssl/{ssl_stat.c → ssl_stat.cc} +5 -224
  541. data/third_party/boringssl/ssl/{ssl_transcript.c → ssl_transcript.cc} +117 -140
  542. data/third_party/boringssl/ssl/ssl_versions.cc +439 -0
  543. data/third_party/boringssl/ssl/{ssl_x509.c → ssl_x509.cc} +751 -267
  544. data/third_party/boringssl/ssl/{t1_enc.c → t1_enc.cc} +120 -161
  545. data/third_party/boringssl/ssl/{t1_lib.c → t1_lib.cc} +859 -966
  546. data/third_party/boringssl/ssl/{tls13_both.c → tls13_both.cc} +202 -284
  547. data/third_party/boringssl/ssl/tls13_client.cc +842 -0
  548. data/third_party/boringssl/ssl/{tls13_enc.c → tls13_enc.cc} +108 -90
  549. data/third_party/boringssl/ssl/tls13_server.cc +967 -0
  550. data/third_party/boringssl/ssl/{tls_method.c → tls_method.cc} +94 -73
  551. data/third_party/boringssl/ssl/tls_record.cc +675 -0
  552. metadata +117 -168
  553. data/include/grpc/support/cmdline.h +0 -88
  554. data/include/grpc/support/subprocess.h +0 -44
  555. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h +0 -29
  556. data/src/core/ext/filters/client_channel/resolver_factory.cc +0 -40
  557. data/src/core/lib/gpr/cmdline.cc +0 -330
  558. data/src/core/lib/gpr/subprocess_posix.cc +0 -99
  559. data/src/core/lib/gpr/subprocess_windows.cc +0 -126
  560. data/src/core/lib/surface/alarm.cc +0 -137
  561. data/src/core/lib/surface/alarm_internal.h +0 -40
  562. data/src/core/tsi/gts_transport_security.cc +0 -40
  563. data/third_party/boringssl/crypto/aes/aes.c +0 -1142
  564. data/third_party/boringssl/crypto/aes/internal.h +0 -87
  565. data/third_party/boringssl/crypto/aes/key_wrap.c +0 -138
  566. data/third_party/boringssl/crypto/aes/mode_wrappers.c +0 -112
  567. data/third_party/boringssl/crypto/asn1/x_long.c +0 -200
  568. data/third_party/boringssl/crypto/bn/add.c +0 -377
  569. data/third_party/boringssl/crypto/bn/asm/x86_64-gcc.c +0 -532
  570. data/third_party/boringssl/crypto/bn/bn.c +0 -365
  571. data/third_party/boringssl/crypto/bn/cmp.c +0 -239
  572. data/third_party/boringssl/crypto/bn/ctx.c +0 -313
  573. data/third_party/boringssl/crypto/bn/div.c +0 -728
  574. data/third_party/boringssl/crypto/bn/exponentiation.c +0 -1240
  575. data/third_party/boringssl/crypto/bn/gcd.c +0 -635
  576. data/third_party/boringssl/crypto/bn/generic.c +0 -707
  577. data/third_party/boringssl/crypto/bn/kronecker.c +0 -176
  578. data/third_party/boringssl/crypto/bn/montgomery.c +0 -409
  579. data/third_party/boringssl/crypto/bn/montgomery_inv.c +0 -207
  580. data/third_party/boringssl/crypto/bn/mul.c +0 -871
  581. data/third_party/boringssl/crypto/bn/prime.c +0 -861
  582. data/third_party/boringssl/crypto/bn/random.c +0 -343
  583. data/third_party/boringssl/crypto/bn/rsaz_exp.c +0 -254
  584. data/third_party/boringssl/crypto/bn/shift.c +0 -307
  585. data/third_party/boringssl/crypto/bn/sqrt.c +0 -506
  586. data/third_party/boringssl/crypto/cipher/aead.c +0 -156
  587. data/third_party/boringssl/crypto/cipher/cipher.c +0 -657
  588. data/third_party/boringssl/crypto/cipher/e_aes.c +0 -1771
  589. data/third_party/boringssl/crypto/cipher/e_chacha20poly1305.c +0 -276
  590. data/third_party/boringssl/crypto/cipher/e_des.c +0 -205
  591. data/third_party/boringssl/crypto/cipher/tls_cbc.c +0 -482
  592. data/third_party/boringssl/crypto/des/des.c +0 -771
  593. data/third_party/boringssl/crypto/digest/digest.c +0 -251
  594. data/third_party/boringssl/crypto/digest/digests.c +0 -358
  595. data/third_party/boringssl/crypto/ec/ec.c +0 -847
  596. data/third_party/boringssl/crypto/ec/ec_key.c +0 -479
  597. data/third_party/boringssl/crypto/ec/ec_montgomery.c +0 -303
  598. data/third_party/boringssl/crypto/ec/oct.c +0 -416
  599. data/third_party/boringssl/crypto/ec/p224-64.c +0 -1143
  600. data/third_party/boringssl/crypto/ec/p256-64.c +0 -1701
  601. data/third_party/boringssl/crypto/ec/p256-x86_64.c +0 -561
  602. data/third_party/boringssl/crypto/ec/simple.c +0 -1118
  603. data/third_party/boringssl/crypto/ec/util-64.c +0 -109
  604. data/third_party/boringssl/crypto/ec/wnaf.c +0 -458
  605. data/third_party/boringssl/crypto/ecdsa/ecdsa.c +0 -479
  606. data/third_party/boringssl/crypto/hmac/hmac.c +0 -215
  607. data/third_party/boringssl/crypto/md4/md4.c +0 -236
  608. data/third_party/boringssl/crypto/md5/md5.c +0 -285
  609. data/third_party/boringssl/crypto/modes/cbc.c +0 -212
  610. data/third_party/boringssl/crypto/modes/cfb.c +0 -230
  611. data/third_party/boringssl/crypto/modes/ctr.c +0 -219
  612. data/third_party/boringssl/crypto/modes/gcm.c +0 -1071
  613. data/third_party/boringssl/crypto/modes/ofb.c +0 -95
  614. data/third_party/boringssl/crypto/modes/polyval.c +0 -94
  615. data/third_party/boringssl/crypto/pkcs8/p8_pkey.c +0 -85
  616. data/third_party/boringssl/crypto/rand/rand.c +0 -244
  617. data/third_party/boringssl/crypto/rand/urandom.c +0 -335
  618. data/third_party/boringssl/crypto/rsa/blinding.c +0 -265
  619. data/third_party/boringssl/crypto/rsa/padding.c +0 -708
  620. data/third_party/boringssl/crypto/rsa/rsa.c +0 -830
  621. data/third_party/boringssl/crypto/rsa/rsa_impl.c +0 -1100
  622. data/third_party/boringssl/crypto/sha/sha1-altivec.c +0 -346
  623. data/third_party/boringssl/crypto/sha/sha1.c +0 -355
  624. data/third_party/boringssl/crypto/sha/sha256.c +0 -329
  625. data/third_party/boringssl/crypto/sha/sha512.c +0 -609
  626. data/third_party/boringssl/crypto/x509/x509type.c +0 -126
  627. data/third_party/boringssl/include/openssl/stack_macros.h +0 -3987
  628. data/third_party/boringssl/ssl/handshake_client.c +0 -1883
  629. data/third_party/boringssl/ssl/handshake_server.c +0 -1950
  630. data/third_party/boringssl/ssl/s3_both.c +0 -895
  631. data/third_party/boringssl/ssl/ssl_aead_ctx.c +0 -335
  632. data/third_party/boringssl/ssl/ssl_ecdh.c +0 -465
  633. data/third_party/boringssl/ssl/ssl_privkey.c +0 -683
  634. data/third_party/boringssl/ssl/ssl_privkey_cc.cc +0 -76
  635. data/third_party/boringssl/ssl/tls13_client.c +0 -712
  636. data/third_party/boringssl/ssl/tls13_server.c +0 -680
  637. data/third_party/boringssl/ssl/tls_record.c +0 -556
@@ -30,42 +30,30 @@
30
30
  extern "C" {
31
31
  #endif
32
32
 
33
+ /** Return if an algorithm is message compression algorithm. */
34
+ GRPCAPI int grpc_compression_algorithm_is_message(
35
+ grpc_compression_algorithm algorithm);
36
+
37
+ /** Return if an algorithm is stream compression algorithm. */
38
+ GRPCAPI int grpc_compression_algorithm_is_stream(
39
+ grpc_compression_algorithm algorithm);
40
+
33
41
  /** Parses the \a slice as a grpc_compression_algorithm instance and updating \a
34
42
  * algorithm. Returns 1 upon success, 0 otherwise. */
35
43
  GRPCAPI int grpc_compression_algorithm_parse(
36
44
  grpc_slice value, grpc_compression_algorithm* algorithm);
37
45
 
38
- /** Parses the \a slice as a grpc_stream_compression_algorithm instance and
39
- * updating \a algorithm. Returns 1 upon success, 0 otherwise. */
40
- int grpc_stream_compression_algorithm_parse(
41
- grpc_slice name, grpc_stream_compression_algorithm* algorithm);
42
-
43
46
  /** Updates \a name with the encoding name corresponding to a valid \a
44
47
  * algorithm. Note that \a name is statically allocated and must *not* be freed.
45
48
  * Returns 1 upon success, 0 otherwise. */
46
49
  GRPCAPI int grpc_compression_algorithm_name(
47
50
  grpc_compression_algorithm algorithm, const char** name);
48
51
 
49
- /** Updates \a name with the encoding name corresponding to a valid \a
50
- * algorithm. Note that \a name is statically allocated and must *not* be freed.
51
- * Returns 1 upon success, 0 otherwise. */
52
- GRPCAPI int grpc_stream_compression_algorithm_name(
53
- grpc_stream_compression_algorithm algorithm, const char** name);
54
-
55
52
  /** Returns the compression algorithm corresponding to \a level for the
56
- * compression algorithms encoded in the \a accepted_encodings bitset.
57
- *
58
- * It abort()s for unknown levels. */
53
+ * compression algorithms encoded in the \a accepted_encodings bitset.*/
59
54
  GRPCAPI grpc_compression_algorithm grpc_compression_algorithm_for_level(
60
55
  grpc_compression_level level, uint32_t accepted_encodings);
61
56
 
62
- /** Returns the stream compression algorithm corresponding to \a level for the
63
- * compression algorithms encoded in the \a accepted_stream_encodings bitset.
64
- * It abort()s for unknown levels. */
65
- GRPCAPI grpc_stream_compression_algorithm
66
- grpc_stream_compression_algorithm_for_level(grpc_stream_compression_level level,
67
- uint32_t accepted_stream_encodings);
68
-
69
57
  GRPCAPI void grpc_compression_options_init(grpc_compression_options* opts);
70
58
 
71
59
  /** Mark \a algorithm as enabled in \a opts. */
@@ -80,11 +68,6 @@ GRPCAPI void grpc_compression_options_disable_algorithm(
80
68
  GRPCAPI int grpc_compression_options_is_algorithm_enabled(
81
69
  const grpc_compression_options* opts, grpc_compression_algorithm algorithm);
82
70
 
83
- /** Returns true if \a algorithm is marked as enabled in \a opts. */
84
- GRPCAPI int grpc_compression_options_is_stream_compression_algorithm_enabled(
85
- const grpc_compression_options* opts,
86
- grpc_stream_compression_algorithm algorithm);
87
-
88
71
  #ifdef __cplusplus
89
72
  }
90
73
  #endif
@@ -160,25 +160,6 @@ GRPCAPI void grpc_completion_queue_thread_local_cache_init(
160
160
  GRPCAPI int grpc_completion_queue_thread_local_cache_flush(
161
161
  grpc_completion_queue* cq, void** tag, int* ok);
162
162
 
163
- /** Create a completion queue alarm instance */
164
- GRPCAPI grpc_alarm* grpc_alarm_create(void* reserved);
165
-
166
- /** Set a completion queue alarm instance associated to \a cq.
167
- *
168
- * Once the alarm expires (at \a deadline) or it's cancelled (see \a
169
- * grpc_alarm_cancel), an event with tag \a tag will be added to \a cq. If the
170
- * alarm expired, the event's success bit will be true, false otherwise (ie,
171
- * upon cancellation). */
172
- GRPCAPI void grpc_alarm_set(grpc_alarm* alarm, grpc_completion_queue* cq,
173
- gpr_timespec deadline, void* tag, void* reserved);
174
-
175
- /** Cancel a completion queue alarm. Calling this function over an alarm that
176
- * has already fired has no effect. */
177
- GRPCAPI void grpc_alarm_cancel(grpc_alarm* alarm, void* reserved);
178
-
179
- /** Destroy the given completion queue alarm, cancelling it in the process. */
180
- GRPCAPI void grpc_alarm_destroy(grpc_alarm* alarm, void* reserved);
181
-
182
163
  /** Check the connectivity state of a channel. */
183
164
  GRPCAPI grpc_connectivity_state grpc_channel_check_connectivity_state(
184
165
  grpc_channel* channel, int try_to_connect);
@@ -288,9 +269,11 @@ GRPCAPI void grpc_channel_get_info(grpc_channel* channel,
288
269
 
289
270
  /** Create a client channel to 'target'. Additional channel level configuration
290
271
  MAY be provided by grpc_channel_args, though the expectation is that most
291
- clients will want to simply pass NULL. See grpc_channel_args definition for
292
- more on this. The data in 'args' need only live through the invocation of
293
- this function. */
272
+ clients will want to simply pass NULL. The user data in 'args' need only
273
+ live through the invocation of this function. However, if any args of the
274
+ 'pointer' type are passed, then the referenced vtable must be maintained
275
+ by the caller until grpc_channel_destroy terminates. See grpc_channel_args
276
+ definition for more on this. */
294
277
  GRPCAPI grpc_channel* grpc_insecure_channel_create(
295
278
  const char* target, const grpc_channel_args* args, void* reserved);
296
279
 
@@ -383,8 +366,11 @@ GRPCAPI grpc_call_error grpc_server_request_registered_call(
383
366
 
384
367
  /** Create a server. Additional configuration for each incoming channel can
385
368
  be specified with args. If no additional configuration is needed, args can
386
- be NULL. See grpc_channel_args for more. The data in 'args' need only live
387
- through the invocation of this function. */
369
+ be NULL. The user data in 'args' need only live through the invocation of
370
+ this function. However, if any args of the 'pointer' type are passed, then
371
+ the referenced vtable must be maintained by the caller until
372
+ grpc_server_destroy terminates. See grpc_channel_args definition for more
373
+ on this. */
388
374
  GRPCAPI grpc_server* grpc_server_create(const grpc_channel_args* args,
389
375
  void* reserved);
390
376
 
@@ -300,7 +300,13 @@ GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
300
300
 
301
301
  /** --- Secure channel creation. --- */
302
302
 
303
- /** Creates a secure channel using the passed-in credentials. */
303
+ /** Creates a secure channel using the passed-in credentials. Additional
304
+ channel level configuration MAY be provided by grpc_channel_args, though
305
+ the expectation is that most clients will want to simply pass NULL. The
306
+ user data in 'args' need only live through the invocation of this function.
307
+ However, if any args of the 'pointer' type are passed, then the referenced
308
+ vtable must be maintained by the caller until grpc_channel_destroy
309
+ terminates. See grpc_channel_args definition for more on this. */
304
310
  GRPCAPI grpc_channel* grpc_secure_channel_create(
305
311
  grpc_channel_credentials* creds, const char* target,
306
312
  const grpc_channel_args* args, void* reserved);
@@ -29,11 +29,6 @@ extern "C" {
29
29
  * algorithm */
30
30
  #define GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
31
31
  "grpc-internal-encoding-request"
32
- /** To be used as initial metadata key for the request of a concrete stream
33
- * compression
34
- * algorithm */
35
- #define GRPC_STREAM_COMPRESSION_REQUEST_ALGORITHM_MD_KEY \
36
- "grpc-internal-stream-encoding-request"
37
32
 
38
33
  /** To be used in channel arguments.
39
34
  *
@@ -43,17 +38,9 @@ extern "C" {
43
38
  * Its value is an int from the \a grpc_compression_algorithm enum. */
44
39
  #define GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
45
40
  "grpc.default_compression_algorithm"
46
- /** Default stream compression algorithm for the channel.
47
- * Its value is an int from the \a grpc_stream_compression_algorithm enum. */
48
- #define GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM \
49
- "grpc.default_stream_compression_algorithm"
50
41
  /** Default compression level for the channel.
51
42
  * Its value is an int from the \a grpc_compression_level enum. */
52
43
  #define GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL "grpc.default_compression_level"
53
- /** Default stream compression level for the channel.
54
- * Its value is an int from the \a grpc_stream_compression_level enum. */
55
- #define GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_LEVEL \
56
- "grpc.default_stream_compression_level"
57
44
  /** Compression algorithms supported by the channel.
58
45
  * Its value is a bitset (an int). Bits correspond to algorithms in \a
59
46
  * grpc_compression_algorithm. For example, its LSB corresponds to
@@ -63,15 +50,6 @@ extern "C" {
63
50
  * be ignored). */
64
51
  #define GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
65
52
  "grpc.compression_enabled_algorithms_bitset"
66
- /** Stream compression algorithms supported by the channel.
67
- * Its value is a bitset (an int). Bits correspond to algorithms in \a
68
- * grpc_stream_compression_algorithm. For example, its LSB corresponds to
69
- * GRPC_STREAM_COMPRESS_NONE, the next bit to GRPC_STREAM_COMPRESS_DEFLATE, etc.
70
- * Unset bits disable support for the algorithm. By default all algorithms are
71
- * supported. It's not possible to disable GRPC_STREAM_COMPRESS_NONE (the
72
- * attempt will be ignored). */
73
- #define GRPC_STREAM_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET \
74
- "grpc.stream_compression_enabled_algorithms_bitset"
75
53
  /** \} */
76
54
 
77
55
  /** The various compression algorithms supported by gRPC */
@@ -79,17 +57,12 @@ typedef enum {
79
57
  GRPC_COMPRESS_NONE = 0,
80
58
  GRPC_COMPRESS_DEFLATE,
81
59
  GRPC_COMPRESS_GZIP,
60
+ /* EXPERIMENTAL: Stream compression is currently experimental. */
61
+ GRPC_COMPRESS_STREAM_GZIP,
82
62
  /* TODO(ctiller): snappy */
83
63
  GRPC_COMPRESS_ALGORITHMS_COUNT
84
64
  } grpc_compression_algorithm;
85
65
 
86
- /** Stream compresssion algorithms supported by gRPC */
87
- typedef enum {
88
- GRPC_STREAM_COMPRESS_NONE = 0,
89
- GRPC_STREAM_COMPRESS_GZIP,
90
- GRPC_STREAM_COMPRESS_ALGORITHMS_COUNT
91
- } grpc_stream_compression_algorithm;
92
-
93
66
  /** Compression levels allow a party with knowledge of its peer's accepted
94
67
  * encodings to request compression in an abstract way. The level-algorithm
95
68
  * mapping is performed internally and depends on the peer's supported
@@ -102,41 +75,22 @@ typedef enum {
102
75
  GRPC_COMPRESS_LEVEL_COUNT
103
76
  } grpc_compression_level;
104
77
 
105
- /** Compression levels for stream compression algorithms */
106
- typedef enum {
107
- GRPC_STREAM_COMPRESS_LEVEL_NONE = 0,
108
- GRPC_STREAM_COMPRESS_LEVEL_LOW,
109
- GRPC_STREAM_COMPRESS_LEVEL_MED,
110
- GRPC_STREAM_COMPRESS_LEVEL_HIGH,
111
- GRPC_STREAM_COMPRESS_LEVEL_COUNT
112
- } grpc_stream_compression_level;
113
-
114
78
  typedef struct grpc_compression_options {
115
79
  /** All algs are enabled by default. This option corresponds to the channel
116
80
  * argument key behind \a GRPC_COMPRESSION_CHANNEL_ENABLED_ALGORITHMS_BITSET
117
81
  */
118
82
  uint32_t enabled_algorithms_bitset;
119
- uint32_t enabled_stream_compression_algorithms_bitset;
120
83
 
121
- /** The default message-wise compression level. It'll be used in the absence
122
- * of * call specific settings. This option corresponds to the channel
84
+ /** The default compression level. It'll be used in the absence of call
85
+ * specific settings. This option corresponds to the channel
123
86
  * argument key behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_LEVEL. If present,
124
- * takes precedence over \a default_algorithm and \a
125
- * default_stream_compression_algorithm.
87
+ * takes precedence over \a default_algorithm.
126
88
  * TODO(dgq): currently only available for server channels. */
127
89
  struct grpc_compression_options_default_level {
128
90
  int is_set;
129
91
  grpc_compression_level level;
130
92
  } default_level;
131
93
 
132
- /** The default stream compression level. It'll be used in the absence of call
133
- * specefic settings. If present, takes precedence over \a default_level,
134
- * \a default_algorithm and \a default_stream_compression_algorithm. */
135
- struct grpc_stream_compression_options_default_level {
136
- int is_set;
137
- grpc_stream_compression_level level;
138
- } default_stream_compression_level;
139
-
140
94
  /** The default message compression algorithm. It'll be used in the absence of
141
95
  * call specific settings. This option corresponds to the channel argument key
142
96
  * behind \a GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM. */
@@ -144,17 +98,6 @@ typedef struct grpc_compression_options {
144
98
  int is_set;
145
99
  grpc_compression_algorithm algorithm;
146
100
  } default_algorithm;
147
-
148
- /** The default stream compression algorithm. It'll be used in the absence of
149
- * call specific settings. If present, takes precedence over \a
150
- * default_algorithm. This option corresponds to the channel
151
- * argument key behind \a GRPC_STREAM_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM.
152
- */
153
- struct grpc_stream_compression_options_default_algorithm {
154
- int is_set;
155
- grpc_stream_compression_algorithm algorithm;
156
- } default_stream_compression_algorithm;
157
-
158
101
  } grpc_compression_options;
159
102
 
160
103
  #ifdef __cplusplus
@@ -119,9 +119,14 @@ typedef struct {
119
119
  These configuration options are modelled as key-value pairs as defined
120
120
  by grpc_arg; keys are strings to allow easy backwards-compatible extension
121
121
  by arbitrary parties. All evaluation is performed at channel creation
122
- time (i.e. the values in this structure need only live through the
122
+ time (i.e. the keys and values in this structure need only live through the
123
123
  creation invocation).
124
124
 
125
+ However, if one of the args has grpc_arg_type==GRPC_ARG_POINTER, then the
126
+ grpc_arg_pointer_vtable must live until the channel args are done being
127
+ used by core (i.e. when the object for use with which they were passed
128
+ is destroyed).
129
+
125
130
  See the description of the \ref grpc_arg_keys "available args" for more
126
131
  details. */
127
132
  typedef struct {
@@ -239,6 +244,9 @@ typedef struct {
239
244
  /** The time between the first and second connection attempts, in ms */
240
245
  #define GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS \
241
246
  "grpc.initial_reconnect_backoff_ms"
247
+ /** Minimum amount of time between DNS resolutions, in ms */
248
+ #define GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS \
249
+ "grpc.dns_min_time_between_resolutions_ms"
242
250
  /** The timeout used on servers for finishing handshaking on an incoming
243
251
  connection. Defaults to 120 seconds. */
244
252
  #define GRPC_ARG_SERVER_HANDSHAKE_TIMEOUT_MS "grpc.server_handshake_timeout_ms"
@@ -293,7 +301,7 @@ typedef struct {
293
301
  #define GRPC_ARG_GRPCLB_CALL_TIMEOUT_MS "grpc.grpclb_call_timeout_ms"
294
302
  /* Timeout in milliseconds to wait for the serverlist from the grpclb load
295
303
  balancer before using fallback backend addresses from the resolver.
296
- If 0, fallback will never be used. */
304
+ If 0, fallback will never be used. Default value is 10000. */
297
305
  #define GRPC_ARG_GRPCLB_FALLBACK_TIMEOUT_MS "grpc.grpclb_fallback_timeout_ms"
298
306
  /** If non-zero, grpc server's cronet compression workaround will be enabled */
299
307
  #define GRPC_ARG_WORKAROUND_CRONET_COMPRESSION \
@@ -515,10 +523,6 @@ typedef struct grpc_op {
515
523
  uint8_t is_set;
516
524
  grpc_compression_level level;
517
525
  } maybe_compression_level;
518
- struct grpc_op_send_initial_metadata_maybe_stream_compression_level {
519
- uint8_t is_set;
520
- grpc_stream_compression_level level;
521
- } maybe_stream_compression_level;
522
526
  } send_initial_metadata;
523
527
  struct grpc_op_send_message {
524
528
  /** This op takes ownership of the slices in send_message. After
@@ -4,21 +4,15 @@ framework module grpc {
4
4
 
5
5
  header "support/alloc.h"
6
6
  header "support/atm.h"
7
- header "support/avl.h"
8
- header "support/cmdline.h"
9
7
  header "support/cpu.h"
10
- header "support/host_port.h"
11
8
  header "support/log.h"
12
9
  header "support/log_windows.h"
13
10
  header "support/port_platform.h"
14
11
  header "support/string_util.h"
15
- header "support/subprocess.h"
16
12
  header "support/sync.h"
17
13
  header "support/sync_generic.h"
18
- header "support/thd.h"
14
+ header "support/thd_id.h"
19
15
  header "support/time.h"
20
- header "support/tls.h"
21
- header "support/useful.h"
22
16
  header "impl/codegen/atm.h"
23
17
  header "impl/codegen/fork.h"
24
18
  header "impl/codegen/gpr_slice.h"
@@ -62,9 +56,6 @@ framework module grpc {
62
56
  textual header "support/sync_custom.h"
63
57
  textual header "support/sync_posix.h"
64
58
  textual header "support/sync_windows.h"
65
- textual header "support/tls_gcc.h"
66
- textual header "support/tls_msvc.h"
67
- textual header "support/tls_pthread.h"
68
59
  textual header "impl/codegen/atm_gcc_atomic.h"
69
60
  textual header "impl/codegen/atm_gcc_sync.h"
70
61
  textual header "impl/codegen/atm_windows.h"
@@ -46,8 +46,9 @@ GPRAPI void* gpr_zalloc(size_t size);
46
46
  GPRAPI void gpr_free(void* ptr);
47
47
  /** realloc, never returns NULL */
48
48
  GPRAPI void* gpr_realloc(void* p, size_t size);
49
- /** aligned malloc, never returns NULL, will align to 1 << alignment_log */
50
- GPRAPI void* gpr_malloc_aligned(size_t size, size_t alignment_log);
49
+ /** aligned malloc, never returns NULL, will align to alignment, which
50
+ * must be a power of 2. */
51
+ GPRAPI void* gpr_malloc_aligned(size_t size, size_t alignment);
51
52
  /** free memory allocated by gpr_malloc_aligned */
52
53
  GPRAPI void gpr_free_aligned(void* ptr);
53
54
 
@@ -19,12 +19,11 @@
19
19
  #ifndef GRPC_SUPPORT_LOG_H
20
20
  #define GRPC_SUPPORT_LOG_H
21
21
 
22
+ #include <grpc/impl/codegen/port_platform.h>
22
23
  #include <inttypes.h>
23
24
  #include <stdarg.h>
24
25
  #include <stdlib.h> /* for abort() */
25
26
 
26
- #include <grpc/impl/codegen/port_platform.h>
27
-
28
27
  #ifdef __cplusplus
29
28
  extern "C" {
30
29
  #endif
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  *
3
- * Copyright 2015 gRPC authors.
3
+ * Copyright 2018 gRPC authors.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -16,15 +16,29 @@
16
16
  *
17
17
  */
18
18
 
19
- #ifndef GRPC_CORE_LIB_GPR_THD_INTERNAL_H
20
- #define GRPC_CORE_LIB_GPR_THD_INTERNAL_H
19
+ #ifndef GRPC_SUPPORT_THD_ID_H
20
+ #define GRPC_SUPPORT_THD_ID_H
21
+ /** Thread ID interface for GPR.
21
22
 
22
- #include <grpc/support/time.h>
23
+ Used by some wrapped languages for logging purposes.
23
24
 
24
- /* Internal interfaces between modules within the gpr support library. */
25
- void gpr_thd_init();
25
+ Types
26
+ gpr_thd_id a unique opaque identifier for a thread.
27
+ */
28
+
29
+ #include <grpc/support/port_platform.h>
30
+
31
+ #ifdef __cplusplus
32
+ extern "C" {
33
+ #endif
34
+
35
+ typedef uintptr_t gpr_thd_id;
36
+
37
+ /** Returns the identifier of the current thread. */
38
+ GPRAPI gpr_thd_id gpr_thd_currentid(void);
26
39
 
27
- /* Wait for all outstanding threads to finish, up to deadline */
28
- int gpr_await_threads(gpr_timespec deadline);
40
+ #ifdef __cplusplus
41
+ }
42
+ #endif
29
43
 
30
- #endif /* GRPC_CORE_LIB_GPR_THD_INTERNAL_H */
44
+ #endif /* GRPC_SUPPORT_THD_ID_H */
@@ -62,158 +62,165 @@ const uint32_t kOpenSSLReasonValues[] = {
62
62
  0xc348899,
63
63
  0xc3508a5,
64
64
  0xc3588c2,
65
- 0xc3608d4,
66
- 0xc3688e2,
67
- 0xc3708f2,
68
- 0xc3788ff,
69
- 0xc38090f,
70
- 0xc38891a,
71
- 0xc390930,
72
- 0xc39893f,
73
- 0xc3a0953,
65
+ 0xc3608e2,
66
+ 0xc3688f0,
67
+ 0xc370900,
68
+ 0xc37890d,
69
+ 0xc38091d,
70
+ 0xc388928,
71
+ 0xc39093e,
72
+ 0xc39894d,
73
+ 0xc3a0961,
74
74
  0xc3a8845,
75
75
  0xc3b00ea,
76
+ 0xc3b88d4,
76
77
  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,
78
+ 0x10329513,
79
+ 0x1033151f,
80
+ 0x10339538,
81
+ 0x1034154b,
82
+ 0x10348eed,
83
+ 0x10350c5e,
84
+ 0x1035955e,
85
+ 0x10361573,
86
+ 0x10369586,
87
+ 0x103715a5,
88
+ 0x103795be,
89
+ 0x103815d3,
90
+ 0x103895f1,
91
+ 0x10391600,
92
+ 0x1039961c,
93
+ 0x103a1637,
94
+ 0x103a9646,
95
+ 0x103b1662,
96
+ 0x103b967d,
97
+ 0x103c1694,
97
98
  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,
99
+ 0x103d16a5,
100
+ 0x103d96b9,
101
+ 0x103e16d8,
102
+ 0x103e96e7,
103
+ 0x103f16fe,
104
+ 0x103f9711,
105
+ 0x10400c22,
106
+ 0x10409724,
107
+ 0x10411742,
108
+ 0x10419755,
109
+ 0x1042176f,
110
+ 0x1042977f,
111
+ 0x10431793,
112
+ 0x104397a9,
113
+ 0x104417c1,
114
+ 0x104497d6,
115
+ 0x104517ea,
116
+ 0x104597fc,
116
117
  0x104605fb,
117
- 0x1046893f,
118
- 0x104716a9,
119
- 0x104796c0,
120
- 0x104816d5,
121
- 0x104896e3,
122
- 0x14320bcd,
123
- 0x14328bdb,
124
- 0x14330bea,
125
- 0x14338bfc,
118
+ 0x1046894d,
119
+ 0x10471811,
120
+ 0x10479828,
121
+ 0x1048183d,
122
+ 0x1048984b,
123
+ 0x10490e4f,
124
+ 0x14320c05,
125
+ 0x14328c13,
126
+ 0x14330c22,
127
+ 0x14338c34,
126
128
  0x143400ac,
127
129
  0x143480ea,
128
130
  0x18320083,
129
- 0x18328ee1,
131
+ 0x18328f43,
130
132
  0x183300ac,
131
- 0x18338ef7,
132
- 0x18340f0b,
133
+ 0x18338f59,
134
+ 0x18340f6d,
133
135
  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,
136
+ 0x18350f82,
137
+ 0x18358f9a,
138
+ 0x18360faf,
139
+ 0x18368fc3,
140
+ 0x18370fe7,
141
+ 0x18378ffd,
142
+ 0x18381011,
143
+ 0x18389021,
144
+ 0x18390a73,
145
+ 0x18399031,
146
+ 0x183a1059,
147
+ 0x183a907f,
148
+ 0x183b0c6a,
149
+ 0x183b90b4,
150
+ 0x183c10c6,
151
+ 0x183c90d1,
152
+ 0x183d10e1,
153
+ 0x183d90f2,
154
+ 0x183e1103,
155
+ 0x183e9115,
156
+ 0x183f113e,
157
+ 0x183f9157,
158
+ 0x1840116f,
157
159
  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,
160
+ 0x184110a2,
161
+ 0x1841906d,
162
+ 0x1842108c,
163
+ 0x18429046,
164
+ 0x20321196,
165
+ 0x243211a2,
166
+ 0x24328993,
167
+ 0x243311b4,
168
+ 0x243391c1,
169
+ 0x243411ce,
170
+ 0x243491e0,
171
+ 0x243511ef,
172
+ 0x2435920c,
173
+ 0x24361219,
174
+ 0x24369227,
175
+ 0x24371235,
176
+ 0x24379243,
177
+ 0x2438124c,
178
+ 0x24389259,
179
+ 0x2439126c,
180
+ 0x28320c52,
181
+ 0x28328c6a,
182
+ 0x28330c22,
183
+ 0x28338c7d,
184
+ 0x28340c5e,
179
185
  0x283480ac,
180
186
  0x283500ea,
181
- 0x2c3229b1,
182
- 0x2c32a9bf,
183
- 0x2c3329d1,
184
- 0x2c33a9e3,
185
- 0x2c3429f7,
186
- 0x2c34aa09,
187
- 0x2c352a24,
188
- 0x2c35aa36,
189
- 0x2c362a49,
187
+ 0x2c322c30,
188
+ 0x2c329283,
189
+ 0x2c332c3e,
190
+ 0x2c33ac50,
191
+ 0x2c342c64,
192
+ 0x2c34ac76,
193
+ 0x2c352c91,
194
+ 0x2c35aca3,
195
+ 0x2c362cb6,
190
196
  0x2c36832d,
191
- 0x2c372a56,
192
- 0x2c37aa68,
193
- 0x2c382a7b,
194
- 0x2c38aa92,
195
- 0x2c392aa0,
196
- 0x2c39aab0,
197
- 0x2c3a2ac2,
198
- 0x2c3aaad6,
199
- 0x2c3b2ae7,
200
- 0x2c3bab06,
201
- 0x2c3c2b1a,
202
- 0x2c3cab30,
203
- 0x2c3d2b49,
204
- 0x2c3dab66,
205
- 0x2c3e2b77,
206
- 0x2c3eab85,
207
- 0x2c3f2b9d,
208
- 0x2c3fabb5,
209
- 0x2c402bc2,
210
- 0x2c4090e7,
211
- 0x2c412bd3,
212
- 0x2c41abe6,
213
- 0x2c4210c0,
214
- 0x2c42abf7,
197
+ 0x2c372cc3,
198
+ 0x2c37acd5,
199
+ 0x2c382cfa,
200
+ 0x2c38ad11,
201
+ 0x2c392d1f,
202
+ 0x2c39ad2f,
203
+ 0x2c3a2d41,
204
+ 0x2c3aad55,
205
+ 0x2c3b2d66,
206
+ 0x2c3bad85,
207
+ 0x2c3c1295,
208
+ 0x2c3c92ab,
209
+ 0x2c3d2d99,
210
+ 0x2c3d92c4,
211
+ 0x2c3e2db6,
212
+ 0x2c3eadc4,
213
+ 0x2c3f2ddc,
214
+ 0x2c3fadf4,
215
+ 0x2c402e01,
216
+ 0x2c409196,
217
+ 0x2c412e12,
218
+ 0x2c41ae25,
219
+ 0x2c42116f,
220
+ 0x2c42ae36,
215
221
  0x2c430720,
216
- 0x2c43aaf8,
222
+ 0x2c43ad77,
223
+ 0x2c442ce8,
217
224
  0x30320000,
218
225
  0x30328015,
219
226
  0x3033001f,
@@ -306,249 +313,260 @@ const uint32_t kOpenSSLReasonValues[] = {
306
313
  0x305e8700,
307
314
  0x305f0716,
308
315
  0x305f8720,
309
- 0x34320b47,
310
- 0x34328b5b,
311
- 0x34330b78,
312
- 0x34338b8b,
313
- 0x34340b9a,
314
- 0x34348bb7,
316
+ 0x34320b63,
317
+ 0x34328b77,
318
+ 0x34330b94,
319
+ 0x34338ba7,
320
+ 0x34340bb6,
321
+ 0x34348bef,
322
+ 0x34350bd3,
315
323
  0x3c320083,
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,
324
+ 0x3c328ca7,
325
+ 0x3c330cc0,
326
+ 0x3c338cdb,
327
+ 0x3c340cf8,
328
+ 0x3c348d22,
329
+ 0x3c350d3d,
330
+ 0x3c358d63,
331
+ 0x3c360d7c,
332
+ 0x3c368d94,
333
+ 0x3c370da5,
334
+ 0x3c378db3,
335
+ 0x3c380dc0,
336
+ 0x3c388dd4,
337
+ 0x3c390c6a,
338
+ 0x3c398de8,
339
+ 0x3c3a0dfc,
340
+ 0x3c3a890d,
341
+ 0x3c3b0e0c,
342
+ 0x3c3b8e27,
343
+ 0x3c3c0e39,
344
+ 0x3c3c8e6c,
345
+ 0x3c3d0e76,
346
+ 0x3c3d8e8a,
347
+ 0x3c3e0e98,
348
+ 0x3c3e8ebd,
349
+ 0x3c3f0c93,
350
+ 0x3c3f8ea6,
343
351
  0x3c4000ac,
344
352
  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,
353
+ 0x3c410d13,
354
+ 0x3c418d52,
355
+ 0x3c420e4f,
356
+ 0x403218a4,
357
+ 0x403298ba,
358
+ 0x403318e8,
359
+ 0x403398f2,
360
+ 0x40341909,
361
+ 0x40349927,
362
+ 0x40351937,
363
+ 0x40359949,
364
+ 0x40361956,
365
+ 0x40369962,
366
+ 0x40371977,
367
+ 0x40379989,
368
+ 0x40381994,
369
+ 0x403899a6,
370
+ 0x40390eed,
371
+ 0x403999b6,
372
+ 0x403a19c9,
373
+ 0x403a99ea,
374
+ 0x403b19fb,
375
+ 0x403b9a0b,
367
376
  0x403c0064,
368
377
  0x403c8083,
369
- 0x403d18c1,
370
- 0x403d98d7,
371
- 0x403e18e6,
372
- 0x403e98f9,
373
- 0x403f1913,
374
- 0x403f9921,
375
- 0x40401936,
376
- 0x4040994a,
377
- 0x40411967,
378
- 0x40419982,
379
- 0x4042199b,
380
- 0x404299ae,
381
- 0x404319c2,
382
- 0x404399da,
383
- 0x404419f1,
378
+ 0x403d1a8f,
379
+ 0x403d9aa5,
380
+ 0x403e1ab4,
381
+ 0x403e9aec,
382
+ 0x403f1b06,
383
+ 0x403f9b14,
384
+ 0x40401b29,
385
+ 0x40409b3d,
386
+ 0x40411b5a,
387
+ 0x40419b75,
388
+ 0x40421b8e,
389
+ 0x40429ba1,
390
+ 0x40431bb5,
391
+ 0x40439bcd,
392
+ 0x40441be4,
384
393
  0x404480ac,
385
- 0x40451a06,
386
- 0x40459a18,
387
- 0x40461a3c,
388
- 0x40469a5c,
389
- 0x40471a6a,
390
- 0x40479a91,
391
- 0x40481ace,
392
- 0x40489ae7,
393
- 0x40491afe,
394
- 0x40499b18,
395
- 0x404a1b2f,
396
- 0x404a9b4d,
397
- 0x404b1b65,
398
- 0x404b9b7c,
399
- 0x404c1b92,
400
- 0x404c9ba4,
401
- 0x404d1bc5,
402
- 0x404d9be7,
403
- 0x404e1bfb,
404
- 0x404e9c08,
405
- 0x404f1c35,
406
- 0x404f9c5e,
407
- 0x40501c99,
408
- 0x40509cad,
409
- 0x40511cc8,
410
- 0x40519cd8,
411
- 0x40521cef,
412
- 0x40529d13,
413
- 0x40531d2b,
414
- 0x40539d3e,
415
- 0x40541d53,
416
- 0x40549d76,
417
- 0x40551d84,
418
- 0x40559da1,
419
- 0x40561dae,
420
- 0x40569dc7,
421
- 0x40571ddf,
422
- 0x40579df2,
423
- 0x40581e07,
424
- 0x40589e2e,
425
- 0x40591e5d,
426
- 0x40599e8a,
427
- 0x405a1e9e,
428
- 0x405a9eae,
429
- 0x405b1ec6,
430
- 0x405b9ed7,
431
- 0x405c1eea,
432
- 0x405c9f0b,
433
- 0x405d1f18,
434
- 0x405d9f2f,
435
- 0x405e1f6d,
436
- 0x405e8a95,
437
- 0x405f1f8e,
438
- 0x405f9f9b,
439
- 0x40601fa9,
440
- 0x40609fcb,
441
- 0x4061200f,
442
- 0x4061a047,
443
- 0x4062205e,
444
- 0x4062a06f,
445
- 0x40632080,
446
- 0x4063a095,
447
- 0x406420ac,
448
- 0x4064a0d8,
449
- 0x406520f3,
450
- 0x4065a10a,
451
- 0x40662122,
452
- 0x4066a14c,
453
- 0x40672177,
454
- 0x4067a198,
455
- 0x406821ab,
456
- 0x4068a1cc,
457
- 0x406921fe,
458
- 0x4069a22c,
459
- 0x406a224d,
460
- 0x406aa26d,
461
- 0x406b23f5,
462
- 0x406ba418,
463
- 0x406c242e,
464
- 0x406ca690,
465
- 0x406d26bf,
466
- 0x406da6e7,
467
- 0x406e2715,
468
- 0x406ea749,
469
- 0x406f2768,
470
- 0x406fa77d,
471
- 0x40702790,
472
- 0x4070a7ad,
394
+ 0x40451bf9,
395
+ 0x40459c0b,
396
+ 0x40461c2f,
397
+ 0x40469c4f,
398
+ 0x40471c5d,
399
+ 0x40479c84,
400
+ 0x40481cc1,
401
+ 0x40489cda,
402
+ 0x40491cf1,
403
+ 0x40499d0b,
404
+ 0x404a1d22,
405
+ 0x404a9d40,
406
+ 0x404b1d58,
407
+ 0x404b9d6f,
408
+ 0x404c1d85,
409
+ 0x404c9d97,
410
+ 0x404d1db8,
411
+ 0x404d9dda,
412
+ 0x404e1dee,
413
+ 0x404e9dfb,
414
+ 0x404f1e28,
415
+ 0x404f9e51,
416
+ 0x40501e8c,
417
+ 0x40509ea0,
418
+ 0x40511ebb,
419
+ 0x40521ecb,
420
+ 0x40529eef,
421
+ 0x40531f07,
422
+ 0x40539f1a,
423
+ 0x40541f2f,
424
+ 0x40549f52,
425
+ 0x40551f60,
426
+ 0x40559f7d,
427
+ 0x40561f8a,
428
+ 0x40569fa3,
429
+ 0x40571fbb,
430
+ 0x40579fce,
431
+ 0x40581fe3,
432
+ 0x4058a00a,
433
+ 0x40592039,
434
+ 0x4059a066,
435
+ 0x405a207a,
436
+ 0x405aa08a,
437
+ 0x405b20a2,
438
+ 0x405ba0b3,
439
+ 0x405c20c6,
440
+ 0x405ca105,
441
+ 0x405d2112,
442
+ 0x405da129,
443
+ 0x405e2167,
444
+ 0x405e8ab1,
445
+ 0x405f2188,
446
+ 0x405fa195,
447
+ 0x406021a3,
448
+ 0x4060a1c5,
449
+ 0x40612209,
450
+ 0x4061a241,
451
+ 0x40622258,
452
+ 0x4062a269,
453
+ 0x4063227a,
454
+ 0x4063a28f,
455
+ 0x406422a6,
456
+ 0x4064a2d2,
457
+ 0x406522ed,
458
+ 0x4065a304,
459
+ 0x4066231c,
460
+ 0x4066a346,
461
+ 0x40672371,
462
+ 0x4067a392,
463
+ 0x406823b9,
464
+ 0x4068a3da,
465
+ 0x4069240c,
466
+ 0x4069a43a,
467
+ 0x406a245b,
468
+ 0x406aa47b,
469
+ 0x406b2603,
470
+ 0x406ba626,
471
+ 0x406c263c,
472
+ 0x406ca8b7,
473
+ 0x406d28e6,
474
+ 0x406da90e,
475
+ 0x406e293c,
476
+ 0x406ea989,
477
+ 0x406f29a8,
478
+ 0x406fa9e0,
479
+ 0x407029f3,
480
+ 0x4070aa10,
473
481
  0x40710800,
474
- 0x4071a7bf,
475
- 0x407227d2,
476
- 0x4072a7eb,
477
- 0x40732803,
478
- 0x4073936d,
479
- 0x40742817,
480
- 0x4074a831,
481
- 0x40752842,
482
- 0x4075a856,
483
- 0x40762864,
484
- 0x407691aa,
485
- 0x40772889,
486
- 0x4077a8ab,
487
- 0x407828c6,
488
- 0x4078a8ff,
489
- 0x40792916,
490
- 0x4079a92c,
491
- 0x407a2938,
492
- 0x407aa94b,
493
- 0x407b2960,
494
- 0x407ba972,
495
- 0x407c2987,
496
- 0x407ca990,
497
- 0x407d21e7,
498
- 0x407d9c6e,
499
- 0x407e28db,
500
- 0x407e9e3e,
501
- 0x407f1a7e,
502
- 0x407f9887,
503
- 0x40801c45,
504
- 0x40809aa6,
505
- 0x40811d01,
506
- 0x40819c1f,
507
- 0x40822700,
508
- 0x4082986d,
509
- 0x40831e19,
510
- 0x4083a0bd,
511
- 0x40841aba,
512
- 0x40849e76,
513
- 0x40851efb,
514
- 0x40859ff3,
515
- 0x40861f4f,
516
- 0x40869c88,
517
- 0x4087272d,
518
- 0x4087a024,
519
- 0x408818aa,
520
- 0x41f42320,
521
- 0x41f923b2,
522
- 0x41fe22a5,
523
- 0x41fea481,
524
- 0x41ff2572,
525
- 0x42032339,
526
- 0x4208235b,
527
- 0x4208a397,
528
- 0x42092289,
529
- 0x4209a3d1,
530
- 0x420a22e0,
531
- 0x420aa2c0,
532
- 0x420b2300,
533
- 0x420ba379,
534
- 0x420c258e,
535
- 0x420ca44e,
536
- 0x420d2468,
537
- 0x420da49f,
538
- 0x421224b9,
539
- 0x42172555,
540
- 0x4217a4fb,
541
- 0x421c251d,
542
- 0x421f24d8,
543
- 0x422125a5,
544
- 0x42262538,
545
- 0x422b2674,
546
- 0x422ba622,
547
- 0x422c265c,
548
- 0x422ca5e1,
549
- 0x422d25c0,
550
- 0x422da641,
551
- 0x422e2607,
482
+ 0x4071aa22,
483
+ 0x40722a35,
484
+ 0x4072aa4e,
485
+ 0x40732a66,
486
+ 0x40739482,
487
+ 0x40742a7a,
488
+ 0x4074aa94,
489
+ 0x40752aa5,
490
+ 0x4075aab9,
491
+ 0x40762ac7,
492
+ 0x40769259,
493
+ 0x40772aec,
494
+ 0x4077ab0e,
495
+ 0x40782b29,
496
+ 0x4078ab62,
497
+ 0x40792b79,
498
+ 0x4079ab8f,
499
+ 0x407a2b9b,
500
+ 0x407aabae,
501
+ 0x407b2bc3,
502
+ 0x407babd5,
503
+ 0x407c2c06,
504
+ 0x407cac0f,
505
+ 0x407d23f5,
506
+ 0x407d9e61,
507
+ 0x407e2b3e,
508
+ 0x407ea01a,
509
+ 0x407f1c71,
510
+ 0x407f9a31,
511
+ 0x40801e38,
512
+ 0x40809c99,
513
+ 0x40811edd,
514
+ 0x40819e12,
515
+ 0x40822927,
516
+ 0x40829a17,
517
+ 0x40831ff5,
518
+ 0x4083a2b7,
519
+ 0x40841cad,
520
+ 0x4084a052,
521
+ 0x408520d7,
522
+ 0x4085a1ed,
523
+ 0x40862149,
524
+ 0x40869e7b,
525
+ 0x4087296d,
526
+ 0x4087a21e,
527
+ 0x40881a78,
528
+ 0x4088a3a5,
529
+ 0x40891ac7,
530
+ 0x40899a54,
531
+ 0x408a265c,
532
+ 0x408a9862,
533
+ 0x408b2bea,
534
+ 0x408ba9bd,
535
+ 0x408c20e7,
536
+ 0x408c987e,
537
+ 0x41f4252e,
538
+ 0x41f925c0,
539
+ 0x41fe24b3,
540
+ 0x41fea6a8,
541
+ 0x41ff2799,
542
+ 0x42032547,
543
+ 0x42082569,
544
+ 0x4208a5a5,
545
+ 0x42092497,
546
+ 0x4209a5df,
547
+ 0x420a24ee,
548
+ 0x420aa4ce,
549
+ 0x420b250e,
550
+ 0x420ba587,
551
+ 0x420c27b5,
552
+ 0x420ca675,
553
+ 0x420d268f,
554
+ 0x420da6c6,
555
+ 0x421226e0,
556
+ 0x4217277c,
557
+ 0x4217a722,
558
+ 0x421c2744,
559
+ 0x421f26ff,
560
+ 0x422127cc,
561
+ 0x4226275f,
562
+ 0x422b289b,
563
+ 0x422ba849,
564
+ 0x422c2883,
565
+ 0x422ca808,
566
+ 0x422d27e7,
567
+ 0x422da868,
568
+ 0x422e282e,
569
+ 0x422ea954,
552
570
  0x4432072b,
553
571
  0x4432873a,
554
572
  0x44330746,
@@ -566,131 +584,144 @@ const uint32_t kOpenSSLReasonValues[] = {
566
584
  0x44390800,
567
585
  0x4439880e,
568
586
  0x443a0821,
569
- 0x4c3211d4,
570
- 0x4c3291e4,
571
- 0x4c3311f7,
572
- 0x4c339217,
587
+ 0x48321283,
588
+ 0x48329295,
589
+ 0x483312ab,
590
+ 0x483392c4,
591
+ 0x4c3212e9,
592
+ 0x4c3292f9,
593
+ 0x4c33130c,
594
+ 0x4c33932c,
573
595
  0x4c3400ac,
574
596
  0x4c3480ea,
575
- 0x4c351223,
576
- 0x4c359231,
577
- 0x4c36124d,
578
- 0x4c369260,
579
- 0x4c37126f,
580
- 0x4c37927d,
581
- 0x4c381292,
582
- 0x4c38929e,
583
- 0x4c3912be,
584
- 0x4c3992e8,
585
- 0x4c3a1301,
586
- 0x4c3a931a,
597
+ 0x4c351338,
598
+ 0x4c359346,
599
+ 0x4c361362,
600
+ 0x4c369375,
601
+ 0x4c371384,
602
+ 0x4c379392,
603
+ 0x4c3813a7,
604
+ 0x4c3893b3,
605
+ 0x4c3913d3,
606
+ 0x4c3993fd,
607
+ 0x4c3a1416,
608
+ 0x4c3a942f,
587
609
  0x4c3b05fb,
588
- 0x4c3b9333,
589
- 0x4c3c1345,
590
- 0x4c3c9354,
591
- 0x4c3d136d,
592
- 0x4c3d937c,
593
- 0x4c3e1389,
594
- 0x50322c09,
595
- 0x5032ac18,
596
- 0x50332c23,
597
- 0x5033ac33,
598
- 0x50342c4c,
599
- 0x5034ac66,
600
- 0x50352c74,
601
- 0x5035ac8a,
602
- 0x50362c9c,
603
- 0x5036acb2,
604
- 0x50372ccb,
605
- 0x5037acde,
606
- 0x50382cf6,
607
- 0x5038ad07,
608
- 0x50392d1c,
609
- 0x5039ad30,
610
- 0x503a2d50,
611
- 0x503aad66,
612
- 0x503b2d7e,
613
- 0x503bad90,
614
- 0x503c2dac,
615
- 0x503cadc3,
616
- 0x503d2ddc,
617
- 0x503dadf2,
618
- 0x503e2dff,
619
- 0x503eae15,
620
- 0x503f2e27,
610
+ 0x4c3b9448,
611
+ 0x4c3c145a,
612
+ 0x4c3c9469,
613
+ 0x4c3d1482,
614
+ 0x4c3d8c45,
615
+ 0x4c3e14db,
616
+ 0x4c3e9491,
617
+ 0x4c3f14fd,
618
+ 0x4c3f9259,
619
+ 0x4c4014a7,
620
+ 0x4c4092d5,
621
+ 0x4c4114cb,
622
+ 0x50322e48,
623
+ 0x5032ae57,
624
+ 0x50332e62,
625
+ 0x5033ae72,
626
+ 0x50342e8b,
627
+ 0x5034aea5,
628
+ 0x50352eb3,
629
+ 0x5035aec9,
630
+ 0x50362edb,
631
+ 0x5036aef1,
632
+ 0x50372f0a,
633
+ 0x5037af1d,
634
+ 0x50382f35,
635
+ 0x5038af46,
636
+ 0x50392f5b,
637
+ 0x5039af6f,
638
+ 0x503a2f8f,
639
+ 0x503aafa5,
640
+ 0x503b2fbd,
641
+ 0x503bafcf,
642
+ 0x503c2feb,
643
+ 0x503cb002,
644
+ 0x503d301b,
645
+ 0x503db031,
646
+ 0x503e303e,
647
+ 0x503eb054,
648
+ 0x503f3066,
621
649
  0x503f8382,
622
- 0x50402e3a,
623
- 0x5040ae4a,
624
- 0x50412e64,
625
- 0x5041ae73,
626
- 0x50422e8d,
627
- 0x5042aeaa,
628
- 0x50432eba,
629
- 0x5043aeca,
630
- 0x50442ed9,
650
+ 0x50403079,
651
+ 0x5040b089,
652
+ 0x504130a3,
653
+ 0x5041b0b2,
654
+ 0x504230cc,
655
+ 0x5042b0e9,
656
+ 0x504330f9,
657
+ 0x5043b109,
658
+ 0x50443118,
631
659
  0x5044843f,
632
- 0x50452eed,
633
- 0x5045af0b,
634
- 0x50462f1e,
635
- 0x5046af34,
636
- 0x50472f46,
637
- 0x5047af5b,
638
- 0x50482f81,
639
- 0x5048af8f,
640
- 0x50492fa2,
641
- 0x5049afb7,
642
- 0x504a2fcd,
643
- 0x504aafdd,
644
- 0x504b2ffd,
645
- 0x504bb010,
646
- 0x504c3033,
647
- 0x504cb061,
648
- 0x504d3073,
649
- 0x504db090,
650
- 0x504e30ab,
651
- 0x504eb0c7,
652
- 0x504f30d9,
653
- 0x504fb0f0,
654
- 0x505030ff,
660
+ 0x5045312c,
661
+ 0x5045b14a,
662
+ 0x5046315d,
663
+ 0x5046b173,
664
+ 0x50473185,
665
+ 0x5047b19a,
666
+ 0x504831c0,
667
+ 0x5048b1ce,
668
+ 0x504931e1,
669
+ 0x5049b1f6,
670
+ 0x504a320c,
671
+ 0x504ab21c,
672
+ 0x504b323c,
673
+ 0x504bb24f,
674
+ 0x504c3272,
675
+ 0x504cb2a0,
676
+ 0x504d32b2,
677
+ 0x504db2cf,
678
+ 0x504e32ea,
679
+ 0x504eb306,
680
+ 0x504f3318,
681
+ 0x504fb32f,
682
+ 0x5050333e,
655
683
  0x505086ef,
656
- 0x50513112,
657
- 0x58320ec9,
658
- 0x68320e8b,
659
- 0x68328c25,
660
- 0x68330c38,
661
- 0x68338e99,
662
- 0x68340ea9,
684
+ 0x50513351,
685
+ 0x58320f2b,
686
+ 0x68320eed,
687
+ 0x68328c6a,
688
+ 0x68330c7d,
689
+ 0x68338efb,
690
+ 0x68340f0b,
663
691
  0x683480ea,
664
- 0x6c320e67,
665
- 0x6c328bfc,
666
- 0x6c330e72,
667
- 0x74320a0b,
668
- 0x78320970,
669
- 0x78328985,
670
- 0x78330991,
692
+ 0x6c320ec9,
693
+ 0x6c328c34,
694
+ 0x6c330ed4,
695
+ 0x74320a19,
696
+ 0x743280ac,
697
+ 0x74330c45,
698
+ 0x7832097e,
699
+ 0x78328993,
700
+ 0x7833099f,
671
701
  0x78338083,
672
- 0x783409a0,
673
- 0x783489b5,
674
- 0x783509d4,
675
- 0x783589f6,
676
- 0x78360a0b,
677
- 0x78368a21,
678
- 0x78370a31,
679
- 0x78378a44,
680
- 0x78380a57,
681
- 0x78388a69,
682
- 0x78390a76,
683
- 0x78398a95,
684
- 0x783a0aaa,
685
- 0x783a8ab8,
686
- 0x783b0ac2,
687
- 0x783b8ad6,
688
- 0x783c0aed,
689
- 0x783c8b02,
690
- 0x783d0b19,
691
- 0x783d8b2e,
692
- 0x783e0a84,
693
- 0x7c3210d6,
702
+ 0x783409ae,
703
+ 0x783489c3,
704
+ 0x783509e2,
705
+ 0x78358a04,
706
+ 0x78360a19,
707
+ 0x78368a2f,
708
+ 0x78370a3f,
709
+ 0x78378a60,
710
+ 0x78380a73,
711
+ 0x78388a85,
712
+ 0x78390a92,
713
+ 0x78398ab1,
714
+ 0x783a0ac6,
715
+ 0x783a8ad4,
716
+ 0x783b0ade,
717
+ 0x783b8af2,
718
+ 0x783c0b09,
719
+ 0x783c8b1e,
720
+ 0x783d0b35,
721
+ 0x783d8b4a,
722
+ 0x783e0aa0,
723
+ 0x783e8a52,
724
+ 0x7c321185,
694
725
  };
695
726
 
696
727
  const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
@@ -814,6 +845,7 @@ const char kOpenSSLReasonStringData[] =
814
845
  "DIV_BY_ZERO\0"
815
846
  "EXPAND_ON_STATIC_BIGNUM_DATA\0"
816
847
  "INPUT_NOT_REDUCED\0"
848
+ "INVALID_INPUT\0"
817
849
  "INVALID_RANGE\0"
818
850
  "NEGATIVE_NUMBER\0"
819
851
  "NOT_A_SQUARE\0"
@@ -833,6 +865,7 @@ const char kOpenSSLReasonStringData[] =
833
865
  "INPUT_NOT_INITIALIZED\0"
834
866
  "INVALID_AD_SIZE\0"
835
867
  "INVALID_KEY_LENGTH\0"
868
+ "INVALID_NONCE\0"
836
869
  "INVALID_NONCE_SIZE\0"
837
870
  "INVALID_OPERATION\0"
838
871
  "IV_TOO_LARGE\0"
@@ -852,11 +885,13 @@ const char kOpenSSLReasonStringData[] =
852
885
  "MISSING_EQUAL_SIGN\0"
853
886
  "NO_CLOSE_BRACE\0"
854
887
  "UNABLE_TO_CREATE_NEW_SECTION\0"
888
+ "VARIABLE_EXPANSION_TOO_LONG\0"
855
889
  "VARIABLE_HAS_NO_VALUE\0"
856
890
  "BAD_GENERATOR\0"
857
891
  "INVALID_PUBKEY\0"
858
892
  "MODULUS_TOO_LARGE\0"
859
893
  "NO_PRIVATE_VALUE\0"
894
+ "UNKNOWN_HASH\0"
860
895
  "BAD_Q_VALUE\0"
861
896
  "BAD_VERSION\0"
862
897
  "MISSING_PARAMETERS\0"
@@ -882,6 +917,7 @@ const char kOpenSSLReasonStringData[] =
882
917
  "PKPARAMETERS2GROUP_FAILURE\0"
883
918
  "POINT_AT_INFINITY\0"
884
919
  "POINT_IS_NOT_ON_CURVE\0"
920
+ "PUBLIC_KEY_VALIDATION_FAILED\0"
885
921
  "SLOT_FULL\0"
886
922
  "UNDEFINED_GENERATOR\0"
887
923
  "UNKNOWN_GROUP\0"
@@ -906,8 +942,12 @@ const char kOpenSSLReasonStringData[] =
906
942
  "INVALID_KEYBITS\0"
907
943
  "INVALID_MGF1_MD\0"
908
944
  "INVALID_PADDING_MODE\0"
945
+ "INVALID_PARAMETERS\0"
909
946
  "INVALID_PSS_SALTLEN\0"
947
+ "INVALID_SIGNATURE\0"
910
948
  "KEYS_NOT_SET\0"
949
+ "MEMORY_LIMIT_EXCEEDED\0"
950
+ "NOT_A_PRIVATE_KEY\0"
911
951
  "NO_DEFAULT_DIGEST\0"
912
952
  "NO_KEY_SET\0"
913
953
  "NO_MDC2_SUPPORT\0"
@@ -934,6 +974,11 @@ const char kOpenSSLReasonStringData[] =
934
974
  "SHORT_HEADER\0"
935
975
  "UNSUPPORTED_CIPHER\0"
936
976
  "UNSUPPORTED_ENCRYPTION\0"
977
+ "BAD_PKCS7_VERSION\0"
978
+ "NOT_PKCS7_SIGNED_DATA\0"
979
+ "NO_CERTIFICATES_INCLUDED\0"
980
+ "NO_CRLS_INCLUDED\0"
981
+ "BAD_ITERATION_COUNT\0"
937
982
  "BAD_PKCS12_DATA\0"
938
983
  "BAD_PKCS12_VERSION\0"
939
984
  "CIPHER_HAS_NO_OBJECT_IDENTIFIER\0"
@@ -954,8 +999,11 @@ const char kOpenSSLReasonStringData[] =
954
999
  "UNKNOWN_CIPHER\0"
955
1000
  "UNKNOWN_CIPHER_ALGORITHM\0"
956
1001
  "UNKNOWN_DIGEST\0"
957
- "UNKNOWN_HASH\0"
1002
+ "UNSUPPORTED_KEYLENGTH\0"
1003
+ "UNSUPPORTED_KEY_DERIVATION_FUNCTION\0"
1004
+ "UNSUPPORTED_PRF\0"
958
1005
  "UNSUPPORTED_PRIVATE_KEY_ALGORITHM\0"
1006
+ "UNSUPPORTED_SALT_TYPE\0"
959
1007
  "BAD_E_VALUE\0"
960
1008
  "BAD_FIXED_HEADER_DECRYPT\0"
961
1009
  "BAD_PAD_BYTE_COUNT\0"
@@ -995,6 +1043,8 @@ const char kOpenSSLReasonStringData[] =
995
1043
  "UNKNOWN_PADDING_TYPE\0"
996
1044
  "VALUE_MISSING\0"
997
1045
  "WRONG_SIGNATURE_LENGTH\0"
1046
+ "ALPN_MISMATCH_ON_EARLY_DATA\0"
1047
+ "APPLICATION_DATA_INSTEAD_OF_HANDSHAKE\0"
998
1048
  "APP_DATA_IN_HANDSHAKE\0"
999
1049
  "ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT\0"
1000
1050
  "BAD_ALERT\0"
@@ -1016,10 +1066,12 @@ const char kOpenSSLReasonStringData[] =
1016
1066
  "BIO_NOT_SET\0"
1017
1067
  "BLOCK_CIPHER_PAD_IS_WRONG\0"
1018
1068
  "BUFFERED_MESSAGES_ON_CIPHER_CHANGE\0"
1069
+ "CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD\0"
1019
1070
  "CANNOT_PARSE_LEAF_CERT\0"
1020
1071
  "CA_DN_LENGTH_MISMATCH\0"
1021
1072
  "CA_DN_TOO_LONG\0"
1022
1073
  "CCS_RECEIVED_EARLY\0"
1074
+ "CERTIFICATE_AND_PRIVATE_KEY_MISMATCH\0"
1023
1075
  "CERTIFICATE_VERIFY_FAILED\0"
1024
1076
  "CERT_CB_ERROR\0"
1025
1077
  "CERT_LENGTH_MISMATCH\0"
@@ -1064,7 +1116,6 @@ const char kOpenSSLReasonStringData[] =
1064
1116
  "INVALID_SSL_SESSION\0"
1065
1117
  "INVALID_TICKET_KEYS_LENGTH\0"
1066
1118
  "LENGTH_MISMATCH\0"
1067
- "LIBRARY_HAS_NO_CIPHERS\0"
1068
1119
  "MISSING_EXTENSION\0"
1069
1120
  "MISSING_KEY_SHARE\0"
1070
1121
  "MISSING_RSA_CERTIFICATE\0"
@@ -1091,6 +1142,7 @@ const char kOpenSSLReasonStringData[] =
1091
1142
  "NO_REQUIRED_DIGEST\0"
1092
1143
  "NO_SHARED_CIPHER\0"
1093
1144
  "NO_SHARED_GROUP\0"
1145
+ "NO_SUPPORTED_VERSIONS_ENABLED\0"
1094
1146
  "NULL_SSL_CTX\0"
1095
1147
  "NULL_SSL_METHOD_PASSED\0"
1096
1148
  "OLD_SESSION_CIPHER_NOT_RETURNED\0"
@@ -1117,6 +1169,7 @@ const char kOpenSSLReasonStringData[] =
1117
1169
  "RESUMED_NON_EMS_SESSION_WITH_EMS_EXTENSION\0"
1118
1170
  "SCSV_RECEIVED_WHEN_RENEGOTIATING\0"
1119
1171
  "SERVERHELLO_TLSEXT\0"
1172
+ "SERVER_CERT_CHANGED\0"
1120
1173
  "SESSION_ID_CONTEXT_UNINITIALIZED\0"
1121
1174
  "SESSION_MAY_NOT_BE_CREATED\0"
1122
1175
  "SHUTDOWN_WHILE_IN_INIT\0"
@@ -1139,6 +1192,7 @@ const char kOpenSSLReasonStringData[] =
1139
1192
  "SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION\0"
1140
1193
  "SSL_HANDSHAKE_FAILURE\0"
1141
1194
  "SSL_SESSION_ID_CONTEXT_TOO_LONG\0"
1195
+ "TICKET_ENCRYPTION_FAILED\0"
1142
1196
  "TLSV1_ALERT_ACCESS_DENIED\0"
1143
1197
  "TLSV1_ALERT_DECODE_ERROR\0"
1144
1198
  "TLSV1_ALERT_DECRYPTION_FAILED\0"
@@ -1164,9 +1218,11 @@ const char kOpenSSLReasonStringData[] =
1164
1218
  "TOO_MANY_EMPTY_FRAGMENTS\0"
1165
1219
  "TOO_MANY_KEY_UPDATES\0"
1166
1220
  "TOO_MANY_WARNING_ALERTS\0"
1221
+ "TOO_MUCH_READ_EARLY_DATA\0"
1167
1222
  "TOO_MUCH_SKIPPED_EARLY_DATA\0"
1168
1223
  "UNABLE_TO_FIND_ECDH_PARAMETERS\0"
1169
1224
  "UNEXPECTED_EXTENSION\0"
1225
+ "UNEXPECTED_EXTENSION_ON_EARLY_DATA\0"
1170
1226
  "UNEXPECTED_MESSAGE\0"
1171
1227
  "UNEXPECTED_OPERATOR_IN_GROUP\0"
1172
1228
  "UNEXPECTED_RECORD\0"
@@ -1190,10 +1246,10 @@ const char kOpenSSLReasonStringData[] =
1190
1246
  "WRONG_SIGNATURE_TYPE\0"
1191
1247
  "WRONG_SSL_VERSION\0"
1192
1248
  "WRONG_VERSION_NUMBER\0"
1249
+ "WRONG_VERSION_ON_EARLY_DATA\0"
1193
1250
  "X509_LIB\0"
1194
1251
  "X509_VERIFICATION_SETUP_PROBLEMS\0"
1195
1252
  "AKID_MISMATCH\0"
1196
- "BAD_PKCS7_VERSION\0"
1197
1253
  "BAD_X509_FILETYPE\0"
1198
1254
  "BASE64_DECODE_ERROR\0"
1199
1255
  "CANT_CHECK_DH_KEY\0"
@@ -1203,6 +1259,7 @@ const char kOpenSSLReasonStringData[] =
1203
1259
  "IDP_MISMATCH\0"
1204
1260
  "INVALID_DIRECTORY\0"
1205
1261
  "INVALID_FIELD_NAME\0"
1262
+ "INVALID_PARAMETER\0"
1206
1263
  "INVALID_PSS_PARAMETERS\0"
1207
1264
  "INVALID_TRUST\0"
1208
1265
  "ISSUER_MISMATCH\0"
@@ -1212,10 +1269,7 @@ const char kOpenSSLReasonStringData[] =
1212
1269
  "LOADING_DEFAULTS\0"
1213
1270
  "NAME_TOO_LONG\0"
1214
1271
  "NEWER_CRL_NOT_NEWER\0"
1215
- "NOT_PKCS7_SIGNED_DATA\0"
1216
- "NO_CERTIFICATES_INCLUDED\0"
1217
1272
  "NO_CERT_SET_FOR_US_TO_VERIFY\0"
1218
- "NO_CRLS_INCLUDED\0"
1219
1273
  "NO_CRL_NUMBER\0"
1220
1274
  "PUBLIC_KEY_DECODE_ERROR\0"
1221
1275
  "PUBLIC_KEY_ENCODE_ERROR\0"