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.

Files changed (705) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +3696 -867
  3. data/etc/roots.pem +39 -111
  4. data/include/grpc/byte_buffer.h +64 -1
  5. data/include/grpc/census.h +40 -96
  6. data/include/grpc/compression.h +2 -1
  7. data/include/grpc/grpc.h +42 -7
  8. data/include/grpc/grpc_posix.h +8 -5
  9. data/include/grpc/impl/codegen/atm.h +3 -0
  10. data/include/grpc/impl/codegen/atm_gcc_atomic.h +2 -0
  11. data/include/grpc/impl/codegen/atm_gcc_sync.h +8 -0
  12. data/include/grpc/impl/codegen/atm_windows.h +4 -0
  13. data/include/grpc/impl/codegen/byte_buffer_reader.h +4 -4
  14. data/include/grpc/impl/codegen/compression_types.h +1 -1
  15. data/include/grpc/impl/codegen/connectivity_state.h +2 -0
  16. data/include/grpc/impl/codegen/exec_ctx_fwd.h +41 -0
  17. data/include/grpc/impl/codegen/gpr_slice.h +84 -0
  18. data/include/grpc/impl/codegen/{alloc.h → gpr_types.h} +30 -29
  19. data/include/grpc/impl/codegen/grpc_types.h +91 -9
  20. data/include/grpc/impl/codegen/port_platform.h +25 -92
  21. data/include/grpc/impl/codegen/slice.h +54 -97
  22. data/include/grpc/impl/codegen/sync.h +0 -253
  23. data/include/grpc/module.modulemap +0 -2
  24. data/include/grpc/slice.h +132 -0
  25. data/include/grpc/{impl/codegen/slice_buffer.h → slice_buffer.h} +22 -39
  26. data/include/grpc/support/alloc.h +40 -1
  27. data/include/grpc/support/log.h +80 -1
  28. data/include/grpc/support/log_windows.h +2 -0
  29. data/include/grpc/support/string_util.h +1 -1
  30. data/include/grpc/support/sync.h +252 -0
  31. data/include/grpc/support/time.h +67 -1
  32. data/src/boringssl/err_data.c +639 -627
  33. data/src/core/ext/census/base_resources.c +71 -0
  34. data/src/core/ext/census/base_resources.h +39 -0
  35. data/src/core/ext/census/gen/census.pb.c +26 -29
  36. data/src/core/ext/census/gen/census.pb.h +68 -67
  37. data/src/core/ext/census/gen/trace_context.pb.c +81 -0
  38. data/src/core/ext/census/gen/trace_context.pb.h +99 -0
  39. data/src/core/ext/census/grpc_filter.c +22 -16
  40. data/src/core/ext/census/grpc_plugin.c +2 -1
  41. data/src/core/ext/census/initialize.c +16 -4
  42. data/src/core/ext/census/mlog.h +1 -1
  43. data/src/core/ext/census/placeholders.c +0 -45
  44. data/src/core/ext/census/resource.c +312 -0
  45. data/src/core/ext/census/resource.h +63 -0
  46. data/src/core/ext/census/trace_context.c +86 -0
  47. data/src/core/ext/census/trace_context.h +68 -0
  48. data/src/core/ext/census/tracing.c +8 -2
  49. data/src/core/ext/{client_config → client_channel}/channel_connectivity.c +8 -4
  50. data/src/core/ext/client_channel/client_channel.c +1218 -0
  51. data/src/core/ext/{client_config → client_channel}/client_channel.h +8 -11
  52. data/src/core/ext/{client_config → client_channel}/client_channel_factory.c +33 -3
  53. data/src/core/ext/{client_config → client_channel}/client_channel_factory.h +15 -8
  54. data/src/core/ext/{client_config/client_config_plugin.c → client_channel/client_channel_plugin.c} +16 -15
  55. data/src/core/ext/{client_config → client_channel}/connector.c +1 -1
  56. data/src/core/ext/{client_config → client_channel}/connector.h +5 -8
  57. data/{include/grpc/support/slice_buffer.h → src/core/ext/client_channel/default_initial_connect_string.c} +4 -5
  58. data/src/core/ext/client_channel/http_connect_handshaker.c +399 -0
  59. data/src/core/ext/client_channel/http_connect_handshaker.h +52 -0
  60. data/src/core/ext/{client_config → client_channel}/initial_connect_string.c +6 -7
  61. data/src/core/ext/{client_config → client_channel}/initial_connect_string.h +10 -10
  62. data/src/core/ext/{client_config → client_channel}/lb_policy.c +11 -11
  63. data/src/core/ext/{client_config → client_channel}/lb_policy.h +68 -27
  64. data/src/core/ext/client_channel/lb_policy_factory.c +163 -0
  65. data/src/core/ext/{client_config → client_channel}/lb_policy_factory.h +64 -9
  66. data/src/core/ext/{client_config → client_channel}/lb_policy_registry.c +6 -4
  67. data/src/core/ext/{client_config → client_channel}/lb_policy_registry.h +4 -4
  68. data/src/core/ext/{client_config → client_channel}/parse_address.c +21 -14
  69. data/src/core/ext/{client_config → client_channel}/parse_address.h +8 -10
  70. data/src/core/ext/{client_config → client_channel}/resolver.c +3 -4
  71. data/src/core/ext/{client_config → client_channel}/resolver.h +11 -15
  72. data/src/core/ext/{client_config → client_channel}/resolver_factory.c +4 -3
  73. data/src/core/ext/{client_config → client_channel}/resolver_factory.h +13 -11
  74. data/src/core/ext/{client_config → client_channel}/resolver_registry.c +54 -34
  75. data/src/core/ext/{client_config → client_channel}/resolver_registry.h +21 -8
  76. data/src/core/ext/{client_config → client_channel}/subchannel.c +208 -119
  77. data/src/core/ext/{client_config → client_channel}/subchannel.h +21 -11
  78. data/src/core/ext/{client_config → client_channel}/subchannel_index.c +6 -17
  79. data/src/core/ext/{client_config → client_channel}/subchannel_index.h +7 -7
  80. data/src/core/ext/{client_config → client_channel}/uri_parser.c +21 -28
  81. data/src/core/ext/{client_config → client_channel}/uri_parser.h +3 -3
  82. data/src/core/ext/lb_policy/grpclb/grpclb.c +1406 -0
  83. data/src/core/ext/lb_policy/grpclb/grpclb.h +44 -0
  84. data/src/core/ext/lb_policy/grpclb/load_balancer_api.c +117 -37
  85. data/src/core/ext/lb_policy/grpclb/load_balancer_api.h +31 -12
  86. data/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c +6 -36
  87. data/src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h +22 -42
  88. data/src/core/ext/lb_policy/pick_first/pick_first.c +64 -46
  89. data/src/core/ext/lb_policy/round_robin/round_robin.c +324 -160
  90. data/src/core/ext/load_reporting/load_reporting.c +7 -56
  91. data/src/core/ext/load_reporting/load_reporting.h +41 -28
  92. data/src/core/ext/load_reporting/load_reporting_filter.c +132 -42
  93. data/src/core/ext/load_reporting/load_reporting_filter.h +1 -0
  94. data/src/core/ext/resolver/dns/native/dns_resolver.c +88 -80
  95. data/src/core/ext/resolver/sockaddr/sockaddr_resolver.c +57 -102
  96. data/src/core/ext/transport/chttp2/alpn/alpn.c +1 -1
  97. data/src/core/ext/transport/chttp2/client/chttp2_connector.c +253 -0
  98. data/src/core/{lib/iomgr/ev_poll_and_epoll_posix.h → ext/transport/chttp2/client/chttp2_connector.h} +5 -5
  99. data/src/core/ext/transport/chttp2/client/insecure/channel_create.c +31 -160
  100. data/src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c +5 -5
  101. data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.c +44 -243
  102. data/src/core/ext/transport/chttp2/server/chttp2_server.c +342 -0
  103. data/src/core/ext/transport/chttp2/server/chttp2_server.h +47 -0
  104. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2.c +11 -124
  105. data/src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c +20 -9
  106. data/src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c +28 -236
  107. data/src/core/ext/transport/chttp2/transport/bin_decoder.c +31 -27
  108. data/src/core/ext/transport/chttp2/transport/bin_decoder.h +5 -4
  109. data/src/core/ext/transport/chttp2/transport/bin_encoder.c +25 -22
  110. data/src/core/ext/transport/chttp2/transport/bin_encoder.h +8 -7
  111. data/src/core/ext/transport/chttp2/transport/chttp2_plugin.c +0 -3
  112. data/src/core/ext/transport/chttp2/transport/chttp2_transport.c +1345 -1521
  113. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +3 -1
  114. data/src/core/ext/transport/chttp2/transport/frame.h +3 -5
  115. data/src/core/ext/transport/chttp2/transport/frame_data.c +50 -47
  116. data/src/core/ext/transport/chttp2/transport/frame_data.h +8 -9
  117. data/src/core/ext/transport/chttp2/transport/frame_goaway.c +19 -21
  118. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +9 -8
  119. data/src/core/ext/transport/chttp2/transport/frame_ping.c +13 -12
  120. data/src/core/ext/transport/chttp2/transport/frame_ping.h +6 -6
  121. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.c +31 -19
  122. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +8 -7
  123. data/src/core/ext/transport/chttp2/transport/frame_settings.c +22 -25
  124. data/src/core/ext/transport/chttp2/transport/frame_settings.h +9 -8
  125. data/src/core/ext/transport/chttp2/transport/frame_window_update.c +26 -18
  126. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +5 -6
  127. data/src/core/ext/transport/chttp2/transport/hpack_encoder.c +68 -58
  128. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +8 -5
  129. data/src/core/ext/transport/chttp2/transport/hpack_parser.c +327 -214
  130. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +14 -9
  131. data/src/core/ext/transport/chttp2/transport/hpack_table.c +24 -19
  132. data/src/core/ext/transport/chttp2/transport/hpack_table.h +9 -6
  133. data/src/core/ext/transport/chttp2/transport/incoming_metadata.c +2 -2
  134. data/src/core/ext/transport/chttp2/transport/incoming_metadata.h +1 -1
  135. data/src/core/ext/transport/chttp2/transport/internal.h +284 -436
  136. data/src/core/ext/transport/chttp2/transport/parsing.c +355 -590
  137. data/src/core/ext/transport/chttp2/transport/stream_lists.c +36 -309
  138. data/src/core/ext/transport/chttp2/transport/stream_map.c +13 -34
  139. data/src/core/ext/transport/chttp2/transport/stream_map.h +3 -4
  140. data/src/core/ext/transport/chttp2/transport/writing.c +174 -286
  141. data/src/core/lib/channel/channel_args.c +70 -13
  142. data/src/core/lib/channel/channel_args.h +28 -2
  143. data/src/core/lib/channel/channel_stack.c +77 -28
  144. data/src/core/lib/channel/channel_stack.h +61 -23
  145. data/src/core/lib/channel/channel_stack_builder.c +33 -25
  146. data/src/core/lib/channel/channel_stack_builder.h +17 -8
  147. data/src/core/lib/channel/compress_filter.c +52 -36
  148. data/src/core/lib/channel/connected_channel.c +20 -12
  149. data/src/core/lib/channel/connected_channel.h +2 -1
  150. data/src/core/lib/channel/context.h +13 -1
  151. data/src/core/lib/channel/deadline_filter.c +344 -0
  152. data/src/core/lib/channel/deadline_filter.h +99 -0
  153. data/src/core/lib/channel/handshaker.c +240 -0
  154. data/src/core/lib/channel/handshaker.h +164 -0
  155. data/src/core/lib/{security/credentials/google_default/credentials_windows.c → channel/handshaker_factory.c} +16 -23
  156. data/src/core/lib/channel/handshaker_factory.h +66 -0
  157. data/src/core/lib/channel/handshaker_registry.c +113 -0
  158. data/src/core/{ext/client_config/client_config.h → lib/channel/handshaker_registry.h} +26 -16
  159. data/src/core/lib/channel/http_client_filter.c +248 -46
  160. data/src/core/lib/channel/http_client_filter.h +3 -0
  161. data/src/core/lib/channel/http_server_filter.c +136 -24
  162. data/src/core/lib/channel/message_size_filter.c +261 -0
  163. data/src/core/lib/channel/message_size_filter.h +39 -0
  164. data/src/core/lib/compression/message_compress.c +43 -37
  165. data/src/core/lib/compression/message_compress.h +7 -5
  166. data/src/core/lib/http/format_request.c +26 -11
  167. data/src/core/lib/http/format_request.h +7 -5
  168. data/src/core/lib/http/httpcli.c +45 -27
  169. data/src/core/lib/http/httpcli.h +4 -4
  170. data/src/core/lib/http/httpcli_security_connector.c +56 -46
  171. data/src/core/lib/http/parser.c +17 -14
  172. data/src/core/lib/http/parser.h +4 -2
  173. data/src/core/lib/iomgr/closure.c +49 -7
  174. data/src/core/lib/iomgr/closure.h +56 -14
  175. data/src/core/lib/iomgr/combiner.c +422 -0
  176. data/src/core/lib/iomgr/combiner.h +64 -0
  177. data/src/core/lib/iomgr/endpoint.c +8 -2
  178. data/src/core/lib/iomgr/endpoint.h +17 -7
  179. data/src/core/lib/iomgr/endpoint_pair.h +3 -2
  180. data/src/core/lib/iomgr/endpoint_pair_posix.c +9 -8
  181. data/src/core/{ext/client_config/lb_policy_factory.c → lib/iomgr/endpoint_pair_uv.c} +18 -13
  182. data/src/core/lib/iomgr/endpoint_pair_windows.c +7 -6
  183. data/src/core/lib/iomgr/error.c +72 -6
  184. data/src/core/lib/iomgr/error.h +30 -3
  185. data/src/core/lib/iomgr/ev_epoll_linux.c +500 -382
  186. data/src/core/lib/iomgr/ev_epoll_linux.h +3 -2
  187. data/src/core/lib/iomgr/ev_poll_posix.c +317 -30
  188. data/src/core/lib/iomgr/ev_poll_posix.h +1 -0
  189. data/src/core/lib/iomgr/ev_posix.c +26 -5
  190. data/src/core/lib/iomgr/ev_posix.h +12 -1
  191. data/src/core/lib/iomgr/exec_ctx.c +27 -94
  192. data/src/core/lib/iomgr/exec_ctx.h +19 -22
  193. data/src/core/lib/iomgr/executor.c +29 -8
  194. data/src/core/lib/iomgr/executor.h +2 -4
  195. data/src/core/lib/iomgr/iocp_windows.c +3 -4
  196. data/src/core/lib/iomgr/iomgr.c +14 -10
  197. data/src/core/lib/iomgr/iomgr.h +6 -2
  198. data/src/core/lib/iomgr/iomgr_posix.c +2 -2
  199. data/src/core/lib/iomgr/iomgr_uv.c +49 -0
  200. data/src/core/lib/iomgr/iomgr_windows.c +2 -2
  201. data/src/core/lib/iomgr/load_file.c +3 -3
  202. data/src/core/lib/iomgr/load_file.h +2 -2
  203. data/src/core/lib/iomgr/network_status_tracker.c +1 -1
  204. data/src/core/lib/iomgr/pollset_set_uv.c +62 -0
  205. data/src/core/lib/iomgr/pollset_set_windows.c +3 -3
  206. data/src/core/lib/iomgr/pollset_uv.c +142 -0
  207. data/src/core/lib/iomgr/pollset_uv.h +42 -0
  208. data/src/core/lib/iomgr/pollset_windows.c +5 -6
  209. data/src/core/lib/iomgr/port.h +129 -0
  210. data/src/core/lib/iomgr/resolve_address.h +2 -1
  211. data/src/core/lib/iomgr/resolve_address_posix.c +14 -13
  212. data/src/core/lib/iomgr/resolve_address_uv.c +233 -0
  213. data/src/core/lib/iomgr/resolve_address_windows.c +14 -12
  214. data/src/core/lib/iomgr/resource_quota.c +832 -0
  215. data/src/core/lib/iomgr/resource_quota.h +159 -0
  216. data/src/core/lib/iomgr/sockaddr.h +10 -2
  217. data/src/core/lib/iomgr/sockaddr_utils.c +63 -36
  218. data/src/core/lib/iomgr/sockaddr_utils.h +14 -14
  219. data/src/core/lib/iomgr/socket_mutator.c +98 -0
  220. data/src/core/lib/iomgr/socket_mutator.h +80 -0
  221. data/src/core/lib/iomgr/socket_utils.h +42 -0
  222. data/src/core/lib/iomgr/socket_utils_common_posix.c +28 -13
  223. data/src/core/lib/iomgr/socket_utils_linux.c +11 -5
  224. data/src/core/lib/iomgr/socket_utils_posix.c +10 -7
  225. data/src/core/lib/iomgr/socket_utils_posix.h +11 -4
  226. data/src/core/lib/iomgr/socket_utils_uv.c +49 -0
  227. data/src/core/lib/iomgr/socket_utils_windows.c +52 -0
  228. data/src/core/lib/iomgr/socket_windows.c +14 -6
  229. data/src/core/lib/iomgr/socket_windows.h +1 -0
  230. data/src/core/lib/iomgr/tcp_client.h +8 -2
  231. data/src/core/lib/iomgr/tcp_client_posix.c +131 -82
  232. data/src/core/lib/iomgr/tcp_client_posix.h +45 -0
  233. data/src/core/lib/iomgr/tcp_client_uv.c +190 -0
  234. data/src/core/lib/iomgr/tcp_client_windows.c +54 -30
  235. data/src/core/lib/iomgr/tcp_posix.c +135 -56
  236. data/src/core/lib/iomgr/tcp_posix.h +2 -2
  237. data/src/core/lib/iomgr/tcp_server.h +14 -6
  238. data/src/core/lib/iomgr/tcp_server_posix.c +154 -118
  239. data/src/core/lib/iomgr/tcp_server_uv.c +388 -0
  240. data/src/core/lib/iomgr/tcp_server_windows.c +127 -100
  241. data/src/core/lib/iomgr/tcp_uv.c +367 -0
  242. data/src/core/lib/iomgr/tcp_uv.h +59 -0
  243. data/src/core/lib/iomgr/tcp_windows.c +65 -48
  244. data/src/core/lib/iomgr/tcp_windows.h +3 -1
  245. data/src/core/lib/iomgr/timer.h +21 -21
  246. data/src/core/lib/iomgr/{timer.c → timer_generic.c} +15 -10
  247. data/src/core/lib/iomgr/timer_generic.h +49 -0
  248. data/src/core/lib/iomgr/timer_heap.c +6 -0
  249. data/src/core/lib/iomgr/timer_uv.c +99 -0
  250. data/src/core/lib/iomgr/timer_uv.h +47 -0
  251. data/src/core/lib/iomgr/udp_server.c +116 -98
  252. data/src/core/lib/iomgr/udp_server.h +5 -3
  253. data/src/core/lib/iomgr/unix_sockets_posix.c +14 -6
  254. data/src/core/lib/iomgr/unix_sockets_posix.h +6 -5
  255. data/src/core/lib/iomgr/unix_sockets_posix_noop.c +4 -4
  256. data/src/core/lib/iomgr/wakeup_fd_cv.c +118 -0
  257. data/src/core/lib/iomgr/wakeup_fd_cv.h +80 -0
  258. data/src/core/lib/iomgr/wakeup_fd_eventfd.c +3 -3
  259. data/src/core/lib/iomgr/wakeup_fd_nospecial.c +3 -3
  260. data/src/core/lib/iomgr/wakeup_fd_pipe.c +12 -6
  261. data/src/core/lib/iomgr/wakeup_fd_posix.c +34 -5
  262. data/src/core/lib/iomgr/wakeup_fd_posix.h +5 -0
  263. data/src/core/lib/iomgr/workqueue.h +12 -20
  264. data/src/core/{ext/client_config/client_config.c → lib/iomgr/workqueue_uv.c} +24 -33
  265. data/{include/grpc/support/slice.h → src/core/lib/iomgr/workqueue_uv.h} +4 -6
  266. data/src/core/lib/iomgr/workqueue_windows.c +9 -8
  267. data/src/core/lib/json/json.c +3 -3
  268. data/src/core/lib/json/json.h +11 -11
  269. data/src/core/lib/json/json_reader.c +9 -5
  270. data/src/core/lib/profiling/basic_timers.c +10 -1
  271. data/src/core/lib/profiling/timers.h +2 -0
  272. data/src/core/lib/security/context/security_context.c +13 -3
  273. data/src/core/lib/security/context/security_context.h +20 -0
  274. data/src/core/lib/security/credentials/composite/composite_credentials.c +28 -14
  275. data/src/core/lib/security/credentials/composite/composite_credentials.h +2 -2
  276. data/src/core/lib/security/credentials/credentials.c +48 -19
  277. data/src/core/lib/security/credentials/credentials.h +36 -19
  278. data/src/core/lib/security/credentials/credentials_metadata.c +11 -8
  279. data/src/core/lib/security/credentials/fake/fake_credentials.c +15 -11
  280. data/src/core/lib/security/credentials/google_default/{credentials_posix.c → credentials_generic.c} +7 -14
  281. data/src/core/lib/security/credentials/google_default/google_default_credentials.c +33 -21
  282. data/src/core/lib/security/credentials/google_default/google_default_credentials.h +14 -0
  283. data/src/core/lib/security/credentials/iam/iam_credentials.c +3 -2
  284. data/src/core/lib/security/credentials/jwt/json_token.c +1 -0
  285. data/src/core/lib/security/credentials/jwt/json_token.h +1 -1
  286. data/src/core/lib/security/credentials/jwt/jwt_credentials.c +54 -19
  287. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +2 -1
  288. data/src/core/lib/security/credentials/jwt/jwt_verifier.c +129 -79
  289. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +9 -6
  290. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +63 -28
  291. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +1 -1
  292. data/src/core/lib/security/credentials/plugin/plugin_credentials.c +32 -11
  293. data/src/core/lib/security/credentials/ssl/ssl_credentials.c +13 -9
  294. data/src/core/lib/security/transport/client_auth_filter.c +33 -27
  295. data/src/core/lib/security/transport/secure_endpoint.c +93 -68
  296. data/src/core/lib/security/transport/secure_endpoint.h +2 -2
  297. data/src/core/lib/security/transport/security_connector.c +133 -168
  298. data/src/core/lib/security/transport/security_connector.h +31 -46
  299. data/src/core/lib/security/transport/security_handshaker.c +501 -0
  300. data/src/core/lib/security/transport/{handshake.h → security_handshaker.h} +10 -10
  301. data/src/core/lib/security/transport/server_auth_filter.c +50 -38
  302. data/src/core/lib/security/util/b64.c +11 -8
  303. data/src/core/lib/security/util/b64.h +5 -4
  304. data/src/core/lib/slice/percent_encoding.c +182 -0
  305. data/src/core/lib/slice/percent_encoding.h +78 -0
  306. data/src/core/lib/{support → slice}/slice.c +81 -50
  307. data/src/core/lib/{support → slice}/slice_buffer.c +78 -60
  308. data/src/core/lib/slice/slice_internal.h +49 -0
  309. data/src/core/lib/slice/slice_string_helpers.c +90 -0
  310. data/src/core/lib/{iomgr/workqueue_posix.h → slice/slice_string_helpers.h} +18 -18
  311. data/src/core/lib/support/backoff.c +24 -13
  312. data/src/core/lib/support/backoff.h +5 -2
  313. data/src/core/lib/support/env.h +0 -2
  314. data/src/core/lib/support/log.c +5 -4
  315. data/src/core/lib/support/log_linux.c +0 -1
  316. data/src/core/lib/support/log_posix.c +1 -1
  317. data/src/core/lib/support/mpscq.c +83 -0
  318. data/src/core/lib/support/mpscq.h +65 -0
  319. data/src/core/lib/support/string.c +58 -49
  320. data/src/core/lib/support/string.h +11 -8
  321. data/src/core/lib/support/subprocess_posix.c +5 -2
  322. data/src/core/lib/support/thd.c +1 -1
  323. data/src/core/lib/support/time.c +43 -79
  324. data/src/core/lib/support/time_posix.c +1 -1
  325. data/src/core/lib/support/tmpfile.h +0 -2
  326. data/src/core/lib/surface/alarm.c +4 -1
  327. data/src/core/lib/surface/byte_buffer.c +17 -11
  328. data/src/core/lib/surface/byte_buffer_reader.c +23 -15
  329. data/src/core/lib/surface/call.c +294 -276
  330. data/src/core/lib/surface/call.h +24 -9
  331. data/src/core/lib/surface/call_log_batch.c +5 -3
  332. data/src/core/lib/surface/channel.c +127 -111
  333. data/src/core/lib/surface/channel.h +14 -5
  334. data/src/core/lib/surface/channel_init.c +1 -1
  335. data/src/core/lib/surface/channel_init.h +10 -1
  336. data/src/core/lib/surface/channel_ping.c +7 -6
  337. data/src/core/lib/surface/completion_queue.c +154 -18
  338. data/src/core/lib/surface/completion_queue.h +5 -0
  339. data/src/core/lib/surface/init.c +40 -6
  340. data/src/core/lib/surface/init.h +1 -0
  341. data/src/core/lib/surface/init_secure.c +5 -2
  342. data/src/core/lib/surface/lame_client.c +28 -18
  343. data/src/core/lib/surface/server.c +134 -87
  344. data/src/core/lib/surface/server.h +8 -0
  345. data/src/core/lib/surface/validate_metadata.c +1 -1
  346. data/src/core/lib/surface/version.c +3 -1
  347. data/src/core/lib/transport/byte_stream.c +7 -4
  348. data/src/core/lib/transport/byte_stream.h +6 -10
  349. data/src/core/lib/transport/connectivity_state.c +21 -12
  350. data/src/core/lib/transport/connectivity_state.h +4 -1
  351. data/src/core/lib/transport/mdstr_hash_table.c +118 -0
  352. data/src/core/lib/transport/mdstr_hash_table.h +77 -0
  353. data/src/core/lib/transport/metadata.c +83 -60
  354. data/src/core/lib/transport/metadata.h +41 -23
  355. data/src/core/lib/transport/metadata_batch.c +17 -11
  356. data/src/core/lib/transport/metadata_batch.h +20 -6
  357. data/src/core/lib/transport/pid_controller.c +57 -0
  358. data/src/core/lib/transport/pid_controller.h +64 -0
  359. data/src/core/lib/transport/service_config.c +251 -0
  360. data/src/core/lib/transport/service_config.h +71 -0
  361. data/src/core/lib/transport/static_metadata.c +18 -16
  362. data/src/core/lib/transport/static_metadata.h +113 -107
  363. data/src/core/{ext/transport/chttp2 → lib}/transport/timeout_encoding.c +3 -3
  364. data/src/core/{ext/transport/chttp2 → lib}/transport/timeout_encoding.h +7 -7
  365. data/src/core/lib/transport/transport.c +84 -23
  366. data/src/core/lib/transport/transport.h +53 -8
  367. data/src/core/lib/transport/transport_impl.h +3 -0
  368. data/src/core/lib/transport/transport_op_string.c +92 -20
  369. data/src/core/lib/tsi/ssl_transport_security.c +3 -1
  370. data/src/core/plugin_registry/grpc_plugin_registry.c +8 -4
  371. data/src/ruby/ext/grpc/extconf.rb +0 -1
  372. data/src/ruby/ext/grpc/rb_byte_buffer.c +8 -7
  373. data/src/ruby/ext/grpc/rb_call.c +15 -5
  374. data/src/ruby/ext/grpc/rb_channel.c +1 -1
  375. data/src/ruby/ext/grpc/rb_compression_options.c +466 -0
  376. data/src/{core/ext/client_config/default_initial_connect_string.c → ruby/ext/grpc/rb_compression_options.h} +10 -5
  377. data/src/ruby/ext/grpc/rb_grpc.c +3 -1
  378. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +198 -190
  379. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +306 -294
  380. data/src/ruby/ext/grpc/rb_server.c +18 -12
  381. data/src/ruby/lib/grpc/errors.rb +154 -2
  382. data/src/ruby/lib/grpc/generic/active_call.rb +144 -63
  383. data/src/ruby/lib/grpc/generic/bidi_call.rb +18 -2
  384. data/src/ruby/lib/grpc/generic/client_stub.rb +7 -5
  385. data/src/ruby/lib/grpc/generic/rpc_desc.rb +39 -13
  386. data/src/ruby/lib/grpc/generic/rpc_server.rb +51 -24
  387. data/src/ruby/lib/grpc/generic/service.rb +3 -2
  388. data/src/ruby/lib/grpc/version.rb +1 -1
  389. data/src/ruby/pb/grpc/health/checker.rb +3 -1
  390. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +7 -0
  391. data/src/ruby/pb/test/client.rb +307 -7
  392. data/src/ruby/pb/test/server.rb +26 -1
  393. data/src/ruby/spec/compression_options_spec.rb +164 -0
  394. data/src/ruby/spec/error_sanity_spec.rb +64 -0
  395. data/src/ruby/spec/generic/active_call_spec.rb +290 -12
  396. data/src/ruby/spec/generic/client_stub_spec.rb +91 -41
  397. data/src/ruby/spec/generic/rpc_desc_spec.rb +36 -16
  398. data/src/ruby/spec/generic/rpc_server_pool_spec.rb +22 -28
  399. data/src/ruby/spec/generic/rpc_server_spec.rb +6 -6
  400. data/src/ruby/spec/pb/health/checker_spec.rb +27 -19
  401. data/src/ruby/spec/spec_helper.rb +2 -0
  402. data/third_party/boringssl/crypto/aes/aes.c +12 -12
  403. data/third_party/boringssl/crypto/aes/mode_wrappers.c +6 -2
  404. data/third_party/boringssl/crypto/asn1/a_d2i_fp.c +28 -13
  405. data/third_party/boringssl/crypto/asn1/a_gentm.c +2 -0
  406. data/third_party/boringssl/crypto/asn1/a_object.c +7 -3
  407. data/third_party/boringssl/crypto/asn1/a_strnid.c +1 -0
  408. data/third_party/boringssl/crypto/asn1/a_time.c +0 -11
  409. data/third_party/boringssl/crypto/asn1/a_type.c +0 -2
  410. data/third_party/boringssl/crypto/asn1/a_utctm.c +1 -30
  411. data/third_party/boringssl/crypto/asn1/asn1_lib.c +56 -76
  412. data/third_party/boringssl/crypto/asn1/asn1_locl.h +0 -10
  413. data/third_party/boringssl/crypto/asn1/asn1_par.c +0 -322
  414. data/third_party/boringssl/crypto/asn1/f_enum.c +1 -108
  415. data/third_party/boringssl/crypto/asn1/f_int.c +1 -106
  416. data/third_party/boringssl/crypto/asn1/f_string.c +1 -106
  417. data/third_party/boringssl/crypto/asn1/tasn_dec.c +10 -14
  418. data/third_party/boringssl/crypto/asn1/tasn_enc.c +17 -11
  419. data/third_party/boringssl/crypto/asn1/tasn_typ.c +29 -42
  420. data/third_party/boringssl/crypto/asn1/tasn_utl.c +1 -1
  421. data/third_party/boringssl/crypto/base64/base64.c +249 -285
  422. data/third_party/boringssl/crypto/bio/bio.c +13 -23
  423. data/third_party/boringssl/crypto/bio/bio_mem.c +3 -2
  424. data/third_party/boringssl/crypto/bio/connect.c +12 -3
  425. data/third_party/boringssl/crypto/bio/fd.c +22 -15
  426. data/third_party/boringssl/crypto/bio/file.c +2 -38
  427. data/third_party/boringssl/crypto/bio/hexdump.c +1 -2
  428. data/third_party/boringssl/crypto/bio/internal.h +3 -0
  429. data/third_party/boringssl/crypto/bio/pair.c +1 -1
  430. data/third_party/boringssl/crypto/bio/socket.c +10 -2
  431. data/third_party/boringssl/crypto/bio/socket_helper.c +2 -2
  432. data/third_party/boringssl/crypto/bn/asm/x86_64-gcc.c +0 -8
  433. data/third_party/boringssl/crypto/bn/bn.c +38 -0
  434. data/third_party/boringssl/crypto/bn/cmp.c +25 -0
  435. data/third_party/boringssl/crypto/bn/convert.c +73 -76
  436. data/third_party/boringssl/crypto/bn/div.c +136 -70
  437. data/third_party/boringssl/crypto/bn/exponentiation.c +86 -381
  438. data/third_party/boringssl/crypto/bn/gcd.c +213 -296
  439. data/third_party/boringssl/crypto/bn/generic.c +0 -80
  440. data/third_party/boringssl/crypto/bn/internal.h +15 -3
  441. data/third_party/boringssl/crypto/bn/montgomery.c +57 -207
  442. data/third_party/boringssl/crypto/bn/montgomery_inv.c +160 -0
  443. data/third_party/boringssl/crypto/bn/mul.c +2 -1
  444. data/third_party/boringssl/crypto/bn/prime.c +24 -8
  445. data/third_party/boringssl/crypto/bn/random.c +47 -33
  446. data/third_party/boringssl/crypto/bn/sqrt.c +4 -5
  447. data/third_party/boringssl/crypto/buf/buf.c +25 -21
  448. data/third_party/boringssl/crypto/bytestring/ber.c +1 -0
  449. data/third_party/boringssl/crypto/bytestring/cbb.c +50 -22
  450. data/third_party/boringssl/crypto/bytestring/cbs.c +28 -4
  451. data/third_party/boringssl/crypto/chacha/{chacha_generic.c → chacha.c} +56 -29
  452. data/third_party/boringssl/crypto/cipher/aead.c +11 -22
  453. data/third_party/boringssl/crypto/cipher/cipher.c +2 -2
  454. data/third_party/boringssl/crypto/cipher/e_aes.c +53 -103
  455. data/third_party/boringssl/crypto/cipher/e_chacha20poly1305.c +2 -8
  456. data/third_party/boringssl/crypto/cipher/e_des.c +3 -5
  457. data/third_party/boringssl/crypto/cipher/e_null.c +1 -1
  458. data/third_party/boringssl/crypto/cipher/e_rc2.c +1 -1
  459. data/third_party/boringssl/crypto/cipher/e_rc4.c +1 -1
  460. data/third_party/boringssl/crypto/cipher/e_ssl3.c +3 -63
  461. data/third_party/boringssl/crypto/cipher/e_tls.c +12 -83
  462. data/third_party/boringssl/crypto/cipher/internal.h +8 -10
  463. data/third_party/boringssl/crypto/cipher/tls_cbc.c +69 -40
  464. data/third_party/boringssl/crypto/conf/conf.c +2 -1
  465. data/third_party/boringssl/crypto/cpu-aarch64-linux.c +61 -0
  466. data/third_party/boringssl/crypto/cpu-arm-linux.c +360 -0
  467. data/third_party/boringssl/crypto/cpu-arm.c +0 -161
  468. data/third_party/boringssl/crypto/cpu-intel.c +5 -3
  469. data/third_party/boringssl/{ssl/test/scoped_types.h → crypto/cpu-ppc64le.c} +21 -9
  470. data/third_party/boringssl/crypto/crypto.c +29 -7
  471. data/third_party/boringssl/crypto/curve25519/curve25519.c +284 -242
  472. data/third_party/boringssl/crypto/curve25519/internal.h +64 -0
  473. data/third_party/boringssl/crypto/curve25519/spake25519.c +464 -0
  474. data/third_party/boringssl/crypto/curve25519/x25519-x86_64.c +21 -0
  475. data/third_party/boringssl/crypto/dh/check.c +22 -6
  476. data/third_party/boringssl/crypto/dh/dh.c +45 -21
  477. data/third_party/boringssl/crypto/dh/dh_asn1.c +96 -20
  478. data/third_party/boringssl/crypto/dh/params.c +30 -78
  479. data/third_party/boringssl/crypto/digest/digest.c +3 -3
  480. data/third_party/boringssl/crypto/dsa/dsa.c +59 -29
  481. data/third_party/boringssl/crypto/dsa/dsa_asn1.c +4 -0
  482. data/third_party/boringssl/crypto/ec/ec.c +84 -140
  483. data/third_party/boringssl/crypto/ec/ec_asn1.c +82 -52
  484. data/third_party/boringssl/crypto/ec/ec_key.c +15 -15
  485. data/third_party/boringssl/crypto/ec/ec_montgomery.c +87 -50
  486. data/third_party/boringssl/crypto/ec/internal.h +12 -36
  487. data/third_party/boringssl/crypto/ec/oct.c +11 -11
  488. data/third_party/boringssl/crypto/ec/p224-64.c +59 -116
  489. data/third_party/boringssl/crypto/ec/p256-64.c +88 -163
  490. data/third_party/boringssl/crypto/ec/p256-x86_64.c +46 -58
  491. data/third_party/boringssl/crypto/ec/simple.c +81 -201
  492. data/third_party/boringssl/crypto/ec/util-64.c +0 -74
  493. data/third_party/boringssl/crypto/ecdh/ecdh.c +7 -1
  494. data/third_party/boringssl/crypto/ecdsa/ecdsa.c +28 -46
  495. data/third_party/boringssl/crypto/ecdsa/ecdsa_asn1.c +1 -0
  496. data/third_party/boringssl/crypto/engine/engine.c +1 -1
  497. data/third_party/boringssl/crypto/err/err.c +3 -3
  498. data/third_party/boringssl/crypto/evp/evp.c +14 -59
  499. data/third_party/boringssl/crypto/evp/evp_asn1.c +144 -87
  500. data/third_party/boringssl/crypto/evp/evp_ctx.c +7 -7
  501. data/third_party/boringssl/crypto/evp/internal.h +4 -46
  502. data/third_party/boringssl/crypto/evp/p_dsa_asn1.c +8 -157
  503. data/third_party/boringssl/crypto/evp/p_ec.c +1 -1
  504. data/third_party/boringssl/crypto/evp/p_ec_asn1.c +22 -170
  505. data/third_party/boringssl/crypto/evp/p_rsa.c +1 -1
  506. data/third_party/boringssl/crypto/evp/p_rsa_asn1.c +10 -548
  507. data/third_party/boringssl/crypto/evp/print.c +520 -0
  508. data/third_party/boringssl/crypto/ex_data.c +4 -6
  509. data/third_party/boringssl/crypto/hkdf/hkdf.c +38 -17
  510. data/third_party/boringssl/crypto/hmac/hmac.c +6 -6
  511. data/third_party/boringssl/crypto/internal.h +57 -77
  512. data/third_party/boringssl/crypto/lhash/lhash.c +6 -10
  513. data/third_party/boringssl/crypto/md4/md4.c +9 -0
  514. data/third_party/boringssl/crypto/mem.c +19 -19
  515. data/third_party/boringssl/crypto/modes/cfb.c +5 -6
  516. data/third_party/boringssl/crypto/modes/ctr.c +10 -18
  517. data/third_party/boringssl/crypto/modes/gcm.c +100 -66
  518. data/third_party/boringssl/crypto/modes/internal.h +15 -27
  519. data/third_party/boringssl/crypto/modes/ofb.c +9 -22
  520. data/third_party/boringssl/crypto/newhope/error_correction.c +131 -0
  521. data/third_party/boringssl/crypto/newhope/internal.h +71 -0
  522. data/third_party/boringssl/crypto/newhope/newhope.c +174 -0
  523. data/third_party/boringssl/crypto/newhope/ntt.c +148 -0
  524. data/third_party/boringssl/crypto/newhope/poly.c +183 -0
  525. data/third_party/boringssl/crypto/newhope/precomp.c +306 -0
  526. data/third_party/boringssl/crypto/newhope/reduce.c +42 -0
  527. data/third_party/boringssl/crypto/obj/obj.c +111 -135
  528. data/third_party/boringssl/crypto/obj/obj_dat.h +4 -10
  529. data/third_party/boringssl/crypto/pem/pem_lib.c +6 -43
  530. data/third_party/boringssl/crypto/pem/pem_pkey.c +10 -19
  531. data/third_party/boringssl/crypto/pkcs8/p5_pbe.c +1 -0
  532. data/third_party/boringssl/crypto/pkcs8/p5_pbev2.c +2 -1
  533. data/third_party/boringssl/crypto/pkcs8/p8_pkey.c +2 -2
  534. data/third_party/boringssl/crypto/pkcs8/pkcs8.c +95 -87
  535. data/third_party/boringssl/crypto/{test/test_util.h → poly1305/internal.h} +15 -10
  536. data/third_party/boringssl/crypto/poly1305/poly1305.c +8 -15
  537. data/third_party/boringssl/crypto/poly1305/poly1305_arm.c +1 -0
  538. data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +3 -3
  539. data/third_party/boringssl/crypto/rand/deterministic.c +47 -0
  540. data/third_party/boringssl/crypto/rand/rand.c +4 -1
  541. data/third_party/boringssl/crypto/rand/urandom.c +5 -7
  542. data/third_party/boringssl/crypto/rand/windows.c +5 -8
  543. data/third_party/boringssl/crypto/rc4/rc4.c +24 -209
  544. data/third_party/boringssl/crypto/refcount_lock.c +2 -2
  545. data/third_party/boringssl/crypto/rsa/blinding.c +74 -232
  546. data/third_party/boringssl/crypto/rsa/internal.h +5 -13
  547. data/third_party/boringssl/crypto/rsa/padding.c +64 -63
  548. data/third_party/boringssl/crypto/rsa/rsa.c +50 -28
  549. data/third_party/boringssl/crypto/rsa/rsa_asn1.c +8 -16
  550. data/third_party/boringssl/crypto/rsa/rsa_impl.c +134 -122
  551. data/third_party/boringssl/crypto/sha/sha256.c +2 -2
  552. data/third_party/boringssl/crypto/sha/sha512.c +7 -7
  553. data/third_party/boringssl/crypto/stack/stack.c +13 -22
  554. data/third_party/boringssl/crypto/thread.c +21 -12
  555. data/third_party/boringssl/crypto/thread_none.c +6 -2
  556. data/third_party/boringssl/crypto/thread_pthread.c +16 -7
  557. data/third_party/boringssl/crypto/thread_win.c +38 -85
  558. data/third_party/boringssl/crypto/x509/a_sign.c +3 -3
  559. data/third_party/boringssl/crypto/x509/a_strex.c +1 -1
  560. data/third_party/boringssl/crypto/x509/a_verify.c +2 -2
  561. data/third_party/boringssl/crypto/{evp → x509}/algorithm.c +37 -53
  562. data/third_party/boringssl/crypto/x509/asn1_gen.c +1 -2
  563. data/third_party/boringssl/crypto/x509/by_dir.c +6 -6
  564. data/third_party/boringssl/crypto/x509/internal.h +66 -0
  565. data/third_party/boringssl/crypto/x509/rsa_pss.c +385 -0
  566. data/third_party/boringssl/crypto/x509/t_x509.c +10 -12
  567. data/third_party/boringssl/crypto/x509/x509.c +5 -0
  568. data/third_party/boringssl/crypto/x509/x509_att.c +9 -3
  569. data/third_party/boringssl/crypto/x509/x509_lu.c +34 -44
  570. data/third_party/boringssl/crypto/x509/x509_obj.c +19 -2
  571. data/third_party/boringssl/crypto/x509/x509_r2x.c +9 -5
  572. data/third_party/boringssl/crypto/x509/x509_set.c +5 -0
  573. data/third_party/boringssl/crypto/x509/x509_txt.c +5 -0
  574. data/third_party/boringssl/crypto/x509/x509_vfy.c +63 -32
  575. data/third_party/boringssl/crypto/x509/x509_vpm.c +29 -18
  576. data/third_party/boringssl/crypto/x509/x509cset.c +2 -1
  577. data/third_party/boringssl/crypto/x509/x_crl.c +2 -2
  578. data/third_party/boringssl/crypto/x509/x_name.c +14 -17
  579. data/third_party/boringssl/crypto/x509/x_pubkey.c +10 -7
  580. data/third_party/boringssl/crypto/x509/x_x509.c +67 -6
  581. data/third_party/boringssl/crypto/x509v3/pcy_cache.c +2 -2
  582. data/third_party/boringssl/crypto/x509v3/pcy_tree.c +2 -1
  583. data/third_party/boringssl/crypto/x509v3/v3_conf.c +4 -3
  584. data/third_party/boringssl/crypto/x509v3/v3_cpols.c +5 -0
  585. data/third_party/boringssl/crypto/x509v3/v3_prn.c +0 -3
  586. data/third_party/boringssl/crypto/x509v3/v3_purp.c +2 -2
  587. data/third_party/boringssl/crypto/x509v3/v3_utl.c +2 -1
  588. data/third_party/boringssl/include/openssl/aead.h +72 -73
  589. data/third_party/boringssl/include/openssl/arm_arch.h +0 -6
  590. data/third_party/boringssl/include/openssl/asn1.h +103 -235
  591. data/third_party/boringssl/include/openssl/asn1_mac.h +17 -74
  592. data/third_party/boringssl/include/openssl/asn1t.h +1 -11
  593. data/third_party/boringssl/include/openssl/base.h +145 -3
  594. data/third_party/boringssl/include/openssl/base64.h +20 -17
  595. data/third_party/boringssl/include/openssl/bio.h +59 -34
  596. data/third_party/boringssl/include/openssl/bn.h +118 -51
  597. data/third_party/boringssl/include/openssl/buf.h +15 -0
  598. data/third_party/boringssl/include/openssl/bytestring.h +52 -4
  599. data/third_party/boringssl/include/openssl/chacha.h +2 -2
  600. data/third_party/boringssl/include/openssl/cipher.h +18 -1
  601. data/third_party/boringssl/include/openssl/cmac.h +11 -0
  602. data/third_party/boringssl/include/openssl/conf.h +13 -2
  603. data/third_party/boringssl/include/openssl/cpu.h +20 -23
  604. data/third_party/boringssl/include/openssl/crypto.h +22 -1
  605. data/third_party/boringssl/include/openssl/curve25519.h +96 -4
  606. data/third_party/boringssl/include/openssl/dh.h +71 -16
  607. data/third_party/boringssl/include/openssl/digest.h +38 -11
  608. data/third_party/boringssl/include/openssl/dsa.h +40 -4
  609. data/third_party/boringssl/include/openssl/ec.h +44 -18
  610. data/third_party/boringssl/include/openssl/ec_key.h +27 -6
  611. data/third_party/boringssl/include/openssl/ecdsa.h +11 -0
  612. data/third_party/boringssl/include/openssl/engine.h +11 -0
  613. data/third_party/boringssl/include/openssl/evp.h +52 -88
  614. data/third_party/boringssl/include/openssl/hkdf.h +24 -4
  615. data/third_party/boringssl/include/openssl/hmac.h +20 -6
  616. data/third_party/boringssl/include/openssl/md4.h +4 -0
  617. data/third_party/boringssl/include/openssl/mem.h +19 -0
  618. data/third_party/boringssl/include/openssl/newhope.h +158 -0
  619. data/third_party/boringssl/include/openssl/nid.h +4166 -0
  620. data/third_party/boringssl/include/openssl/obj.h +31 -3
  621. data/third_party/boringssl/include/openssl/obj_mac.h +17 -4143
  622. data/third_party/boringssl/include/openssl/{opensslfeatures.h → opensslconf.h} +3 -3
  623. data/third_party/boringssl/include/openssl/pem.h +5 -0
  624. data/third_party/boringssl/include/openssl/pkcs8.h +12 -0
  625. data/third_party/boringssl/include/openssl/rand.h +6 -0
  626. data/third_party/boringssl/include/openssl/rc4.h +6 -0
  627. data/third_party/boringssl/{crypto/dh/internal.h → include/openssl/ripemd.h} +38 -11
  628. data/third_party/boringssl/include/openssl/rsa.h +127 -65
  629. data/third_party/boringssl/include/openssl/sha.h +14 -10
  630. data/third_party/boringssl/include/openssl/ssl.h +561 -275
  631. data/third_party/boringssl/include/openssl/ssl3.h +18 -25
  632. data/third_party/boringssl/include/openssl/stack.h +2 -4
  633. data/third_party/boringssl/include/openssl/stack_macros.h +321 -353
  634. data/third_party/boringssl/include/openssl/thread.h +31 -13
  635. data/third_party/boringssl/include/openssl/time_support.h +1 -0
  636. data/third_party/boringssl/include/openssl/tls1.h +37 -33
  637. data/third_party/boringssl/include/openssl/x509.h +69 -26
  638. data/third_party/boringssl/include/openssl/x509_vfy.h +12 -10
  639. data/third_party/boringssl/include/openssl/x509v3.h +23 -2
  640. data/third_party/boringssl/ssl/custom_extensions.c +3 -5
  641. data/third_party/boringssl/ssl/d1_both.c +463 -499
  642. data/third_party/boringssl/ssl/d1_lib.c +38 -109
  643. data/third_party/boringssl/ssl/d1_pkt.c +173 -334
  644. data/third_party/boringssl/ssl/d1_srtp.c +20 -18
  645. data/third_party/boringssl/ssl/{d1_meth.c → dtls_method.c} +88 -15
  646. data/third_party/boringssl/ssl/dtls_record.c +27 -26
  647. data/third_party/boringssl/ssl/{s3_clnt.c → handshake_client.c} +816 -904
  648. data/third_party/boringssl/ssl/handshake_server.c +1932 -0
  649. data/third_party/boringssl/ssl/internal.h +712 -439
  650. data/third_party/boringssl/ssl/s3_both.c +445 -257
  651. data/third_party/boringssl/ssl/s3_enc.c +53 -36
  652. data/third_party/boringssl/ssl/s3_lib.c +23 -268
  653. data/third_party/boringssl/ssl/s3_pkt.c +168 -364
  654. data/third_party/boringssl/ssl/ssl_aead_ctx.c +46 -17
  655. data/third_party/boringssl/ssl/ssl_asn1.c +56 -26
  656. data/third_party/boringssl/ssl/ssl_buffer.c +16 -24
  657. data/third_party/boringssl/ssl/ssl_cert.c +324 -49
  658. data/third_party/boringssl/ssl/ssl_cipher.c +205 -150
  659. data/third_party/boringssl/ssl/ssl_ecdh.c +287 -51
  660. data/third_party/boringssl/ssl/ssl_file.c +21 -68
  661. data/third_party/boringssl/ssl/ssl_lib.c +881 -510
  662. data/third_party/boringssl/ssl/ssl_rsa.c +404 -34
  663. data/third_party/boringssl/ssl/ssl_session.c +324 -103
  664. data/third_party/boringssl/ssl/ssl_stat.c +6 -88
  665. data/third_party/boringssl/ssl/t1_enc.c +23 -39
  666. data/third_party/boringssl/ssl/t1_lib.c +1120 -622
  667. data/third_party/boringssl/ssl/tls13_both.c +440 -0
  668. data/third_party/boringssl/ssl/tls13_client.c +682 -0
  669. data/third_party/boringssl/ssl/tls13_enc.c +391 -0
  670. data/third_party/boringssl/ssl/tls13_server.c +672 -0
  671. data/third_party/boringssl/ssl/{s3_meth.c → tls_method.c} +100 -21
  672. data/third_party/boringssl/ssl/tls_record.c +159 -77
  673. data/third_party/nanopb/pb.h +60 -28
  674. data/third_party/nanopb/pb_decode.c +120 -92
  675. data/third_party/nanopb/pb_decode.h +3 -3
  676. data/third_party/nanopb/pb_encode.c +73 -67
  677. data/third_party/nanopb/pb_encode.h +4 -4
  678. metadata +155 -89
  679. data/include/grpc/impl/codegen/byte_buffer.h +0 -122
  680. data/include/grpc/impl/codegen/log.h +0 -118
  681. data/include/grpc/impl/codegen/time.h +0 -130
  682. data/src/core/ext/client_config/client_channel.c +0 -593
  683. data/src/core/ext/client_config/subchannel_call_holder.c +0 -272
  684. data/src/core/ext/client_config/subchannel_call_holder.h +0 -99
  685. data/src/core/lib/iomgr/ev_poll_and_epoll_posix.c +0 -2046
  686. data/src/core/lib/iomgr/workqueue_posix.c +0 -151
  687. data/src/core/lib/security/transport/handshake.c +0 -368
  688. data/third_party/boringssl/crypto/asn1/a_bytes.c +0 -308
  689. data/third_party/boringssl/crypto/asn1/bio_asn1.c +0 -477
  690. data/third_party/boringssl/crypto/asn1/bio_ndef.c +0 -251
  691. data/third_party/boringssl/crypto/asn1/t_pkey.c +0 -110
  692. data/third_party/boringssl/crypto/asn1/tasn_prn.c +0 -596
  693. data/third_party/boringssl/crypto/chacha/chacha_vec.c +0 -328
  694. data/third_party/boringssl/crypto/directory.h +0 -66
  695. data/third_party/boringssl/crypto/directory_posix.c +0 -108
  696. data/third_party/boringssl/crypto/directory_win.c +0 -144
  697. data/third_party/boringssl/crypto/test/scoped_types.h +0 -140
  698. data/third_party/boringssl/include/openssl/pqueue.h +0 -146
  699. data/third_party/boringssl/ssl/d1_clnt.c +0 -561
  700. data/third_party/boringssl/ssl/d1_srvr.c +0 -476
  701. data/third_party/boringssl/ssl/pqueue/pqueue.c +0 -197
  702. data/third_party/boringssl/ssl/s3_srvr.c +0 -2272
  703. data/third_party/boringssl/ssl/test/async_bio.h +0 -45
  704. data/third_party/boringssl/ssl/test/packeted_bio.h +0 -44
  705. data/third_party/boringssl/ssl/test/test_config.h +0 -110
@@ -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/time.h>
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 */
@@ -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
- 0xc3207ab,
58
- 0xc3287c5,
59
- 0xc3307d4,
60
- 0xc3387e4,
61
- 0xc3407f3,
62
- 0xc34880c,
63
- 0xc350818,
64
- 0xc358835,
65
- 0xc360847,
66
- 0xc368855,
67
- 0xc370865,
68
- 0xc378872,
69
- 0xc380882,
70
- 0xc38888d,
71
- 0xc3908a3,
72
- 0xc3988b2,
73
- 0xc3a08c6,
74
- 0xc3a87b8,
75
- 0xc3b00b0,
76
- 0x10321484,
77
- 0x10329490,
78
- 0x103314a9,
79
- 0x103394bc,
80
- 0x10340ded,
81
- 0x103494cf,
82
- 0x103514e4,
83
- 0x10359516,
84
- 0x1036152f,
85
- 0x10369544,
86
- 0x10371562,
87
- 0x10379571,
88
- 0x1038158d,
89
- 0x103895a8,
90
- 0x103915b7,
91
- 0x103995d3,
92
- 0x103a15ee,
93
- 0x103a9605,
94
- 0x103b1616,
95
- 0x103b962a,
96
- 0x103c1649,
97
- 0x103c9658,
98
- 0x103d166f,
99
- 0x103d9682,
100
- 0x103e0b5d,
101
- 0x103e96b3,
102
- 0x103f16c6,
103
- 0x103f96e0,
104
- 0x104016f0,
105
- 0x10409704,
106
- 0x1041171a,
107
- 0x10419732,
108
- 0x10421747,
109
- 0x1042975b,
110
- 0x1043176d,
111
- 0x104385c1,
112
- 0x104408b2,
113
- 0x10449782,
114
- 0x10451799,
115
- 0x104597ae,
116
- 0x104617bc,
117
- 0x10469695,
118
- 0x104714f7,
119
- 0x104787b8,
120
- 0x104800b0,
121
- 0x10488b8c,
122
- 0x14320b40,
123
- 0x14328b4e,
124
- 0x14330b5d,
125
- 0x14338b6f,
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
- 0x18328e53,
128
- 0x18340e81,
129
- 0x18348e95,
130
- 0x18358ecc,
131
- 0x18368ef9,
132
- 0x18370f0c,
133
- 0x18378f20,
134
- 0x18380f44,
135
- 0x18388f52,
136
- 0x18390f68,
137
- 0x18398f7c,
138
- 0x183a0f8c,
139
- 0x183b0f9c,
140
- 0x183b8fb1,
141
- 0x183c8fdc,
142
- 0x183d0ff0,
143
- 0x183d9000,
144
- 0x183e0b98,
145
- 0x183e900d,
146
- 0x183f101f,
147
- 0x183f902a,
148
- 0x1840103a,
149
- 0x1840904b,
150
- 0x1841105c,
151
- 0x1841906e,
152
- 0x18421097,
153
- 0x184290c9,
154
- 0x184310d8,
155
- 0x18451141,
156
- 0x18459157,
157
- 0x18461172,
158
- 0x18468ee4,
159
- 0x184709ca,
160
- 0x18478094,
161
- 0x18480fc8,
162
- 0x1848910d,
163
- 0x18490e69,
164
- 0x18498eaa,
165
- 0x184a11a8,
166
- 0x184a9125,
167
- 0x184b10ec,
168
- 0x184b8e43,
169
- 0x184c10b0,
170
- 0x184c865c,
171
- 0x184d118d,
172
- 0x184d80b0,
173
- 0x203211cf,
174
- 0x243211db,
175
- 0x243288f8,
176
- 0x243311ed,
177
- 0x243391fa,
178
- 0x24341207,
179
- 0x24349219,
180
- 0x24351228,
181
- 0x24359245,
182
- 0x24361252,
183
- 0x24369260,
184
- 0x2437126e,
185
- 0x2437927c,
186
- 0x24381285,
187
- 0x24389292,
188
- 0x243912a5,
189
- 0x28320b80,
190
- 0x28328b98,
191
- 0x28330b5d,
192
- 0x28338bab,
193
- 0x28340b8c,
194
- 0x28348094,
195
- 0x283500b0,
196
- 0x2c32281d,
197
- 0x2c32a82b,
198
- 0x2c33283d,
199
- 0x2c33a84f,
200
- 0x2c342863,
201
- 0x2c34a875,
202
- 0x2c352890,
203
- 0x2c35a8a2,
204
- 0x2c3628b5,
205
- 0x2c3682f3,
206
- 0x2c3728c2,
207
- 0x2c37a8d4,
208
- 0x2c3828e7,
209
- 0x2c38a8f5,
210
- 0x2c392905,
211
- 0x2c39a917,
212
- 0x2c3a292b,
213
- 0x2c3aa93c,
214
- 0x2c3b1365,
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
- 0x303680a1,
243
- 0x303700b0,
244
- 0x303780bd,
245
- 0x303800d0,
246
- 0x303880eb,
247
- 0x30390100,
248
- 0x30398114,
249
- 0x303a0128,
250
- 0x303a8139,
251
- 0x303b0152,
252
- 0x303b816f,
253
- 0x303c017d,
254
- 0x303c8191,
255
- 0x303d01a1,
256
- 0x303d81ba,
257
- 0x303e01ca,
258
- 0x303e81dd,
259
- 0x303f01ec,
260
- 0x303f81f8,
261
- 0x3040020d,
262
- 0x3040821d,
263
- 0x30410234,
264
- 0x30418241,
265
- 0x30420254,
266
- 0x30428263,
267
- 0x30430278,
268
- 0x30438299,
269
- 0x304402ac,
270
- 0x304482bf,
271
- 0x304502d8,
272
- 0x304582f3,
273
- 0x30460310,
274
- 0x30468329,
275
- 0x30470337,
276
- 0x30478348,
277
- 0x30480357,
278
- 0x3048836f,
279
- 0x30490381,
280
- 0x30498395,
281
- 0x304a03b4,
282
- 0x304a83c7,
283
- 0x304b03d2,
284
- 0x304b83e3,
285
- 0x304c03ef,
286
- 0x304c8405,
287
- 0x304d0413,
288
- 0x304d8429,
289
- 0x304e043b,
290
- 0x304e844d,
291
- 0x304f0460,
292
- 0x304f8473,
293
- 0x30500484,
294
- 0x30508494,
295
- 0x305104ac,
296
- 0x305184c1,
297
- 0x305204d9,
298
- 0x305284ed,
299
- 0x30530505,
300
- 0x3053851e,
301
- 0x30540537,
302
- 0x30548554,
303
- 0x3055055f,
304
- 0x30558577,
305
- 0x30560587,
306
- 0x30568598,
307
- 0x305705ab,
308
- 0x305785c1,
309
- 0x305805ca,
310
- 0x305885df,
311
- 0x305905f2,
312
- 0x30598601,
313
- 0x305a0621,
314
- 0x305a8630,
315
- 0x305b063c,
316
- 0x305b865c,
317
- 0x305c0678,
318
- 0x305c8689,
319
- 0x305d0693,
320
- 0x34320aba,
321
- 0x34328ace,
322
- 0x34330aeb,
323
- 0x34338afe,
324
- 0x34340b0d,
325
- 0x34348b2a,
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
- 0x3c328bd5,
328
- 0x3c330bee,
329
- 0x3c338c09,
330
- 0x3c340c26,
331
- 0x3c348c50,
332
- 0x3c350c6b,
333
- 0x3c358c80,
334
- 0x3c360c99,
335
- 0x3c368cb1,
336
- 0x3c370cc2,
337
- 0x3c378cd0,
338
- 0x3c380cdd,
339
- 0x3c388cf1,
340
- 0x3c390b98,
341
- 0x3c398d05,
342
- 0x3c3a0d19,
343
- 0x3c3a8872,
344
- 0x3c3b0d29,
345
- 0x3c3b8d44,
346
- 0x3c3c0d56,
347
- 0x3c3c8d6c,
348
- 0x3c3d0d76,
349
- 0x3c3d8d8a,
350
- 0x3c3e0d98,
351
- 0x3c3e8dbd,
352
- 0x3c3f0bc1,
353
- 0x3c3f8da6,
354
- 0x3c400094,
355
- 0x3c4080b0,
356
- 0x3c410c41,
357
- 0x403217d3,
358
- 0x403297e9,
359
- 0x40331817,
360
- 0x40339821,
361
- 0x40341838,
362
- 0x40349856,
363
- 0x40351866,
364
- 0x40359878,
365
- 0x40361885,
366
- 0x40369891,
367
- 0x403718a6,
368
- 0x403798b8,
369
- 0x403818c3,
370
- 0x403898d5,
371
- 0x40390ded,
372
- 0x403998e5,
373
- 0x403a18f8,
374
- 0x403a9919,
375
- 0x403b192a,
376
- 0x403b993a,
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
- 0x403d1946,
380
- 0x403d995c,
381
- 0x403e196b,
382
- 0x403e997e,
383
- 0x403f1998,
384
- 0x403f99a6,
385
- 0x404019bb,
386
- 0x404099cf,
387
- 0x404119ec,
388
- 0x40419a07,
389
- 0x40421a20,
390
- 0x40429a33,
391
- 0x40431a47,
392
- 0x40439a5f,
393
- 0x40441a76,
394
- 0x40448094,
395
- 0x40451a8b,
396
- 0x40459a9d,
397
- 0x40461ac1,
398
- 0x40469ae1,
399
- 0x40471aef,
400
- 0x40479b03,
401
- 0x40481b18,
402
- 0x40489b31,
403
- 0x40491b48,
404
- 0x40499b62,
405
- 0x404a1b79,
406
- 0x404a9b97,
407
- 0x404b1baf,
408
- 0x404b9bc6,
409
- 0x404c1bdc,
410
- 0x404c9bee,
411
- 0x404d1c0f,
412
- 0x404d9c31,
413
- 0x404e1c45,
414
- 0x404e9c52,
415
- 0x404f1c69,
416
- 0x404f9c79,
417
- 0x40501c89,
418
- 0x40509c9d,
419
- 0x40511cb8,
420
- 0x40519cc8,
421
- 0x40521cdf,
422
- 0x40529cf1,
423
- 0x40531d09,
424
- 0x40539d1c,
425
- 0x40541d31,
426
- 0x40549d54,
427
- 0x40551d62,
428
- 0x40559d7f,
429
- 0x40561d8c,
430
- 0x40569da5,
431
- 0x40571dbd,
432
- 0x40579dd0,
433
- 0x40581de5,
434
- 0x40589df7,
435
- 0x40591e07,
436
- 0x40599e20,
437
- 0x405a1e34,
438
- 0x405a9e44,
439
- 0x405b1e5c,
440
- 0x405b9e6d,
441
- 0x405c1e80,
442
- 0x405c9e91,
443
- 0x405d1e9e,
444
- 0x405d9eb5,
445
- 0x405e1ed5,
446
- 0x405e8a08,
447
- 0x405f1ef6,
448
- 0x405f9f03,
449
- 0x40601f11,
450
- 0x40609f33,
451
- 0x40611f5b,
452
- 0x40619f70,
453
- 0x40621f87,
454
- 0x40629f98,
455
- 0x40631fa9,
456
- 0x40639fbe,
457
- 0x40641fd5,
458
- 0x40649fe6,
459
- 0x40652001,
460
- 0x4065a018,
461
- 0x40662030,
462
- 0x4066a05a,
463
- 0x40672085,
464
- 0x4067a0a6,
465
- 0x406820b9,
466
- 0x4068a0da,
467
- 0x406920f5,
468
- 0x4069a123,
469
- 0x406a2144,
470
- 0x406aa164,
471
- 0x406b22ec,
472
- 0x406ba30f,
473
- 0x406c2325,
474
- 0x406ca551,
475
- 0x406d2580,
476
- 0x406da5a8,
477
- 0x406e25c1,
478
- 0x406ea5d9,
479
- 0x406f25f8,
480
- 0x406fa60d,
481
- 0x40702620,
482
- 0x4070a63d,
483
- 0x40710773,
484
- 0x4071a64f,
485
- 0x40722662,
486
- 0x4072a67b,
487
- 0x40732693,
488
- 0x407390c9,
489
- 0x407426a7,
490
- 0x4074a6c1,
491
- 0x407526d2,
492
- 0x4075a6e6,
493
- 0x407626f4,
494
- 0x40769292,
495
- 0x40772719,
496
- 0x4077a73b,
497
- 0x40782756,
498
- 0x4078a76b,
499
- 0x40792782,
500
- 0x4079a798,
501
- 0x407a27a4,
502
- 0x407aa7b7,
503
- 0x407b27cc,
504
- 0x407ba7de,
505
- 0x407c27f3,
506
- 0x407ca7fc,
507
- 0x41f42217,
508
- 0x41f922a9,
509
- 0x41fe219c,
510
- 0x41fea378,
511
- 0x41ff2469,
512
- 0x42032230,
513
- 0x42082252,
514
- 0x4208a28e,
515
- 0x42092180,
516
- 0x4209a2c8,
517
- 0x420a21d7,
518
- 0x420aa1b7,
519
- 0x420b21f7,
520
- 0x420ba270,
521
- 0x420c2485,
522
- 0x420ca345,
523
- 0x420d235f,
524
- 0x420da396,
525
- 0x421223b0,
526
- 0x4217244c,
527
- 0x4217a3f2,
528
- 0x421c2414,
529
- 0x421f23cf,
530
- 0x4221249c,
531
- 0x4226242f,
532
- 0x422b2535,
533
- 0x422ba4fe,
534
- 0x422c251d,
535
- 0x422ca4d8,
536
- 0x422d24b7,
537
- 0x4432069e,
538
- 0x443286ad,
539
- 0x443306b9,
540
- 0x443386c7,
541
- 0x443406da,
542
- 0x443486eb,
543
- 0x443506f2,
544
- 0x443586fc,
545
- 0x4436070f,
546
- 0x44368725,
547
- 0x44370737,
548
- 0x44378744,
549
- 0x44380753,
550
- 0x4438875b,
551
- 0x44390773,
552
- 0x44398781,
553
- 0x443a0794,
554
- 0x4c3212bc,
555
- 0x4c3292cc,
556
- 0x4c3312df,
557
- 0x4c3392ff,
558
- 0x4c340094,
559
- 0x4c3480b0,
560
- 0x4c35130b,
561
- 0x4c359319,
562
- 0x4c361335,
563
- 0x4c369348,
564
- 0x4c371357,
565
- 0x4c379365,
566
- 0x4c38137a,
567
- 0x4c389386,
568
- 0x4c3913a6,
569
- 0x4c3993d0,
570
- 0x4c3a13e9,
571
- 0x4c3a9402,
572
- 0x4c3b05c1,
573
- 0x4c3b941b,
574
- 0x4c3c142d,
575
- 0x4c3c943c,
576
- 0x4c3d10c9,
577
- 0x4c3d9455,
578
- 0x4c3e1462,
579
- 0x50322a92,
580
- 0x5032aaa1,
581
- 0x50332aac,
582
- 0x5033aabc,
583
- 0x50342ad5,
584
- 0x5034aaef,
585
- 0x50352afd,
586
- 0x5035ab13,
587
- 0x50362b25,
588
- 0x5036ab3b,
589
- 0x50372b54,
590
- 0x5037ab67,
591
- 0x50382b7f,
592
- 0x5038ab90,
593
- 0x50392ba5,
594
- 0x5039abb9,
595
- 0x503a2bd9,
596
- 0x503aabef,
597
- 0x503b2c07,
598
- 0x503bac19,
599
- 0x503c2c35,
600
- 0x503cac4c,
601
- 0x503d2c65,
602
- 0x503dac7b,
603
- 0x503e2c88,
604
- 0x503eac9e,
605
- 0x503f2cb0,
606
- 0x503f8348,
607
- 0x50402cc3,
608
- 0x5040acd3,
609
- 0x50412ced,
610
- 0x5041acfc,
611
- 0x50422d16,
612
- 0x5042ad33,
613
- 0x50432d43,
614
- 0x5043ad53,
615
- 0x50442d62,
616
- 0x50448405,
617
- 0x50452d76,
618
- 0x5045ad94,
619
- 0x50462da7,
620
- 0x5046adbd,
621
- 0x50472dcf,
622
- 0x5047ade4,
623
- 0x50482e0a,
624
- 0x5048ae18,
625
- 0x50492e2b,
626
- 0x5049ae40,
627
- 0x504a2e56,
628
- 0x504aae66,
629
- 0x504b2e86,
630
- 0x504bae99,
631
- 0x504c2ebc,
632
- 0x504caeea,
633
- 0x504d2efc,
634
- 0x504daf19,
635
- 0x504e2f34,
636
- 0x504eaf50,
637
- 0x504f2f62,
638
- 0x504faf79,
639
- 0x50502f88,
640
- 0x50508678,
641
- 0x50512f9b,
642
- 0x58320e2b,
643
- 0x68320ded,
644
- 0x68328b98,
645
- 0x68330bab,
646
- 0x68338dfb,
647
- 0x68340e0b,
648
- 0x683480b0,
649
- 0x6c320dc9,
650
- 0x6c328b6f,
651
- 0x6c330dd4,
652
- 0x7432097e,
653
- 0x783208e3,
654
- 0x783288f8,
655
- 0x78330904,
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
- 0x78340913,
658
- 0x78348928,
659
- 0x78350947,
660
- 0x78358969,
661
- 0x7836097e,
662
- 0x78368994,
663
- 0x783709a4,
664
- 0x783789b7,
665
- 0x783809ca,
666
- 0x783889dc,
667
- 0x783909e9,
668
- 0x78398a08,
669
- 0x783a0a1d,
670
- 0x783a8a2b,
671
- 0x783b0a35,
672
- 0x783b8a49,
673
- 0x783c0a60,
674
- 0x783c8a75,
675
- 0x783d0a8c,
676
- 0x783d8aa1,
677
- 0x783e09f7,
678
- 0x7c3211be,
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"