grpc 1.26.0 → 1.30.0

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 (1240) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +7860 -11139
  3. data/etc/roots.pem +44 -0
  4. data/include/grpc/grpc.h +2 -2
  5. data/include/grpc/grpc_security.h +59 -24
  6. data/include/grpc/grpc_security_constants.h +28 -0
  7. data/include/grpc/impl/codegen/grpc_types.h +38 -21
  8. data/include/grpc/impl/codegen/port_platform.h +14 -3
  9. data/include/grpc/impl/codegen/sync.h +5 -3
  10. data/include/grpc/impl/codegen/sync_abseil.h +36 -0
  11. data/include/grpc/module.modulemap +25 -37
  12. data/include/grpc/support/sync_abseil.h +26 -0
  13. data/src/core/ext/filters/client_channel/backend_metric.cc +7 -4
  14. data/src/core/ext/filters/client_channel/client_channel.cc +273 -264
  15. data/src/core/ext/filters/client_channel/client_channel_channelz.cc +31 -47
  16. data/src/core/ext/filters/client_channel/client_channel_channelz.h +1 -3
  17. data/src/core/ext/filters/client_channel/client_channel_plugin.cc +3 -2
  18. data/src/core/ext/filters/client_channel/health/health_check_client.cc +7 -22
  19. data/src/core/ext/filters/client_channel/health/health_check_client.h +3 -3
  20. data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +1 -1
  21. data/src/core/ext/filters/client_channel/http_proxy.cc +25 -15
  22. data/src/core/ext/filters/client_channel/lb_policy.cc +20 -18
  23. data/src/core/ext/filters/client_channel/lb_policy.h +42 -33
  24. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.cc +83 -0
  25. data/src/core/ext/filters/client_channel/lb_policy/address_filtering.h +99 -0
  26. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.cc +297 -0
  27. data/src/core/ext/filters/client_channel/lb_policy/child_policy_handler.h +83 -0
  28. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +423 -627
  29. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.cc +89 -0
  30. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h +40 -0
  31. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc +11 -9
  32. data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +3 -2
  33. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +88 -121
  34. data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h +28 -57
  35. data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +18 -21
  36. data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +871 -0
  37. data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +10 -14
  38. data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +5 -11
  39. data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +734 -0
  40. data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +150 -101
  41. data/src/core/ext/filters/client_channel/lb_policy/xds/eds.cc +938 -0
  42. data/src/core/ext/filters/client_channel/lb_policy/xds/lrs.cc +528 -0
  43. data/src/core/ext/filters/client_channel/lb_policy/xds/xds.h +1 -2
  44. data/src/core/ext/filters/client_channel/lb_policy/xds/xds_routing.cc +834 -0
  45. data/src/core/ext/filters/client_channel/lb_policy_factory.h +3 -3
  46. data/src/core/ext/filters/client_channel/lb_policy_registry.cc +49 -77
  47. data/src/core/ext/filters/client_channel/lb_policy_registry.h +1 -1
  48. data/src/core/ext/filters/client_channel/local_subchannel_pool.h +2 -1
  49. data/src/core/ext/filters/client_channel/parse_address.cc +22 -21
  50. data/src/core/ext/filters/client_channel/resolver.cc +5 -8
  51. data/src/core/ext/filters/client_channel/resolver.h +12 -14
  52. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +129 -128
  53. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc +35 -35
  54. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +8 -7
  55. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_libuv.cc +17 -21
  56. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +5 -5
  57. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +72 -117
  58. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +186 -135
  59. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +5 -3
  60. data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +7 -4
  61. data/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +42 -45
  62. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +94 -103
  63. data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h +0 -4
  64. data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +5 -5
  65. data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +61 -10
  66. data/src/core/ext/filters/client_channel/resolver_factory.h +2 -2
  67. data/src/core/ext/filters/client_channel/resolver_registry.cc +6 -3
  68. data/src/core/ext/filters/client_channel/resolver_registry.h +8 -8
  69. data/src/core/ext/filters/client_channel/resolver_result_parsing.cc +242 -300
  70. data/src/core/ext/filters/client_channel/resolver_result_parsing.h +21 -18
  71. data/src/core/ext/filters/client_channel/resolving_lb_policy.cc +56 -206
  72. data/src/core/ext/filters/client_channel/resolving_lb_policy.h +11 -14
  73. data/src/core/ext/filters/client_channel/server_address.cc +6 -9
  74. data/src/core/ext/filters/client_channel/server_address.h +6 -12
  75. data/src/core/ext/filters/client_channel/service_config.cc +144 -253
  76. data/src/core/ext/filters/client_channel/service_config.h +32 -109
  77. data/src/core/ext/filters/client_channel/service_config_call_data.h +68 -0
  78. data/src/core/ext/filters/client_channel/service_config_parser.cc +87 -0
  79. data/src/core/ext/filters/client_channel/service_config_parser.h +89 -0
  80. data/src/core/ext/filters/client_channel/subchannel.cc +54 -24
  81. data/src/core/ext/filters/client_channel/subchannel.h +35 -11
  82. data/src/core/ext/filters/client_channel/xds/xds_api.cc +1556 -232
  83. data/src/core/ext/filters/client_channel/xds/xds_api.h +213 -114
  84. data/src/core/ext/filters/client_channel/xds/xds_bootstrap.cc +237 -345
  85. data/src/core/ext/filters/client_channel/xds/xds_bootstrap.h +34 -46
  86. data/src/core/ext/filters/client_channel/xds/xds_channel.h +3 -1
  87. data/src/core/ext/filters/client_channel/xds/xds_channel_secure.cc +18 -11
  88. data/src/core/ext/filters/client_channel/xds/xds_client.cc +1326 -399
  89. data/src/core/ext/filters/client_channel/xds/xds_client.h +124 -41
  90. data/src/core/ext/filters/client_channel/xds/xds_client_stats.cc +59 -138
  91. data/src/core/ext/filters/client_channel/xds/xds_client_stats.h +133 -154
  92. data/src/core/ext/filters/http/client/http_client_filter.cc +23 -28
  93. data/src/core/ext/filters/http/client_authority_filter.cc +4 -4
  94. data/src/core/ext/filters/http/http_filters_plugin.cc +27 -12
  95. data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +258 -221
  96. data/src/core/ext/filters/http/message_compress/message_decompress_filter.cc +358 -0
  97. data/src/core/ext/filters/http/message_compress/message_decompress_filter.h +29 -0
  98. data/src/core/ext/filters/message_size/message_size_filter.cc +38 -44
  99. data/src/core/ext/filters/message_size/message_size_filter.h +5 -5
  100. data/src/core/ext/transport/chttp2/server/chttp2_server.cc +7 -10
  101. data/src/core/ext/transport/chttp2/transport/bin_encoder.cc +4 -6
  102. data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +28 -29
  103. data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
  104. data/src/core/ext/transport/chttp2/transport/flow_control.cc +3 -3
  105. data/src/core/ext/transport/chttp2/transport/frame_goaway.h +2 -3
  106. data/src/core/ext/transport/chttp2/transport/frame_ping.h +2 -3
  107. data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +2 -3
  108. data/src/core/ext/transport/chttp2/transport/frame_settings.h +2 -3
  109. data/src/core/ext/transport/chttp2/transport/frame_window_update.h +2 -3
  110. data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +29 -16
  111. data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +2 -3
  112. data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -3
  113. data/src/core/ext/transport/chttp2/transport/hpack_table.h +2 -2
  114. data/src/core/ext/transport/chttp2/transport/http2_settings.h +4 -5
  115. data/src/core/ext/transport/chttp2/transport/huffsyms.h +2 -3
  116. data/src/core/ext/transport/chttp2/transport/internal.h +14 -21
  117. data/src/core/ext/transport/chttp2/transport/stream_map.h +2 -3
  118. data/src/core/ext/transport/chttp2/transport/writing.cc +16 -9
  119. data/src/core/ext/transport/inproc/inproc_transport.cc +41 -42
  120. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.c +17 -0
  121. data/src/core/ext/upb-generated/envoy/annotations/deprecation.upb.h +30 -0
  122. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.c +27 -0
  123. data/src/core/ext/upb-generated/envoy/annotations/resource.upb.h +54 -0
  124. data/src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c +5 -205
  125. data/src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.h +5 -788
  126. data/src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.c +114 -0
  127. data/src/core/ext/upb-generated/envoy/api/v2/auth/common.upb.h +418 -0
  128. data/src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.c +72 -0
  129. data/src/core/ext/upb-generated/envoy/api/v2/auth/secret.upb.h +197 -0
  130. data/src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.c +105 -0
  131. data/src/core/ext/upb-generated/envoy/api/v2/auth/tls.upb.h +378 -0
  132. data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.c +5 -362
  133. data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.h +14 -1337
  134. data/src/core/ext/upb-generated/envoy/api/v2/cluster.upb.c +403 -0
  135. data/src/core/ext/upb-generated/envoy/api/v2/cluster.upb.h +1447 -0
  136. data/src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.c +30 -8
  137. data/src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.h +60 -0
  138. data/src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.c +2 -0
  139. data/src/core/ext/upb-generated/envoy/api/v2/cluster/outlier_detection.upb.c +2 -0
  140. data/src/core/ext/upb-generated/envoy/api/v2/core/address.upb.c +7 -4
  141. data/src/core/ext/upb-generated/envoy/api/v2/core/address.upb.h +6 -2
  142. data/src/core/ext/upb-generated/envoy/api/v2/core/backoff.upb.c +35 -0
  143. data/src/core/ext/upb-generated/envoy/api/v2/core/backoff.upb.h +78 -0
  144. data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.c +87 -23
  145. data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.h +262 -62
  146. data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.c +20 -15
  147. data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.h +46 -32
  148. data/src/core/ext/upb-generated/envoy/api/v2/core/event_service_config.upb.c +34 -0
  149. data/src/core/ext/upb-generated/envoy/api/v2/core/event_service_config.upb.h +72 -0
  150. data/src/core/ext/upb-generated/envoy/api/v2/core/grpc_service.upb.c +27 -4
  151. data/src/core/ext/upb-generated/envoy/api/v2/core/grpc_service.upb.h +70 -0
  152. data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.c +46 -25
  153. data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.h +98 -25
  154. data/src/core/ext/upb-generated/envoy/api/v2/core/http_uri.upb.c +2 -0
  155. data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.c +77 -21
  156. data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.h +201 -4
  157. data/src/core/ext/upb-generated/envoy/api/v2/core/socket_option.upb.c +34 -0
  158. data/src/core/ext/upb-generated/envoy/api/v2/core/socket_option.upb.h +89 -0
  159. data/src/core/ext/upb-generated/envoy/api/v2/discovery.upb.c +2 -0
  160. data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.c +8 -68
  161. data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.h +14 -201
  162. data/src/core/ext/upb-generated/envoy/api/v2/endpoint.upb.c +92 -0
  163. data/src/core/ext/upb-generated/envoy/api/v2/endpoint.upb.h +240 -0
  164. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint.upb.c +2 -71
  165. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint.upb.h +3 -228
  166. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint_components.upb.c +91 -0
  167. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint_components.upb.h +266 -0
  168. data/src/core/ext/upb-generated/envoy/api/v2/endpoint/load_report.upb.c +2 -0
  169. data/src/core/ext/upb-generated/envoy/api/v2/lds.upb.c +31 -0
  170. data/src/core/ext/upb-generated/envoy/api/v2/lds.upb.h +53 -0
  171. data/src/core/ext/upb-generated/envoy/api/v2/listener.upb.c +109 -0
  172. data/src/core/ext/upb-generated/envoy/api/v2/listener.upb.h +399 -0
  173. data/src/core/ext/upb-generated/envoy/api/v2/listener/listener.upb.c +18 -0
  174. data/src/core/ext/upb-generated/envoy/api/v2/listener/listener.upb.h +33 -0
  175. data/src/core/ext/upb-generated/envoy/api/v2/listener/listener_components.upb.c +145 -0
  176. data/src/core/ext/upb-generated/envoy/api/v2/listener/listener_components.upb.h +527 -0
  177. data/src/core/ext/upb-generated/envoy/api/v2/listener/udp_listener_config.upb.c +43 -0
  178. data/src/core/ext/upb-generated/envoy/api/v2/listener/udp_listener_config.upb.h +112 -0
  179. data/src/core/ext/upb-generated/envoy/api/v2/rds.upb.c +30 -0
  180. data/src/core/ext/upb-generated/envoy/api/v2/rds.upb.h +53 -0
  181. data/src/core/ext/upb-generated/envoy/api/v2/route.upb.c +63 -0
  182. data/src/core/ext/upb-generated/envoy/api/v2/route.upb.h +199 -0
  183. data/src/core/ext/upb-generated/envoy/api/v2/route/route.upb.c +18 -0
  184. data/src/core/ext/upb-generated/envoy/api/v2/route/route.upb.h +33 -0
  185. data/src/core/ext/upb-generated/envoy/api/v2/route/route_components.upb.c +815 -0
  186. data/src/core/ext/upb-generated/envoy/api/v2/route/route_components.upb.h +3032 -0
  187. data/src/core/ext/upb-generated/envoy/api/v2/scoped_route.upb.c +59 -0
  188. data/src/core/ext/upb-generated/envoy/api/v2/scoped_route.upb.h +134 -0
  189. data/src/core/ext/upb-generated/envoy/api/v2/srds.upb.c +28 -0
  190. data/src/core/ext/upb-generated/envoy/api/v2/srds.upb.h +53 -0
  191. data/src/core/ext/upb-generated/envoy/config/filter/accesslog/v2/accesslog.upb.c +228 -0
  192. data/src/core/ext/upb-generated/envoy/config/filter/accesslog/v2/accesslog.upb.h +725 -0
  193. data/src/core/ext/upb-generated/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.upb.c +316 -0
  194. data/src/core/ext/upb-generated/envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.upb.h +1132 -0
  195. data/src/core/ext/upb-generated/envoy/config/listener/v2/api_listener.upb.c +33 -0
  196. data/src/core/ext/upb-generated/envoy/config/listener/v2/api_listener.upb.h +65 -0
  197. data/src/core/ext/upb-generated/envoy/config/trace/v2/http_tracer.upb.c +51 -0
  198. data/src/core/ext/upb-generated/envoy/config/trace/v2/http_tracer.upb.h +125 -0
  199. data/src/core/ext/upb-generated/envoy/service/discovery/v2/ads.upb.c +1 -0
  200. data/src/core/ext/upb-generated/envoy/service/load_stats/v2/lrs.upb.c +4 -2
  201. data/src/core/ext/upb-generated/envoy/service/load_stats/v2/lrs.upb.h +4 -0
  202. data/src/core/ext/upb-generated/envoy/type/http.upb.c +1 -0
  203. data/src/core/ext/upb-generated/envoy/type/matcher/regex.upb.c +63 -0
  204. data/src/core/ext/upb-generated/envoy/type/matcher/regex.upb.h +144 -0
  205. data/src/core/ext/upb-generated/envoy/type/matcher/string.upb.c +53 -0
  206. data/src/core/ext/upb-generated/envoy/type/matcher/string.upb.h +133 -0
  207. data/src/core/ext/upb-generated/envoy/type/metadata/v2/metadata.upb.c +88 -0
  208. data/src/core/ext/upb-generated/envoy/type/metadata/v2/metadata.upb.h +258 -0
  209. data/src/core/ext/upb-generated/envoy/type/percent.upb.c +1 -0
  210. data/src/core/ext/upb-generated/envoy/type/range.upb.c +12 -0
  211. data/src/core/ext/upb-generated/envoy/type/range.upb.h +27 -0
  212. data/src/core/ext/upb-generated/envoy/type/semantic_version.upb.c +29 -0
  213. data/src/core/ext/upb-generated/envoy/type/semantic_version.upb.h +62 -0
  214. data/src/core/ext/upb-generated/envoy/type/tracing/v2/custom_tag.upb.c +89 -0
  215. data/src/core/ext/upb-generated/envoy/type/tracing/v2/custom_tag.upb.h +249 -0
  216. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.c +9 -8
  217. data/src/core/ext/upb-generated/google/protobuf/descriptor.upb.h +30 -24
  218. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.c +30 -27
  219. data/src/core/ext/upb-generated/src/proto/grpc/gcp/handshaker.upb.h +64 -52
  220. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.c +13 -5
  221. data/src/core/ext/upb-generated/src/proto/grpc/lb/v1/load_balancer.upb.h +34 -0
  222. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.c +48 -0
  223. data/src/core/ext/upb-generated/udpa/annotations/migrate.upb.h +104 -0
  224. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.c +17 -0
  225. data/src/core/ext/upb-generated/udpa/annotations/sensitive.upb.h +30 -0
  226. data/src/core/ext/upb-generated/udpa/annotations/status.upb.c +28 -0
  227. data/src/core/ext/upb-generated/udpa/annotations/status.upb.h +65 -0
  228. data/src/core/ext/upb-generated/validate/validate.upb.c +44 -39
  229. data/src/core/ext/upb-generated/validate/validate.upb.h +155 -119
  230. data/src/core/lib/channel/channel_args.cc +15 -14
  231. data/src/core/lib/channel/channel_args.h +3 -1
  232. data/src/core/lib/channel/channel_stack.h +20 -13
  233. data/src/core/lib/channel/channel_trace.cc +32 -41
  234. data/src/core/lib/channel/channel_trace.h +3 -3
  235. data/src/core/lib/channel/channelz.cc +163 -254
  236. data/src/core/lib/channel/channelz.h +20 -12
  237. data/src/core/lib/channel/channelz_registry.cc +52 -77
  238. data/src/core/lib/channel/channelz_registry.h +4 -4
  239. data/src/core/lib/channel/connected_channel.cc +7 -5
  240. data/src/core/lib/channel/context.h +1 -1
  241. data/src/core/lib/channel/handshaker.cc +11 -13
  242. data/src/core/lib/channel/handshaker.h +4 -2
  243. data/src/core/lib/channel/handshaker_registry.cc +5 -17
  244. data/src/core/lib/channel/status_util.cc +2 -3
  245. data/src/core/lib/compression/message_compress.cc +5 -1
  246. data/src/core/lib/debug/stats.cc +21 -27
  247. data/src/core/lib/debug/stats.h +3 -1
  248. data/src/core/lib/gpr/spinlock.h +2 -3
  249. data/src/core/lib/gpr/string.cc +2 -26
  250. data/src/core/lib/gpr/string.h +0 -16
  251. data/src/core/lib/gpr/sync_abseil.cc +116 -0
  252. data/src/core/lib/gpr/sync_posix.cc +8 -5
  253. data/src/core/lib/gpr/sync_windows.cc +4 -2
  254. data/src/core/lib/gpr/time.cc +4 -0
  255. data/src/core/lib/gpr/time_posix.cc +1 -1
  256. data/src/core/lib/gpr/time_precise.cc +1 -1
  257. data/src/core/lib/gprpp/atomic.h +6 -6
  258. data/src/core/lib/gprpp/fork.cc +1 -1
  259. data/src/core/lib/gprpp/host_port.cc +30 -36
  260. data/src/core/lib/gprpp/host_port.h +14 -17
  261. data/src/core/lib/gprpp/map.h +5 -11
  262. data/src/core/lib/gprpp/memory.h +2 -6
  263. data/src/core/lib/gprpp/ref_counted_ptr.h +5 -0
  264. data/src/core/lib/gprpp/sync.h +9 -0
  265. data/src/core/lib/http/format_request.cc +46 -65
  266. data/src/core/lib/http/httpcli.cc +2 -3
  267. data/src/core/lib/http/httpcli.h +2 -3
  268. data/src/core/lib/http/httpcli_security_connector.cc +5 -5
  269. data/src/core/lib/http/parser.h +2 -3
  270. data/src/core/lib/iomgr/buffer_list.cc +36 -35
  271. data/src/core/lib/iomgr/buffer_list.h +22 -21
  272. data/src/core/lib/iomgr/call_combiner.h +3 -2
  273. data/src/core/lib/iomgr/cfstream_handle.cc +3 -2
  274. data/src/core/lib/iomgr/closure.h +2 -3
  275. data/src/core/lib/iomgr/dualstack_socket_posix.cc +47 -0
  276. data/src/core/lib/iomgr/endpoint_cfstream.cc +2 -3
  277. data/src/core/lib/iomgr/endpoint_pair.h +2 -3
  278. data/src/core/lib/iomgr/error.cc +6 -9
  279. data/src/core/lib/iomgr/error.h +4 -5
  280. data/src/core/lib/iomgr/ev_apple.cc +356 -0
  281. data/src/core/lib/iomgr/ev_apple.h +43 -0
  282. data/src/core/lib/iomgr/ev_epoll1_linux.cc +20 -23
  283. data/src/core/lib/iomgr/ev_epollex_linux.cc +14 -7
  284. data/src/core/lib/iomgr/ev_poll_posix.cc +3 -3
  285. data/src/core/lib/iomgr/ev_posix.cc +2 -3
  286. data/src/core/lib/iomgr/exec_ctx.h +14 -2
  287. data/src/core/lib/iomgr/executor.cc +1 -1
  288. data/src/core/lib/iomgr/fork_posix.cc +4 -0
  289. data/src/core/lib/iomgr/iomgr_posix_cfstream.cc +84 -20
  290. data/src/core/lib/iomgr/load_file.cc +1 -0
  291. data/src/core/lib/iomgr/poller/eventmanager_libuv.cc +87 -0
  292. data/src/core/lib/iomgr/poller/eventmanager_libuv.h +88 -0
  293. data/src/core/lib/iomgr/pollset_set_custom.cc +10 -10
  294. data/src/core/lib/iomgr/pollset_uv.h +32 -0
  295. data/src/core/lib/iomgr/port.h +1 -0
  296. data/src/core/lib/iomgr/python_util.h +46 -0
  297. data/src/core/lib/iomgr/resolve_address.h +4 -6
  298. data/src/core/lib/iomgr/resolve_address_custom.cc +29 -39
  299. data/src/core/lib/iomgr/resolve_address_custom.h +4 -2
  300. data/src/core/lib/iomgr/resolve_address_posix.cc +10 -11
  301. data/src/core/lib/iomgr/resolve_address_windows.cc +8 -17
  302. data/src/core/lib/iomgr/resource_quota.cc +4 -6
  303. data/src/core/lib/iomgr/sockaddr_utils.cc +23 -29
  304. data/src/core/lib/iomgr/sockaddr_utils.h +9 -14
  305. data/src/core/lib/iomgr/socket_factory_posix.h +2 -3
  306. data/src/core/lib/iomgr/socket_mutator.h +2 -3
  307. data/src/core/lib/iomgr/socket_utils_common_posix.cc +21 -26
  308. data/src/core/lib/iomgr/socket_utils_posix.h +15 -0
  309. data/src/core/lib/iomgr/tcp_client_cfstream.cc +5 -7
  310. data/src/core/lib/iomgr/tcp_client_posix.cc +25 -22
  311. data/src/core/lib/iomgr/tcp_client_posix.h +6 -6
  312. data/src/core/lib/iomgr/tcp_client_windows.cc +2 -3
  313. data/src/core/lib/iomgr/tcp_custom.cc +2 -3
  314. data/src/core/lib/iomgr/tcp_custom.h +3 -0
  315. data/src/core/lib/iomgr/tcp_posix.cc +608 -56
  316. data/src/core/lib/iomgr/tcp_server_custom.cc +20 -11
  317. data/src/core/lib/iomgr/tcp_server_posix.cc +5 -4
  318. data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +13 -4
  319. data/src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc +8 -11
  320. data/src/core/lib/iomgr/tcp_uv.cc +3 -2
  321. data/src/core/lib/iomgr/time_averaged_stats.h +2 -3
  322. data/src/core/lib/iomgr/timer_generic.cc +2 -3
  323. data/src/core/lib/iomgr/timer_generic.h +39 -0
  324. data/src/core/lib/iomgr/timer_heap.h +2 -3
  325. data/src/core/lib/iomgr/udp_server.cc +9 -14
  326. data/src/core/lib/iomgr/work_serializer.cc +155 -0
  327. data/src/core/lib/iomgr/work_serializer.h +65 -0
  328. data/src/core/lib/json/json.h +209 -68
  329. data/src/core/lib/json/json_reader.cc +511 -319
  330. data/src/core/lib/json/json_writer.cc +202 -110
  331. data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +1 -1
  332. data/src/core/lib/security/credentials/composite/composite_credentials.cc +19 -0
  333. data/src/core/lib/security/credentials/composite/composite_credentials.h +11 -4
  334. data/src/core/lib/security/credentials/credentials.cc +0 -84
  335. data/src/core/lib/security/credentials/credentials.h +18 -60
  336. data/src/core/lib/security/credentials/fake/fake_credentials.h +6 -1
  337. data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +9 -12
  338. data/src/core/lib/security/credentials/iam/iam_credentials.cc +8 -6
  339. data/src/core/lib/security/credentials/iam/iam_credentials.h +4 -0
  340. data/src/core/lib/security/credentials/jwt/json_token.cc +26 -56
  341. data/src/core/lib/security/credentials/jwt/json_token.h +4 -6
  342. data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -18
  343. data/src/core/lib/security/credentials/jwt/jwt_credentials.h +12 -0
  344. data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +151 -168
  345. data/src/core/lib/security/credentials/jwt/jwt_verifier.h +4 -6
  346. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +92 -61
  347. data/src/core/lib/security/credentials/oauth2/oauth2_credentials.h +10 -4
  348. data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +19 -4
  349. data/src/core/lib/security/credentials/plugin/plugin_credentials.h +4 -1
  350. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +43 -13
  351. data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h +47 -11
  352. data/src/core/lib/security/credentials/tls/tls_credentials.cc +128 -0
  353. data/src/core/lib/security/credentials/tls/tls_credentials.h +62 -0
  354. data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +34 -6
  355. data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +29 -9
  356. data/src/core/lib/security/security_connector/load_system_roots_fallback.cc +2 -2
  357. data/src/core/lib/security/security_connector/load_system_roots_linux.cc +5 -4
  358. data/src/core/lib/security/security_connector/local/local_security_connector.cc +32 -7
  359. data/src/core/lib/security/security_connector/security_connector.h +1 -1
  360. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +20 -37
  361. data/src/core/lib/security/security_connector/ssl/ssl_security_connector.h +4 -6
  362. data/src/core/lib/security/security_connector/ssl_utils.cc +107 -16
  363. data/src/core/lib/security/security_connector/ssl_utils.h +24 -11
  364. data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +603 -0
  365. data/src/core/lib/security/security_connector/tls/tls_security_connector.h +183 -0
  366. data/src/core/lib/security/transport/client_auth_filter.cc +34 -2
  367. data/src/core/lib/security/transport/security_handshaker.cc +2 -2
  368. data/src/core/lib/security/util/json_util.cc +22 -15
  369. data/src/core/lib/security/util/json_util.h +2 -2
  370. data/src/core/lib/slice/slice_intern.cc +2 -3
  371. data/src/core/lib/slice/slice_internal.h +14 -0
  372. data/src/core/lib/slice/slice_utils.h +9 -0
  373. data/src/core/lib/surface/byte_buffer_reader.cc +2 -47
  374. data/src/core/lib/surface/call.cc +2 -3
  375. data/src/core/lib/surface/call_log_batch.cc +50 -58
  376. data/src/core/lib/surface/channel.cc +53 -31
  377. data/src/core/lib/surface/channel.h +35 -4
  378. data/src/core/lib/surface/channel_ping.cc +2 -3
  379. data/src/core/lib/surface/completion_queue.cc +55 -34
  380. data/src/core/lib/surface/event_string.cc +18 -25
  381. data/src/core/lib/surface/event_string.h +3 -1
  382. data/src/core/lib/surface/init_secure.cc +1 -4
  383. data/src/core/lib/surface/server.cc +570 -369
  384. data/src/core/lib/surface/server.h +32 -0
  385. data/src/core/lib/surface/version.cc +2 -2
  386. data/src/core/lib/transport/byte_stream.h +7 -2
  387. data/src/core/lib/transport/connectivity_state.cc +7 -6
  388. data/src/core/lib/transport/connectivity_state.h +5 -3
  389. data/src/core/lib/transport/metadata.cc +3 -3
  390. data/src/core/lib/transport/metadata_batch.h +2 -3
  391. data/src/core/lib/transport/static_metadata.h +1 -1
  392. data/src/core/lib/transport/status_conversion.cc +6 -14
  393. data/src/core/lib/transport/transport.cc +2 -3
  394. data/src/core/lib/transport/transport.h +3 -2
  395. data/src/core/lib/transport/transport_op_string.cc +61 -102
  396. data/src/core/lib/uri/uri_parser.h +2 -3
  397. data/src/core/plugin_registry/grpc_plugin_registry.cc +20 -4
  398. data/src/core/tsi/alts/crypt/aes_gcm.cc +0 -2
  399. data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +9 -2
  400. data/src/core/tsi/alts/handshaker/alts_handshaker_client.h +8 -4
  401. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +44 -4
  402. data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +10 -2
  403. data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h +2 -3
  404. data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +3 -3
  405. data/src/core/tsi/fake_transport_security.cc +17 -18
  406. data/src/core/tsi/fake_transport_security.h +2 -0
  407. data/src/core/tsi/ssl/session_cache/ssl_session.h +0 -2
  408. data/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc +1 -1
  409. data/src/core/tsi/ssl/session_cache/ssl_session_cache.h +0 -2
  410. data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +1 -1
  411. data/src/core/tsi/ssl_transport_security.cc +197 -47
  412. data/src/core/tsi/ssl_transport_security.h +23 -9
  413. data/src/core/tsi/ssl_types.h +0 -2
  414. data/src/core/tsi/transport_security.cc +13 -0
  415. data/src/core/tsi/transport_security.h +6 -9
  416. data/src/core/tsi/transport_security_grpc.cc +2 -2
  417. data/src/core/tsi/transport_security_grpc.h +4 -5
  418. data/src/core/tsi/transport_security_interface.h +15 -3
  419. data/src/ruby/bin/math_pb.rb +5 -5
  420. data/src/ruby/ext/grpc/rb_call.c +9 -1
  421. data/src/ruby/ext/grpc/rb_call_credentials.c +4 -1
  422. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +2 -0
  423. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +4 -1
  424. data/src/ruby/lib/grpc/errors.rb +103 -42
  425. data/src/ruby/lib/grpc/generic/active_call.rb +2 -3
  426. data/src/ruby/lib/grpc/generic/interceptors.rb +4 -4
  427. data/src/ruby/lib/grpc/generic/rpc_server.rb +9 -10
  428. data/src/ruby/lib/grpc/generic/service.rb +5 -4
  429. data/src/ruby/lib/grpc/structs.rb +1 -1
  430. data/src/ruby/lib/grpc/version.rb +1 -1
  431. data/src/ruby/pb/generate_proto_ruby.sh +5 -3
  432. data/src/ruby/pb/grpc/health/v1/health_pb.rb +3 -3
  433. data/src/ruby/pb/src/proto/grpc/testing/empty_pb.rb +1 -1
  434. data/src/ruby/pb/src/proto/grpc/testing/messages_pb.rb +34 -13
  435. data/src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb +16 -0
  436. data/src/ruby/spec/debug_message_spec.rb +134 -0
  437. data/src/ruby/spec/generic/service_spec.rb +2 -0
  438. data/src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto +5 -0
  439. data/src/ruby/spec/pb/codegen/package_option_spec.rb +2 -0
  440. data/src/ruby/spec/testdata/ca.pem +18 -13
  441. data/src/ruby/spec/testdata/client.key +26 -14
  442. data/src/ruby/spec/testdata/client.pem +18 -12
  443. data/src/ruby/spec/testdata/server1.key +26 -14
  444. data/src/ruby/spec/testdata/server1.pem +20 -14
  445. data/third_party/abseil-cpp/absl/algorithm/algorithm.h +159 -0
  446. data/third_party/abseil-cpp/absl/base/attributes.h +621 -0
  447. data/third_party/abseil-cpp/absl/base/call_once.h +226 -0
  448. data/third_party/abseil-cpp/absl/base/casts.h +184 -0
  449. data/third_party/abseil-cpp/absl/base/config.h +671 -0
  450. data/third_party/abseil-cpp/absl/base/const_init.h +76 -0
  451. data/third_party/abseil-cpp/absl/base/dynamic_annotations.cc +129 -0
  452. data/third_party/abseil-cpp/absl/base/dynamic_annotations.h +389 -0
  453. data/third_party/abseil-cpp/absl/base/internal/atomic_hook.h +200 -0
  454. data/third_party/abseil-cpp/absl/base/internal/bits.h +218 -0
  455. data/third_party/abseil-cpp/absl/base/internal/cycleclock.cc +107 -0
  456. data/third_party/abseil-cpp/absl/base/internal/cycleclock.h +94 -0
  457. data/third_party/abseil-cpp/absl/base/internal/endian.h +266 -0
  458. data/third_party/abseil-cpp/absl/base/internal/errno_saver.h +43 -0
  459. data/third_party/abseil-cpp/absl/base/internal/hide_ptr.h +51 -0
  460. data/third_party/abseil-cpp/absl/base/internal/identity.h +37 -0
  461. data/third_party/abseil-cpp/absl/base/internal/inline_variable.h +107 -0
  462. data/third_party/abseil-cpp/absl/base/internal/invoke.h +187 -0
  463. data/third_party/abseil-cpp/absl/base/internal/low_level_scheduling.h +107 -0
  464. data/third_party/abseil-cpp/absl/base/internal/per_thread_tls.h +52 -0
  465. data/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +240 -0
  466. data/third_party/abseil-cpp/absl/base/internal/raw_logging.h +183 -0
  467. data/third_party/abseil-cpp/absl/base/internal/scheduling_mode.h +58 -0
  468. data/third_party/abseil-cpp/absl/base/internal/spinlock.cc +233 -0
  469. data/third_party/abseil-cpp/absl/base/internal/spinlock.h +243 -0
  470. data/third_party/abseil-cpp/absl/base/internal/spinlock_akaros.inc +35 -0
  471. data/third_party/abseil-cpp/absl/base/internal/spinlock_linux.inc +66 -0
  472. data/third_party/abseil-cpp/absl/base/internal/spinlock_posix.inc +46 -0
  473. data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.cc +81 -0
  474. data/third_party/abseil-cpp/absl/base/internal/spinlock_wait.h +93 -0
  475. data/third_party/abseil-cpp/absl/base/internal/spinlock_win32.inc +37 -0
  476. data/third_party/abseil-cpp/absl/base/internal/sysinfo.cc +416 -0
  477. data/third_party/abseil-cpp/absl/base/internal/sysinfo.h +66 -0
  478. data/third_party/abseil-cpp/absl/base/internal/thread_annotations.h +271 -0
  479. data/third_party/abseil-cpp/absl/base/internal/thread_identity.cc +152 -0
  480. data/third_party/abseil-cpp/absl/base/internal/thread_identity.h +259 -0
  481. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.cc +108 -0
  482. data/third_party/abseil-cpp/absl/base/internal/throw_delegate.h +75 -0
  483. data/third_party/abseil-cpp/absl/base/internal/tsan_mutex_interface.h +66 -0
  484. data/third_party/abseil-cpp/absl/base/internal/unaligned_access.h +158 -0
  485. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +140 -0
  486. data/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.h +124 -0
  487. data/third_party/abseil-cpp/absl/base/log_severity.cc +27 -0
  488. data/third_party/abseil-cpp/absl/base/log_severity.h +121 -0
  489. data/third_party/abseil-cpp/absl/base/macros.h +220 -0
  490. data/third_party/abseil-cpp/absl/base/optimization.h +181 -0
  491. data/third_party/abseil-cpp/absl/base/options.h +211 -0
  492. data/third_party/abseil-cpp/absl/base/policy_checks.h +111 -0
  493. data/third_party/abseil-cpp/absl/base/port.h +26 -0
  494. data/third_party/abseil-cpp/absl/base/thread_annotations.h +280 -0
  495. data/third_party/abseil-cpp/absl/container/inlined_vector.h +848 -0
  496. data/third_party/abseil-cpp/absl/container/internal/compressed_tuple.h +265 -0
  497. data/third_party/abseil-cpp/absl/container/internal/inlined_vector.h +892 -0
  498. data/third_party/abseil-cpp/absl/memory/memory.h +695 -0
  499. data/third_party/abseil-cpp/absl/meta/type_traits.h +759 -0
  500. data/third_party/abseil-cpp/absl/numeric/int128.cc +404 -0
  501. data/third_party/abseil-cpp/absl/numeric/int128.h +1091 -0
  502. data/third_party/abseil-cpp/absl/numeric/int128_have_intrinsic.inc +302 -0
  503. data/third_party/abseil-cpp/absl/numeric/int128_no_intrinsic.inc +308 -0
  504. data/third_party/abseil-cpp/absl/strings/ascii.cc +200 -0
  505. data/third_party/abseil-cpp/absl/strings/ascii.h +242 -0
  506. data/third_party/abseil-cpp/absl/strings/charconv.cc +984 -0
  507. data/third_party/abseil-cpp/absl/strings/charconv.h +119 -0
  508. data/third_party/abseil-cpp/absl/strings/escaping.cc +949 -0
  509. data/third_party/abseil-cpp/absl/strings/escaping.h +164 -0
  510. data/third_party/abseil-cpp/absl/strings/internal/char_map.h +156 -0
  511. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.cc +359 -0
  512. data/third_party/abseil-cpp/absl/strings/internal/charconv_bigint.h +423 -0
  513. data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.cc +504 -0
  514. data/third_party/abseil-cpp/absl/strings/internal/charconv_parse.h +99 -0
  515. data/third_party/abseil-cpp/absl/strings/internal/escaping.cc +180 -0
  516. data/third_party/abseil-cpp/absl/strings/internal/escaping.h +58 -0
  517. data/third_party/abseil-cpp/absl/strings/internal/memutil.cc +112 -0
  518. data/third_party/abseil-cpp/absl/strings/internal/memutil.h +148 -0
  519. data/third_party/abseil-cpp/absl/strings/internal/ostringstream.cc +36 -0
  520. data/third_party/abseil-cpp/absl/strings/internal/ostringstream.h +89 -0
  521. data/third_party/abseil-cpp/absl/strings/internal/resize_uninitialized.h +73 -0
  522. data/third_party/abseil-cpp/absl/strings/internal/stl_type_traits.h +248 -0
  523. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.cc +388 -0
  524. data/third_party/abseil-cpp/absl/strings/internal/str_format/arg.h +432 -0
  525. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.cc +245 -0
  526. data/third_party/abseil-cpp/absl/strings/internal/str_format/bind.h +209 -0
  527. data/third_party/abseil-cpp/absl/strings/internal/str_format/checker.h +326 -0
  528. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.cc +51 -0
  529. data/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +415 -0
  530. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc +493 -0
  531. data/third_party/abseil-cpp/absl/strings/internal/str_format/float_conversion.h +23 -0
  532. data/third_party/abseil-cpp/absl/strings/internal/str_format/output.cc +72 -0
  533. data/third_party/abseil-cpp/absl/strings/internal/str_format/output.h +104 -0
  534. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.cc +334 -0
  535. data/third_party/abseil-cpp/absl/strings/internal/str_format/parser.h +333 -0
  536. data/third_party/abseil-cpp/absl/strings/internal/str_join_internal.h +314 -0
  537. data/third_party/abseil-cpp/absl/strings/internal/str_split_internal.h +455 -0
  538. data/third_party/abseil-cpp/absl/strings/internal/utf8.cc +53 -0
  539. data/third_party/abseil-cpp/absl/strings/internal/utf8.h +50 -0
  540. data/third_party/abseil-cpp/absl/strings/match.cc +40 -0
  541. data/third_party/abseil-cpp/absl/strings/match.h +90 -0
  542. data/third_party/abseil-cpp/absl/strings/numbers.cc +965 -0
  543. data/third_party/abseil-cpp/absl/strings/numbers.h +266 -0
  544. data/third_party/abseil-cpp/absl/strings/str_cat.cc +246 -0
  545. data/third_party/abseil-cpp/absl/strings/str_cat.h +408 -0
  546. data/third_party/abseil-cpp/absl/strings/str_format.h +537 -0
  547. data/third_party/abseil-cpp/absl/strings/str_join.h +293 -0
  548. data/third_party/abseil-cpp/absl/strings/str_replace.cc +82 -0
  549. data/third_party/abseil-cpp/absl/strings/str_replace.h +219 -0
  550. data/third_party/abseil-cpp/absl/strings/str_split.cc +139 -0
  551. data/third_party/abseil-cpp/absl/strings/str_split.h +513 -0
  552. data/third_party/abseil-cpp/absl/strings/string_view.cc +235 -0
  553. data/third_party/abseil-cpp/absl/strings/string_view.h +622 -0
  554. data/third_party/abseil-cpp/absl/strings/strip.h +91 -0
  555. data/third_party/abseil-cpp/absl/strings/substitute.cc +171 -0
  556. data/third_party/abseil-cpp/absl/strings/substitute.h +693 -0
  557. data/third_party/abseil-cpp/absl/time/civil_time.cc +175 -0
  558. data/third_party/abseil-cpp/absl/time/civil_time.h +538 -0
  559. data/third_party/abseil-cpp/absl/time/clock.cc +569 -0
  560. data/third_party/abseil-cpp/absl/time/clock.h +74 -0
  561. data/third_party/abseil-cpp/absl/time/duration.cc +922 -0
  562. data/third_party/abseil-cpp/absl/time/format.cc +153 -0
  563. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time.h +332 -0
  564. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h +622 -0
  565. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h +384 -0
  566. data/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/zone_info_source.h +102 -0
  567. data/third_party/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc +94 -0
  568. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc +140 -0
  569. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.h +52 -0
  570. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +922 -0
  571. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc +45 -0
  572. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.h +76 -0
  573. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc +121 -0
  574. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.h +93 -0
  575. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc +958 -0
  576. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.h +138 -0
  577. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc +308 -0
  578. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.h +55 -0
  579. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc +187 -0
  580. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc +159 -0
  581. data/third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.h +132 -0
  582. data/third_party/abseil-cpp/absl/time/internal/cctz/src/tzfile.h +122 -0
  583. data/third_party/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +115 -0
  584. data/third_party/abseil-cpp/absl/time/internal/get_current_time_chrono.inc +31 -0
  585. data/third_party/abseil-cpp/absl/time/internal/get_current_time_posix.inc +24 -0
  586. data/third_party/abseil-cpp/absl/time/time.cc +499 -0
  587. data/third_party/abseil-cpp/absl/time/time.h +1584 -0
  588. data/third_party/abseil-cpp/absl/types/bad_optional_access.cc +48 -0
  589. data/third_party/abseil-cpp/absl/types/bad_optional_access.h +78 -0
  590. data/third_party/abseil-cpp/absl/types/internal/optional.h +396 -0
  591. data/third_party/abseil-cpp/absl/types/internal/span.h +128 -0
  592. data/third_party/abseil-cpp/absl/types/optional.h +776 -0
  593. data/third_party/abseil-cpp/absl/types/span.h +713 -0
  594. data/third_party/abseil-cpp/absl/utility/utility.h +350 -0
  595. data/third_party/boringssl-with-bazel/err_data.c +1439 -0
  596. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_bitstr.c +0 -0
  597. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_bool.c +0 -0
  598. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_d2i_fp.c +0 -0
  599. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_dup.c +0 -0
  600. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_enum.c +0 -0
  601. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_gentm.c +0 -0
  602. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_i2d_fp.c +0 -0
  603. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_int.c +0 -0
  604. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_mbstr.c +0 -0
  605. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_object.c +0 -0
  606. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_octet.c +0 -0
  607. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_print.c +0 -0
  608. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_strnid.c +0 -0
  609. data/third_party/boringssl-with-bazel/src/crypto/asn1/a_time.c +212 -0
  610. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_type.c +0 -0
  611. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_utctm.c +0 -0
  612. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/a_utf8.c +0 -0
  613. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/asn1_lib.c +0 -0
  614. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/asn1_locl.h +0 -0
  615. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/asn1_par.c +0 -0
  616. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/asn_pack.c +0 -0
  617. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/f_enum.c +0 -0
  618. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/f_int.c +0 -0
  619. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/f_string.c +0 -0
  620. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_dec.c +0 -0
  621. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_enc.c +0 -0
  622. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_fre.c +0 -0
  623. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_new.c +0 -0
  624. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_typ.c +0 -0
  625. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/tasn_utl.c +0 -0
  626. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/asn1/time_support.c +0 -0
  627. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/base64/base64.c +0 -0
  628. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/bio.c +0 -0
  629. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/bio_mem.c +0 -0
  630. data/third_party/boringssl-with-bazel/src/crypto/bio/connect.c +545 -0
  631. data/third_party/boringssl-with-bazel/src/crypto/bio/fd.c +279 -0
  632. data/third_party/boringssl-with-bazel/src/crypto/bio/file.c +317 -0
  633. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/hexdump.c +0 -0
  634. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/internal.h +0 -0
  635. data/third_party/boringssl-with-bazel/src/crypto/bio/pair.c +488 -0
  636. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/printf.c +0 -0
  637. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/socket.c +0 -0
  638. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bio/socket_helper.c +0 -0
  639. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bn_extra/bn_asn1.c +0 -0
  640. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bn_extra/convert.c +0 -0
  641. data/third_party/boringssl-with-bazel/src/crypto/buf/buf.c +172 -0
  642. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bytestring/asn1_compat.c +0 -0
  643. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bytestring/ber.c +0 -0
  644. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbb.c +719 -0
  645. data/third_party/boringssl-with-bazel/src/crypto/bytestring/cbs.c +688 -0
  646. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bytestring/internal.h +0 -0
  647. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/bytestring/unicode.c +0 -0
  648. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/chacha/chacha.c +0 -0
  649. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/chacha/internal.h +0 -0
  650. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/cipher_extra.c +0 -0
  651. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/derive_key.c +152 -0
  652. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_aesccm.c +0 -0
  653. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_aesctrhmac.c +0 -0
  654. data/third_party/boringssl-with-bazel/src/crypto/cipher_extra/e_aesgcmsiv.c +891 -0
  655. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_chacha20poly1305.c +0 -0
  656. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_null.c +0 -0
  657. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_rc2.c +0 -0
  658. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_rc4.c +0 -0
  659. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/e_tls.c +0 -0
  660. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/internal.h +0 -0
  661. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cipher_extra/tls_cbc.c +0 -0
  662. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cmac/cmac.c +0 -0
  663. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/conf/conf.c +0 -0
  664. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/conf/conf_def.h +0 -0
  665. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/conf/internal.h +0 -0
  666. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cpu-aarch64-fuchsia.c +0 -0
  667. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cpu-aarch64-linux.c +0 -0
  668. data/third_party/boringssl-with-bazel/src/crypto/cpu-arm-linux.c +220 -0
  669. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cpu-arm-linux.h +0 -0
  670. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cpu-arm.c +0 -0
  671. data/third_party/boringssl-with-bazel/src/crypto/cpu-intel.c +291 -0
  672. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/cpu-ppc64le.c +0 -0
  673. data/third_party/boringssl-with-bazel/src/crypto/crypto.c +226 -0
  674. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519.c +2159 -0
  675. data/third_party/boringssl-with-bazel/src/crypto/curve25519/curve25519_tables.h +7872 -0
  676. data/third_party/boringssl-with-bazel/src/crypto/curve25519/internal.h +146 -0
  677. data/third_party/boringssl-with-bazel/src/crypto/curve25519/spake25519.c +539 -0
  678. data/third_party/boringssl-with-bazel/src/crypto/dh/check.c +217 -0
  679. data/third_party/boringssl-with-bazel/src/crypto/dh/dh.c +533 -0
  680. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/dh/dh_asn1.c +0 -0
  681. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/dh/params.c +0 -0
  682. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/digest_extra/digest_extra.c +0 -0
  683. data/third_party/boringssl-with-bazel/src/crypto/dsa/dsa.c +980 -0
  684. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/dsa/dsa_asn1.c +0 -0
  685. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/ec_extra/ec_asn1.c +0 -0
  686. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/ec_derive.c +95 -0
  687. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/hash_to_curve.c +425 -0
  688. data/third_party/boringssl-with-bazel/src/crypto/ec_extra/internal.h +78 -0
  689. data/third_party/boringssl-with-bazel/src/crypto/ecdh_extra/ecdh_extra.c +124 -0
  690. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/ecdsa_extra/ecdsa_asn1.c +0 -0
  691. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/engine/engine.c +0 -0
  692. data/third_party/boringssl-with-bazel/src/crypto/err/err.c +850 -0
  693. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/err/internal.h +0 -0
  694. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/digestsign.c +0 -0
  695. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/evp.c +0 -0
  696. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/evp_asn1.c +0 -0
  697. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/evp_ctx.c +0 -0
  698. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/internal.h +0 -0
  699. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_dsa_asn1.c +0 -0
  700. data/third_party/boringssl-with-bazel/src/crypto/evp/p_ec.c +286 -0
  701. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_ec_asn1.c +0 -0
  702. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_ed25519.c +0 -0
  703. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_ed25519_asn1.c +0 -0
  704. data/third_party/boringssl-with-bazel/src/crypto/evp/p_rsa.c +648 -0
  705. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_rsa_asn1.c +0 -0
  706. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/p_x25519.c +0 -0
  707. data/third_party/boringssl-with-bazel/src/crypto/evp/p_x25519_asn1.c +248 -0
  708. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/pbkdf.c +0 -0
  709. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/print.c +0 -0
  710. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/scrypt.c +0 -0
  711. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/evp/sign.c +0 -0
  712. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/ex_data.c +0 -0
  713. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes.c +108 -0
  714. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/aes_nohw.c +1282 -0
  715. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/internal.h +238 -0
  716. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/aes/key_wrap.c +0 -0
  717. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.c +106 -0
  718. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bcm.c +263 -0
  719. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/add.c +0 -0
  720. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/asm/x86_64-gcc.c +0 -0
  721. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/bn.c +0 -0
  722. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/bytes.c +0 -0
  723. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/cmp.c +0 -0
  724. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/ctx.c +0 -0
  725. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/div.c +0 -0
  726. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/div_extra.c +0 -0
  727. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c +1288 -0
  728. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/gcd.c +0 -0
  729. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/gcd_extra.c +0 -0
  730. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/generic.c +0 -0
  731. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/internal.h +694 -0
  732. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/jacobi.c +0 -0
  733. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/montgomery.c +502 -0
  734. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/montgomery_inv.c +0 -0
  735. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/mul.c +749 -0
  736. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/bn/prime.c +1068 -0
  737. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/random.c +0 -0
  738. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/rsaz_exp.c +0 -0
  739. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/rsaz_exp.h +0 -0
  740. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/shift.c +0 -0
  741. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/bn/sqrt.c +0 -0
  742. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/cipher/aead.c +0 -0
  743. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/cipher/cipher.c +0 -0
  744. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/cipher/e_aes.c +1302 -0
  745. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/cipher/e_des.c +0 -0
  746. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/cipher/internal.h +0 -0
  747. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/delocate.h +0 -0
  748. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/des/des.c +0 -0
  749. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/des/internal.h +0 -0
  750. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/digest/digest.c +0 -0
  751. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/digest/digests.c +296 -0
  752. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/digest/internal.h +0 -0
  753. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/digest/md32_common.h +0 -0
  754. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec.c +1252 -0
  755. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_key.c +465 -0
  756. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/ec_montgomery.c +524 -0
  757. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/felem.c +100 -0
  758. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/internal.h +775 -0
  759. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/oct.c +328 -0
  760. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p224-64.c +1178 -0
  761. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64-table.h +9497 -0
  762. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256-x86_64.c +632 -0
  763. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/ec/p256-x86_64.h +0 -0
  764. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256.c +736 -0
  765. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/p256_table.h +297 -0
  766. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/scalar.c +175 -0
  767. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple.c +357 -0
  768. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/simple_mul.c +270 -0
  769. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/ec/util.c +0 -0
  770. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ec/wnaf.c +270 -0
  771. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdh/ecdh.c +122 -0
  772. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/ecdsa/ecdsa.c +328 -0
  773. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/fips_shared_support.c +0 -0
  774. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/hmac/hmac.c +0 -0
  775. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/is_fips.c +0 -0
  776. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/md4/md4.c +0 -0
  777. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/md5/internal.h +0 -0
  778. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/md5/md5.c +0 -0
  779. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/modes/cbc.c +0 -0
  780. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/modes/cfb.c +0 -0
  781. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/modes/ctr.c +0 -0
  782. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm.c +729 -0
  783. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/gcm_nohw.c +304 -0
  784. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/modes/internal.h +441 -0
  785. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/modes/ofb.c +0 -0
  786. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/modes/polyval.c +0 -0
  787. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/rand/ctrdrbg.c +0 -0
  788. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.c +137 -0
  789. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/fork_detect.h +49 -0
  790. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/getrandom_fillin.h +64 -0
  791. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/internal.h +163 -0
  792. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/rand.c +378 -0
  793. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rand/urandom.c +391 -0
  794. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/blinding.c +243 -0
  795. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/internal.h +127 -0
  796. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/rsa/padding.c +0 -0
  797. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa.c +898 -0
  798. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/rsa/rsa_impl.c +1358 -0
  799. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/self_check/self_check.c +0 -0
  800. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/sha/internal.h +0 -0
  801. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/sha/sha1-altivec.c +0 -0
  802. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/sha/sha1.c +0 -0
  803. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/sha/sha256.c +0 -0
  804. data/third_party/boringssl-with-bazel/src/crypto/fipsmodule/sha/sha512.c +544 -0
  805. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/tls/internal.h +0 -0
  806. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/fipsmodule/tls/kdf.c +0 -0
  807. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/hkdf/hkdf.c +0 -0
  808. data/third_party/boringssl-with-bazel/src/crypto/hrss/hrss.c +2100 -0
  809. data/third_party/boringssl-with-bazel/src/crypto/hrss/internal.h +61 -0
  810. data/third_party/boringssl-with-bazel/src/crypto/internal.h +834 -0
  811. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/lhash/lhash.c +0 -0
  812. data/third_party/boringssl-with-bazel/src/crypto/mem.c +359 -0
  813. data/third_party/boringssl-with-bazel/src/crypto/obj/obj.c +549 -0
  814. data/third_party/boringssl-with-bazel/src/crypto/obj/obj_dat.h +11585 -0
  815. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/obj/obj_xref.c +0 -0
  816. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pem/pem_all.c +0 -0
  817. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_info.c +360 -0
  818. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_lib.c +777 -0
  819. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_oth.c +87 -0
  820. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pk8.c +257 -0
  821. data/third_party/boringssl-with-bazel/src/crypto/pem/pem_pkey.c +218 -0
  822. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pem/pem_x509.c +0 -0
  823. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pem/pem_xaux.c +0 -0
  824. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs7/internal.h +0 -0
  825. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs7/pkcs7.c +0 -0
  826. data/third_party/boringssl-with-bazel/src/crypto/pkcs7/pkcs7_x509.c +385 -0
  827. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs8/internal.h +0 -0
  828. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs8/p5_pbev2.c +0 -0
  829. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs8/pkcs8.c +0 -0
  830. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pkcs8/pkcs8_x509.c +0 -0
  831. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/poly1305/internal.h +0 -0
  832. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305.c +318 -0
  833. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_arm.c +305 -0
  834. data/third_party/boringssl-with-bazel/src/crypto/poly1305/poly1305_vec.c +856 -0
  835. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/pool/internal.h +0 -0
  836. data/third_party/boringssl-with-bazel/src/crypto/pool/pool.c +220 -0
  837. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/deterministic.c +52 -0
  838. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rand_extra/forkunsafe.c +0 -0
  839. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rand_extra/fuchsia.c +0 -0
  840. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rand_extra/rand_extra.c +0 -0
  841. data/third_party/boringssl-with-bazel/src/crypto/rand_extra/windows.c +69 -0
  842. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rc4/rc4.c +0 -0
  843. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/refcount_c11.c +0 -0
  844. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/refcount_lock.c +0 -0
  845. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rsa_extra/rsa_asn1.c +0 -0
  846. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/rsa_extra/rsa_print.c +0 -0
  847. data/third_party/boringssl-with-bazel/src/crypto/siphash/siphash.c +82 -0
  848. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/stack/stack.c +0 -0
  849. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/thread.c +0 -0
  850. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/thread_none.c +0 -0
  851. data/third_party/boringssl-with-bazel/src/crypto/thread_pthread.c +210 -0
  852. data/third_party/boringssl-with-bazel/src/crypto/thread_win.c +260 -0
  853. data/third_party/boringssl-with-bazel/src/crypto/trust_token/internal.h +278 -0
  854. data/third_party/boringssl-with-bazel/src/crypto/trust_token/pmbtoken.c +1474 -0
  855. data/third_party/boringssl-with-bazel/src/crypto/trust_token/trust_token.c +720 -0
  856. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/a_digest.c +0 -0
  857. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/a_sign.c +0 -0
  858. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/a_strex.c +0 -0
  859. data/third_party/boringssl-with-bazel/src/crypto/x509/a_verify.c +114 -0
  860. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/algorithm.c +0 -0
  861. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/asn1_gen.c +0 -0
  862. data/third_party/boringssl-with-bazel/src/crypto/x509/by_dir.c +458 -0
  863. data/third_party/boringssl-with-bazel/src/crypto/x509/by_file.c +275 -0
  864. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/charmap.h +0 -0
  865. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/i2d_pr.c +0 -0
  866. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/internal.h +0 -0
  867. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/rsa_pss.c +0 -0
  868. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/t_crl.c +0 -0
  869. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/t_req.c +0 -0
  870. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/t_x509.c +0 -0
  871. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/t_x509a.c +0 -0
  872. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/vpm_int.h +0 -0
  873. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509.c +0 -0
  874. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_att.c +0 -0
  875. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_cmp.c +476 -0
  876. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_d2.c +0 -0
  877. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_def.c +0 -0
  878. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_ext.c +0 -0
  879. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_lu.c +0 -0
  880. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_obj.c +198 -0
  881. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_r2x.c +116 -0
  882. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_req.c +341 -0
  883. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_set.c +185 -0
  884. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_trs.c +326 -0
  885. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_txt.c +0 -0
  886. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509_v3.c +0 -0
  887. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vfy.c +2487 -0
  888. data/third_party/boringssl-with-bazel/src/crypto/x509/x509_vpm.c +671 -0
  889. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509cset.c +0 -0
  890. data/third_party/boringssl-with-bazel/src/crypto/x509/x509name.c +389 -0
  891. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509rset.c +0 -0
  892. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x509spki.c +0 -0
  893. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_algor.c +0 -0
  894. data/third_party/boringssl-with-bazel/src/crypto/x509/x_all.c +399 -0
  895. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_attrib.c +0 -0
  896. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_crl.c +0 -0
  897. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_exten.c +0 -0
  898. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_info.c +0 -0
  899. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_name.c +0 -0
  900. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_pkey.c +0 -0
  901. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_pubkey.c +0 -0
  902. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_req.c +0 -0
  903. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_sig.c +0 -0
  904. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_spki.c +0 -0
  905. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_val.c +0 -0
  906. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_x509.c +0 -0
  907. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509/x_x509a.c +0 -0
  908. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/ext_dat.h +0 -0
  909. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/internal.h +0 -0
  910. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_cache.c +0 -0
  911. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_data.c +0 -0
  912. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_int.h +0 -0
  913. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_lib.c +0 -0
  914. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_map.c +0 -0
  915. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_node.c +0 -0
  916. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/pcy_tree.c +0 -0
  917. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_akey.c +0 -0
  918. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_akeya.c +0 -0
  919. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_alt.c +629 -0
  920. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_bcons.c +0 -0
  921. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_bitst.c +0 -0
  922. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_conf.c +0 -0
  923. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_cpols.c +0 -0
  924. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_crld.c +0 -0
  925. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_enum.c +100 -0
  926. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_extku.c +0 -0
  927. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_genn.c +0 -0
  928. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_ia5.c +0 -0
  929. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_info.c +218 -0
  930. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_int.c +0 -0
  931. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_lib.c +0 -0
  932. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_ncons.c +0 -0
  933. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_ocsp.c +0 -0
  934. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_pci.c +0 -0
  935. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_pcia.c +0 -0
  936. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_pcons.c +0 -0
  937. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_pku.c +0 -0
  938. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_pmaps.c +0 -0
  939. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_prn.c +0 -0
  940. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_purp.c +843 -0
  941. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_skey.c +0 -0
  942. data/third_party/{boringssl → boringssl-with-bazel/src}/crypto/x509v3/v3_sxnet.c +0 -0
  943. data/third_party/boringssl-with-bazel/src/crypto/x509v3/v3_utl.c +1395 -0
  944. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/aead.h +0 -0
  945. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/aes.h +0 -0
  946. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/arm_arch.h +0 -0
  947. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/asn1.h +0 -0
  948. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/asn1_mac.h +0 -0
  949. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/asn1t.h +0 -0
  950. data/third_party/boringssl-with-bazel/src/include/openssl/base.h +575 -0
  951. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/base64.h +0 -0
  952. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/bio.h +0 -0
  953. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/blowfish.h +0 -0
  954. data/third_party/boringssl-with-bazel/src/include/openssl/bn.h +1057 -0
  955. data/third_party/boringssl-with-bazel/src/include/openssl/buf.h +137 -0
  956. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/buffer.h +0 -0
  957. data/third_party/boringssl-with-bazel/src/include/openssl/bytestring.h +561 -0
  958. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/cast.h +0 -0
  959. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/chacha.h +0 -0
  960. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/cipher.h +0 -0
  961. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/cmac.h +0 -0
  962. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/conf.h +0 -0
  963. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/cpu.h +0 -0
  964. data/third_party/boringssl-with-bazel/src/include/openssl/crypto.h +149 -0
  965. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/curve25519.h +0 -0
  966. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/des.h +0 -0
  967. data/third_party/boringssl-with-bazel/src/include/openssl/dh.h +319 -0
  968. data/third_party/boringssl-with-bazel/src/include/openssl/digest.h +331 -0
  969. data/third_party/boringssl-with-bazel/src/include/openssl/dsa.h +457 -0
  970. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/dtls1.h +0 -0
  971. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/e_os2.h +0 -0
  972. data/third_party/boringssl-with-bazel/src/include/openssl/ec.h +424 -0
  973. data/third_party/boringssl-with-bazel/src/include/openssl/ec_key.h +372 -0
  974. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/ecdh.h +0 -0
  975. data/third_party/boringssl-with-bazel/src/include/openssl/ecdsa.h +205 -0
  976. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/engine.h +0 -0
  977. data/third_party/boringssl-with-bazel/src/include/openssl/err.h +465 -0
  978. data/third_party/boringssl-with-bazel/src/include/openssl/evp.h +1050 -0
  979. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/ex_data.h +0 -0
  980. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/hkdf.h +0 -0
  981. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/hmac.h +0 -0
  982. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/hrss.h +0 -0
  983. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/is_boringssl.h +0 -0
  984. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/lhash.h +0 -0
  985. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/md4.h +0 -0
  986. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/md5.h +0 -0
  987. data/third_party/boringssl-with-bazel/src/include/openssl/mem.h +175 -0
  988. data/third_party/boringssl-with-bazel/src/include/openssl/nid.h +4259 -0
  989. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/obj.h +0 -0
  990. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/obj_mac.h +0 -0
  991. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/objects.h +0 -0
  992. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/opensslconf.h +0 -0
  993. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/opensslv.h +0 -0
  994. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/ossl_typ.h +0 -0
  995. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/pem.h +0 -0
  996. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/pkcs12.h +0 -0
  997. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/pkcs7.h +0 -0
  998. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/pkcs8.h +0 -0
  999. data/third_party/boringssl-with-bazel/src/include/openssl/poly1305.h +49 -0
  1000. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/pool.h +0 -0
  1001. data/third_party/boringssl-with-bazel/src/include/openssl/rand.h +111 -0
  1002. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/rc4.h +0 -0
  1003. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/ripemd.h +0 -0
  1004. data/third_party/boringssl-with-bazel/src/include/openssl/rsa.h +818 -0
  1005. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/safestack.h +0 -0
  1006. data/third_party/boringssl-with-bazel/src/include/openssl/sha.h +294 -0
  1007. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/siphash.h +0 -0
  1008. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/span.h +0 -0
  1009. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/srtp.h +0 -0
  1010. data/third_party/boringssl-with-bazel/src/include/openssl/ssl.h +5198 -0
  1011. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/ssl3.h +0 -0
  1012. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/stack.h +0 -0
  1013. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/thread.h +0 -0
  1014. data/third_party/boringssl-with-bazel/src/include/openssl/tls1.h +632 -0
  1015. data/third_party/boringssl-with-bazel/src/include/openssl/trust_token.h +291 -0
  1016. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/type_check.h +0 -0
  1017. data/third_party/boringssl-with-bazel/src/include/openssl/x509.h +1207 -0
  1018. data/third_party/boringssl-with-bazel/src/include/openssl/x509_vfy.h +681 -0
  1019. data/third_party/{boringssl → boringssl-with-bazel/src}/include/openssl/x509v3.h +0 -0
  1020. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/bio_ssl.cc +0 -0
  1021. data/third_party/boringssl-with-bazel/src/ssl/d1_both.cc +837 -0
  1022. data/third_party/boringssl-with-bazel/src/ssl/d1_lib.cc +268 -0
  1023. data/third_party/boringssl-with-bazel/src/ssl/d1_pkt.cc +273 -0
  1024. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/d1_srtp.cc +0 -0
  1025. data/third_party/boringssl-with-bazel/src/ssl/dtls_method.cc +200 -0
  1026. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/dtls_record.cc +0 -0
  1027. data/third_party/boringssl-with-bazel/src/ssl/handoff.cc +675 -0
  1028. data/third_party/boringssl-with-bazel/src/ssl/handshake.cc +703 -0
  1029. data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +1890 -0
  1030. data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1805 -0
  1031. data/third_party/boringssl-with-bazel/src/ssl/internal.h +3572 -0
  1032. data/third_party/boringssl-with-bazel/src/ssl/s3_both.cc +724 -0
  1033. data/third_party/boringssl-with-bazel/src/ssl/s3_lib.cc +221 -0
  1034. data/third_party/boringssl-with-bazel/src/ssl/s3_pkt.cc +458 -0
  1035. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/ssl_aead_ctx.cc +0 -0
  1036. data/third_party/boringssl-with-bazel/src/ssl/ssl_asn1.cc +856 -0
  1037. data/third_party/boringssl-with-bazel/src/ssl/ssl_buffer.cc +306 -0
  1038. data/third_party/boringssl-with-bazel/src/ssl/ssl_cert.cc +1019 -0
  1039. data/third_party/boringssl-with-bazel/src/ssl/ssl_cipher.cc +1718 -0
  1040. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/ssl_file.cc +0 -0
  1041. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/ssl_key_share.cc +0 -0
  1042. data/third_party/boringssl-with-bazel/src/ssl/ssl_lib.cc +3015 -0
  1043. data/third_party/boringssl-with-bazel/src/ssl/ssl_privkey.cc +835 -0
  1044. data/third_party/boringssl-with-bazel/src/ssl/ssl_session.cc +1333 -0
  1045. data/third_party/boringssl-with-bazel/src/ssl/ssl_stat.cc +230 -0
  1046. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/ssl_transcript.cc +0 -0
  1047. data/third_party/boringssl-with-bazel/src/ssl/ssl_versions.cc +394 -0
  1048. data/third_party/{boringssl → boringssl-with-bazel/src}/ssl/ssl_x509.cc +0 -0
  1049. data/third_party/boringssl-with-bazel/src/ssl/t1_enc.cc +365 -0
  1050. data/third_party/boringssl-with-bazel/src/ssl/t1_lib.cc +3870 -0
  1051. data/third_party/boringssl-with-bazel/src/ssl/tls13_both.cc +689 -0
  1052. data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +1017 -0
  1053. data/third_party/boringssl-with-bazel/src/ssl/tls13_enc.cc +513 -0
  1054. data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +1096 -0
  1055. data/third_party/boringssl-with-bazel/src/ssl/tls_method.cc +317 -0
  1056. data/third_party/boringssl-with-bazel/src/ssl/tls_record.cc +703 -0
  1057. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_32.h +981 -0
  1058. data/third_party/boringssl-with-bazel/src/third_party/fiat/curve25519_64.h +619 -0
  1059. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_32.h +3147 -0
  1060. data/third_party/boringssl-with-bazel/src/third_party/fiat/p256_64.h +1226 -0
  1061. data/third_party/upb/upb/decode.c +4 -0
  1062. data/third_party/upb/upb/port.c +0 -1
  1063. data/third_party/upb/upb/port_def.inc +1 -3
  1064. data/third_party/upb/upb/table.c +2 -1
  1065. metadata +758 -509
  1066. data/src/boringssl/err_data.c +0 -1407
  1067. data/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc +0 -1898
  1068. data/src/core/lib/gprpp/inlined_vector.h +0 -246
  1069. data/src/core/lib/gprpp/optional.h +0 -48
  1070. data/src/core/lib/gprpp/string_view.h +0 -165
  1071. data/src/core/lib/iomgr/logical_thread.cc +0 -103
  1072. data/src/core/lib/iomgr/logical_thread.h +0 -52
  1073. data/src/core/lib/json/json.cc +0 -94
  1074. data/src/core/lib/json/json_common.h +0 -34
  1075. data/src/core/lib/json/json_reader.h +0 -146
  1076. data/src/core/lib/json/json_string.cc +0 -367
  1077. data/src/core/lib/json/json_writer.h +0 -84
  1078. data/src/core/lib/security/credentials/tls/spiffe_credentials.cc +0 -129
  1079. data/src/core/lib/security/credentials/tls/spiffe_credentials.h +0 -62
  1080. data/src/core/lib/security/security_connector/tls/spiffe_security_connector.cc +0 -541
  1081. data/src/core/lib/security/security_connector/tls/spiffe_security_connector.h +0 -158
  1082. data/src/core/tsi/grpc_shadow_boringssl.h +0 -3297
  1083. data/third_party/boringssl/crypto/asn1/a_time.c +0 -213
  1084. data/third_party/boringssl/crypto/bio/connect.c +0 -546
  1085. data/third_party/boringssl/crypto/bio/fd.c +0 -280
  1086. data/third_party/boringssl/crypto/bio/file.c +0 -318
  1087. data/third_party/boringssl/crypto/bio/pair.c +0 -489
  1088. data/third_party/boringssl/crypto/buf/buf.c +0 -231
  1089. data/third_party/boringssl/crypto/bytestring/cbb.c +0 -680
  1090. data/third_party/boringssl/crypto/bytestring/cbs.c +0 -631
  1091. data/third_party/boringssl/crypto/cipher_extra/derive_key.c +0 -152
  1092. data/third_party/boringssl/crypto/cipher_extra/e_aesgcmsiv.c +0 -883
  1093. data/third_party/boringssl/crypto/cpu-arm-linux.c +0 -219
  1094. data/third_party/boringssl/crypto/cpu-intel.c +0 -282
  1095. data/third_party/boringssl/crypto/crypto.c +0 -215
  1096. data/third_party/boringssl/crypto/curve25519/spake25519.c +0 -539
  1097. data/third_party/boringssl/crypto/dh/check.c +0 -217
  1098. data/third_party/boringssl/crypto/dh/dh.c +0 -519
  1099. data/third_party/boringssl/crypto/dsa/dsa.c +0 -970
  1100. data/third_party/boringssl/crypto/ec_extra/ec_derive.c +0 -96
  1101. data/third_party/boringssl/crypto/ecdh_extra/ecdh_extra.c +0 -124
  1102. data/third_party/boringssl/crypto/err/err.c +0 -849
  1103. data/third_party/boringssl/crypto/evp/p_ec.c +0 -287
  1104. data/third_party/boringssl/crypto/evp/p_rsa.c +0 -636
  1105. data/third_party/boringssl/crypto/evp/p_x25519_asn1.c +0 -249
  1106. data/third_party/boringssl/crypto/fipsmodule/aes/aes.c +0 -860
  1107. data/third_party/boringssl/crypto/fipsmodule/aes/internal.h +0 -240
  1108. data/third_party/boringssl/crypto/fipsmodule/aes/mode_wrappers.c +0 -108
  1109. data/third_party/boringssl/crypto/fipsmodule/bcm.c +0 -260
  1110. data/third_party/boringssl/crypto/fipsmodule/bn/exponentiation.c +0 -1288
  1111. data/third_party/boringssl/crypto/fipsmodule/bn/internal.h +0 -691
  1112. data/third_party/boringssl/crypto/fipsmodule/bn/montgomery.c +0 -502
  1113. data/third_party/boringssl/crypto/fipsmodule/bn/mul.c +0 -873
  1114. data/third_party/boringssl/crypto/fipsmodule/bn/prime.c +0 -1069
  1115. data/third_party/boringssl/crypto/fipsmodule/cipher/e_aes.c +0 -1304
  1116. data/third_party/boringssl/crypto/fipsmodule/digest/digests.c +0 -280
  1117. data/third_party/boringssl/crypto/fipsmodule/ec/ec.c +0 -1080
  1118. data/third_party/boringssl/crypto/fipsmodule/ec/ec_key.c +0 -479
  1119. data/third_party/boringssl/crypto/fipsmodule/ec/ec_montgomery.c +0 -483
  1120. data/third_party/boringssl/crypto/fipsmodule/ec/felem.c +0 -82
  1121. data/third_party/boringssl/crypto/fipsmodule/ec/internal.h +0 -503
  1122. data/third_party/boringssl/crypto/fipsmodule/ec/oct.c +0 -336
  1123. data/third_party/boringssl/crypto/fipsmodule/ec/p224-64.c +0 -1187
  1124. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64-table.h +0 -9501
  1125. data/third_party/boringssl/crypto/fipsmodule/ec/p256-x86_64.c +0 -651
  1126. data/third_party/boringssl/crypto/fipsmodule/ec/scalar.c +0 -96
  1127. data/third_party/boringssl/crypto/fipsmodule/ec/simple.c +0 -380
  1128. data/third_party/boringssl/crypto/fipsmodule/ec/simple_mul.c +0 -84
  1129. data/third_party/boringssl/crypto/fipsmodule/ec/wnaf.c +0 -227
  1130. data/third_party/boringssl/crypto/fipsmodule/ecdh/ecdh.c +0 -122
  1131. data/third_party/boringssl/crypto/fipsmodule/ecdsa/ecdsa.c +0 -313
  1132. data/third_party/boringssl/crypto/fipsmodule/modes/gcm.c +0 -877
  1133. data/third_party/boringssl/crypto/fipsmodule/modes/internal.h +0 -451
  1134. data/third_party/boringssl/crypto/fipsmodule/rand/internal.h +0 -127
  1135. data/third_party/boringssl/crypto/fipsmodule/rand/rand.c +0 -363
  1136. data/third_party/boringssl/crypto/fipsmodule/rand/urandom.c +0 -481
  1137. data/third_party/boringssl/crypto/fipsmodule/rsa/blinding.c +0 -239
  1138. data/third_party/boringssl/crypto/fipsmodule/rsa/internal.h +0 -126
  1139. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa.c +0 -879
  1140. data/third_party/boringssl/crypto/fipsmodule/rsa/rsa_impl.c +0 -1335
  1141. data/third_party/boringssl/crypto/fipsmodule/sha/sha512.c +0 -535
  1142. data/third_party/boringssl/crypto/hrss/hrss.c +0 -2201
  1143. data/third_party/boringssl/crypto/hrss/internal.h +0 -62
  1144. data/third_party/boringssl/crypto/internal.h +0 -814
  1145. data/third_party/boringssl/crypto/mem.c +0 -272
  1146. data/third_party/boringssl/crypto/obj/obj.c +0 -554
  1147. data/third_party/boringssl/crypto/obj/obj_dat.h +0 -11550
  1148. data/third_party/boringssl/crypto/pem/pem_info.c +0 -361
  1149. data/third_party/boringssl/crypto/pem/pem_lib.c +0 -777
  1150. data/third_party/boringssl/crypto/pem/pem_oth.c +0 -88
  1151. data/third_party/boringssl/crypto/pem/pem_pk8.c +0 -258
  1152. data/third_party/boringssl/crypto/pem/pem_pkey.c +0 -219
  1153. data/third_party/boringssl/crypto/pkcs7/pkcs7_x509.c +0 -385
  1154. data/third_party/boringssl/crypto/poly1305/poly1305.c +0 -318
  1155. data/third_party/boringssl/crypto/poly1305/poly1305_arm.c +0 -304
  1156. data/third_party/boringssl/crypto/poly1305/poly1305_vec.c +0 -839
  1157. data/third_party/boringssl/crypto/pool/pool.c +0 -221
  1158. data/third_party/boringssl/crypto/rand_extra/deterministic.c +0 -56
  1159. data/third_party/boringssl/crypto/rand_extra/windows.c +0 -53
  1160. data/third_party/boringssl/crypto/siphash/siphash.c +0 -80
  1161. data/third_party/boringssl/crypto/thread_pthread.c +0 -206
  1162. data/third_party/boringssl/crypto/thread_win.c +0 -256
  1163. data/third_party/boringssl/crypto/x509/a_verify.c +0 -115
  1164. data/third_party/boringssl/crypto/x509/by_dir.c +0 -458
  1165. data/third_party/boringssl/crypto/x509/by_file.c +0 -276
  1166. data/third_party/boringssl/crypto/x509/x509_cmp.c +0 -477
  1167. data/third_party/boringssl/crypto/x509/x509_obj.c +0 -198
  1168. data/third_party/boringssl/crypto/x509/x509_r2x.c +0 -117
  1169. data/third_party/boringssl/crypto/x509/x509_req.c +0 -342
  1170. data/third_party/boringssl/crypto/x509/x509_set.c +0 -169
  1171. data/third_party/boringssl/crypto/x509/x509_trs.c +0 -327
  1172. data/third_party/boringssl/crypto/x509/x509_vfy.c +0 -2483
  1173. data/third_party/boringssl/crypto/x509/x509_vpm.c +0 -672
  1174. data/third_party/boringssl/crypto/x509/x509name.c +0 -388
  1175. data/third_party/boringssl/crypto/x509/x_all.c +0 -400
  1176. data/third_party/boringssl/crypto/x509v3/v3_alt.c +0 -629
  1177. data/third_party/boringssl/crypto/x509v3/v3_enum.c +0 -100
  1178. data/third_party/boringssl/crypto/x509v3/v3_info.c +0 -219
  1179. data/third_party/boringssl/crypto/x509v3/v3_purp.c +0 -844
  1180. data/third_party/boringssl/crypto/x509v3/v3_utl.c +0 -1396
  1181. data/third_party/boringssl/include/openssl/base.h +0 -571
  1182. data/third_party/boringssl/include/openssl/bn.h +0 -1045
  1183. data/third_party/boringssl/include/openssl/buf.h +0 -137
  1184. data/third_party/boringssl/include/openssl/bytestring.h +0 -527
  1185. data/third_party/boringssl/include/openssl/crypto.h +0 -144
  1186. data/third_party/boringssl/include/openssl/dh.h +0 -299
  1187. data/third_party/boringssl/include/openssl/digest.h +0 -330
  1188. data/third_party/boringssl/include/openssl/dsa.h +0 -441
  1189. data/third_party/boringssl/include/openssl/ec.h +0 -417
  1190. data/third_party/boringssl/include/openssl/ec_key.h +0 -370
  1191. data/third_party/boringssl/include/openssl/ecdsa.h +0 -199
  1192. data/third_party/boringssl/include/openssl/err.h +0 -461
  1193. data/third_party/boringssl/include/openssl/evp.h +0 -1030
  1194. data/third_party/boringssl/include/openssl/mem.h +0 -160
  1195. data/third_party/boringssl/include/openssl/nid.h +0 -4245
  1196. data/third_party/boringssl/include/openssl/poly1305.h +0 -51
  1197. data/third_party/boringssl/include/openssl/rand.h +0 -125
  1198. data/third_party/boringssl/include/openssl/rsa.h +0 -787
  1199. data/third_party/boringssl/include/openssl/sha.h +0 -268
  1200. data/third_party/boringssl/include/openssl/ssl.h +0 -5113
  1201. data/third_party/boringssl/include/openssl/tls1.h +0 -634
  1202. data/third_party/boringssl/include/openssl/x509.h +0 -1205
  1203. data/third_party/boringssl/include/openssl/x509_vfy.h +0 -680
  1204. data/third_party/boringssl/ssl/d1_both.cc +0 -842
  1205. data/third_party/boringssl/ssl/d1_lib.cc +0 -268
  1206. data/third_party/boringssl/ssl/d1_pkt.cc +0 -274
  1207. data/third_party/boringssl/ssl/dtls_method.cc +0 -192
  1208. data/third_party/boringssl/ssl/handoff.cc +0 -489
  1209. data/third_party/boringssl/ssl/handshake.cc +0 -691
  1210. data/third_party/boringssl/ssl/handshake_client.cc +0 -1871
  1211. data/third_party/boringssl/ssl/handshake_server.cc +0 -1801
  1212. data/third_party/boringssl/ssl/internal.h +0 -3549
  1213. data/third_party/boringssl/ssl/s3_both.cc +0 -724
  1214. data/third_party/boringssl/ssl/s3_lib.cc +0 -222
  1215. data/third_party/boringssl/ssl/s3_pkt.cc +0 -459
  1216. data/third_party/boringssl/ssl/ssl_asn1.cc +0 -828
  1217. data/third_party/boringssl/ssl/ssl_buffer.cc +0 -287
  1218. data/third_party/boringssl/ssl/ssl_cert.cc +0 -1016
  1219. data/third_party/boringssl/ssl/ssl_cipher.cc +0 -1719
  1220. data/third_party/boringssl/ssl/ssl_lib.cc +0 -3011
  1221. data/third_party/boringssl/ssl/ssl_privkey.cc +0 -824
  1222. data/third_party/boringssl/ssl/ssl_session.cc +0 -1273
  1223. data/third_party/boringssl/ssl/ssl_stat.cc +0 -224
  1224. data/third_party/boringssl/ssl/ssl_versions.cc +0 -394
  1225. data/third_party/boringssl/ssl/t1_enc.cc +0 -361
  1226. data/third_party/boringssl/ssl/t1_lib.cc +0 -4036
  1227. data/third_party/boringssl/ssl/tls13_both.cc +0 -689
  1228. data/third_party/boringssl/ssl/tls13_client.cc +0 -947
  1229. data/third_party/boringssl/ssl/tls13_enc.cc +0 -561
  1230. data/third_party/boringssl/ssl/tls13_server.cc +0 -1089
  1231. data/third_party/boringssl/ssl/tls_method.cc +0 -279
  1232. data/third_party/boringssl/ssl/tls_record.cc +0 -698
  1233. data/third_party/boringssl/third_party/fiat/curve25519.c +0 -2167
  1234. data/third_party/boringssl/third_party/fiat/curve25519_32.h +0 -911
  1235. data/third_party/boringssl/third_party/fiat/curve25519_64.h +0 -559
  1236. data/third_party/boringssl/third_party/fiat/curve25519_tables.h +0 -7880
  1237. data/third_party/boringssl/third_party/fiat/internal.h +0 -154
  1238. data/third_party/boringssl/third_party/fiat/p256.c +0 -1063
  1239. data/third_party/boringssl/third_party/fiat/p256_32.h +0 -3226
  1240. data/third_party/boringssl/third_party/fiat/p256_64.h +0 -1217
@@ -1,3226 +0,0 @@
1
- /* Autogenerated */
2
- /* curve description: p256 */
3
- /* requested operations: (all) */
4
- /* m = 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff (from "2^256 - 2^224 + 2^192 + 2^96 - 1") */
5
- /* machine_wordsize = 32 (from "32") */
6
- /* */
7
- /* NOTE: In addition to the bounds specified above each function, all */
8
- /* functions synthesized for this Montgomery arithmetic require the */
9
- /* input to be strictly less than the prime modulus (m), and also */
10
- /* require the input to be in the unique saturated representation. */
11
- /* All functions also ensure that these two properties are true of */
12
- /* return values. */
13
-
14
- #include <stdint.h>
15
- typedef unsigned char fiat_p256_uint1;
16
- typedef signed char fiat_p256_int1;
17
-
18
-
19
- /*
20
- * Input Bounds:
21
- * arg1: [0x0 ~> 0x1]
22
- * arg2: [0x0 ~> 0xffffffff]
23
- * arg3: [0x0 ~> 0xffffffff]
24
- * Output Bounds:
25
- * out1: [0x0 ~> 0xffffffff]
26
- * out2: [0x0 ~> 0x1]
27
- */
28
- static void fiat_p256_addcarryx_u32(uint32_t* out1, fiat_p256_uint1* out2, fiat_p256_uint1 arg1, uint32_t arg2, uint32_t arg3) {
29
- uint64_t x1 = ((arg1 + (uint64_t)arg2) + arg3);
30
- uint32_t x2 = (uint32_t)(x1 & UINT32_C(0xffffffff));
31
- fiat_p256_uint1 x3 = (fiat_p256_uint1)(x1 >> 32);
32
- *out1 = x2;
33
- *out2 = x3;
34
- }
35
-
36
- /*
37
- * Input Bounds:
38
- * arg1: [0x0 ~> 0x1]
39
- * arg2: [0x0 ~> 0xffffffff]
40
- * arg3: [0x0 ~> 0xffffffff]
41
- * Output Bounds:
42
- * out1: [0x0 ~> 0xffffffff]
43
- * out2: [0x0 ~> 0x1]
44
- */
45
- static void fiat_p256_subborrowx_u32(uint32_t* out1, fiat_p256_uint1* out2, fiat_p256_uint1 arg1, uint32_t arg2, uint32_t arg3) {
46
- int64_t x1 = ((arg2 - (int64_t)arg1) - arg3);
47
- fiat_p256_int1 x2 = (fiat_p256_int1)(x1 >> 32);
48
- uint32_t x3 = (uint32_t)(x1 & UINT32_C(0xffffffff));
49
- *out1 = x3;
50
- *out2 = (fiat_p256_uint1)(0x0 - x2);
51
- }
52
-
53
- /*
54
- * Input Bounds:
55
- * arg1: [0x0 ~> 0xffffffff]
56
- * arg2: [0x0 ~> 0xffffffff]
57
- * Output Bounds:
58
- * out1: [0x0 ~> 0xffffffff]
59
- * out2: [0x0 ~> 0xffffffff]
60
- */
61
- static void fiat_p256_mulx_u32(uint32_t* out1, uint32_t* out2, uint32_t arg1, uint32_t arg2) {
62
- uint64_t x1 = ((uint64_t)arg1 * arg2);
63
- uint32_t x2 = (uint32_t)(x1 & UINT32_C(0xffffffff));
64
- uint32_t x3 = (uint32_t)(x1 >> 32);
65
- *out1 = x2;
66
- *out2 = x3;
67
- }
68
-
69
- /*
70
- * Input Bounds:
71
- * arg1: [0x0 ~> 0x1]
72
- * arg2: [0x0 ~> 0xffffffff]
73
- * arg3: [0x0 ~> 0xffffffff]
74
- * Output Bounds:
75
- * out1: [0x0 ~> 0xffffffff]
76
- */
77
- static void fiat_p256_cmovznz_u32(uint32_t* out1, fiat_p256_uint1 arg1, uint32_t arg2, uint32_t arg3) {
78
- fiat_p256_uint1 x1 = (!(!arg1));
79
- uint32_t x2 = ((fiat_p256_int1)(0x0 - x1) & UINT32_C(0xffffffff));
80
- // Note this line has been patched from the synthesized code to add value
81
- // barriers.
82
- //
83
- // Clang recognizes this pattern as a select. While it usually transforms it
84
- // to a cmov, it sometimes further transforms it into a branch, which we do
85
- // not want.
86
- uint32_t x3 = ((value_barrier_u32(x2) & arg3) | (value_barrier_u32(~x2) & arg2));
87
- *out1 = x3;
88
- }
89
-
90
- /*
91
- * Input Bounds:
92
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
93
- * arg2: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
94
- * Output Bounds:
95
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
96
- */
97
- static void fiat_p256_mul(uint32_t out1[8], const uint32_t arg1[8], const uint32_t arg2[8]) {
98
- uint32_t x1 = (arg1[1]);
99
- uint32_t x2 = (arg1[2]);
100
- uint32_t x3 = (arg1[3]);
101
- uint32_t x4 = (arg1[4]);
102
- uint32_t x5 = (arg1[5]);
103
- uint32_t x6 = (arg1[6]);
104
- uint32_t x7 = (arg1[7]);
105
- uint32_t x8 = (arg1[0]);
106
- uint32_t x9;
107
- uint32_t x10;
108
- fiat_p256_mulx_u32(&x9, &x10, x8, (arg2[7]));
109
- uint32_t x11;
110
- uint32_t x12;
111
- fiat_p256_mulx_u32(&x11, &x12, x8, (arg2[6]));
112
- uint32_t x13;
113
- uint32_t x14;
114
- fiat_p256_mulx_u32(&x13, &x14, x8, (arg2[5]));
115
- uint32_t x15;
116
- uint32_t x16;
117
- fiat_p256_mulx_u32(&x15, &x16, x8, (arg2[4]));
118
- uint32_t x17;
119
- uint32_t x18;
120
- fiat_p256_mulx_u32(&x17, &x18, x8, (arg2[3]));
121
- uint32_t x19;
122
- uint32_t x20;
123
- fiat_p256_mulx_u32(&x19, &x20, x8, (arg2[2]));
124
- uint32_t x21;
125
- uint32_t x22;
126
- fiat_p256_mulx_u32(&x21, &x22, x8, (arg2[1]));
127
- uint32_t x23;
128
- uint32_t x24;
129
- fiat_p256_mulx_u32(&x23, &x24, x8, (arg2[0]));
130
- uint32_t x25;
131
- fiat_p256_uint1 x26;
132
- fiat_p256_addcarryx_u32(&x25, &x26, 0x0, x21, x24);
133
- uint32_t x27;
134
- fiat_p256_uint1 x28;
135
- fiat_p256_addcarryx_u32(&x27, &x28, x26, x19, x22);
136
- uint32_t x29;
137
- fiat_p256_uint1 x30;
138
- fiat_p256_addcarryx_u32(&x29, &x30, x28, x17, x20);
139
- uint32_t x31;
140
- fiat_p256_uint1 x32;
141
- fiat_p256_addcarryx_u32(&x31, &x32, x30, x15, x18);
142
- uint32_t x33;
143
- fiat_p256_uint1 x34;
144
- fiat_p256_addcarryx_u32(&x33, &x34, x32, x13, x16);
145
- uint32_t x35;
146
- fiat_p256_uint1 x36;
147
- fiat_p256_addcarryx_u32(&x35, &x36, x34, x11, x14);
148
- uint32_t x37;
149
- fiat_p256_uint1 x38;
150
- fiat_p256_addcarryx_u32(&x37, &x38, x36, x9, x12);
151
- uint32_t x39;
152
- fiat_p256_uint1 x40;
153
- fiat_p256_addcarryx_u32(&x39, &x40, x38, 0x0, x10);
154
- uint32_t x41;
155
- uint32_t x42;
156
- fiat_p256_mulx_u32(&x41, &x42, x23, UINT32_C(0xffffffff));
157
- uint32_t x43;
158
- uint32_t x44;
159
- fiat_p256_mulx_u32(&x43, &x44, x23, UINT32_C(0xffffffff));
160
- uint32_t x45;
161
- uint32_t x46;
162
- fiat_p256_mulx_u32(&x45, &x46, x23, UINT32_C(0xffffffff));
163
- uint32_t x47;
164
- uint32_t x48;
165
- fiat_p256_mulx_u32(&x47, &x48, x23, UINT32_C(0xffffffff));
166
- uint32_t x49;
167
- fiat_p256_uint1 x50;
168
- fiat_p256_addcarryx_u32(&x49, &x50, 0x0, x45, x48);
169
- uint32_t x51;
170
- fiat_p256_uint1 x52;
171
- fiat_p256_addcarryx_u32(&x51, &x52, x50, x43, x46);
172
- uint32_t x53;
173
- fiat_p256_uint1 x54;
174
- fiat_p256_addcarryx_u32(&x53, &x54, x52, 0x0, x44);
175
- uint32_t x55;
176
- fiat_p256_uint1 x56;
177
- fiat_p256_addcarryx_u32(&x55, &x56, 0x0, x47, x23);
178
- uint32_t x57;
179
- fiat_p256_uint1 x58;
180
- fiat_p256_addcarryx_u32(&x57, &x58, x56, x49, x25);
181
- uint32_t x59;
182
- fiat_p256_uint1 x60;
183
- fiat_p256_addcarryx_u32(&x59, &x60, x58, x51, x27);
184
- uint32_t x61;
185
- fiat_p256_uint1 x62;
186
- fiat_p256_addcarryx_u32(&x61, &x62, x60, x53, x29);
187
- uint32_t x63;
188
- fiat_p256_uint1 x64;
189
- fiat_p256_addcarryx_u32(&x63, &x64, x62, 0x0, x31);
190
- uint32_t x65;
191
- fiat_p256_uint1 x66;
192
- fiat_p256_addcarryx_u32(&x65, &x66, x64, 0x0, x33);
193
- uint32_t x67;
194
- fiat_p256_uint1 x68;
195
- fiat_p256_addcarryx_u32(&x67, &x68, x66, x23, x35);
196
- uint32_t x69;
197
- fiat_p256_uint1 x70;
198
- fiat_p256_addcarryx_u32(&x69, &x70, x68, x41, x37);
199
- uint32_t x71;
200
- fiat_p256_uint1 x72;
201
- fiat_p256_addcarryx_u32(&x71, &x72, x70, x42, x39);
202
- uint32_t x73;
203
- fiat_p256_uint1 x74;
204
- fiat_p256_addcarryx_u32(&x73, &x74, x72, 0x0, 0x0);
205
- uint32_t x75;
206
- uint32_t x76;
207
- fiat_p256_mulx_u32(&x75, &x76, x1, (arg2[7]));
208
- uint32_t x77;
209
- uint32_t x78;
210
- fiat_p256_mulx_u32(&x77, &x78, x1, (arg2[6]));
211
- uint32_t x79;
212
- uint32_t x80;
213
- fiat_p256_mulx_u32(&x79, &x80, x1, (arg2[5]));
214
- uint32_t x81;
215
- uint32_t x82;
216
- fiat_p256_mulx_u32(&x81, &x82, x1, (arg2[4]));
217
- uint32_t x83;
218
- uint32_t x84;
219
- fiat_p256_mulx_u32(&x83, &x84, x1, (arg2[3]));
220
- uint32_t x85;
221
- uint32_t x86;
222
- fiat_p256_mulx_u32(&x85, &x86, x1, (arg2[2]));
223
- uint32_t x87;
224
- uint32_t x88;
225
- fiat_p256_mulx_u32(&x87, &x88, x1, (arg2[1]));
226
- uint32_t x89;
227
- uint32_t x90;
228
- fiat_p256_mulx_u32(&x89, &x90, x1, (arg2[0]));
229
- uint32_t x91;
230
- fiat_p256_uint1 x92;
231
- fiat_p256_addcarryx_u32(&x91, &x92, 0x0, x87, x90);
232
- uint32_t x93;
233
- fiat_p256_uint1 x94;
234
- fiat_p256_addcarryx_u32(&x93, &x94, x92, x85, x88);
235
- uint32_t x95;
236
- fiat_p256_uint1 x96;
237
- fiat_p256_addcarryx_u32(&x95, &x96, x94, x83, x86);
238
- uint32_t x97;
239
- fiat_p256_uint1 x98;
240
- fiat_p256_addcarryx_u32(&x97, &x98, x96, x81, x84);
241
- uint32_t x99;
242
- fiat_p256_uint1 x100;
243
- fiat_p256_addcarryx_u32(&x99, &x100, x98, x79, x82);
244
- uint32_t x101;
245
- fiat_p256_uint1 x102;
246
- fiat_p256_addcarryx_u32(&x101, &x102, x100, x77, x80);
247
- uint32_t x103;
248
- fiat_p256_uint1 x104;
249
- fiat_p256_addcarryx_u32(&x103, &x104, x102, x75, x78);
250
- uint32_t x105;
251
- fiat_p256_uint1 x106;
252
- fiat_p256_addcarryx_u32(&x105, &x106, x104, 0x0, x76);
253
- uint32_t x107;
254
- fiat_p256_uint1 x108;
255
- fiat_p256_addcarryx_u32(&x107, &x108, 0x0, x89, x57);
256
- uint32_t x109;
257
- fiat_p256_uint1 x110;
258
- fiat_p256_addcarryx_u32(&x109, &x110, x108, x91, x59);
259
- uint32_t x111;
260
- fiat_p256_uint1 x112;
261
- fiat_p256_addcarryx_u32(&x111, &x112, x110, x93, x61);
262
- uint32_t x113;
263
- fiat_p256_uint1 x114;
264
- fiat_p256_addcarryx_u32(&x113, &x114, x112, x95, x63);
265
- uint32_t x115;
266
- fiat_p256_uint1 x116;
267
- fiat_p256_addcarryx_u32(&x115, &x116, x114, x97, x65);
268
- uint32_t x117;
269
- fiat_p256_uint1 x118;
270
- fiat_p256_addcarryx_u32(&x117, &x118, x116, x99, x67);
271
- uint32_t x119;
272
- fiat_p256_uint1 x120;
273
- fiat_p256_addcarryx_u32(&x119, &x120, x118, x101, x69);
274
- uint32_t x121;
275
- fiat_p256_uint1 x122;
276
- fiat_p256_addcarryx_u32(&x121, &x122, x120, x103, x71);
277
- uint32_t x123;
278
- fiat_p256_uint1 x124;
279
- fiat_p256_addcarryx_u32(&x123, &x124, x122, x105, (fiat_p256_uint1)x73);
280
- uint32_t x125;
281
- uint32_t x126;
282
- fiat_p256_mulx_u32(&x125, &x126, x107, UINT32_C(0xffffffff));
283
- uint32_t x127;
284
- uint32_t x128;
285
- fiat_p256_mulx_u32(&x127, &x128, x107, UINT32_C(0xffffffff));
286
- uint32_t x129;
287
- uint32_t x130;
288
- fiat_p256_mulx_u32(&x129, &x130, x107, UINT32_C(0xffffffff));
289
- uint32_t x131;
290
- uint32_t x132;
291
- fiat_p256_mulx_u32(&x131, &x132, x107, UINT32_C(0xffffffff));
292
- uint32_t x133;
293
- fiat_p256_uint1 x134;
294
- fiat_p256_addcarryx_u32(&x133, &x134, 0x0, x129, x132);
295
- uint32_t x135;
296
- fiat_p256_uint1 x136;
297
- fiat_p256_addcarryx_u32(&x135, &x136, x134, x127, x130);
298
- uint32_t x137;
299
- fiat_p256_uint1 x138;
300
- fiat_p256_addcarryx_u32(&x137, &x138, x136, 0x0, x128);
301
- uint32_t x139;
302
- fiat_p256_uint1 x140;
303
- fiat_p256_addcarryx_u32(&x139, &x140, 0x0, x131, x107);
304
- uint32_t x141;
305
- fiat_p256_uint1 x142;
306
- fiat_p256_addcarryx_u32(&x141, &x142, x140, x133, x109);
307
- uint32_t x143;
308
- fiat_p256_uint1 x144;
309
- fiat_p256_addcarryx_u32(&x143, &x144, x142, x135, x111);
310
- uint32_t x145;
311
- fiat_p256_uint1 x146;
312
- fiat_p256_addcarryx_u32(&x145, &x146, x144, x137, x113);
313
- uint32_t x147;
314
- fiat_p256_uint1 x148;
315
- fiat_p256_addcarryx_u32(&x147, &x148, x146, 0x0, x115);
316
- uint32_t x149;
317
- fiat_p256_uint1 x150;
318
- fiat_p256_addcarryx_u32(&x149, &x150, x148, 0x0, x117);
319
- uint32_t x151;
320
- fiat_p256_uint1 x152;
321
- fiat_p256_addcarryx_u32(&x151, &x152, x150, x107, x119);
322
- uint32_t x153;
323
- fiat_p256_uint1 x154;
324
- fiat_p256_addcarryx_u32(&x153, &x154, x152, x125, x121);
325
- uint32_t x155;
326
- fiat_p256_uint1 x156;
327
- fiat_p256_addcarryx_u32(&x155, &x156, x154, x126, x123);
328
- uint32_t x157;
329
- fiat_p256_uint1 x158;
330
- fiat_p256_addcarryx_u32(&x157, &x158, x156, 0x0, x124);
331
- uint32_t x159;
332
- uint32_t x160;
333
- fiat_p256_mulx_u32(&x159, &x160, x2, (arg2[7]));
334
- uint32_t x161;
335
- uint32_t x162;
336
- fiat_p256_mulx_u32(&x161, &x162, x2, (arg2[6]));
337
- uint32_t x163;
338
- uint32_t x164;
339
- fiat_p256_mulx_u32(&x163, &x164, x2, (arg2[5]));
340
- uint32_t x165;
341
- uint32_t x166;
342
- fiat_p256_mulx_u32(&x165, &x166, x2, (arg2[4]));
343
- uint32_t x167;
344
- uint32_t x168;
345
- fiat_p256_mulx_u32(&x167, &x168, x2, (arg2[3]));
346
- uint32_t x169;
347
- uint32_t x170;
348
- fiat_p256_mulx_u32(&x169, &x170, x2, (arg2[2]));
349
- uint32_t x171;
350
- uint32_t x172;
351
- fiat_p256_mulx_u32(&x171, &x172, x2, (arg2[1]));
352
- uint32_t x173;
353
- uint32_t x174;
354
- fiat_p256_mulx_u32(&x173, &x174, x2, (arg2[0]));
355
- uint32_t x175;
356
- fiat_p256_uint1 x176;
357
- fiat_p256_addcarryx_u32(&x175, &x176, 0x0, x171, x174);
358
- uint32_t x177;
359
- fiat_p256_uint1 x178;
360
- fiat_p256_addcarryx_u32(&x177, &x178, x176, x169, x172);
361
- uint32_t x179;
362
- fiat_p256_uint1 x180;
363
- fiat_p256_addcarryx_u32(&x179, &x180, x178, x167, x170);
364
- uint32_t x181;
365
- fiat_p256_uint1 x182;
366
- fiat_p256_addcarryx_u32(&x181, &x182, x180, x165, x168);
367
- uint32_t x183;
368
- fiat_p256_uint1 x184;
369
- fiat_p256_addcarryx_u32(&x183, &x184, x182, x163, x166);
370
- uint32_t x185;
371
- fiat_p256_uint1 x186;
372
- fiat_p256_addcarryx_u32(&x185, &x186, x184, x161, x164);
373
- uint32_t x187;
374
- fiat_p256_uint1 x188;
375
- fiat_p256_addcarryx_u32(&x187, &x188, x186, x159, x162);
376
- uint32_t x189;
377
- fiat_p256_uint1 x190;
378
- fiat_p256_addcarryx_u32(&x189, &x190, x188, 0x0, x160);
379
- uint32_t x191;
380
- fiat_p256_uint1 x192;
381
- fiat_p256_addcarryx_u32(&x191, &x192, 0x0, x173, x141);
382
- uint32_t x193;
383
- fiat_p256_uint1 x194;
384
- fiat_p256_addcarryx_u32(&x193, &x194, x192, x175, x143);
385
- uint32_t x195;
386
- fiat_p256_uint1 x196;
387
- fiat_p256_addcarryx_u32(&x195, &x196, x194, x177, x145);
388
- uint32_t x197;
389
- fiat_p256_uint1 x198;
390
- fiat_p256_addcarryx_u32(&x197, &x198, x196, x179, x147);
391
- uint32_t x199;
392
- fiat_p256_uint1 x200;
393
- fiat_p256_addcarryx_u32(&x199, &x200, x198, x181, x149);
394
- uint32_t x201;
395
- fiat_p256_uint1 x202;
396
- fiat_p256_addcarryx_u32(&x201, &x202, x200, x183, x151);
397
- uint32_t x203;
398
- fiat_p256_uint1 x204;
399
- fiat_p256_addcarryx_u32(&x203, &x204, x202, x185, x153);
400
- uint32_t x205;
401
- fiat_p256_uint1 x206;
402
- fiat_p256_addcarryx_u32(&x205, &x206, x204, x187, x155);
403
- uint32_t x207;
404
- fiat_p256_uint1 x208;
405
- fiat_p256_addcarryx_u32(&x207, &x208, x206, x189, x157);
406
- uint32_t x209;
407
- uint32_t x210;
408
- fiat_p256_mulx_u32(&x209, &x210, x191, UINT32_C(0xffffffff));
409
- uint32_t x211;
410
- uint32_t x212;
411
- fiat_p256_mulx_u32(&x211, &x212, x191, UINT32_C(0xffffffff));
412
- uint32_t x213;
413
- uint32_t x214;
414
- fiat_p256_mulx_u32(&x213, &x214, x191, UINT32_C(0xffffffff));
415
- uint32_t x215;
416
- uint32_t x216;
417
- fiat_p256_mulx_u32(&x215, &x216, x191, UINT32_C(0xffffffff));
418
- uint32_t x217;
419
- fiat_p256_uint1 x218;
420
- fiat_p256_addcarryx_u32(&x217, &x218, 0x0, x213, x216);
421
- uint32_t x219;
422
- fiat_p256_uint1 x220;
423
- fiat_p256_addcarryx_u32(&x219, &x220, x218, x211, x214);
424
- uint32_t x221;
425
- fiat_p256_uint1 x222;
426
- fiat_p256_addcarryx_u32(&x221, &x222, x220, 0x0, x212);
427
- uint32_t x223;
428
- fiat_p256_uint1 x224;
429
- fiat_p256_addcarryx_u32(&x223, &x224, 0x0, x215, x191);
430
- uint32_t x225;
431
- fiat_p256_uint1 x226;
432
- fiat_p256_addcarryx_u32(&x225, &x226, x224, x217, x193);
433
- uint32_t x227;
434
- fiat_p256_uint1 x228;
435
- fiat_p256_addcarryx_u32(&x227, &x228, x226, x219, x195);
436
- uint32_t x229;
437
- fiat_p256_uint1 x230;
438
- fiat_p256_addcarryx_u32(&x229, &x230, x228, x221, x197);
439
- uint32_t x231;
440
- fiat_p256_uint1 x232;
441
- fiat_p256_addcarryx_u32(&x231, &x232, x230, 0x0, x199);
442
- uint32_t x233;
443
- fiat_p256_uint1 x234;
444
- fiat_p256_addcarryx_u32(&x233, &x234, x232, 0x0, x201);
445
- uint32_t x235;
446
- fiat_p256_uint1 x236;
447
- fiat_p256_addcarryx_u32(&x235, &x236, x234, x191, x203);
448
- uint32_t x237;
449
- fiat_p256_uint1 x238;
450
- fiat_p256_addcarryx_u32(&x237, &x238, x236, x209, x205);
451
- uint32_t x239;
452
- fiat_p256_uint1 x240;
453
- fiat_p256_addcarryx_u32(&x239, &x240, x238, x210, x207);
454
- uint32_t x241;
455
- fiat_p256_uint1 x242;
456
- fiat_p256_addcarryx_u32(&x241, &x242, x240, 0x0, x208);
457
- uint32_t x243;
458
- uint32_t x244;
459
- fiat_p256_mulx_u32(&x243, &x244, x3, (arg2[7]));
460
- uint32_t x245;
461
- uint32_t x246;
462
- fiat_p256_mulx_u32(&x245, &x246, x3, (arg2[6]));
463
- uint32_t x247;
464
- uint32_t x248;
465
- fiat_p256_mulx_u32(&x247, &x248, x3, (arg2[5]));
466
- uint32_t x249;
467
- uint32_t x250;
468
- fiat_p256_mulx_u32(&x249, &x250, x3, (arg2[4]));
469
- uint32_t x251;
470
- uint32_t x252;
471
- fiat_p256_mulx_u32(&x251, &x252, x3, (arg2[3]));
472
- uint32_t x253;
473
- uint32_t x254;
474
- fiat_p256_mulx_u32(&x253, &x254, x3, (arg2[2]));
475
- uint32_t x255;
476
- uint32_t x256;
477
- fiat_p256_mulx_u32(&x255, &x256, x3, (arg2[1]));
478
- uint32_t x257;
479
- uint32_t x258;
480
- fiat_p256_mulx_u32(&x257, &x258, x3, (arg2[0]));
481
- uint32_t x259;
482
- fiat_p256_uint1 x260;
483
- fiat_p256_addcarryx_u32(&x259, &x260, 0x0, x255, x258);
484
- uint32_t x261;
485
- fiat_p256_uint1 x262;
486
- fiat_p256_addcarryx_u32(&x261, &x262, x260, x253, x256);
487
- uint32_t x263;
488
- fiat_p256_uint1 x264;
489
- fiat_p256_addcarryx_u32(&x263, &x264, x262, x251, x254);
490
- uint32_t x265;
491
- fiat_p256_uint1 x266;
492
- fiat_p256_addcarryx_u32(&x265, &x266, x264, x249, x252);
493
- uint32_t x267;
494
- fiat_p256_uint1 x268;
495
- fiat_p256_addcarryx_u32(&x267, &x268, x266, x247, x250);
496
- uint32_t x269;
497
- fiat_p256_uint1 x270;
498
- fiat_p256_addcarryx_u32(&x269, &x270, x268, x245, x248);
499
- uint32_t x271;
500
- fiat_p256_uint1 x272;
501
- fiat_p256_addcarryx_u32(&x271, &x272, x270, x243, x246);
502
- uint32_t x273;
503
- fiat_p256_uint1 x274;
504
- fiat_p256_addcarryx_u32(&x273, &x274, x272, 0x0, x244);
505
- uint32_t x275;
506
- fiat_p256_uint1 x276;
507
- fiat_p256_addcarryx_u32(&x275, &x276, 0x0, x257, x225);
508
- uint32_t x277;
509
- fiat_p256_uint1 x278;
510
- fiat_p256_addcarryx_u32(&x277, &x278, x276, x259, x227);
511
- uint32_t x279;
512
- fiat_p256_uint1 x280;
513
- fiat_p256_addcarryx_u32(&x279, &x280, x278, x261, x229);
514
- uint32_t x281;
515
- fiat_p256_uint1 x282;
516
- fiat_p256_addcarryx_u32(&x281, &x282, x280, x263, x231);
517
- uint32_t x283;
518
- fiat_p256_uint1 x284;
519
- fiat_p256_addcarryx_u32(&x283, &x284, x282, x265, x233);
520
- uint32_t x285;
521
- fiat_p256_uint1 x286;
522
- fiat_p256_addcarryx_u32(&x285, &x286, x284, x267, x235);
523
- uint32_t x287;
524
- fiat_p256_uint1 x288;
525
- fiat_p256_addcarryx_u32(&x287, &x288, x286, x269, x237);
526
- uint32_t x289;
527
- fiat_p256_uint1 x290;
528
- fiat_p256_addcarryx_u32(&x289, &x290, x288, x271, x239);
529
- uint32_t x291;
530
- fiat_p256_uint1 x292;
531
- fiat_p256_addcarryx_u32(&x291, &x292, x290, x273, x241);
532
- uint32_t x293;
533
- uint32_t x294;
534
- fiat_p256_mulx_u32(&x293, &x294, x275, UINT32_C(0xffffffff));
535
- uint32_t x295;
536
- uint32_t x296;
537
- fiat_p256_mulx_u32(&x295, &x296, x275, UINT32_C(0xffffffff));
538
- uint32_t x297;
539
- uint32_t x298;
540
- fiat_p256_mulx_u32(&x297, &x298, x275, UINT32_C(0xffffffff));
541
- uint32_t x299;
542
- uint32_t x300;
543
- fiat_p256_mulx_u32(&x299, &x300, x275, UINT32_C(0xffffffff));
544
- uint32_t x301;
545
- fiat_p256_uint1 x302;
546
- fiat_p256_addcarryx_u32(&x301, &x302, 0x0, x297, x300);
547
- uint32_t x303;
548
- fiat_p256_uint1 x304;
549
- fiat_p256_addcarryx_u32(&x303, &x304, x302, x295, x298);
550
- uint32_t x305;
551
- fiat_p256_uint1 x306;
552
- fiat_p256_addcarryx_u32(&x305, &x306, x304, 0x0, x296);
553
- uint32_t x307;
554
- fiat_p256_uint1 x308;
555
- fiat_p256_addcarryx_u32(&x307, &x308, 0x0, x299, x275);
556
- uint32_t x309;
557
- fiat_p256_uint1 x310;
558
- fiat_p256_addcarryx_u32(&x309, &x310, x308, x301, x277);
559
- uint32_t x311;
560
- fiat_p256_uint1 x312;
561
- fiat_p256_addcarryx_u32(&x311, &x312, x310, x303, x279);
562
- uint32_t x313;
563
- fiat_p256_uint1 x314;
564
- fiat_p256_addcarryx_u32(&x313, &x314, x312, x305, x281);
565
- uint32_t x315;
566
- fiat_p256_uint1 x316;
567
- fiat_p256_addcarryx_u32(&x315, &x316, x314, 0x0, x283);
568
- uint32_t x317;
569
- fiat_p256_uint1 x318;
570
- fiat_p256_addcarryx_u32(&x317, &x318, x316, 0x0, x285);
571
- uint32_t x319;
572
- fiat_p256_uint1 x320;
573
- fiat_p256_addcarryx_u32(&x319, &x320, x318, x275, x287);
574
- uint32_t x321;
575
- fiat_p256_uint1 x322;
576
- fiat_p256_addcarryx_u32(&x321, &x322, x320, x293, x289);
577
- uint32_t x323;
578
- fiat_p256_uint1 x324;
579
- fiat_p256_addcarryx_u32(&x323, &x324, x322, x294, x291);
580
- uint32_t x325;
581
- fiat_p256_uint1 x326;
582
- fiat_p256_addcarryx_u32(&x325, &x326, x324, 0x0, x292);
583
- uint32_t x327;
584
- uint32_t x328;
585
- fiat_p256_mulx_u32(&x327, &x328, x4, (arg2[7]));
586
- uint32_t x329;
587
- uint32_t x330;
588
- fiat_p256_mulx_u32(&x329, &x330, x4, (arg2[6]));
589
- uint32_t x331;
590
- uint32_t x332;
591
- fiat_p256_mulx_u32(&x331, &x332, x4, (arg2[5]));
592
- uint32_t x333;
593
- uint32_t x334;
594
- fiat_p256_mulx_u32(&x333, &x334, x4, (arg2[4]));
595
- uint32_t x335;
596
- uint32_t x336;
597
- fiat_p256_mulx_u32(&x335, &x336, x4, (arg2[3]));
598
- uint32_t x337;
599
- uint32_t x338;
600
- fiat_p256_mulx_u32(&x337, &x338, x4, (arg2[2]));
601
- uint32_t x339;
602
- uint32_t x340;
603
- fiat_p256_mulx_u32(&x339, &x340, x4, (arg2[1]));
604
- uint32_t x341;
605
- uint32_t x342;
606
- fiat_p256_mulx_u32(&x341, &x342, x4, (arg2[0]));
607
- uint32_t x343;
608
- fiat_p256_uint1 x344;
609
- fiat_p256_addcarryx_u32(&x343, &x344, 0x0, x339, x342);
610
- uint32_t x345;
611
- fiat_p256_uint1 x346;
612
- fiat_p256_addcarryx_u32(&x345, &x346, x344, x337, x340);
613
- uint32_t x347;
614
- fiat_p256_uint1 x348;
615
- fiat_p256_addcarryx_u32(&x347, &x348, x346, x335, x338);
616
- uint32_t x349;
617
- fiat_p256_uint1 x350;
618
- fiat_p256_addcarryx_u32(&x349, &x350, x348, x333, x336);
619
- uint32_t x351;
620
- fiat_p256_uint1 x352;
621
- fiat_p256_addcarryx_u32(&x351, &x352, x350, x331, x334);
622
- uint32_t x353;
623
- fiat_p256_uint1 x354;
624
- fiat_p256_addcarryx_u32(&x353, &x354, x352, x329, x332);
625
- uint32_t x355;
626
- fiat_p256_uint1 x356;
627
- fiat_p256_addcarryx_u32(&x355, &x356, x354, x327, x330);
628
- uint32_t x357;
629
- fiat_p256_uint1 x358;
630
- fiat_p256_addcarryx_u32(&x357, &x358, x356, 0x0, x328);
631
- uint32_t x359;
632
- fiat_p256_uint1 x360;
633
- fiat_p256_addcarryx_u32(&x359, &x360, 0x0, x341, x309);
634
- uint32_t x361;
635
- fiat_p256_uint1 x362;
636
- fiat_p256_addcarryx_u32(&x361, &x362, x360, x343, x311);
637
- uint32_t x363;
638
- fiat_p256_uint1 x364;
639
- fiat_p256_addcarryx_u32(&x363, &x364, x362, x345, x313);
640
- uint32_t x365;
641
- fiat_p256_uint1 x366;
642
- fiat_p256_addcarryx_u32(&x365, &x366, x364, x347, x315);
643
- uint32_t x367;
644
- fiat_p256_uint1 x368;
645
- fiat_p256_addcarryx_u32(&x367, &x368, x366, x349, x317);
646
- uint32_t x369;
647
- fiat_p256_uint1 x370;
648
- fiat_p256_addcarryx_u32(&x369, &x370, x368, x351, x319);
649
- uint32_t x371;
650
- fiat_p256_uint1 x372;
651
- fiat_p256_addcarryx_u32(&x371, &x372, x370, x353, x321);
652
- uint32_t x373;
653
- fiat_p256_uint1 x374;
654
- fiat_p256_addcarryx_u32(&x373, &x374, x372, x355, x323);
655
- uint32_t x375;
656
- fiat_p256_uint1 x376;
657
- fiat_p256_addcarryx_u32(&x375, &x376, x374, x357, x325);
658
- uint32_t x377;
659
- uint32_t x378;
660
- fiat_p256_mulx_u32(&x377, &x378, x359, UINT32_C(0xffffffff));
661
- uint32_t x379;
662
- uint32_t x380;
663
- fiat_p256_mulx_u32(&x379, &x380, x359, UINT32_C(0xffffffff));
664
- uint32_t x381;
665
- uint32_t x382;
666
- fiat_p256_mulx_u32(&x381, &x382, x359, UINT32_C(0xffffffff));
667
- uint32_t x383;
668
- uint32_t x384;
669
- fiat_p256_mulx_u32(&x383, &x384, x359, UINT32_C(0xffffffff));
670
- uint32_t x385;
671
- fiat_p256_uint1 x386;
672
- fiat_p256_addcarryx_u32(&x385, &x386, 0x0, x381, x384);
673
- uint32_t x387;
674
- fiat_p256_uint1 x388;
675
- fiat_p256_addcarryx_u32(&x387, &x388, x386, x379, x382);
676
- uint32_t x389;
677
- fiat_p256_uint1 x390;
678
- fiat_p256_addcarryx_u32(&x389, &x390, x388, 0x0, x380);
679
- uint32_t x391;
680
- fiat_p256_uint1 x392;
681
- fiat_p256_addcarryx_u32(&x391, &x392, 0x0, x383, x359);
682
- uint32_t x393;
683
- fiat_p256_uint1 x394;
684
- fiat_p256_addcarryx_u32(&x393, &x394, x392, x385, x361);
685
- uint32_t x395;
686
- fiat_p256_uint1 x396;
687
- fiat_p256_addcarryx_u32(&x395, &x396, x394, x387, x363);
688
- uint32_t x397;
689
- fiat_p256_uint1 x398;
690
- fiat_p256_addcarryx_u32(&x397, &x398, x396, x389, x365);
691
- uint32_t x399;
692
- fiat_p256_uint1 x400;
693
- fiat_p256_addcarryx_u32(&x399, &x400, x398, 0x0, x367);
694
- uint32_t x401;
695
- fiat_p256_uint1 x402;
696
- fiat_p256_addcarryx_u32(&x401, &x402, x400, 0x0, x369);
697
- uint32_t x403;
698
- fiat_p256_uint1 x404;
699
- fiat_p256_addcarryx_u32(&x403, &x404, x402, x359, x371);
700
- uint32_t x405;
701
- fiat_p256_uint1 x406;
702
- fiat_p256_addcarryx_u32(&x405, &x406, x404, x377, x373);
703
- uint32_t x407;
704
- fiat_p256_uint1 x408;
705
- fiat_p256_addcarryx_u32(&x407, &x408, x406, x378, x375);
706
- uint32_t x409;
707
- fiat_p256_uint1 x410;
708
- fiat_p256_addcarryx_u32(&x409, &x410, x408, 0x0, x376);
709
- uint32_t x411;
710
- uint32_t x412;
711
- fiat_p256_mulx_u32(&x411, &x412, x5, (arg2[7]));
712
- uint32_t x413;
713
- uint32_t x414;
714
- fiat_p256_mulx_u32(&x413, &x414, x5, (arg2[6]));
715
- uint32_t x415;
716
- uint32_t x416;
717
- fiat_p256_mulx_u32(&x415, &x416, x5, (arg2[5]));
718
- uint32_t x417;
719
- uint32_t x418;
720
- fiat_p256_mulx_u32(&x417, &x418, x5, (arg2[4]));
721
- uint32_t x419;
722
- uint32_t x420;
723
- fiat_p256_mulx_u32(&x419, &x420, x5, (arg2[3]));
724
- uint32_t x421;
725
- uint32_t x422;
726
- fiat_p256_mulx_u32(&x421, &x422, x5, (arg2[2]));
727
- uint32_t x423;
728
- uint32_t x424;
729
- fiat_p256_mulx_u32(&x423, &x424, x5, (arg2[1]));
730
- uint32_t x425;
731
- uint32_t x426;
732
- fiat_p256_mulx_u32(&x425, &x426, x5, (arg2[0]));
733
- uint32_t x427;
734
- fiat_p256_uint1 x428;
735
- fiat_p256_addcarryx_u32(&x427, &x428, 0x0, x423, x426);
736
- uint32_t x429;
737
- fiat_p256_uint1 x430;
738
- fiat_p256_addcarryx_u32(&x429, &x430, x428, x421, x424);
739
- uint32_t x431;
740
- fiat_p256_uint1 x432;
741
- fiat_p256_addcarryx_u32(&x431, &x432, x430, x419, x422);
742
- uint32_t x433;
743
- fiat_p256_uint1 x434;
744
- fiat_p256_addcarryx_u32(&x433, &x434, x432, x417, x420);
745
- uint32_t x435;
746
- fiat_p256_uint1 x436;
747
- fiat_p256_addcarryx_u32(&x435, &x436, x434, x415, x418);
748
- uint32_t x437;
749
- fiat_p256_uint1 x438;
750
- fiat_p256_addcarryx_u32(&x437, &x438, x436, x413, x416);
751
- uint32_t x439;
752
- fiat_p256_uint1 x440;
753
- fiat_p256_addcarryx_u32(&x439, &x440, x438, x411, x414);
754
- uint32_t x441;
755
- fiat_p256_uint1 x442;
756
- fiat_p256_addcarryx_u32(&x441, &x442, x440, 0x0, x412);
757
- uint32_t x443;
758
- fiat_p256_uint1 x444;
759
- fiat_p256_addcarryx_u32(&x443, &x444, 0x0, x425, x393);
760
- uint32_t x445;
761
- fiat_p256_uint1 x446;
762
- fiat_p256_addcarryx_u32(&x445, &x446, x444, x427, x395);
763
- uint32_t x447;
764
- fiat_p256_uint1 x448;
765
- fiat_p256_addcarryx_u32(&x447, &x448, x446, x429, x397);
766
- uint32_t x449;
767
- fiat_p256_uint1 x450;
768
- fiat_p256_addcarryx_u32(&x449, &x450, x448, x431, x399);
769
- uint32_t x451;
770
- fiat_p256_uint1 x452;
771
- fiat_p256_addcarryx_u32(&x451, &x452, x450, x433, x401);
772
- uint32_t x453;
773
- fiat_p256_uint1 x454;
774
- fiat_p256_addcarryx_u32(&x453, &x454, x452, x435, x403);
775
- uint32_t x455;
776
- fiat_p256_uint1 x456;
777
- fiat_p256_addcarryx_u32(&x455, &x456, x454, x437, x405);
778
- uint32_t x457;
779
- fiat_p256_uint1 x458;
780
- fiat_p256_addcarryx_u32(&x457, &x458, x456, x439, x407);
781
- uint32_t x459;
782
- fiat_p256_uint1 x460;
783
- fiat_p256_addcarryx_u32(&x459, &x460, x458, x441, x409);
784
- uint32_t x461;
785
- uint32_t x462;
786
- fiat_p256_mulx_u32(&x461, &x462, x443, UINT32_C(0xffffffff));
787
- uint32_t x463;
788
- uint32_t x464;
789
- fiat_p256_mulx_u32(&x463, &x464, x443, UINT32_C(0xffffffff));
790
- uint32_t x465;
791
- uint32_t x466;
792
- fiat_p256_mulx_u32(&x465, &x466, x443, UINT32_C(0xffffffff));
793
- uint32_t x467;
794
- uint32_t x468;
795
- fiat_p256_mulx_u32(&x467, &x468, x443, UINT32_C(0xffffffff));
796
- uint32_t x469;
797
- fiat_p256_uint1 x470;
798
- fiat_p256_addcarryx_u32(&x469, &x470, 0x0, x465, x468);
799
- uint32_t x471;
800
- fiat_p256_uint1 x472;
801
- fiat_p256_addcarryx_u32(&x471, &x472, x470, x463, x466);
802
- uint32_t x473;
803
- fiat_p256_uint1 x474;
804
- fiat_p256_addcarryx_u32(&x473, &x474, x472, 0x0, x464);
805
- uint32_t x475;
806
- fiat_p256_uint1 x476;
807
- fiat_p256_addcarryx_u32(&x475, &x476, 0x0, x467, x443);
808
- uint32_t x477;
809
- fiat_p256_uint1 x478;
810
- fiat_p256_addcarryx_u32(&x477, &x478, x476, x469, x445);
811
- uint32_t x479;
812
- fiat_p256_uint1 x480;
813
- fiat_p256_addcarryx_u32(&x479, &x480, x478, x471, x447);
814
- uint32_t x481;
815
- fiat_p256_uint1 x482;
816
- fiat_p256_addcarryx_u32(&x481, &x482, x480, x473, x449);
817
- uint32_t x483;
818
- fiat_p256_uint1 x484;
819
- fiat_p256_addcarryx_u32(&x483, &x484, x482, 0x0, x451);
820
- uint32_t x485;
821
- fiat_p256_uint1 x486;
822
- fiat_p256_addcarryx_u32(&x485, &x486, x484, 0x0, x453);
823
- uint32_t x487;
824
- fiat_p256_uint1 x488;
825
- fiat_p256_addcarryx_u32(&x487, &x488, x486, x443, x455);
826
- uint32_t x489;
827
- fiat_p256_uint1 x490;
828
- fiat_p256_addcarryx_u32(&x489, &x490, x488, x461, x457);
829
- uint32_t x491;
830
- fiat_p256_uint1 x492;
831
- fiat_p256_addcarryx_u32(&x491, &x492, x490, x462, x459);
832
- uint32_t x493;
833
- fiat_p256_uint1 x494;
834
- fiat_p256_addcarryx_u32(&x493, &x494, x492, 0x0, x460);
835
- uint32_t x495;
836
- uint32_t x496;
837
- fiat_p256_mulx_u32(&x495, &x496, x6, (arg2[7]));
838
- uint32_t x497;
839
- uint32_t x498;
840
- fiat_p256_mulx_u32(&x497, &x498, x6, (arg2[6]));
841
- uint32_t x499;
842
- uint32_t x500;
843
- fiat_p256_mulx_u32(&x499, &x500, x6, (arg2[5]));
844
- uint32_t x501;
845
- uint32_t x502;
846
- fiat_p256_mulx_u32(&x501, &x502, x6, (arg2[4]));
847
- uint32_t x503;
848
- uint32_t x504;
849
- fiat_p256_mulx_u32(&x503, &x504, x6, (arg2[3]));
850
- uint32_t x505;
851
- uint32_t x506;
852
- fiat_p256_mulx_u32(&x505, &x506, x6, (arg2[2]));
853
- uint32_t x507;
854
- uint32_t x508;
855
- fiat_p256_mulx_u32(&x507, &x508, x6, (arg2[1]));
856
- uint32_t x509;
857
- uint32_t x510;
858
- fiat_p256_mulx_u32(&x509, &x510, x6, (arg2[0]));
859
- uint32_t x511;
860
- fiat_p256_uint1 x512;
861
- fiat_p256_addcarryx_u32(&x511, &x512, 0x0, x507, x510);
862
- uint32_t x513;
863
- fiat_p256_uint1 x514;
864
- fiat_p256_addcarryx_u32(&x513, &x514, x512, x505, x508);
865
- uint32_t x515;
866
- fiat_p256_uint1 x516;
867
- fiat_p256_addcarryx_u32(&x515, &x516, x514, x503, x506);
868
- uint32_t x517;
869
- fiat_p256_uint1 x518;
870
- fiat_p256_addcarryx_u32(&x517, &x518, x516, x501, x504);
871
- uint32_t x519;
872
- fiat_p256_uint1 x520;
873
- fiat_p256_addcarryx_u32(&x519, &x520, x518, x499, x502);
874
- uint32_t x521;
875
- fiat_p256_uint1 x522;
876
- fiat_p256_addcarryx_u32(&x521, &x522, x520, x497, x500);
877
- uint32_t x523;
878
- fiat_p256_uint1 x524;
879
- fiat_p256_addcarryx_u32(&x523, &x524, x522, x495, x498);
880
- uint32_t x525;
881
- fiat_p256_uint1 x526;
882
- fiat_p256_addcarryx_u32(&x525, &x526, x524, 0x0, x496);
883
- uint32_t x527;
884
- fiat_p256_uint1 x528;
885
- fiat_p256_addcarryx_u32(&x527, &x528, 0x0, x509, x477);
886
- uint32_t x529;
887
- fiat_p256_uint1 x530;
888
- fiat_p256_addcarryx_u32(&x529, &x530, x528, x511, x479);
889
- uint32_t x531;
890
- fiat_p256_uint1 x532;
891
- fiat_p256_addcarryx_u32(&x531, &x532, x530, x513, x481);
892
- uint32_t x533;
893
- fiat_p256_uint1 x534;
894
- fiat_p256_addcarryx_u32(&x533, &x534, x532, x515, x483);
895
- uint32_t x535;
896
- fiat_p256_uint1 x536;
897
- fiat_p256_addcarryx_u32(&x535, &x536, x534, x517, x485);
898
- uint32_t x537;
899
- fiat_p256_uint1 x538;
900
- fiat_p256_addcarryx_u32(&x537, &x538, x536, x519, x487);
901
- uint32_t x539;
902
- fiat_p256_uint1 x540;
903
- fiat_p256_addcarryx_u32(&x539, &x540, x538, x521, x489);
904
- uint32_t x541;
905
- fiat_p256_uint1 x542;
906
- fiat_p256_addcarryx_u32(&x541, &x542, x540, x523, x491);
907
- uint32_t x543;
908
- fiat_p256_uint1 x544;
909
- fiat_p256_addcarryx_u32(&x543, &x544, x542, x525, x493);
910
- uint32_t x545;
911
- uint32_t x546;
912
- fiat_p256_mulx_u32(&x545, &x546, x527, UINT32_C(0xffffffff));
913
- uint32_t x547;
914
- uint32_t x548;
915
- fiat_p256_mulx_u32(&x547, &x548, x527, UINT32_C(0xffffffff));
916
- uint32_t x549;
917
- uint32_t x550;
918
- fiat_p256_mulx_u32(&x549, &x550, x527, UINT32_C(0xffffffff));
919
- uint32_t x551;
920
- uint32_t x552;
921
- fiat_p256_mulx_u32(&x551, &x552, x527, UINT32_C(0xffffffff));
922
- uint32_t x553;
923
- fiat_p256_uint1 x554;
924
- fiat_p256_addcarryx_u32(&x553, &x554, 0x0, x549, x552);
925
- uint32_t x555;
926
- fiat_p256_uint1 x556;
927
- fiat_p256_addcarryx_u32(&x555, &x556, x554, x547, x550);
928
- uint32_t x557;
929
- fiat_p256_uint1 x558;
930
- fiat_p256_addcarryx_u32(&x557, &x558, x556, 0x0, x548);
931
- uint32_t x559;
932
- fiat_p256_uint1 x560;
933
- fiat_p256_addcarryx_u32(&x559, &x560, 0x0, x551, x527);
934
- uint32_t x561;
935
- fiat_p256_uint1 x562;
936
- fiat_p256_addcarryx_u32(&x561, &x562, x560, x553, x529);
937
- uint32_t x563;
938
- fiat_p256_uint1 x564;
939
- fiat_p256_addcarryx_u32(&x563, &x564, x562, x555, x531);
940
- uint32_t x565;
941
- fiat_p256_uint1 x566;
942
- fiat_p256_addcarryx_u32(&x565, &x566, x564, x557, x533);
943
- uint32_t x567;
944
- fiat_p256_uint1 x568;
945
- fiat_p256_addcarryx_u32(&x567, &x568, x566, 0x0, x535);
946
- uint32_t x569;
947
- fiat_p256_uint1 x570;
948
- fiat_p256_addcarryx_u32(&x569, &x570, x568, 0x0, x537);
949
- uint32_t x571;
950
- fiat_p256_uint1 x572;
951
- fiat_p256_addcarryx_u32(&x571, &x572, x570, x527, x539);
952
- uint32_t x573;
953
- fiat_p256_uint1 x574;
954
- fiat_p256_addcarryx_u32(&x573, &x574, x572, x545, x541);
955
- uint32_t x575;
956
- fiat_p256_uint1 x576;
957
- fiat_p256_addcarryx_u32(&x575, &x576, x574, x546, x543);
958
- uint32_t x577;
959
- fiat_p256_uint1 x578;
960
- fiat_p256_addcarryx_u32(&x577, &x578, x576, 0x0, x544);
961
- uint32_t x579;
962
- uint32_t x580;
963
- fiat_p256_mulx_u32(&x579, &x580, x7, (arg2[7]));
964
- uint32_t x581;
965
- uint32_t x582;
966
- fiat_p256_mulx_u32(&x581, &x582, x7, (arg2[6]));
967
- uint32_t x583;
968
- uint32_t x584;
969
- fiat_p256_mulx_u32(&x583, &x584, x7, (arg2[5]));
970
- uint32_t x585;
971
- uint32_t x586;
972
- fiat_p256_mulx_u32(&x585, &x586, x7, (arg2[4]));
973
- uint32_t x587;
974
- uint32_t x588;
975
- fiat_p256_mulx_u32(&x587, &x588, x7, (arg2[3]));
976
- uint32_t x589;
977
- uint32_t x590;
978
- fiat_p256_mulx_u32(&x589, &x590, x7, (arg2[2]));
979
- uint32_t x591;
980
- uint32_t x592;
981
- fiat_p256_mulx_u32(&x591, &x592, x7, (arg2[1]));
982
- uint32_t x593;
983
- uint32_t x594;
984
- fiat_p256_mulx_u32(&x593, &x594, x7, (arg2[0]));
985
- uint32_t x595;
986
- fiat_p256_uint1 x596;
987
- fiat_p256_addcarryx_u32(&x595, &x596, 0x0, x591, x594);
988
- uint32_t x597;
989
- fiat_p256_uint1 x598;
990
- fiat_p256_addcarryx_u32(&x597, &x598, x596, x589, x592);
991
- uint32_t x599;
992
- fiat_p256_uint1 x600;
993
- fiat_p256_addcarryx_u32(&x599, &x600, x598, x587, x590);
994
- uint32_t x601;
995
- fiat_p256_uint1 x602;
996
- fiat_p256_addcarryx_u32(&x601, &x602, x600, x585, x588);
997
- uint32_t x603;
998
- fiat_p256_uint1 x604;
999
- fiat_p256_addcarryx_u32(&x603, &x604, x602, x583, x586);
1000
- uint32_t x605;
1001
- fiat_p256_uint1 x606;
1002
- fiat_p256_addcarryx_u32(&x605, &x606, x604, x581, x584);
1003
- uint32_t x607;
1004
- fiat_p256_uint1 x608;
1005
- fiat_p256_addcarryx_u32(&x607, &x608, x606, x579, x582);
1006
- uint32_t x609;
1007
- fiat_p256_uint1 x610;
1008
- fiat_p256_addcarryx_u32(&x609, &x610, x608, 0x0, x580);
1009
- uint32_t x611;
1010
- fiat_p256_uint1 x612;
1011
- fiat_p256_addcarryx_u32(&x611, &x612, 0x0, x593, x561);
1012
- uint32_t x613;
1013
- fiat_p256_uint1 x614;
1014
- fiat_p256_addcarryx_u32(&x613, &x614, x612, x595, x563);
1015
- uint32_t x615;
1016
- fiat_p256_uint1 x616;
1017
- fiat_p256_addcarryx_u32(&x615, &x616, x614, x597, x565);
1018
- uint32_t x617;
1019
- fiat_p256_uint1 x618;
1020
- fiat_p256_addcarryx_u32(&x617, &x618, x616, x599, x567);
1021
- uint32_t x619;
1022
- fiat_p256_uint1 x620;
1023
- fiat_p256_addcarryx_u32(&x619, &x620, x618, x601, x569);
1024
- uint32_t x621;
1025
- fiat_p256_uint1 x622;
1026
- fiat_p256_addcarryx_u32(&x621, &x622, x620, x603, x571);
1027
- uint32_t x623;
1028
- fiat_p256_uint1 x624;
1029
- fiat_p256_addcarryx_u32(&x623, &x624, x622, x605, x573);
1030
- uint32_t x625;
1031
- fiat_p256_uint1 x626;
1032
- fiat_p256_addcarryx_u32(&x625, &x626, x624, x607, x575);
1033
- uint32_t x627;
1034
- fiat_p256_uint1 x628;
1035
- fiat_p256_addcarryx_u32(&x627, &x628, x626, x609, x577);
1036
- uint32_t x629;
1037
- uint32_t x630;
1038
- fiat_p256_mulx_u32(&x629, &x630, x611, UINT32_C(0xffffffff));
1039
- uint32_t x631;
1040
- uint32_t x632;
1041
- fiat_p256_mulx_u32(&x631, &x632, x611, UINT32_C(0xffffffff));
1042
- uint32_t x633;
1043
- uint32_t x634;
1044
- fiat_p256_mulx_u32(&x633, &x634, x611, UINT32_C(0xffffffff));
1045
- uint32_t x635;
1046
- uint32_t x636;
1047
- fiat_p256_mulx_u32(&x635, &x636, x611, UINT32_C(0xffffffff));
1048
- uint32_t x637;
1049
- fiat_p256_uint1 x638;
1050
- fiat_p256_addcarryx_u32(&x637, &x638, 0x0, x633, x636);
1051
- uint32_t x639;
1052
- fiat_p256_uint1 x640;
1053
- fiat_p256_addcarryx_u32(&x639, &x640, x638, x631, x634);
1054
- uint32_t x641;
1055
- fiat_p256_uint1 x642;
1056
- fiat_p256_addcarryx_u32(&x641, &x642, x640, 0x0, x632);
1057
- uint32_t x643;
1058
- fiat_p256_uint1 x644;
1059
- fiat_p256_addcarryx_u32(&x643, &x644, 0x0, x635, x611);
1060
- uint32_t x645;
1061
- fiat_p256_uint1 x646;
1062
- fiat_p256_addcarryx_u32(&x645, &x646, x644, x637, x613);
1063
- uint32_t x647;
1064
- fiat_p256_uint1 x648;
1065
- fiat_p256_addcarryx_u32(&x647, &x648, x646, x639, x615);
1066
- uint32_t x649;
1067
- fiat_p256_uint1 x650;
1068
- fiat_p256_addcarryx_u32(&x649, &x650, x648, x641, x617);
1069
- uint32_t x651;
1070
- fiat_p256_uint1 x652;
1071
- fiat_p256_addcarryx_u32(&x651, &x652, x650, 0x0, x619);
1072
- uint32_t x653;
1073
- fiat_p256_uint1 x654;
1074
- fiat_p256_addcarryx_u32(&x653, &x654, x652, 0x0, x621);
1075
- uint32_t x655;
1076
- fiat_p256_uint1 x656;
1077
- fiat_p256_addcarryx_u32(&x655, &x656, x654, x611, x623);
1078
- uint32_t x657;
1079
- fiat_p256_uint1 x658;
1080
- fiat_p256_addcarryx_u32(&x657, &x658, x656, x629, x625);
1081
- uint32_t x659;
1082
- fiat_p256_uint1 x660;
1083
- fiat_p256_addcarryx_u32(&x659, &x660, x658, x630, x627);
1084
- uint32_t x661;
1085
- fiat_p256_uint1 x662;
1086
- fiat_p256_addcarryx_u32(&x661, &x662, x660, 0x0, x628);
1087
- uint32_t x663;
1088
- fiat_p256_uint1 x664;
1089
- fiat_p256_subborrowx_u32(&x663, &x664, 0x0, x645, UINT32_C(0xffffffff));
1090
- uint32_t x665;
1091
- fiat_p256_uint1 x666;
1092
- fiat_p256_subborrowx_u32(&x665, &x666, x664, x647, UINT32_C(0xffffffff));
1093
- uint32_t x667;
1094
- fiat_p256_uint1 x668;
1095
- fiat_p256_subborrowx_u32(&x667, &x668, x666, x649, UINT32_C(0xffffffff));
1096
- uint32_t x669;
1097
- fiat_p256_uint1 x670;
1098
- fiat_p256_subborrowx_u32(&x669, &x670, x668, x651, 0x0);
1099
- uint32_t x671;
1100
- fiat_p256_uint1 x672;
1101
- fiat_p256_subborrowx_u32(&x671, &x672, x670, x653, 0x0);
1102
- uint32_t x673;
1103
- fiat_p256_uint1 x674;
1104
- fiat_p256_subborrowx_u32(&x673, &x674, x672, x655, 0x0);
1105
- uint32_t x675;
1106
- fiat_p256_uint1 x676;
1107
- fiat_p256_subborrowx_u32(&x675, &x676, x674, x657, 0x1);
1108
- uint32_t x677;
1109
- fiat_p256_uint1 x678;
1110
- fiat_p256_subborrowx_u32(&x677, &x678, x676, x659, UINT32_C(0xffffffff));
1111
- uint32_t x679;
1112
- fiat_p256_uint1 x680;
1113
- fiat_p256_subborrowx_u32(&x679, &x680, x678, x661, 0x0);
1114
- uint32_t x681;
1115
- fiat_p256_cmovznz_u32(&x681, x680, x663, x645);
1116
- uint32_t x682;
1117
- fiat_p256_cmovznz_u32(&x682, x680, x665, x647);
1118
- uint32_t x683;
1119
- fiat_p256_cmovznz_u32(&x683, x680, x667, x649);
1120
- uint32_t x684;
1121
- fiat_p256_cmovznz_u32(&x684, x680, x669, x651);
1122
- uint32_t x685;
1123
- fiat_p256_cmovznz_u32(&x685, x680, x671, x653);
1124
- uint32_t x686;
1125
- fiat_p256_cmovznz_u32(&x686, x680, x673, x655);
1126
- uint32_t x687;
1127
- fiat_p256_cmovznz_u32(&x687, x680, x675, x657);
1128
- uint32_t x688;
1129
- fiat_p256_cmovznz_u32(&x688, x680, x677, x659);
1130
- out1[0] = x681;
1131
- out1[1] = x682;
1132
- out1[2] = x683;
1133
- out1[3] = x684;
1134
- out1[4] = x685;
1135
- out1[5] = x686;
1136
- out1[6] = x687;
1137
- out1[7] = x688;
1138
- }
1139
-
1140
- /*
1141
- * Input Bounds:
1142
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
1143
- * Output Bounds:
1144
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
1145
- */
1146
- static void fiat_p256_square(uint32_t out1[8], const uint32_t arg1[8]) {
1147
- uint32_t x1 = (arg1[1]);
1148
- uint32_t x2 = (arg1[2]);
1149
- uint32_t x3 = (arg1[3]);
1150
- uint32_t x4 = (arg1[4]);
1151
- uint32_t x5 = (arg1[5]);
1152
- uint32_t x6 = (arg1[6]);
1153
- uint32_t x7 = (arg1[7]);
1154
- uint32_t x8 = (arg1[0]);
1155
- uint32_t x9;
1156
- uint32_t x10;
1157
- fiat_p256_mulx_u32(&x9, &x10, x8, (arg1[7]));
1158
- uint32_t x11;
1159
- uint32_t x12;
1160
- fiat_p256_mulx_u32(&x11, &x12, x8, (arg1[6]));
1161
- uint32_t x13;
1162
- uint32_t x14;
1163
- fiat_p256_mulx_u32(&x13, &x14, x8, (arg1[5]));
1164
- uint32_t x15;
1165
- uint32_t x16;
1166
- fiat_p256_mulx_u32(&x15, &x16, x8, (arg1[4]));
1167
- uint32_t x17;
1168
- uint32_t x18;
1169
- fiat_p256_mulx_u32(&x17, &x18, x8, (arg1[3]));
1170
- uint32_t x19;
1171
- uint32_t x20;
1172
- fiat_p256_mulx_u32(&x19, &x20, x8, (arg1[2]));
1173
- uint32_t x21;
1174
- uint32_t x22;
1175
- fiat_p256_mulx_u32(&x21, &x22, x8, (arg1[1]));
1176
- uint32_t x23;
1177
- uint32_t x24;
1178
- fiat_p256_mulx_u32(&x23, &x24, x8, (arg1[0]));
1179
- uint32_t x25;
1180
- fiat_p256_uint1 x26;
1181
- fiat_p256_addcarryx_u32(&x25, &x26, 0x0, x21, x24);
1182
- uint32_t x27;
1183
- fiat_p256_uint1 x28;
1184
- fiat_p256_addcarryx_u32(&x27, &x28, x26, x19, x22);
1185
- uint32_t x29;
1186
- fiat_p256_uint1 x30;
1187
- fiat_p256_addcarryx_u32(&x29, &x30, x28, x17, x20);
1188
- uint32_t x31;
1189
- fiat_p256_uint1 x32;
1190
- fiat_p256_addcarryx_u32(&x31, &x32, x30, x15, x18);
1191
- uint32_t x33;
1192
- fiat_p256_uint1 x34;
1193
- fiat_p256_addcarryx_u32(&x33, &x34, x32, x13, x16);
1194
- uint32_t x35;
1195
- fiat_p256_uint1 x36;
1196
- fiat_p256_addcarryx_u32(&x35, &x36, x34, x11, x14);
1197
- uint32_t x37;
1198
- fiat_p256_uint1 x38;
1199
- fiat_p256_addcarryx_u32(&x37, &x38, x36, x9, x12);
1200
- uint32_t x39;
1201
- fiat_p256_uint1 x40;
1202
- fiat_p256_addcarryx_u32(&x39, &x40, x38, 0x0, x10);
1203
- uint32_t x41;
1204
- uint32_t x42;
1205
- fiat_p256_mulx_u32(&x41, &x42, x23, UINT32_C(0xffffffff));
1206
- uint32_t x43;
1207
- uint32_t x44;
1208
- fiat_p256_mulx_u32(&x43, &x44, x23, UINT32_C(0xffffffff));
1209
- uint32_t x45;
1210
- uint32_t x46;
1211
- fiat_p256_mulx_u32(&x45, &x46, x23, UINT32_C(0xffffffff));
1212
- uint32_t x47;
1213
- uint32_t x48;
1214
- fiat_p256_mulx_u32(&x47, &x48, x23, UINT32_C(0xffffffff));
1215
- uint32_t x49;
1216
- fiat_p256_uint1 x50;
1217
- fiat_p256_addcarryx_u32(&x49, &x50, 0x0, x45, x48);
1218
- uint32_t x51;
1219
- fiat_p256_uint1 x52;
1220
- fiat_p256_addcarryx_u32(&x51, &x52, x50, x43, x46);
1221
- uint32_t x53;
1222
- fiat_p256_uint1 x54;
1223
- fiat_p256_addcarryx_u32(&x53, &x54, x52, 0x0, x44);
1224
- uint32_t x55;
1225
- fiat_p256_uint1 x56;
1226
- fiat_p256_addcarryx_u32(&x55, &x56, 0x0, x47, x23);
1227
- uint32_t x57;
1228
- fiat_p256_uint1 x58;
1229
- fiat_p256_addcarryx_u32(&x57, &x58, x56, x49, x25);
1230
- uint32_t x59;
1231
- fiat_p256_uint1 x60;
1232
- fiat_p256_addcarryx_u32(&x59, &x60, x58, x51, x27);
1233
- uint32_t x61;
1234
- fiat_p256_uint1 x62;
1235
- fiat_p256_addcarryx_u32(&x61, &x62, x60, x53, x29);
1236
- uint32_t x63;
1237
- fiat_p256_uint1 x64;
1238
- fiat_p256_addcarryx_u32(&x63, &x64, x62, 0x0, x31);
1239
- uint32_t x65;
1240
- fiat_p256_uint1 x66;
1241
- fiat_p256_addcarryx_u32(&x65, &x66, x64, 0x0, x33);
1242
- uint32_t x67;
1243
- fiat_p256_uint1 x68;
1244
- fiat_p256_addcarryx_u32(&x67, &x68, x66, x23, x35);
1245
- uint32_t x69;
1246
- fiat_p256_uint1 x70;
1247
- fiat_p256_addcarryx_u32(&x69, &x70, x68, x41, x37);
1248
- uint32_t x71;
1249
- fiat_p256_uint1 x72;
1250
- fiat_p256_addcarryx_u32(&x71, &x72, x70, x42, x39);
1251
- uint32_t x73;
1252
- fiat_p256_uint1 x74;
1253
- fiat_p256_addcarryx_u32(&x73, &x74, x72, 0x0, 0x0);
1254
- uint32_t x75;
1255
- uint32_t x76;
1256
- fiat_p256_mulx_u32(&x75, &x76, x1, (arg1[7]));
1257
- uint32_t x77;
1258
- uint32_t x78;
1259
- fiat_p256_mulx_u32(&x77, &x78, x1, (arg1[6]));
1260
- uint32_t x79;
1261
- uint32_t x80;
1262
- fiat_p256_mulx_u32(&x79, &x80, x1, (arg1[5]));
1263
- uint32_t x81;
1264
- uint32_t x82;
1265
- fiat_p256_mulx_u32(&x81, &x82, x1, (arg1[4]));
1266
- uint32_t x83;
1267
- uint32_t x84;
1268
- fiat_p256_mulx_u32(&x83, &x84, x1, (arg1[3]));
1269
- uint32_t x85;
1270
- uint32_t x86;
1271
- fiat_p256_mulx_u32(&x85, &x86, x1, (arg1[2]));
1272
- uint32_t x87;
1273
- uint32_t x88;
1274
- fiat_p256_mulx_u32(&x87, &x88, x1, (arg1[1]));
1275
- uint32_t x89;
1276
- uint32_t x90;
1277
- fiat_p256_mulx_u32(&x89, &x90, x1, (arg1[0]));
1278
- uint32_t x91;
1279
- fiat_p256_uint1 x92;
1280
- fiat_p256_addcarryx_u32(&x91, &x92, 0x0, x87, x90);
1281
- uint32_t x93;
1282
- fiat_p256_uint1 x94;
1283
- fiat_p256_addcarryx_u32(&x93, &x94, x92, x85, x88);
1284
- uint32_t x95;
1285
- fiat_p256_uint1 x96;
1286
- fiat_p256_addcarryx_u32(&x95, &x96, x94, x83, x86);
1287
- uint32_t x97;
1288
- fiat_p256_uint1 x98;
1289
- fiat_p256_addcarryx_u32(&x97, &x98, x96, x81, x84);
1290
- uint32_t x99;
1291
- fiat_p256_uint1 x100;
1292
- fiat_p256_addcarryx_u32(&x99, &x100, x98, x79, x82);
1293
- uint32_t x101;
1294
- fiat_p256_uint1 x102;
1295
- fiat_p256_addcarryx_u32(&x101, &x102, x100, x77, x80);
1296
- uint32_t x103;
1297
- fiat_p256_uint1 x104;
1298
- fiat_p256_addcarryx_u32(&x103, &x104, x102, x75, x78);
1299
- uint32_t x105;
1300
- fiat_p256_uint1 x106;
1301
- fiat_p256_addcarryx_u32(&x105, &x106, x104, 0x0, x76);
1302
- uint32_t x107;
1303
- fiat_p256_uint1 x108;
1304
- fiat_p256_addcarryx_u32(&x107, &x108, 0x0, x89, x57);
1305
- uint32_t x109;
1306
- fiat_p256_uint1 x110;
1307
- fiat_p256_addcarryx_u32(&x109, &x110, x108, x91, x59);
1308
- uint32_t x111;
1309
- fiat_p256_uint1 x112;
1310
- fiat_p256_addcarryx_u32(&x111, &x112, x110, x93, x61);
1311
- uint32_t x113;
1312
- fiat_p256_uint1 x114;
1313
- fiat_p256_addcarryx_u32(&x113, &x114, x112, x95, x63);
1314
- uint32_t x115;
1315
- fiat_p256_uint1 x116;
1316
- fiat_p256_addcarryx_u32(&x115, &x116, x114, x97, x65);
1317
- uint32_t x117;
1318
- fiat_p256_uint1 x118;
1319
- fiat_p256_addcarryx_u32(&x117, &x118, x116, x99, x67);
1320
- uint32_t x119;
1321
- fiat_p256_uint1 x120;
1322
- fiat_p256_addcarryx_u32(&x119, &x120, x118, x101, x69);
1323
- uint32_t x121;
1324
- fiat_p256_uint1 x122;
1325
- fiat_p256_addcarryx_u32(&x121, &x122, x120, x103, x71);
1326
- uint32_t x123;
1327
- fiat_p256_uint1 x124;
1328
- fiat_p256_addcarryx_u32(&x123, &x124, x122, x105, (fiat_p256_uint1)x73);
1329
- uint32_t x125;
1330
- uint32_t x126;
1331
- fiat_p256_mulx_u32(&x125, &x126, x107, UINT32_C(0xffffffff));
1332
- uint32_t x127;
1333
- uint32_t x128;
1334
- fiat_p256_mulx_u32(&x127, &x128, x107, UINT32_C(0xffffffff));
1335
- uint32_t x129;
1336
- uint32_t x130;
1337
- fiat_p256_mulx_u32(&x129, &x130, x107, UINT32_C(0xffffffff));
1338
- uint32_t x131;
1339
- uint32_t x132;
1340
- fiat_p256_mulx_u32(&x131, &x132, x107, UINT32_C(0xffffffff));
1341
- uint32_t x133;
1342
- fiat_p256_uint1 x134;
1343
- fiat_p256_addcarryx_u32(&x133, &x134, 0x0, x129, x132);
1344
- uint32_t x135;
1345
- fiat_p256_uint1 x136;
1346
- fiat_p256_addcarryx_u32(&x135, &x136, x134, x127, x130);
1347
- uint32_t x137;
1348
- fiat_p256_uint1 x138;
1349
- fiat_p256_addcarryx_u32(&x137, &x138, x136, 0x0, x128);
1350
- uint32_t x139;
1351
- fiat_p256_uint1 x140;
1352
- fiat_p256_addcarryx_u32(&x139, &x140, 0x0, x131, x107);
1353
- uint32_t x141;
1354
- fiat_p256_uint1 x142;
1355
- fiat_p256_addcarryx_u32(&x141, &x142, x140, x133, x109);
1356
- uint32_t x143;
1357
- fiat_p256_uint1 x144;
1358
- fiat_p256_addcarryx_u32(&x143, &x144, x142, x135, x111);
1359
- uint32_t x145;
1360
- fiat_p256_uint1 x146;
1361
- fiat_p256_addcarryx_u32(&x145, &x146, x144, x137, x113);
1362
- uint32_t x147;
1363
- fiat_p256_uint1 x148;
1364
- fiat_p256_addcarryx_u32(&x147, &x148, x146, 0x0, x115);
1365
- uint32_t x149;
1366
- fiat_p256_uint1 x150;
1367
- fiat_p256_addcarryx_u32(&x149, &x150, x148, 0x0, x117);
1368
- uint32_t x151;
1369
- fiat_p256_uint1 x152;
1370
- fiat_p256_addcarryx_u32(&x151, &x152, x150, x107, x119);
1371
- uint32_t x153;
1372
- fiat_p256_uint1 x154;
1373
- fiat_p256_addcarryx_u32(&x153, &x154, x152, x125, x121);
1374
- uint32_t x155;
1375
- fiat_p256_uint1 x156;
1376
- fiat_p256_addcarryx_u32(&x155, &x156, x154, x126, x123);
1377
- uint32_t x157;
1378
- fiat_p256_uint1 x158;
1379
- fiat_p256_addcarryx_u32(&x157, &x158, x156, 0x0, x124);
1380
- uint32_t x159;
1381
- uint32_t x160;
1382
- fiat_p256_mulx_u32(&x159, &x160, x2, (arg1[7]));
1383
- uint32_t x161;
1384
- uint32_t x162;
1385
- fiat_p256_mulx_u32(&x161, &x162, x2, (arg1[6]));
1386
- uint32_t x163;
1387
- uint32_t x164;
1388
- fiat_p256_mulx_u32(&x163, &x164, x2, (arg1[5]));
1389
- uint32_t x165;
1390
- uint32_t x166;
1391
- fiat_p256_mulx_u32(&x165, &x166, x2, (arg1[4]));
1392
- uint32_t x167;
1393
- uint32_t x168;
1394
- fiat_p256_mulx_u32(&x167, &x168, x2, (arg1[3]));
1395
- uint32_t x169;
1396
- uint32_t x170;
1397
- fiat_p256_mulx_u32(&x169, &x170, x2, (arg1[2]));
1398
- uint32_t x171;
1399
- uint32_t x172;
1400
- fiat_p256_mulx_u32(&x171, &x172, x2, (arg1[1]));
1401
- uint32_t x173;
1402
- uint32_t x174;
1403
- fiat_p256_mulx_u32(&x173, &x174, x2, (arg1[0]));
1404
- uint32_t x175;
1405
- fiat_p256_uint1 x176;
1406
- fiat_p256_addcarryx_u32(&x175, &x176, 0x0, x171, x174);
1407
- uint32_t x177;
1408
- fiat_p256_uint1 x178;
1409
- fiat_p256_addcarryx_u32(&x177, &x178, x176, x169, x172);
1410
- uint32_t x179;
1411
- fiat_p256_uint1 x180;
1412
- fiat_p256_addcarryx_u32(&x179, &x180, x178, x167, x170);
1413
- uint32_t x181;
1414
- fiat_p256_uint1 x182;
1415
- fiat_p256_addcarryx_u32(&x181, &x182, x180, x165, x168);
1416
- uint32_t x183;
1417
- fiat_p256_uint1 x184;
1418
- fiat_p256_addcarryx_u32(&x183, &x184, x182, x163, x166);
1419
- uint32_t x185;
1420
- fiat_p256_uint1 x186;
1421
- fiat_p256_addcarryx_u32(&x185, &x186, x184, x161, x164);
1422
- uint32_t x187;
1423
- fiat_p256_uint1 x188;
1424
- fiat_p256_addcarryx_u32(&x187, &x188, x186, x159, x162);
1425
- uint32_t x189;
1426
- fiat_p256_uint1 x190;
1427
- fiat_p256_addcarryx_u32(&x189, &x190, x188, 0x0, x160);
1428
- uint32_t x191;
1429
- fiat_p256_uint1 x192;
1430
- fiat_p256_addcarryx_u32(&x191, &x192, 0x0, x173, x141);
1431
- uint32_t x193;
1432
- fiat_p256_uint1 x194;
1433
- fiat_p256_addcarryx_u32(&x193, &x194, x192, x175, x143);
1434
- uint32_t x195;
1435
- fiat_p256_uint1 x196;
1436
- fiat_p256_addcarryx_u32(&x195, &x196, x194, x177, x145);
1437
- uint32_t x197;
1438
- fiat_p256_uint1 x198;
1439
- fiat_p256_addcarryx_u32(&x197, &x198, x196, x179, x147);
1440
- uint32_t x199;
1441
- fiat_p256_uint1 x200;
1442
- fiat_p256_addcarryx_u32(&x199, &x200, x198, x181, x149);
1443
- uint32_t x201;
1444
- fiat_p256_uint1 x202;
1445
- fiat_p256_addcarryx_u32(&x201, &x202, x200, x183, x151);
1446
- uint32_t x203;
1447
- fiat_p256_uint1 x204;
1448
- fiat_p256_addcarryx_u32(&x203, &x204, x202, x185, x153);
1449
- uint32_t x205;
1450
- fiat_p256_uint1 x206;
1451
- fiat_p256_addcarryx_u32(&x205, &x206, x204, x187, x155);
1452
- uint32_t x207;
1453
- fiat_p256_uint1 x208;
1454
- fiat_p256_addcarryx_u32(&x207, &x208, x206, x189, x157);
1455
- uint32_t x209;
1456
- uint32_t x210;
1457
- fiat_p256_mulx_u32(&x209, &x210, x191, UINT32_C(0xffffffff));
1458
- uint32_t x211;
1459
- uint32_t x212;
1460
- fiat_p256_mulx_u32(&x211, &x212, x191, UINT32_C(0xffffffff));
1461
- uint32_t x213;
1462
- uint32_t x214;
1463
- fiat_p256_mulx_u32(&x213, &x214, x191, UINT32_C(0xffffffff));
1464
- uint32_t x215;
1465
- uint32_t x216;
1466
- fiat_p256_mulx_u32(&x215, &x216, x191, UINT32_C(0xffffffff));
1467
- uint32_t x217;
1468
- fiat_p256_uint1 x218;
1469
- fiat_p256_addcarryx_u32(&x217, &x218, 0x0, x213, x216);
1470
- uint32_t x219;
1471
- fiat_p256_uint1 x220;
1472
- fiat_p256_addcarryx_u32(&x219, &x220, x218, x211, x214);
1473
- uint32_t x221;
1474
- fiat_p256_uint1 x222;
1475
- fiat_p256_addcarryx_u32(&x221, &x222, x220, 0x0, x212);
1476
- uint32_t x223;
1477
- fiat_p256_uint1 x224;
1478
- fiat_p256_addcarryx_u32(&x223, &x224, 0x0, x215, x191);
1479
- uint32_t x225;
1480
- fiat_p256_uint1 x226;
1481
- fiat_p256_addcarryx_u32(&x225, &x226, x224, x217, x193);
1482
- uint32_t x227;
1483
- fiat_p256_uint1 x228;
1484
- fiat_p256_addcarryx_u32(&x227, &x228, x226, x219, x195);
1485
- uint32_t x229;
1486
- fiat_p256_uint1 x230;
1487
- fiat_p256_addcarryx_u32(&x229, &x230, x228, x221, x197);
1488
- uint32_t x231;
1489
- fiat_p256_uint1 x232;
1490
- fiat_p256_addcarryx_u32(&x231, &x232, x230, 0x0, x199);
1491
- uint32_t x233;
1492
- fiat_p256_uint1 x234;
1493
- fiat_p256_addcarryx_u32(&x233, &x234, x232, 0x0, x201);
1494
- uint32_t x235;
1495
- fiat_p256_uint1 x236;
1496
- fiat_p256_addcarryx_u32(&x235, &x236, x234, x191, x203);
1497
- uint32_t x237;
1498
- fiat_p256_uint1 x238;
1499
- fiat_p256_addcarryx_u32(&x237, &x238, x236, x209, x205);
1500
- uint32_t x239;
1501
- fiat_p256_uint1 x240;
1502
- fiat_p256_addcarryx_u32(&x239, &x240, x238, x210, x207);
1503
- uint32_t x241;
1504
- fiat_p256_uint1 x242;
1505
- fiat_p256_addcarryx_u32(&x241, &x242, x240, 0x0, x208);
1506
- uint32_t x243;
1507
- uint32_t x244;
1508
- fiat_p256_mulx_u32(&x243, &x244, x3, (arg1[7]));
1509
- uint32_t x245;
1510
- uint32_t x246;
1511
- fiat_p256_mulx_u32(&x245, &x246, x3, (arg1[6]));
1512
- uint32_t x247;
1513
- uint32_t x248;
1514
- fiat_p256_mulx_u32(&x247, &x248, x3, (arg1[5]));
1515
- uint32_t x249;
1516
- uint32_t x250;
1517
- fiat_p256_mulx_u32(&x249, &x250, x3, (arg1[4]));
1518
- uint32_t x251;
1519
- uint32_t x252;
1520
- fiat_p256_mulx_u32(&x251, &x252, x3, (arg1[3]));
1521
- uint32_t x253;
1522
- uint32_t x254;
1523
- fiat_p256_mulx_u32(&x253, &x254, x3, (arg1[2]));
1524
- uint32_t x255;
1525
- uint32_t x256;
1526
- fiat_p256_mulx_u32(&x255, &x256, x3, (arg1[1]));
1527
- uint32_t x257;
1528
- uint32_t x258;
1529
- fiat_p256_mulx_u32(&x257, &x258, x3, (arg1[0]));
1530
- uint32_t x259;
1531
- fiat_p256_uint1 x260;
1532
- fiat_p256_addcarryx_u32(&x259, &x260, 0x0, x255, x258);
1533
- uint32_t x261;
1534
- fiat_p256_uint1 x262;
1535
- fiat_p256_addcarryx_u32(&x261, &x262, x260, x253, x256);
1536
- uint32_t x263;
1537
- fiat_p256_uint1 x264;
1538
- fiat_p256_addcarryx_u32(&x263, &x264, x262, x251, x254);
1539
- uint32_t x265;
1540
- fiat_p256_uint1 x266;
1541
- fiat_p256_addcarryx_u32(&x265, &x266, x264, x249, x252);
1542
- uint32_t x267;
1543
- fiat_p256_uint1 x268;
1544
- fiat_p256_addcarryx_u32(&x267, &x268, x266, x247, x250);
1545
- uint32_t x269;
1546
- fiat_p256_uint1 x270;
1547
- fiat_p256_addcarryx_u32(&x269, &x270, x268, x245, x248);
1548
- uint32_t x271;
1549
- fiat_p256_uint1 x272;
1550
- fiat_p256_addcarryx_u32(&x271, &x272, x270, x243, x246);
1551
- uint32_t x273;
1552
- fiat_p256_uint1 x274;
1553
- fiat_p256_addcarryx_u32(&x273, &x274, x272, 0x0, x244);
1554
- uint32_t x275;
1555
- fiat_p256_uint1 x276;
1556
- fiat_p256_addcarryx_u32(&x275, &x276, 0x0, x257, x225);
1557
- uint32_t x277;
1558
- fiat_p256_uint1 x278;
1559
- fiat_p256_addcarryx_u32(&x277, &x278, x276, x259, x227);
1560
- uint32_t x279;
1561
- fiat_p256_uint1 x280;
1562
- fiat_p256_addcarryx_u32(&x279, &x280, x278, x261, x229);
1563
- uint32_t x281;
1564
- fiat_p256_uint1 x282;
1565
- fiat_p256_addcarryx_u32(&x281, &x282, x280, x263, x231);
1566
- uint32_t x283;
1567
- fiat_p256_uint1 x284;
1568
- fiat_p256_addcarryx_u32(&x283, &x284, x282, x265, x233);
1569
- uint32_t x285;
1570
- fiat_p256_uint1 x286;
1571
- fiat_p256_addcarryx_u32(&x285, &x286, x284, x267, x235);
1572
- uint32_t x287;
1573
- fiat_p256_uint1 x288;
1574
- fiat_p256_addcarryx_u32(&x287, &x288, x286, x269, x237);
1575
- uint32_t x289;
1576
- fiat_p256_uint1 x290;
1577
- fiat_p256_addcarryx_u32(&x289, &x290, x288, x271, x239);
1578
- uint32_t x291;
1579
- fiat_p256_uint1 x292;
1580
- fiat_p256_addcarryx_u32(&x291, &x292, x290, x273, x241);
1581
- uint32_t x293;
1582
- uint32_t x294;
1583
- fiat_p256_mulx_u32(&x293, &x294, x275, UINT32_C(0xffffffff));
1584
- uint32_t x295;
1585
- uint32_t x296;
1586
- fiat_p256_mulx_u32(&x295, &x296, x275, UINT32_C(0xffffffff));
1587
- uint32_t x297;
1588
- uint32_t x298;
1589
- fiat_p256_mulx_u32(&x297, &x298, x275, UINT32_C(0xffffffff));
1590
- uint32_t x299;
1591
- uint32_t x300;
1592
- fiat_p256_mulx_u32(&x299, &x300, x275, UINT32_C(0xffffffff));
1593
- uint32_t x301;
1594
- fiat_p256_uint1 x302;
1595
- fiat_p256_addcarryx_u32(&x301, &x302, 0x0, x297, x300);
1596
- uint32_t x303;
1597
- fiat_p256_uint1 x304;
1598
- fiat_p256_addcarryx_u32(&x303, &x304, x302, x295, x298);
1599
- uint32_t x305;
1600
- fiat_p256_uint1 x306;
1601
- fiat_p256_addcarryx_u32(&x305, &x306, x304, 0x0, x296);
1602
- uint32_t x307;
1603
- fiat_p256_uint1 x308;
1604
- fiat_p256_addcarryx_u32(&x307, &x308, 0x0, x299, x275);
1605
- uint32_t x309;
1606
- fiat_p256_uint1 x310;
1607
- fiat_p256_addcarryx_u32(&x309, &x310, x308, x301, x277);
1608
- uint32_t x311;
1609
- fiat_p256_uint1 x312;
1610
- fiat_p256_addcarryx_u32(&x311, &x312, x310, x303, x279);
1611
- uint32_t x313;
1612
- fiat_p256_uint1 x314;
1613
- fiat_p256_addcarryx_u32(&x313, &x314, x312, x305, x281);
1614
- uint32_t x315;
1615
- fiat_p256_uint1 x316;
1616
- fiat_p256_addcarryx_u32(&x315, &x316, x314, 0x0, x283);
1617
- uint32_t x317;
1618
- fiat_p256_uint1 x318;
1619
- fiat_p256_addcarryx_u32(&x317, &x318, x316, 0x0, x285);
1620
- uint32_t x319;
1621
- fiat_p256_uint1 x320;
1622
- fiat_p256_addcarryx_u32(&x319, &x320, x318, x275, x287);
1623
- uint32_t x321;
1624
- fiat_p256_uint1 x322;
1625
- fiat_p256_addcarryx_u32(&x321, &x322, x320, x293, x289);
1626
- uint32_t x323;
1627
- fiat_p256_uint1 x324;
1628
- fiat_p256_addcarryx_u32(&x323, &x324, x322, x294, x291);
1629
- uint32_t x325;
1630
- fiat_p256_uint1 x326;
1631
- fiat_p256_addcarryx_u32(&x325, &x326, x324, 0x0, x292);
1632
- uint32_t x327;
1633
- uint32_t x328;
1634
- fiat_p256_mulx_u32(&x327, &x328, x4, (arg1[7]));
1635
- uint32_t x329;
1636
- uint32_t x330;
1637
- fiat_p256_mulx_u32(&x329, &x330, x4, (arg1[6]));
1638
- uint32_t x331;
1639
- uint32_t x332;
1640
- fiat_p256_mulx_u32(&x331, &x332, x4, (arg1[5]));
1641
- uint32_t x333;
1642
- uint32_t x334;
1643
- fiat_p256_mulx_u32(&x333, &x334, x4, (arg1[4]));
1644
- uint32_t x335;
1645
- uint32_t x336;
1646
- fiat_p256_mulx_u32(&x335, &x336, x4, (arg1[3]));
1647
- uint32_t x337;
1648
- uint32_t x338;
1649
- fiat_p256_mulx_u32(&x337, &x338, x4, (arg1[2]));
1650
- uint32_t x339;
1651
- uint32_t x340;
1652
- fiat_p256_mulx_u32(&x339, &x340, x4, (arg1[1]));
1653
- uint32_t x341;
1654
- uint32_t x342;
1655
- fiat_p256_mulx_u32(&x341, &x342, x4, (arg1[0]));
1656
- uint32_t x343;
1657
- fiat_p256_uint1 x344;
1658
- fiat_p256_addcarryx_u32(&x343, &x344, 0x0, x339, x342);
1659
- uint32_t x345;
1660
- fiat_p256_uint1 x346;
1661
- fiat_p256_addcarryx_u32(&x345, &x346, x344, x337, x340);
1662
- uint32_t x347;
1663
- fiat_p256_uint1 x348;
1664
- fiat_p256_addcarryx_u32(&x347, &x348, x346, x335, x338);
1665
- uint32_t x349;
1666
- fiat_p256_uint1 x350;
1667
- fiat_p256_addcarryx_u32(&x349, &x350, x348, x333, x336);
1668
- uint32_t x351;
1669
- fiat_p256_uint1 x352;
1670
- fiat_p256_addcarryx_u32(&x351, &x352, x350, x331, x334);
1671
- uint32_t x353;
1672
- fiat_p256_uint1 x354;
1673
- fiat_p256_addcarryx_u32(&x353, &x354, x352, x329, x332);
1674
- uint32_t x355;
1675
- fiat_p256_uint1 x356;
1676
- fiat_p256_addcarryx_u32(&x355, &x356, x354, x327, x330);
1677
- uint32_t x357;
1678
- fiat_p256_uint1 x358;
1679
- fiat_p256_addcarryx_u32(&x357, &x358, x356, 0x0, x328);
1680
- uint32_t x359;
1681
- fiat_p256_uint1 x360;
1682
- fiat_p256_addcarryx_u32(&x359, &x360, 0x0, x341, x309);
1683
- uint32_t x361;
1684
- fiat_p256_uint1 x362;
1685
- fiat_p256_addcarryx_u32(&x361, &x362, x360, x343, x311);
1686
- uint32_t x363;
1687
- fiat_p256_uint1 x364;
1688
- fiat_p256_addcarryx_u32(&x363, &x364, x362, x345, x313);
1689
- uint32_t x365;
1690
- fiat_p256_uint1 x366;
1691
- fiat_p256_addcarryx_u32(&x365, &x366, x364, x347, x315);
1692
- uint32_t x367;
1693
- fiat_p256_uint1 x368;
1694
- fiat_p256_addcarryx_u32(&x367, &x368, x366, x349, x317);
1695
- uint32_t x369;
1696
- fiat_p256_uint1 x370;
1697
- fiat_p256_addcarryx_u32(&x369, &x370, x368, x351, x319);
1698
- uint32_t x371;
1699
- fiat_p256_uint1 x372;
1700
- fiat_p256_addcarryx_u32(&x371, &x372, x370, x353, x321);
1701
- uint32_t x373;
1702
- fiat_p256_uint1 x374;
1703
- fiat_p256_addcarryx_u32(&x373, &x374, x372, x355, x323);
1704
- uint32_t x375;
1705
- fiat_p256_uint1 x376;
1706
- fiat_p256_addcarryx_u32(&x375, &x376, x374, x357, x325);
1707
- uint32_t x377;
1708
- uint32_t x378;
1709
- fiat_p256_mulx_u32(&x377, &x378, x359, UINT32_C(0xffffffff));
1710
- uint32_t x379;
1711
- uint32_t x380;
1712
- fiat_p256_mulx_u32(&x379, &x380, x359, UINT32_C(0xffffffff));
1713
- uint32_t x381;
1714
- uint32_t x382;
1715
- fiat_p256_mulx_u32(&x381, &x382, x359, UINT32_C(0xffffffff));
1716
- uint32_t x383;
1717
- uint32_t x384;
1718
- fiat_p256_mulx_u32(&x383, &x384, x359, UINT32_C(0xffffffff));
1719
- uint32_t x385;
1720
- fiat_p256_uint1 x386;
1721
- fiat_p256_addcarryx_u32(&x385, &x386, 0x0, x381, x384);
1722
- uint32_t x387;
1723
- fiat_p256_uint1 x388;
1724
- fiat_p256_addcarryx_u32(&x387, &x388, x386, x379, x382);
1725
- uint32_t x389;
1726
- fiat_p256_uint1 x390;
1727
- fiat_p256_addcarryx_u32(&x389, &x390, x388, 0x0, x380);
1728
- uint32_t x391;
1729
- fiat_p256_uint1 x392;
1730
- fiat_p256_addcarryx_u32(&x391, &x392, 0x0, x383, x359);
1731
- uint32_t x393;
1732
- fiat_p256_uint1 x394;
1733
- fiat_p256_addcarryx_u32(&x393, &x394, x392, x385, x361);
1734
- uint32_t x395;
1735
- fiat_p256_uint1 x396;
1736
- fiat_p256_addcarryx_u32(&x395, &x396, x394, x387, x363);
1737
- uint32_t x397;
1738
- fiat_p256_uint1 x398;
1739
- fiat_p256_addcarryx_u32(&x397, &x398, x396, x389, x365);
1740
- uint32_t x399;
1741
- fiat_p256_uint1 x400;
1742
- fiat_p256_addcarryx_u32(&x399, &x400, x398, 0x0, x367);
1743
- uint32_t x401;
1744
- fiat_p256_uint1 x402;
1745
- fiat_p256_addcarryx_u32(&x401, &x402, x400, 0x0, x369);
1746
- uint32_t x403;
1747
- fiat_p256_uint1 x404;
1748
- fiat_p256_addcarryx_u32(&x403, &x404, x402, x359, x371);
1749
- uint32_t x405;
1750
- fiat_p256_uint1 x406;
1751
- fiat_p256_addcarryx_u32(&x405, &x406, x404, x377, x373);
1752
- uint32_t x407;
1753
- fiat_p256_uint1 x408;
1754
- fiat_p256_addcarryx_u32(&x407, &x408, x406, x378, x375);
1755
- uint32_t x409;
1756
- fiat_p256_uint1 x410;
1757
- fiat_p256_addcarryx_u32(&x409, &x410, x408, 0x0, x376);
1758
- uint32_t x411;
1759
- uint32_t x412;
1760
- fiat_p256_mulx_u32(&x411, &x412, x5, (arg1[7]));
1761
- uint32_t x413;
1762
- uint32_t x414;
1763
- fiat_p256_mulx_u32(&x413, &x414, x5, (arg1[6]));
1764
- uint32_t x415;
1765
- uint32_t x416;
1766
- fiat_p256_mulx_u32(&x415, &x416, x5, (arg1[5]));
1767
- uint32_t x417;
1768
- uint32_t x418;
1769
- fiat_p256_mulx_u32(&x417, &x418, x5, (arg1[4]));
1770
- uint32_t x419;
1771
- uint32_t x420;
1772
- fiat_p256_mulx_u32(&x419, &x420, x5, (arg1[3]));
1773
- uint32_t x421;
1774
- uint32_t x422;
1775
- fiat_p256_mulx_u32(&x421, &x422, x5, (arg1[2]));
1776
- uint32_t x423;
1777
- uint32_t x424;
1778
- fiat_p256_mulx_u32(&x423, &x424, x5, (arg1[1]));
1779
- uint32_t x425;
1780
- uint32_t x426;
1781
- fiat_p256_mulx_u32(&x425, &x426, x5, (arg1[0]));
1782
- uint32_t x427;
1783
- fiat_p256_uint1 x428;
1784
- fiat_p256_addcarryx_u32(&x427, &x428, 0x0, x423, x426);
1785
- uint32_t x429;
1786
- fiat_p256_uint1 x430;
1787
- fiat_p256_addcarryx_u32(&x429, &x430, x428, x421, x424);
1788
- uint32_t x431;
1789
- fiat_p256_uint1 x432;
1790
- fiat_p256_addcarryx_u32(&x431, &x432, x430, x419, x422);
1791
- uint32_t x433;
1792
- fiat_p256_uint1 x434;
1793
- fiat_p256_addcarryx_u32(&x433, &x434, x432, x417, x420);
1794
- uint32_t x435;
1795
- fiat_p256_uint1 x436;
1796
- fiat_p256_addcarryx_u32(&x435, &x436, x434, x415, x418);
1797
- uint32_t x437;
1798
- fiat_p256_uint1 x438;
1799
- fiat_p256_addcarryx_u32(&x437, &x438, x436, x413, x416);
1800
- uint32_t x439;
1801
- fiat_p256_uint1 x440;
1802
- fiat_p256_addcarryx_u32(&x439, &x440, x438, x411, x414);
1803
- uint32_t x441;
1804
- fiat_p256_uint1 x442;
1805
- fiat_p256_addcarryx_u32(&x441, &x442, x440, 0x0, x412);
1806
- uint32_t x443;
1807
- fiat_p256_uint1 x444;
1808
- fiat_p256_addcarryx_u32(&x443, &x444, 0x0, x425, x393);
1809
- uint32_t x445;
1810
- fiat_p256_uint1 x446;
1811
- fiat_p256_addcarryx_u32(&x445, &x446, x444, x427, x395);
1812
- uint32_t x447;
1813
- fiat_p256_uint1 x448;
1814
- fiat_p256_addcarryx_u32(&x447, &x448, x446, x429, x397);
1815
- uint32_t x449;
1816
- fiat_p256_uint1 x450;
1817
- fiat_p256_addcarryx_u32(&x449, &x450, x448, x431, x399);
1818
- uint32_t x451;
1819
- fiat_p256_uint1 x452;
1820
- fiat_p256_addcarryx_u32(&x451, &x452, x450, x433, x401);
1821
- uint32_t x453;
1822
- fiat_p256_uint1 x454;
1823
- fiat_p256_addcarryx_u32(&x453, &x454, x452, x435, x403);
1824
- uint32_t x455;
1825
- fiat_p256_uint1 x456;
1826
- fiat_p256_addcarryx_u32(&x455, &x456, x454, x437, x405);
1827
- uint32_t x457;
1828
- fiat_p256_uint1 x458;
1829
- fiat_p256_addcarryx_u32(&x457, &x458, x456, x439, x407);
1830
- uint32_t x459;
1831
- fiat_p256_uint1 x460;
1832
- fiat_p256_addcarryx_u32(&x459, &x460, x458, x441, x409);
1833
- uint32_t x461;
1834
- uint32_t x462;
1835
- fiat_p256_mulx_u32(&x461, &x462, x443, UINT32_C(0xffffffff));
1836
- uint32_t x463;
1837
- uint32_t x464;
1838
- fiat_p256_mulx_u32(&x463, &x464, x443, UINT32_C(0xffffffff));
1839
- uint32_t x465;
1840
- uint32_t x466;
1841
- fiat_p256_mulx_u32(&x465, &x466, x443, UINT32_C(0xffffffff));
1842
- uint32_t x467;
1843
- uint32_t x468;
1844
- fiat_p256_mulx_u32(&x467, &x468, x443, UINT32_C(0xffffffff));
1845
- uint32_t x469;
1846
- fiat_p256_uint1 x470;
1847
- fiat_p256_addcarryx_u32(&x469, &x470, 0x0, x465, x468);
1848
- uint32_t x471;
1849
- fiat_p256_uint1 x472;
1850
- fiat_p256_addcarryx_u32(&x471, &x472, x470, x463, x466);
1851
- uint32_t x473;
1852
- fiat_p256_uint1 x474;
1853
- fiat_p256_addcarryx_u32(&x473, &x474, x472, 0x0, x464);
1854
- uint32_t x475;
1855
- fiat_p256_uint1 x476;
1856
- fiat_p256_addcarryx_u32(&x475, &x476, 0x0, x467, x443);
1857
- uint32_t x477;
1858
- fiat_p256_uint1 x478;
1859
- fiat_p256_addcarryx_u32(&x477, &x478, x476, x469, x445);
1860
- uint32_t x479;
1861
- fiat_p256_uint1 x480;
1862
- fiat_p256_addcarryx_u32(&x479, &x480, x478, x471, x447);
1863
- uint32_t x481;
1864
- fiat_p256_uint1 x482;
1865
- fiat_p256_addcarryx_u32(&x481, &x482, x480, x473, x449);
1866
- uint32_t x483;
1867
- fiat_p256_uint1 x484;
1868
- fiat_p256_addcarryx_u32(&x483, &x484, x482, 0x0, x451);
1869
- uint32_t x485;
1870
- fiat_p256_uint1 x486;
1871
- fiat_p256_addcarryx_u32(&x485, &x486, x484, 0x0, x453);
1872
- uint32_t x487;
1873
- fiat_p256_uint1 x488;
1874
- fiat_p256_addcarryx_u32(&x487, &x488, x486, x443, x455);
1875
- uint32_t x489;
1876
- fiat_p256_uint1 x490;
1877
- fiat_p256_addcarryx_u32(&x489, &x490, x488, x461, x457);
1878
- uint32_t x491;
1879
- fiat_p256_uint1 x492;
1880
- fiat_p256_addcarryx_u32(&x491, &x492, x490, x462, x459);
1881
- uint32_t x493;
1882
- fiat_p256_uint1 x494;
1883
- fiat_p256_addcarryx_u32(&x493, &x494, x492, 0x0, x460);
1884
- uint32_t x495;
1885
- uint32_t x496;
1886
- fiat_p256_mulx_u32(&x495, &x496, x6, (arg1[7]));
1887
- uint32_t x497;
1888
- uint32_t x498;
1889
- fiat_p256_mulx_u32(&x497, &x498, x6, (arg1[6]));
1890
- uint32_t x499;
1891
- uint32_t x500;
1892
- fiat_p256_mulx_u32(&x499, &x500, x6, (arg1[5]));
1893
- uint32_t x501;
1894
- uint32_t x502;
1895
- fiat_p256_mulx_u32(&x501, &x502, x6, (arg1[4]));
1896
- uint32_t x503;
1897
- uint32_t x504;
1898
- fiat_p256_mulx_u32(&x503, &x504, x6, (arg1[3]));
1899
- uint32_t x505;
1900
- uint32_t x506;
1901
- fiat_p256_mulx_u32(&x505, &x506, x6, (arg1[2]));
1902
- uint32_t x507;
1903
- uint32_t x508;
1904
- fiat_p256_mulx_u32(&x507, &x508, x6, (arg1[1]));
1905
- uint32_t x509;
1906
- uint32_t x510;
1907
- fiat_p256_mulx_u32(&x509, &x510, x6, (arg1[0]));
1908
- uint32_t x511;
1909
- fiat_p256_uint1 x512;
1910
- fiat_p256_addcarryx_u32(&x511, &x512, 0x0, x507, x510);
1911
- uint32_t x513;
1912
- fiat_p256_uint1 x514;
1913
- fiat_p256_addcarryx_u32(&x513, &x514, x512, x505, x508);
1914
- uint32_t x515;
1915
- fiat_p256_uint1 x516;
1916
- fiat_p256_addcarryx_u32(&x515, &x516, x514, x503, x506);
1917
- uint32_t x517;
1918
- fiat_p256_uint1 x518;
1919
- fiat_p256_addcarryx_u32(&x517, &x518, x516, x501, x504);
1920
- uint32_t x519;
1921
- fiat_p256_uint1 x520;
1922
- fiat_p256_addcarryx_u32(&x519, &x520, x518, x499, x502);
1923
- uint32_t x521;
1924
- fiat_p256_uint1 x522;
1925
- fiat_p256_addcarryx_u32(&x521, &x522, x520, x497, x500);
1926
- uint32_t x523;
1927
- fiat_p256_uint1 x524;
1928
- fiat_p256_addcarryx_u32(&x523, &x524, x522, x495, x498);
1929
- uint32_t x525;
1930
- fiat_p256_uint1 x526;
1931
- fiat_p256_addcarryx_u32(&x525, &x526, x524, 0x0, x496);
1932
- uint32_t x527;
1933
- fiat_p256_uint1 x528;
1934
- fiat_p256_addcarryx_u32(&x527, &x528, 0x0, x509, x477);
1935
- uint32_t x529;
1936
- fiat_p256_uint1 x530;
1937
- fiat_p256_addcarryx_u32(&x529, &x530, x528, x511, x479);
1938
- uint32_t x531;
1939
- fiat_p256_uint1 x532;
1940
- fiat_p256_addcarryx_u32(&x531, &x532, x530, x513, x481);
1941
- uint32_t x533;
1942
- fiat_p256_uint1 x534;
1943
- fiat_p256_addcarryx_u32(&x533, &x534, x532, x515, x483);
1944
- uint32_t x535;
1945
- fiat_p256_uint1 x536;
1946
- fiat_p256_addcarryx_u32(&x535, &x536, x534, x517, x485);
1947
- uint32_t x537;
1948
- fiat_p256_uint1 x538;
1949
- fiat_p256_addcarryx_u32(&x537, &x538, x536, x519, x487);
1950
- uint32_t x539;
1951
- fiat_p256_uint1 x540;
1952
- fiat_p256_addcarryx_u32(&x539, &x540, x538, x521, x489);
1953
- uint32_t x541;
1954
- fiat_p256_uint1 x542;
1955
- fiat_p256_addcarryx_u32(&x541, &x542, x540, x523, x491);
1956
- uint32_t x543;
1957
- fiat_p256_uint1 x544;
1958
- fiat_p256_addcarryx_u32(&x543, &x544, x542, x525, x493);
1959
- uint32_t x545;
1960
- uint32_t x546;
1961
- fiat_p256_mulx_u32(&x545, &x546, x527, UINT32_C(0xffffffff));
1962
- uint32_t x547;
1963
- uint32_t x548;
1964
- fiat_p256_mulx_u32(&x547, &x548, x527, UINT32_C(0xffffffff));
1965
- uint32_t x549;
1966
- uint32_t x550;
1967
- fiat_p256_mulx_u32(&x549, &x550, x527, UINT32_C(0xffffffff));
1968
- uint32_t x551;
1969
- uint32_t x552;
1970
- fiat_p256_mulx_u32(&x551, &x552, x527, UINT32_C(0xffffffff));
1971
- uint32_t x553;
1972
- fiat_p256_uint1 x554;
1973
- fiat_p256_addcarryx_u32(&x553, &x554, 0x0, x549, x552);
1974
- uint32_t x555;
1975
- fiat_p256_uint1 x556;
1976
- fiat_p256_addcarryx_u32(&x555, &x556, x554, x547, x550);
1977
- uint32_t x557;
1978
- fiat_p256_uint1 x558;
1979
- fiat_p256_addcarryx_u32(&x557, &x558, x556, 0x0, x548);
1980
- uint32_t x559;
1981
- fiat_p256_uint1 x560;
1982
- fiat_p256_addcarryx_u32(&x559, &x560, 0x0, x551, x527);
1983
- uint32_t x561;
1984
- fiat_p256_uint1 x562;
1985
- fiat_p256_addcarryx_u32(&x561, &x562, x560, x553, x529);
1986
- uint32_t x563;
1987
- fiat_p256_uint1 x564;
1988
- fiat_p256_addcarryx_u32(&x563, &x564, x562, x555, x531);
1989
- uint32_t x565;
1990
- fiat_p256_uint1 x566;
1991
- fiat_p256_addcarryx_u32(&x565, &x566, x564, x557, x533);
1992
- uint32_t x567;
1993
- fiat_p256_uint1 x568;
1994
- fiat_p256_addcarryx_u32(&x567, &x568, x566, 0x0, x535);
1995
- uint32_t x569;
1996
- fiat_p256_uint1 x570;
1997
- fiat_p256_addcarryx_u32(&x569, &x570, x568, 0x0, x537);
1998
- uint32_t x571;
1999
- fiat_p256_uint1 x572;
2000
- fiat_p256_addcarryx_u32(&x571, &x572, x570, x527, x539);
2001
- uint32_t x573;
2002
- fiat_p256_uint1 x574;
2003
- fiat_p256_addcarryx_u32(&x573, &x574, x572, x545, x541);
2004
- uint32_t x575;
2005
- fiat_p256_uint1 x576;
2006
- fiat_p256_addcarryx_u32(&x575, &x576, x574, x546, x543);
2007
- uint32_t x577;
2008
- fiat_p256_uint1 x578;
2009
- fiat_p256_addcarryx_u32(&x577, &x578, x576, 0x0, x544);
2010
- uint32_t x579;
2011
- uint32_t x580;
2012
- fiat_p256_mulx_u32(&x579, &x580, x7, (arg1[7]));
2013
- uint32_t x581;
2014
- uint32_t x582;
2015
- fiat_p256_mulx_u32(&x581, &x582, x7, (arg1[6]));
2016
- uint32_t x583;
2017
- uint32_t x584;
2018
- fiat_p256_mulx_u32(&x583, &x584, x7, (arg1[5]));
2019
- uint32_t x585;
2020
- uint32_t x586;
2021
- fiat_p256_mulx_u32(&x585, &x586, x7, (arg1[4]));
2022
- uint32_t x587;
2023
- uint32_t x588;
2024
- fiat_p256_mulx_u32(&x587, &x588, x7, (arg1[3]));
2025
- uint32_t x589;
2026
- uint32_t x590;
2027
- fiat_p256_mulx_u32(&x589, &x590, x7, (arg1[2]));
2028
- uint32_t x591;
2029
- uint32_t x592;
2030
- fiat_p256_mulx_u32(&x591, &x592, x7, (arg1[1]));
2031
- uint32_t x593;
2032
- uint32_t x594;
2033
- fiat_p256_mulx_u32(&x593, &x594, x7, (arg1[0]));
2034
- uint32_t x595;
2035
- fiat_p256_uint1 x596;
2036
- fiat_p256_addcarryx_u32(&x595, &x596, 0x0, x591, x594);
2037
- uint32_t x597;
2038
- fiat_p256_uint1 x598;
2039
- fiat_p256_addcarryx_u32(&x597, &x598, x596, x589, x592);
2040
- uint32_t x599;
2041
- fiat_p256_uint1 x600;
2042
- fiat_p256_addcarryx_u32(&x599, &x600, x598, x587, x590);
2043
- uint32_t x601;
2044
- fiat_p256_uint1 x602;
2045
- fiat_p256_addcarryx_u32(&x601, &x602, x600, x585, x588);
2046
- uint32_t x603;
2047
- fiat_p256_uint1 x604;
2048
- fiat_p256_addcarryx_u32(&x603, &x604, x602, x583, x586);
2049
- uint32_t x605;
2050
- fiat_p256_uint1 x606;
2051
- fiat_p256_addcarryx_u32(&x605, &x606, x604, x581, x584);
2052
- uint32_t x607;
2053
- fiat_p256_uint1 x608;
2054
- fiat_p256_addcarryx_u32(&x607, &x608, x606, x579, x582);
2055
- uint32_t x609;
2056
- fiat_p256_uint1 x610;
2057
- fiat_p256_addcarryx_u32(&x609, &x610, x608, 0x0, x580);
2058
- uint32_t x611;
2059
- fiat_p256_uint1 x612;
2060
- fiat_p256_addcarryx_u32(&x611, &x612, 0x0, x593, x561);
2061
- uint32_t x613;
2062
- fiat_p256_uint1 x614;
2063
- fiat_p256_addcarryx_u32(&x613, &x614, x612, x595, x563);
2064
- uint32_t x615;
2065
- fiat_p256_uint1 x616;
2066
- fiat_p256_addcarryx_u32(&x615, &x616, x614, x597, x565);
2067
- uint32_t x617;
2068
- fiat_p256_uint1 x618;
2069
- fiat_p256_addcarryx_u32(&x617, &x618, x616, x599, x567);
2070
- uint32_t x619;
2071
- fiat_p256_uint1 x620;
2072
- fiat_p256_addcarryx_u32(&x619, &x620, x618, x601, x569);
2073
- uint32_t x621;
2074
- fiat_p256_uint1 x622;
2075
- fiat_p256_addcarryx_u32(&x621, &x622, x620, x603, x571);
2076
- uint32_t x623;
2077
- fiat_p256_uint1 x624;
2078
- fiat_p256_addcarryx_u32(&x623, &x624, x622, x605, x573);
2079
- uint32_t x625;
2080
- fiat_p256_uint1 x626;
2081
- fiat_p256_addcarryx_u32(&x625, &x626, x624, x607, x575);
2082
- uint32_t x627;
2083
- fiat_p256_uint1 x628;
2084
- fiat_p256_addcarryx_u32(&x627, &x628, x626, x609, x577);
2085
- uint32_t x629;
2086
- uint32_t x630;
2087
- fiat_p256_mulx_u32(&x629, &x630, x611, UINT32_C(0xffffffff));
2088
- uint32_t x631;
2089
- uint32_t x632;
2090
- fiat_p256_mulx_u32(&x631, &x632, x611, UINT32_C(0xffffffff));
2091
- uint32_t x633;
2092
- uint32_t x634;
2093
- fiat_p256_mulx_u32(&x633, &x634, x611, UINT32_C(0xffffffff));
2094
- uint32_t x635;
2095
- uint32_t x636;
2096
- fiat_p256_mulx_u32(&x635, &x636, x611, UINT32_C(0xffffffff));
2097
- uint32_t x637;
2098
- fiat_p256_uint1 x638;
2099
- fiat_p256_addcarryx_u32(&x637, &x638, 0x0, x633, x636);
2100
- uint32_t x639;
2101
- fiat_p256_uint1 x640;
2102
- fiat_p256_addcarryx_u32(&x639, &x640, x638, x631, x634);
2103
- uint32_t x641;
2104
- fiat_p256_uint1 x642;
2105
- fiat_p256_addcarryx_u32(&x641, &x642, x640, 0x0, x632);
2106
- uint32_t x643;
2107
- fiat_p256_uint1 x644;
2108
- fiat_p256_addcarryx_u32(&x643, &x644, 0x0, x635, x611);
2109
- uint32_t x645;
2110
- fiat_p256_uint1 x646;
2111
- fiat_p256_addcarryx_u32(&x645, &x646, x644, x637, x613);
2112
- uint32_t x647;
2113
- fiat_p256_uint1 x648;
2114
- fiat_p256_addcarryx_u32(&x647, &x648, x646, x639, x615);
2115
- uint32_t x649;
2116
- fiat_p256_uint1 x650;
2117
- fiat_p256_addcarryx_u32(&x649, &x650, x648, x641, x617);
2118
- uint32_t x651;
2119
- fiat_p256_uint1 x652;
2120
- fiat_p256_addcarryx_u32(&x651, &x652, x650, 0x0, x619);
2121
- uint32_t x653;
2122
- fiat_p256_uint1 x654;
2123
- fiat_p256_addcarryx_u32(&x653, &x654, x652, 0x0, x621);
2124
- uint32_t x655;
2125
- fiat_p256_uint1 x656;
2126
- fiat_p256_addcarryx_u32(&x655, &x656, x654, x611, x623);
2127
- uint32_t x657;
2128
- fiat_p256_uint1 x658;
2129
- fiat_p256_addcarryx_u32(&x657, &x658, x656, x629, x625);
2130
- uint32_t x659;
2131
- fiat_p256_uint1 x660;
2132
- fiat_p256_addcarryx_u32(&x659, &x660, x658, x630, x627);
2133
- uint32_t x661;
2134
- fiat_p256_uint1 x662;
2135
- fiat_p256_addcarryx_u32(&x661, &x662, x660, 0x0, x628);
2136
- uint32_t x663;
2137
- fiat_p256_uint1 x664;
2138
- fiat_p256_subborrowx_u32(&x663, &x664, 0x0, x645, UINT32_C(0xffffffff));
2139
- uint32_t x665;
2140
- fiat_p256_uint1 x666;
2141
- fiat_p256_subborrowx_u32(&x665, &x666, x664, x647, UINT32_C(0xffffffff));
2142
- uint32_t x667;
2143
- fiat_p256_uint1 x668;
2144
- fiat_p256_subborrowx_u32(&x667, &x668, x666, x649, UINT32_C(0xffffffff));
2145
- uint32_t x669;
2146
- fiat_p256_uint1 x670;
2147
- fiat_p256_subborrowx_u32(&x669, &x670, x668, x651, 0x0);
2148
- uint32_t x671;
2149
- fiat_p256_uint1 x672;
2150
- fiat_p256_subborrowx_u32(&x671, &x672, x670, x653, 0x0);
2151
- uint32_t x673;
2152
- fiat_p256_uint1 x674;
2153
- fiat_p256_subborrowx_u32(&x673, &x674, x672, x655, 0x0);
2154
- uint32_t x675;
2155
- fiat_p256_uint1 x676;
2156
- fiat_p256_subborrowx_u32(&x675, &x676, x674, x657, 0x1);
2157
- uint32_t x677;
2158
- fiat_p256_uint1 x678;
2159
- fiat_p256_subborrowx_u32(&x677, &x678, x676, x659, UINT32_C(0xffffffff));
2160
- uint32_t x679;
2161
- fiat_p256_uint1 x680;
2162
- fiat_p256_subborrowx_u32(&x679, &x680, x678, x661, 0x0);
2163
- uint32_t x681;
2164
- fiat_p256_cmovznz_u32(&x681, x680, x663, x645);
2165
- uint32_t x682;
2166
- fiat_p256_cmovznz_u32(&x682, x680, x665, x647);
2167
- uint32_t x683;
2168
- fiat_p256_cmovznz_u32(&x683, x680, x667, x649);
2169
- uint32_t x684;
2170
- fiat_p256_cmovznz_u32(&x684, x680, x669, x651);
2171
- uint32_t x685;
2172
- fiat_p256_cmovznz_u32(&x685, x680, x671, x653);
2173
- uint32_t x686;
2174
- fiat_p256_cmovznz_u32(&x686, x680, x673, x655);
2175
- uint32_t x687;
2176
- fiat_p256_cmovznz_u32(&x687, x680, x675, x657);
2177
- uint32_t x688;
2178
- fiat_p256_cmovznz_u32(&x688, x680, x677, x659);
2179
- out1[0] = x681;
2180
- out1[1] = x682;
2181
- out1[2] = x683;
2182
- out1[3] = x684;
2183
- out1[4] = x685;
2184
- out1[5] = x686;
2185
- out1[6] = x687;
2186
- out1[7] = x688;
2187
- }
2188
-
2189
- /*
2190
- * Input Bounds:
2191
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2192
- * arg2: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2193
- * Output Bounds:
2194
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2195
- */
2196
- static void fiat_p256_add(uint32_t out1[8], const uint32_t arg1[8], const uint32_t arg2[8]) {
2197
- uint32_t x1;
2198
- fiat_p256_uint1 x2;
2199
- fiat_p256_addcarryx_u32(&x1, &x2, 0x0, (arg2[0]), (arg1[0]));
2200
- uint32_t x3;
2201
- fiat_p256_uint1 x4;
2202
- fiat_p256_addcarryx_u32(&x3, &x4, x2, (arg2[1]), (arg1[1]));
2203
- uint32_t x5;
2204
- fiat_p256_uint1 x6;
2205
- fiat_p256_addcarryx_u32(&x5, &x6, x4, (arg2[2]), (arg1[2]));
2206
- uint32_t x7;
2207
- fiat_p256_uint1 x8;
2208
- fiat_p256_addcarryx_u32(&x7, &x8, x6, (arg2[3]), (arg1[3]));
2209
- uint32_t x9;
2210
- fiat_p256_uint1 x10;
2211
- fiat_p256_addcarryx_u32(&x9, &x10, x8, (arg2[4]), (arg1[4]));
2212
- uint32_t x11;
2213
- fiat_p256_uint1 x12;
2214
- fiat_p256_addcarryx_u32(&x11, &x12, x10, (arg2[5]), (arg1[5]));
2215
- uint32_t x13;
2216
- fiat_p256_uint1 x14;
2217
- fiat_p256_addcarryx_u32(&x13, &x14, x12, (arg2[6]), (arg1[6]));
2218
- uint32_t x15;
2219
- fiat_p256_uint1 x16;
2220
- fiat_p256_addcarryx_u32(&x15, &x16, x14, (arg2[7]), (arg1[7]));
2221
- uint32_t x17;
2222
- fiat_p256_uint1 x18;
2223
- fiat_p256_subborrowx_u32(&x17, &x18, 0x0, x1, UINT32_C(0xffffffff));
2224
- uint32_t x19;
2225
- fiat_p256_uint1 x20;
2226
- fiat_p256_subborrowx_u32(&x19, &x20, x18, x3, UINT32_C(0xffffffff));
2227
- uint32_t x21;
2228
- fiat_p256_uint1 x22;
2229
- fiat_p256_subborrowx_u32(&x21, &x22, x20, x5, UINT32_C(0xffffffff));
2230
- uint32_t x23;
2231
- fiat_p256_uint1 x24;
2232
- fiat_p256_subborrowx_u32(&x23, &x24, x22, x7, 0x0);
2233
- uint32_t x25;
2234
- fiat_p256_uint1 x26;
2235
- fiat_p256_subborrowx_u32(&x25, &x26, x24, x9, 0x0);
2236
- uint32_t x27;
2237
- fiat_p256_uint1 x28;
2238
- fiat_p256_subborrowx_u32(&x27, &x28, x26, x11, 0x0);
2239
- uint32_t x29;
2240
- fiat_p256_uint1 x30;
2241
- fiat_p256_subborrowx_u32(&x29, &x30, x28, x13, 0x1);
2242
- uint32_t x31;
2243
- fiat_p256_uint1 x32;
2244
- fiat_p256_subborrowx_u32(&x31, &x32, x30, x15, UINT32_C(0xffffffff));
2245
- uint32_t x33;
2246
- fiat_p256_uint1 x34;
2247
- fiat_p256_subborrowx_u32(&x33, &x34, x32, x16, 0x0);
2248
- uint32_t x35;
2249
- fiat_p256_cmovznz_u32(&x35, x34, x17, x1);
2250
- uint32_t x36;
2251
- fiat_p256_cmovznz_u32(&x36, x34, x19, x3);
2252
- uint32_t x37;
2253
- fiat_p256_cmovznz_u32(&x37, x34, x21, x5);
2254
- uint32_t x38;
2255
- fiat_p256_cmovznz_u32(&x38, x34, x23, x7);
2256
- uint32_t x39;
2257
- fiat_p256_cmovznz_u32(&x39, x34, x25, x9);
2258
- uint32_t x40;
2259
- fiat_p256_cmovznz_u32(&x40, x34, x27, x11);
2260
- uint32_t x41;
2261
- fiat_p256_cmovznz_u32(&x41, x34, x29, x13);
2262
- uint32_t x42;
2263
- fiat_p256_cmovznz_u32(&x42, x34, x31, x15);
2264
- out1[0] = x35;
2265
- out1[1] = x36;
2266
- out1[2] = x37;
2267
- out1[3] = x38;
2268
- out1[4] = x39;
2269
- out1[5] = x40;
2270
- out1[6] = x41;
2271
- out1[7] = x42;
2272
- }
2273
-
2274
- /*
2275
- * Input Bounds:
2276
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2277
- * arg2: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2278
- * Output Bounds:
2279
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2280
- */
2281
- static void fiat_p256_sub(uint32_t out1[8], const uint32_t arg1[8], const uint32_t arg2[8]) {
2282
- uint32_t x1;
2283
- fiat_p256_uint1 x2;
2284
- fiat_p256_subborrowx_u32(&x1, &x2, 0x0, (arg1[0]), (arg2[0]));
2285
- uint32_t x3;
2286
- fiat_p256_uint1 x4;
2287
- fiat_p256_subborrowx_u32(&x3, &x4, x2, (arg1[1]), (arg2[1]));
2288
- uint32_t x5;
2289
- fiat_p256_uint1 x6;
2290
- fiat_p256_subborrowx_u32(&x5, &x6, x4, (arg1[2]), (arg2[2]));
2291
- uint32_t x7;
2292
- fiat_p256_uint1 x8;
2293
- fiat_p256_subborrowx_u32(&x7, &x8, x6, (arg1[3]), (arg2[3]));
2294
- uint32_t x9;
2295
- fiat_p256_uint1 x10;
2296
- fiat_p256_subborrowx_u32(&x9, &x10, x8, (arg1[4]), (arg2[4]));
2297
- uint32_t x11;
2298
- fiat_p256_uint1 x12;
2299
- fiat_p256_subborrowx_u32(&x11, &x12, x10, (arg1[5]), (arg2[5]));
2300
- uint32_t x13;
2301
- fiat_p256_uint1 x14;
2302
- fiat_p256_subborrowx_u32(&x13, &x14, x12, (arg1[6]), (arg2[6]));
2303
- uint32_t x15;
2304
- fiat_p256_uint1 x16;
2305
- fiat_p256_subborrowx_u32(&x15, &x16, x14, (arg1[7]), (arg2[7]));
2306
- uint32_t x17;
2307
- fiat_p256_cmovznz_u32(&x17, x16, 0x0, UINT32_C(0xffffffff));
2308
- uint32_t x18;
2309
- fiat_p256_uint1 x19;
2310
- fiat_p256_addcarryx_u32(&x18, &x19, 0x0, (x17 & UINT32_C(0xffffffff)), x1);
2311
- uint32_t x20;
2312
- fiat_p256_uint1 x21;
2313
- fiat_p256_addcarryx_u32(&x20, &x21, x19, (x17 & UINT32_C(0xffffffff)), x3);
2314
- uint32_t x22;
2315
- fiat_p256_uint1 x23;
2316
- fiat_p256_addcarryx_u32(&x22, &x23, x21, (x17 & UINT32_C(0xffffffff)), x5);
2317
- uint32_t x24;
2318
- fiat_p256_uint1 x25;
2319
- fiat_p256_addcarryx_u32(&x24, &x25, x23, 0x0, x7);
2320
- uint32_t x26;
2321
- fiat_p256_uint1 x27;
2322
- fiat_p256_addcarryx_u32(&x26, &x27, x25, 0x0, x9);
2323
- uint32_t x28;
2324
- fiat_p256_uint1 x29;
2325
- fiat_p256_addcarryx_u32(&x28, &x29, x27, 0x0, x11);
2326
- uint32_t x30;
2327
- fiat_p256_uint1 x31;
2328
- fiat_p256_addcarryx_u32(&x30, &x31, x29, (fiat_p256_uint1)(x17 & 0x1), x13);
2329
- uint32_t x32;
2330
- fiat_p256_uint1 x33;
2331
- fiat_p256_addcarryx_u32(&x32, &x33, x31, (x17 & UINT32_C(0xffffffff)), x15);
2332
- out1[0] = x18;
2333
- out1[1] = x20;
2334
- out1[2] = x22;
2335
- out1[3] = x24;
2336
- out1[4] = x26;
2337
- out1[5] = x28;
2338
- out1[6] = x30;
2339
- out1[7] = x32;
2340
- }
2341
-
2342
- /*
2343
- * Input Bounds:
2344
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2345
- * Output Bounds:
2346
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2347
- */
2348
- static void fiat_p256_opp(uint32_t out1[8], const uint32_t arg1[8]) {
2349
- uint32_t x1;
2350
- fiat_p256_uint1 x2;
2351
- fiat_p256_subborrowx_u32(&x1, &x2, 0x0, 0x0, (arg1[0]));
2352
- uint32_t x3;
2353
- fiat_p256_uint1 x4;
2354
- fiat_p256_subborrowx_u32(&x3, &x4, x2, 0x0, (arg1[1]));
2355
- uint32_t x5;
2356
- fiat_p256_uint1 x6;
2357
- fiat_p256_subborrowx_u32(&x5, &x6, x4, 0x0, (arg1[2]));
2358
- uint32_t x7;
2359
- fiat_p256_uint1 x8;
2360
- fiat_p256_subborrowx_u32(&x7, &x8, x6, 0x0, (arg1[3]));
2361
- uint32_t x9;
2362
- fiat_p256_uint1 x10;
2363
- fiat_p256_subborrowx_u32(&x9, &x10, x8, 0x0, (arg1[4]));
2364
- uint32_t x11;
2365
- fiat_p256_uint1 x12;
2366
- fiat_p256_subborrowx_u32(&x11, &x12, x10, 0x0, (arg1[5]));
2367
- uint32_t x13;
2368
- fiat_p256_uint1 x14;
2369
- fiat_p256_subborrowx_u32(&x13, &x14, x12, 0x0, (arg1[6]));
2370
- uint32_t x15;
2371
- fiat_p256_uint1 x16;
2372
- fiat_p256_subborrowx_u32(&x15, &x16, x14, 0x0, (arg1[7]));
2373
- uint32_t x17;
2374
- fiat_p256_cmovznz_u32(&x17, x16, 0x0, UINT32_C(0xffffffff));
2375
- uint32_t x18;
2376
- fiat_p256_uint1 x19;
2377
- fiat_p256_addcarryx_u32(&x18, &x19, 0x0, (x17 & UINT32_C(0xffffffff)), x1);
2378
- uint32_t x20;
2379
- fiat_p256_uint1 x21;
2380
- fiat_p256_addcarryx_u32(&x20, &x21, x19, (x17 & UINT32_C(0xffffffff)), x3);
2381
- uint32_t x22;
2382
- fiat_p256_uint1 x23;
2383
- fiat_p256_addcarryx_u32(&x22, &x23, x21, (x17 & UINT32_C(0xffffffff)), x5);
2384
- uint32_t x24;
2385
- fiat_p256_uint1 x25;
2386
- fiat_p256_addcarryx_u32(&x24, &x25, x23, 0x0, x7);
2387
- uint32_t x26;
2388
- fiat_p256_uint1 x27;
2389
- fiat_p256_addcarryx_u32(&x26, &x27, x25, 0x0, x9);
2390
- uint32_t x28;
2391
- fiat_p256_uint1 x29;
2392
- fiat_p256_addcarryx_u32(&x28, &x29, x27, 0x0, x11);
2393
- uint32_t x30;
2394
- fiat_p256_uint1 x31;
2395
- fiat_p256_addcarryx_u32(&x30, &x31, x29, (fiat_p256_uint1)(x17 & 0x1), x13);
2396
- uint32_t x32;
2397
- fiat_p256_uint1 x33;
2398
- fiat_p256_addcarryx_u32(&x32, &x33, x31, (x17 & UINT32_C(0xffffffff)), x15);
2399
- out1[0] = x18;
2400
- out1[1] = x20;
2401
- out1[2] = x22;
2402
- out1[3] = x24;
2403
- out1[4] = x26;
2404
- out1[5] = x28;
2405
- out1[6] = x30;
2406
- out1[7] = x32;
2407
- }
2408
-
2409
- /*
2410
- * Input Bounds:
2411
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2412
- * Output Bounds:
2413
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
2414
- */
2415
- static void fiat_p256_from_montgomery(uint32_t out1[8], const uint32_t arg1[8]) {
2416
- uint32_t x1 = (arg1[0]);
2417
- uint32_t x2;
2418
- uint32_t x3;
2419
- fiat_p256_mulx_u32(&x2, &x3, x1, UINT32_C(0xffffffff));
2420
- uint32_t x4;
2421
- uint32_t x5;
2422
- fiat_p256_mulx_u32(&x4, &x5, x1, UINT32_C(0xffffffff));
2423
- uint32_t x6;
2424
- uint32_t x7;
2425
- fiat_p256_mulx_u32(&x6, &x7, x1, UINT32_C(0xffffffff));
2426
- uint32_t x8;
2427
- uint32_t x9;
2428
- fiat_p256_mulx_u32(&x8, &x9, x1, UINT32_C(0xffffffff));
2429
- uint32_t x10;
2430
- fiat_p256_uint1 x11;
2431
- fiat_p256_addcarryx_u32(&x10, &x11, 0x0, x6, x9);
2432
- uint32_t x12;
2433
- fiat_p256_uint1 x13;
2434
- fiat_p256_addcarryx_u32(&x12, &x13, x11, x4, x7);
2435
- uint32_t x14;
2436
- fiat_p256_uint1 x15;
2437
- fiat_p256_addcarryx_u32(&x14, &x15, 0x0, x8, x1);
2438
- uint32_t x16;
2439
- fiat_p256_uint1 x17;
2440
- fiat_p256_addcarryx_u32(&x16, &x17, x15, x10, 0x0);
2441
- uint32_t x18;
2442
- fiat_p256_uint1 x19;
2443
- fiat_p256_addcarryx_u32(&x18, &x19, x17, x12, 0x0);
2444
- uint32_t x20;
2445
- fiat_p256_uint1 x21;
2446
- fiat_p256_addcarryx_u32(&x20, &x21, x13, 0x0, x5);
2447
- uint32_t x22;
2448
- fiat_p256_uint1 x23;
2449
- fiat_p256_addcarryx_u32(&x22, &x23, x19, x20, 0x0);
2450
- uint32_t x24;
2451
- fiat_p256_uint1 x25;
2452
- fiat_p256_addcarryx_u32(&x24, &x25, 0x0, (arg1[1]), x16);
2453
- uint32_t x26;
2454
- fiat_p256_uint1 x27;
2455
- fiat_p256_addcarryx_u32(&x26, &x27, x25, 0x0, x18);
2456
- uint32_t x28;
2457
- fiat_p256_uint1 x29;
2458
- fiat_p256_addcarryx_u32(&x28, &x29, x27, 0x0, x22);
2459
- uint32_t x30;
2460
- uint32_t x31;
2461
- fiat_p256_mulx_u32(&x30, &x31, x24, UINT32_C(0xffffffff));
2462
- uint32_t x32;
2463
- uint32_t x33;
2464
- fiat_p256_mulx_u32(&x32, &x33, x24, UINT32_C(0xffffffff));
2465
- uint32_t x34;
2466
- uint32_t x35;
2467
- fiat_p256_mulx_u32(&x34, &x35, x24, UINT32_C(0xffffffff));
2468
- uint32_t x36;
2469
- uint32_t x37;
2470
- fiat_p256_mulx_u32(&x36, &x37, x24, UINT32_C(0xffffffff));
2471
- uint32_t x38;
2472
- fiat_p256_uint1 x39;
2473
- fiat_p256_addcarryx_u32(&x38, &x39, 0x0, x34, x37);
2474
- uint32_t x40;
2475
- fiat_p256_uint1 x41;
2476
- fiat_p256_addcarryx_u32(&x40, &x41, x39, x32, x35);
2477
- uint32_t x42;
2478
- fiat_p256_uint1 x43;
2479
- fiat_p256_addcarryx_u32(&x42, &x43, 0x0, x36, x24);
2480
- uint32_t x44;
2481
- fiat_p256_uint1 x45;
2482
- fiat_p256_addcarryx_u32(&x44, &x45, x43, x38, x26);
2483
- uint32_t x46;
2484
- fiat_p256_uint1 x47;
2485
- fiat_p256_addcarryx_u32(&x46, &x47, x45, x40, x28);
2486
- uint32_t x48;
2487
- fiat_p256_uint1 x49;
2488
- fiat_p256_addcarryx_u32(&x48, &x49, x23, 0x0, 0x0);
2489
- uint32_t x50;
2490
- fiat_p256_uint1 x51;
2491
- fiat_p256_addcarryx_u32(&x50, &x51, x29, 0x0, (fiat_p256_uint1)x48);
2492
- uint32_t x52;
2493
- fiat_p256_uint1 x53;
2494
- fiat_p256_addcarryx_u32(&x52, &x53, x41, 0x0, x33);
2495
- uint32_t x54;
2496
- fiat_p256_uint1 x55;
2497
- fiat_p256_addcarryx_u32(&x54, &x55, x47, x52, x50);
2498
- uint32_t x56;
2499
- fiat_p256_uint1 x57;
2500
- fiat_p256_addcarryx_u32(&x56, &x57, 0x0, x24, x2);
2501
- uint32_t x58;
2502
- fiat_p256_uint1 x59;
2503
- fiat_p256_addcarryx_u32(&x58, &x59, x57, x30, x3);
2504
- uint32_t x60;
2505
- fiat_p256_uint1 x61;
2506
- fiat_p256_addcarryx_u32(&x60, &x61, 0x0, (arg1[2]), x44);
2507
- uint32_t x62;
2508
- fiat_p256_uint1 x63;
2509
- fiat_p256_addcarryx_u32(&x62, &x63, x61, 0x0, x46);
2510
- uint32_t x64;
2511
- fiat_p256_uint1 x65;
2512
- fiat_p256_addcarryx_u32(&x64, &x65, x63, 0x0, x54);
2513
- uint32_t x66;
2514
- uint32_t x67;
2515
- fiat_p256_mulx_u32(&x66, &x67, x60, UINT32_C(0xffffffff));
2516
- uint32_t x68;
2517
- uint32_t x69;
2518
- fiat_p256_mulx_u32(&x68, &x69, x60, UINT32_C(0xffffffff));
2519
- uint32_t x70;
2520
- uint32_t x71;
2521
- fiat_p256_mulx_u32(&x70, &x71, x60, UINT32_C(0xffffffff));
2522
- uint32_t x72;
2523
- uint32_t x73;
2524
- fiat_p256_mulx_u32(&x72, &x73, x60, UINT32_C(0xffffffff));
2525
- uint32_t x74;
2526
- fiat_p256_uint1 x75;
2527
- fiat_p256_addcarryx_u32(&x74, &x75, 0x0, x70, x73);
2528
- uint32_t x76;
2529
- fiat_p256_uint1 x77;
2530
- fiat_p256_addcarryx_u32(&x76, &x77, x75, x68, x71);
2531
- uint32_t x78;
2532
- fiat_p256_uint1 x79;
2533
- fiat_p256_addcarryx_u32(&x78, &x79, 0x0, x72, x60);
2534
- uint32_t x80;
2535
- fiat_p256_uint1 x81;
2536
- fiat_p256_addcarryx_u32(&x80, &x81, x79, x74, x62);
2537
- uint32_t x82;
2538
- fiat_p256_uint1 x83;
2539
- fiat_p256_addcarryx_u32(&x82, &x83, x81, x76, x64);
2540
- uint32_t x84;
2541
- fiat_p256_uint1 x85;
2542
- fiat_p256_addcarryx_u32(&x84, &x85, x55, 0x0, 0x0);
2543
- uint32_t x86;
2544
- fiat_p256_uint1 x87;
2545
- fiat_p256_addcarryx_u32(&x86, &x87, x65, 0x0, (fiat_p256_uint1)x84);
2546
- uint32_t x88;
2547
- fiat_p256_uint1 x89;
2548
- fiat_p256_addcarryx_u32(&x88, &x89, x77, 0x0, x69);
2549
- uint32_t x90;
2550
- fiat_p256_uint1 x91;
2551
- fiat_p256_addcarryx_u32(&x90, &x91, x83, x88, x86);
2552
- uint32_t x92;
2553
- fiat_p256_uint1 x93;
2554
- fiat_p256_addcarryx_u32(&x92, &x93, x91, 0x0, x1);
2555
- uint32_t x94;
2556
- fiat_p256_uint1 x95;
2557
- fiat_p256_addcarryx_u32(&x94, &x95, x93, 0x0, x56);
2558
- uint32_t x96;
2559
- fiat_p256_uint1 x97;
2560
- fiat_p256_addcarryx_u32(&x96, &x97, x95, x60, x58);
2561
- uint32_t x98;
2562
- fiat_p256_uint1 x99;
2563
- fiat_p256_addcarryx_u32(&x98, &x99, x59, x31, 0x0);
2564
- uint32_t x100;
2565
- fiat_p256_uint1 x101;
2566
- fiat_p256_addcarryx_u32(&x100, &x101, x97, x66, x98);
2567
- uint32_t x102;
2568
- fiat_p256_uint1 x103;
2569
- fiat_p256_addcarryx_u32(&x102, &x103, 0x0, (arg1[3]), x80);
2570
- uint32_t x104;
2571
- fiat_p256_uint1 x105;
2572
- fiat_p256_addcarryx_u32(&x104, &x105, x103, 0x0, x82);
2573
- uint32_t x106;
2574
- fiat_p256_uint1 x107;
2575
- fiat_p256_addcarryx_u32(&x106, &x107, x105, 0x0, x90);
2576
- uint32_t x108;
2577
- fiat_p256_uint1 x109;
2578
- fiat_p256_addcarryx_u32(&x108, &x109, x107, 0x0, x92);
2579
- uint32_t x110;
2580
- fiat_p256_uint1 x111;
2581
- fiat_p256_addcarryx_u32(&x110, &x111, x109, 0x0, x94);
2582
- uint32_t x112;
2583
- fiat_p256_uint1 x113;
2584
- fiat_p256_addcarryx_u32(&x112, &x113, x111, 0x0, x96);
2585
- uint32_t x114;
2586
- fiat_p256_uint1 x115;
2587
- fiat_p256_addcarryx_u32(&x114, &x115, x113, 0x0, x100);
2588
- uint32_t x116;
2589
- fiat_p256_uint1 x117;
2590
- fiat_p256_addcarryx_u32(&x116, &x117, x101, x67, 0x0);
2591
- uint32_t x118;
2592
- fiat_p256_uint1 x119;
2593
- fiat_p256_addcarryx_u32(&x118, &x119, x115, 0x0, x116);
2594
- uint32_t x120;
2595
- uint32_t x121;
2596
- fiat_p256_mulx_u32(&x120, &x121, x102, UINT32_C(0xffffffff));
2597
- uint32_t x122;
2598
- uint32_t x123;
2599
- fiat_p256_mulx_u32(&x122, &x123, x102, UINT32_C(0xffffffff));
2600
- uint32_t x124;
2601
- uint32_t x125;
2602
- fiat_p256_mulx_u32(&x124, &x125, x102, UINT32_C(0xffffffff));
2603
- uint32_t x126;
2604
- uint32_t x127;
2605
- fiat_p256_mulx_u32(&x126, &x127, x102, UINT32_C(0xffffffff));
2606
- uint32_t x128;
2607
- fiat_p256_uint1 x129;
2608
- fiat_p256_addcarryx_u32(&x128, &x129, 0x0, x124, x127);
2609
- uint32_t x130;
2610
- fiat_p256_uint1 x131;
2611
- fiat_p256_addcarryx_u32(&x130, &x131, x129, x122, x125);
2612
- uint32_t x132;
2613
- fiat_p256_uint1 x133;
2614
- fiat_p256_addcarryx_u32(&x132, &x133, 0x0, x126, x102);
2615
- uint32_t x134;
2616
- fiat_p256_uint1 x135;
2617
- fiat_p256_addcarryx_u32(&x134, &x135, x133, x128, x104);
2618
- uint32_t x136;
2619
- fiat_p256_uint1 x137;
2620
- fiat_p256_addcarryx_u32(&x136, &x137, x135, x130, x106);
2621
- uint32_t x138;
2622
- fiat_p256_uint1 x139;
2623
- fiat_p256_addcarryx_u32(&x138, &x139, x131, 0x0, x123);
2624
- uint32_t x140;
2625
- fiat_p256_uint1 x141;
2626
- fiat_p256_addcarryx_u32(&x140, &x141, x137, x138, x108);
2627
- uint32_t x142;
2628
- fiat_p256_uint1 x143;
2629
- fiat_p256_addcarryx_u32(&x142, &x143, x141, 0x0, x110);
2630
- uint32_t x144;
2631
- fiat_p256_uint1 x145;
2632
- fiat_p256_addcarryx_u32(&x144, &x145, x143, 0x0, x112);
2633
- uint32_t x146;
2634
- fiat_p256_uint1 x147;
2635
- fiat_p256_addcarryx_u32(&x146, &x147, x145, x102, x114);
2636
- uint32_t x148;
2637
- fiat_p256_uint1 x149;
2638
- fiat_p256_addcarryx_u32(&x148, &x149, x147, x120, x118);
2639
- uint32_t x150;
2640
- fiat_p256_uint1 x151;
2641
- fiat_p256_addcarryx_u32(&x150, &x151, x119, 0x0, 0x0);
2642
- uint32_t x152;
2643
- fiat_p256_uint1 x153;
2644
- fiat_p256_addcarryx_u32(&x152, &x153, x149, x121, (fiat_p256_uint1)x150);
2645
- uint32_t x154;
2646
- fiat_p256_uint1 x155;
2647
- fiat_p256_addcarryx_u32(&x154, &x155, 0x0, (arg1[4]), x134);
2648
- uint32_t x156;
2649
- fiat_p256_uint1 x157;
2650
- fiat_p256_addcarryx_u32(&x156, &x157, x155, 0x0, x136);
2651
- uint32_t x158;
2652
- fiat_p256_uint1 x159;
2653
- fiat_p256_addcarryx_u32(&x158, &x159, x157, 0x0, x140);
2654
- uint32_t x160;
2655
- fiat_p256_uint1 x161;
2656
- fiat_p256_addcarryx_u32(&x160, &x161, x159, 0x0, x142);
2657
- uint32_t x162;
2658
- fiat_p256_uint1 x163;
2659
- fiat_p256_addcarryx_u32(&x162, &x163, x161, 0x0, x144);
2660
- uint32_t x164;
2661
- fiat_p256_uint1 x165;
2662
- fiat_p256_addcarryx_u32(&x164, &x165, x163, 0x0, x146);
2663
- uint32_t x166;
2664
- fiat_p256_uint1 x167;
2665
- fiat_p256_addcarryx_u32(&x166, &x167, x165, 0x0, x148);
2666
- uint32_t x168;
2667
- fiat_p256_uint1 x169;
2668
- fiat_p256_addcarryx_u32(&x168, &x169, x167, 0x0, x152);
2669
- uint32_t x170;
2670
- uint32_t x171;
2671
- fiat_p256_mulx_u32(&x170, &x171, x154, UINT32_C(0xffffffff));
2672
- uint32_t x172;
2673
- uint32_t x173;
2674
- fiat_p256_mulx_u32(&x172, &x173, x154, UINT32_C(0xffffffff));
2675
- uint32_t x174;
2676
- uint32_t x175;
2677
- fiat_p256_mulx_u32(&x174, &x175, x154, UINT32_C(0xffffffff));
2678
- uint32_t x176;
2679
- uint32_t x177;
2680
- fiat_p256_mulx_u32(&x176, &x177, x154, UINT32_C(0xffffffff));
2681
- uint32_t x178;
2682
- fiat_p256_uint1 x179;
2683
- fiat_p256_addcarryx_u32(&x178, &x179, 0x0, x174, x177);
2684
- uint32_t x180;
2685
- fiat_p256_uint1 x181;
2686
- fiat_p256_addcarryx_u32(&x180, &x181, x179, x172, x175);
2687
- uint32_t x182;
2688
- fiat_p256_uint1 x183;
2689
- fiat_p256_addcarryx_u32(&x182, &x183, 0x0, x176, x154);
2690
- uint32_t x184;
2691
- fiat_p256_uint1 x185;
2692
- fiat_p256_addcarryx_u32(&x184, &x185, x183, x178, x156);
2693
- uint32_t x186;
2694
- fiat_p256_uint1 x187;
2695
- fiat_p256_addcarryx_u32(&x186, &x187, x185, x180, x158);
2696
- uint32_t x188;
2697
- fiat_p256_uint1 x189;
2698
- fiat_p256_addcarryx_u32(&x188, &x189, x181, 0x0, x173);
2699
- uint32_t x190;
2700
- fiat_p256_uint1 x191;
2701
- fiat_p256_addcarryx_u32(&x190, &x191, x187, x188, x160);
2702
- uint32_t x192;
2703
- fiat_p256_uint1 x193;
2704
- fiat_p256_addcarryx_u32(&x192, &x193, x191, 0x0, x162);
2705
- uint32_t x194;
2706
- fiat_p256_uint1 x195;
2707
- fiat_p256_addcarryx_u32(&x194, &x195, x193, 0x0, x164);
2708
- uint32_t x196;
2709
- fiat_p256_uint1 x197;
2710
- fiat_p256_addcarryx_u32(&x196, &x197, x195, x154, x166);
2711
- uint32_t x198;
2712
- fiat_p256_uint1 x199;
2713
- fiat_p256_addcarryx_u32(&x198, &x199, x197, x170, x168);
2714
- uint32_t x200;
2715
- fiat_p256_uint1 x201;
2716
- fiat_p256_addcarryx_u32(&x200, &x201, x153, 0x0, 0x0);
2717
- uint32_t x202;
2718
- fiat_p256_uint1 x203;
2719
- fiat_p256_addcarryx_u32(&x202, &x203, x169, 0x0, (fiat_p256_uint1)x200);
2720
- uint32_t x204;
2721
- fiat_p256_uint1 x205;
2722
- fiat_p256_addcarryx_u32(&x204, &x205, x199, x171, x202);
2723
- uint32_t x206;
2724
- fiat_p256_uint1 x207;
2725
- fiat_p256_addcarryx_u32(&x206, &x207, 0x0, (arg1[5]), x184);
2726
- uint32_t x208;
2727
- fiat_p256_uint1 x209;
2728
- fiat_p256_addcarryx_u32(&x208, &x209, x207, 0x0, x186);
2729
- uint32_t x210;
2730
- fiat_p256_uint1 x211;
2731
- fiat_p256_addcarryx_u32(&x210, &x211, x209, 0x0, x190);
2732
- uint32_t x212;
2733
- fiat_p256_uint1 x213;
2734
- fiat_p256_addcarryx_u32(&x212, &x213, x211, 0x0, x192);
2735
- uint32_t x214;
2736
- fiat_p256_uint1 x215;
2737
- fiat_p256_addcarryx_u32(&x214, &x215, x213, 0x0, x194);
2738
- uint32_t x216;
2739
- fiat_p256_uint1 x217;
2740
- fiat_p256_addcarryx_u32(&x216, &x217, x215, 0x0, x196);
2741
- uint32_t x218;
2742
- fiat_p256_uint1 x219;
2743
- fiat_p256_addcarryx_u32(&x218, &x219, x217, 0x0, x198);
2744
- uint32_t x220;
2745
- fiat_p256_uint1 x221;
2746
- fiat_p256_addcarryx_u32(&x220, &x221, x219, 0x0, x204);
2747
- uint32_t x222;
2748
- uint32_t x223;
2749
- fiat_p256_mulx_u32(&x222, &x223, x206, UINT32_C(0xffffffff));
2750
- uint32_t x224;
2751
- uint32_t x225;
2752
- fiat_p256_mulx_u32(&x224, &x225, x206, UINT32_C(0xffffffff));
2753
- uint32_t x226;
2754
- uint32_t x227;
2755
- fiat_p256_mulx_u32(&x226, &x227, x206, UINT32_C(0xffffffff));
2756
- uint32_t x228;
2757
- uint32_t x229;
2758
- fiat_p256_mulx_u32(&x228, &x229, x206, UINT32_C(0xffffffff));
2759
- uint32_t x230;
2760
- fiat_p256_uint1 x231;
2761
- fiat_p256_addcarryx_u32(&x230, &x231, 0x0, x226, x229);
2762
- uint32_t x232;
2763
- fiat_p256_uint1 x233;
2764
- fiat_p256_addcarryx_u32(&x232, &x233, x231, x224, x227);
2765
- uint32_t x234;
2766
- fiat_p256_uint1 x235;
2767
- fiat_p256_addcarryx_u32(&x234, &x235, 0x0, x228, x206);
2768
- uint32_t x236;
2769
- fiat_p256_uint1 x237;
2770
- fiat_p256_addcarryx_u32(&x236, &x237, x235, x230, x208);
2771
- uint32_t x238;
2772
- fiat_p256_uint1 x239;
2773
- fiat_p256_addcarryx_u32(&x238, &x239, x237, x232, x210);
2774
- uint32_t x240;
2775
- fiat_p256_uint1 x241;
2776
- fiat_p256_addcarryx_u32(&x240, &x241, x233, 0x0, x225);
2777
- uint32_t x242;
2778
- fiat_p256_uint1 x243;
2779
- fiat_p256_addcarryx_u32(&x242, &x243, x239, x240, x212);
2780
- uint32_t x244;
2781
- fiat_p256_uint1 x245;
2782
- fiat_p256_addcarryx_u32(&x244, &x245, x243, 0x0, x214);
2783
- uint32_t x246;
2784
- fiat_p256_uint1 x247;
2785
- fiat_p256_addcarryx_u32(&x246, &x247, x245, 0x0, x216);
2786
- uint32_t x248;
2787
- fiat_p256_uint1 x249;
2788
- fiat_p256_addcarryx_u32(&x248, &x249, x247, x206, x218);
2789
- uint32_t x250;
2790
- fiat_p256_uint1 x251;
2791
- fiat_p256_addcarryx_u32(&x250, &x251, x249, x222, x220);
2792
- uint32_t x252;
2793
- fiat_p256_uint1 x253;
2794
- fiat_p256_addcarryx_u32(&x252, &x253, x205, 0x0, 0x0);
2795
- uint32_t x254;
2796
- fiat_p256_uint1 x255;
2797
- fiat_p256_addcarryx_u32(&x254, &x255, x221, 0x0, (fiat_p256_uint1)x252);
2798
- uint32_t x256;
2799
- fiat_p256_uint1 x257;
2800
- fiat_p256_addcarryx_u32(&x256, &x257, x251, x223, x254);
2801
- uint32_t x258;
2802
- fiat_p256_uint1 x259;
2803
- fiat_p256_addcarryx_u32(&x258, &x259, 0x0, (arg1[6]), x236);
2804
- uint32_t x260;
2805
- fiat_p256_uint1 x261;
2806
- fiat_p256_addcarryx_u32(&x260, &x261, x259, 0x0, x238);
2807
- uint32_t x262;
2808
- fiat_p256_uint1 x263;
2809
- fiat_p256_addcarryx_u32(&x262, &x263, x261, 0x0, x242);
2810
- uint32_t x264;
2811
- fiat_p256_uint1 x265;
2812
- fiat_p256_addcarryx_u32(&x264, &x265, x263, 0x0, x244);
2813
- uint32_t x266;
2814
- fiat_p256_uint1 x267;
2815
- fiat_p256_addcarryx_u32(&x266, &x267, x265, 0x0, x246);
2816
- uint32_t x268;
2817
- fiat_p256_uint1 x269;
2818
- fiat_p256_addcarryx_u32(&x268, &x269, x267, 0x0, x248);
2819
- uint32_t x270;
2820
- fiat_p256_uint1 x271;
2821
- fiat_p256_addcarryx_u32(&x270, &x271, x269, 0x0, x250);
2822
- uint32_t x272;
2823
- fiat_p256_uint1 x273;
2824
- fiat_p256_addcarryx_u32(&x272, &x273, x271, 0x0, x256);
2825
- uint32_t x274;
2826
- uint32_t x275;
2827
- fiat_p256_mulx_u32(&x274, &x275, x258, UINT32_C(0xffffffff));
2828
- uint32_t x276;
2829
- uint32_t x277;
2830
- fiat_p256_mulx_u32(&x276, &x277, x258, UINT32_C(0xffffffff));
2831
- uint32_t x278;
2832
- uint32_t x279;
2833
- fiat_p256_mulx_u32(&x278, &x279, x258, UINT32_C(0xffffffff));
2834
- uint32_t x280;
2835
- uint32_t x281;
2836
- fiat_p256_mulx_u32(&x280, &x281, x258, UINT32_C(0xffffffff));
2837
- uint32_t x282;
2838
- fiat_p256_uint1 x283;
2839
- fiat_p256_addcarryx_u32(&x282, &x283, 0x0, x278, x281);
2840
- uint32_t x284;
2841
- fiat_p256_uint1 x285;
2842
- fiat_p256_addcarryx_u32(&x284, &x285, x283, x276, x279);
2843
- uint32_t x286;
2844
- fiat_p256_uint1 x287;
2845
- fiat_p256_addcarryx_u32(&x286, &x287, 0x0, x280, x258);
2846
- uint32_t x288;
2847
- fiat_p256_uint1 x289;
2848
- fiat_p256_addcarryx_u32(&x288, &x289, x287, x282, x260);
2849
- uint32_t x290;
2850
- fiat_p256_uint1 x291;
2851
- fiat_p256_addcarryx_u32(&x290, &x291, x289, x284, x262);
2852
- uint32_t x292;
2853
- fiat_p256_uint1 x293;
2854
- fiat_p256_addcarryx_u32(&x292, &x293, x285, 0x0, x277);
2855
- uint32_t x294;
2856
- fiat_p256_uint1 x295;
2857
- fiat_p256_addcarryx_u32(&x294, &x295, x291, x292, x264);
2858
- uint32_t x296;
2859
- fiat_p256_uint1 x297;
2860
- fiat_p256_addcarryx_u32(&x296, &x297, x295, 0x0, x266);
2861
- uint32_t x298;
2862
- fiat_p256_uint1 x299;
2863
- fiat_p256_addcarryx_u32(&x298, &x299, x297, 0x0, x268);
2864
- uint32_t x300;
2865
- fiat_p256_uint1 x301;
2866
- fiat_p256_addcarryx_u32(&x300, &x301, x299, x258, x270);
2867
- uint32_t x302;
2868
- fiat_p256_uint1 x303;
2869
- fiat_p256_addcarryx_u32(&x302, &x303, x301, x274, x272);
2870
- uint32_t x304;
2871
- fiat_p256_uint1 x305;
2872
- fiat_p256_addcarryx_u32(&x304, &x305, x257, 0x0, 0x0);
2873
- uint32_t x306;
2874
- fiat_p256_uint1 x307;
2875
- fiat_p256_addcarryx_u32(&x306, &x307, x273, 0x0, (fiat_p256_uint1)x304);
2876
- uint32_t x308;
2877
- fiat_p256_uint1 x309;
2878
- fiat_p256_addcarryx_u32(&x308, &x309, x303, x275, x306);
2879
- uint32_t x310;
2880
- fiat_p256_uint1 x311;
2881
- fiat_p256_addcarryx_u32(&x310, &x311, 0x0, (arg1[7]), x288);
2882
- uint32_t x312;
2883
- fiat_p256_uint1 x313;
2884
- fiat_p256_addcarryx_u32(&x312, &x313, x311, 0x0, x290);
2885
- uint32_t x314;
2886
- fiat_p256_uint1 x315;
2887
- fiat_p256_addcarryx_u32(&x314, &x315, x313, 0x0, x294);
2888
- uint32_t x316;
2889
- fiat_p256_uint1 x317;
2890
- fiat_p256_addcarryx_u32(&x316, &x317, x315, 0x0, x296);
2891
- uint32_t x318;
2892
- fiat_p256_uint1 x319;
2893
- fiat_p256_addcarryx_u32(&x318, &x319, x317, 0x0, x298);
2894
- uint32_t x320;
2895
- fiat_p256_uint1 x321;
2896
- fiat_p256_addcarryx_u32(&x320, &x321, x319, 0x0, x300);
2897
- uint32_t x322;
2898
- fiat_p256_uint1 x323;
2899
- fiat_p256_addcarryx_u32(&x322, &x323, x321, 0x0, x302);
2900
- uint32_t x324;
2901
- fiat_p256_uint1 x325;
2902
- fiat_p256_addcarryx_u32(&x324, &x325, x323, 0x0, x308);
2903
- uint32_t x326;
2904
- uint32_t x327;
2905
- fiat_p256_mulx_u32(&x326, &x327, x310, UINT32_C(0xffffffff));
2906
- uint32_t x328;
2907
- uint32_t x329;
2908
- fiat_p256_mulx_u32(&x328, &x329, x310, UINT32_C(0xffffffff));
2909
- uint32_t x330;
2910
- uint32_t x331;
2911
- fiat_p256_mulx_u32(&x330, &x331, x310, UINT32_C(0xffffffff));
2912
- uint32_t x332;
2913
- uint32_t x333;
2914
- fiat_p256_mulx_u32(&x332, &x333, x310, UINT32_C(0xffffffff));
2915
- uint32_t x334;
2916
- fiat_p256_uint1 x335;
2917
- fiat_p256_addcarryx_u32(&x334, &x335, 0x0, x330, x333);
2918
- uint32_t x336;
2919
- fiat_p256_uint1 x337;
2920
- fiat_p256_addcarryx_u32(&x336, &x337, x335, x328, x331);
2921
- uint32_t x338;
2922
- fiat_p256_uint1 x339;
2923
- fiat_p256_addcarryx_u32(&x338, &x339, 0x0, x332, x310);
2924
- uint32_t x340;
2925
- fiat_p256_uint1 x341;
2926
- fiat_p256_addcarryx_u32(&x340, &x341, x339, x334, x312);
2927
- uint32_t x342;
2928
- fiat_p256_uint1 x343;
2929
- fiat_p256_addcarryx_u32(&x342, &x343, x341, x336, x314);
2930
- uint32_t x344;
2931
- fiat_p256_uint1 x345;
2932
- fiat_p256_addcarryx_u32(&x344, &x345, x337, 0x0, x329);
2933
- uint32_t x346;
2934
- fiat_p256_uint1 x347;
2935
- fiat_p256_addcarryx_u32(&x346, &x347, x343, x344, x316);
2936
- uint32_t x348;
2937
- fiat_p256_uint1 x349;
2938
- fiat_p256_addcarryx_u32(&x348, &x349, x347, 0x0, x318);
2939
- uint32_t x350;
2940
- fiat_p256_uint1 x351;
2941
- fiat_p256_addcarryx_u32(&x350, &x351, x349, 0x0, x320);
2942
- uint32_t x352;
2943
- fiat_p256_uint1 x353;
2944
- fiat_p256_addcarryx_u32(&x352, &x353, x351, x310, x322);
2945
- uint32_t x354;
2946
- fiat_p256_uint1 x355;
2947
- fiat_p256_addcarryx_u32(&x354, &x355, x353, x326, x324);
2948
- uint32_t x356;
2949
- fiat_p256_uint1 x357;
2950
- fiat_p256_addcarryx_u32(&x356, &x357, x309, 0x0, 0x0);
2951
- uint32_t x358;
2952
- fiat_p256_uint1 x359;
2953
- fiat_p256_addcarryx_u32(&x358, &x359, x325, 0x0, (fiat_p256_uint1)x356);
2954
- uint32_t x360;
2955
- fiat_p256_uint1 x361;
2956
- fiat_p256_addcarryx_u32(&x360, &x361, x355, x327, x358);
2957
- uint32_t x362;
2958
- fiat_p256_uint1 x363;
2959
- fiat_p256_subborrowx_u32(&x362, &x363, 0x0, x340, UINT32_C(0xffffffff));
2960
- uint32_t x364;
2961
- fiat_p256_uint1 x365;
2962
- fiat_p256_subborrowx_u32(&x364, &x365, x363, x342, UINT32_C(0xffffffff));
2963
- uint32_t x366;
2964
- fiat_p256_uint1 x367;
2965
- fiat_p256_subborrowx_u32(&x366, &x367, x365, x346, UINT32_C(0xffffffff));
2966
- uint32_t x368;
2967
- fiat_p256_uint1 x369;
2968
- fiat_p256_subborrowx_u32(&x368, &x369, x367, x348, 0x0);
2969
- uint32_t x370;
2970
- fiat_p256_uint1 x371;
2971
- fiat_p256_subborrowx_u32(&x370, &x371, x369, x350, 0x0);
2972
- uint32_t x372;
2973
- fiat_p256_uint1 x373;
2974
- fiat_p256_subborrowx_u32(&x372, &x373, x371, x352, 0x0);
2975
- uint32_t x374;
2976
- fiat_p256_uint1 x375;
2977
- fiat_p256_subborrowx_u32(&x374, &x375, x373, x354, 0x1);
2978
- uint32_t x376;
2979
- fiat_p256_uint1 x377;
2980
- fiat_p256_subborrowx_u32(&x376, &x377, x375, x360, UINT32_C(0xffffffff));
2981
- uint32_t x378;
2982
- fiat_p256_uint1 x379;
2983
- fiat_p256_addcarryx_u32(&x378, &x379, x361, 0x0, 0x0);
2984
- uint32_t x380;
2985
- fiat_p256_uint1 x381;
2986
- fiat_p256_subborrowx_u32(&x380, &x381, x377, (fiat_p256_uint1)x378, 0x0);
2987
- uint32_t x382;
2988
- fiat_p256_cmovznz_u32(&x382, x381, x362, x340);
2989
- uint32_t x383;
2990
- fiat_p256_cmovznz_u32(&x383, x381, x364, x342);
2991
- uint32_t x384;
2992
- fiat_p256_cmovznz_u32(&x384, x381, x366, x346);
2993
- uint32_t x385;
2994
- fiat_p256_cmovznz_u32(&x385, x381, x368, x348);
2995
- uint32_t x386;
2996
- fiat_p256_cmovznz_u32(&x386, x381, x370, x350);
2997
- uint32_t x387;
2998
- fiat_p256_cmovznz_u32(&x387, x381, x372, x352);
2999
- uint32_t x388;
3000
- fiat_p256_cmovznz_u32(&x388, x381, x374, x354);
3001
- uint32_t x389;
3002
- fiat_p256_cmovznz_u32(&x389, x381, x376, x360);
3003
- out1[0] = x382;
3004
- out1[1] = x383;
3005
- out1[2] = x384;
3006
- out1[3] = x385;
3007
- out1[4] = x386;
3008
- out1[5] = x387;
3009
- out1[6] = x388;
3010
- out1[7] = x389;
3011
- }
3012
-
3013
- /*
3014
- * Input Bounds:
3015
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3016
- * Output Bounds:
3017
- * out1: [0x0 ~> 0xffffffff]
3018
- */
3019
- static void fiat_p256_nonzero(uint32_t* out1, const uint32_t arg1[8]) {
3020
- uint32_t x1 = ((arg1[0]) | ((arg1[1]) | ((arg1[2]) | ((arg1[3]) | ((arg1[4]) | ((arg1[5]) | ((arg1[6]) | ((arg1[7]) | (uint32_t)0x0))))))));
3021
- *out1 = x1;
3022
- }
3023
-
3024
- /*
3025
- * Input Bounds:
3026
- * arg1: [0x0 ~> 0x1]
3027
- * arg2: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3028
- * arg3: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3029
- * Output Bounds:
3030
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3031
- */
3032
- static void fiat_p256_selectznz(uint32_t out1[8], fiat_p256_uint1 arg1, const uint32_t arg2[8], const uint32_t arg3[8]) {
3033
- uint32_t x1;
3034
- fiat_p256_cmovznz_u32(&x1, arg1, (arg2[0]), (arg3[0]));
3035
- uint32_t x2;
3036
- fiat_p256_cmovznz_u32(&x2, arg1, (arg2[1]), (arg3[1]));
3037
- uint32_t x3;
3038
- fiat_p256_cmovznz_u32(&x3, arg1, (arg2[2]), (arg3[2]));
3039
- uint32_t x4;
3040
- fiat_p256_cmovznz_u32(&x4, arg1, (arg2[3]), (arg3[3]));
3041
- uint32_t x5;
3042
- fiat_p256_cmovznz_u32(&x5, arg1, (arg2[4]), (arg3[4]));
3043
- uint32_t x6;
3044
- fiat_p256_cmovznz_u32(&x6, arg1, (arg2[5]), (arg3[5]));
3045
- uint32_t x7;
3046
- fiat_p256_cmovznz_u32(&x7, arg1, (arg2[6]), (arg3[6]));
3047
- uint32_t x8;
3048
- fiat_p256_cmovznz_u32(&x8, arg1, (arg2[7]), (arg3[7]));
3049
- out1[0] = x1;
3050
- out1[1] = x2;
3051
- out1[2] = x3;
3052
- out1[3] = x4;
3053
- out1[4] = x5;
3054
- out1[5] = x6;
3055
- out1[6] = x7;
3056
- out1[7] = x8;
3057
- }
3058
-
3059
- /*
3060
- * Input Bounds:
3061
- * arg1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3062
- * Output Bounds:
3063
- * out1: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff]]
3064
- */
3065
- static void fiat_p256_to_bytes(uint8_t out1[32], const uint32_t arg1[8]) {
3066
- uint32_t x1 = (arg1[7]);
3067
- uint32_t x2 = (arg1[6]);
3068
- uint32_t x3 = (arg1[5]);
3069
- uint32_t x4 = (arg1[4]);
3070
- uint32_t x5 = (arg1[3]);
3071
- uint32_t x6 = (arg1[2]);
3072
- uint32_t x7 = (arg1[1]);
3073
- uint32_t x8 = (arg1[0]);
3074
- uint32_t x9 = (x8 >> 8);
3075
- uint8_t x10 = (uint8_t)(x8 & UINT8_C(0xff));
3076
- uint32_t x11 = (x9 >> 8);
3077
- uint8_t x12 = (uint8_t)(x9 & UINT8_C(0xff));
3078
- uint8_t x13 = (uint8_t)(x11 >> 8);
3079
- uint8_t x14 = (uint8_t)(x11 & UINT8_C(0xff));
3080
- uint8_t x15 = (uint8_t)(x13 & UINT8_C(0xff));
3081
- uint32_t x16 = (x7 >> 8);
3082
- uint8_t x17 = (uint8_t)(x7 & UINT8_C(0xff));
3083
- uint32_t x18 = (x16 >> 8);
3084
- uint8_t x19 = (uint8_t)(x16 & UINT8_C(0xff));
3085
- uint8_t x20 = (uint8_t)(x18 >> 8);
3086
- uint8_t x21 = (uint8_t)(x18 & UINT8_C(0xff));
3087
- uint8_t x22 = (uint8_t)(x20 & UINT8_C(0xff));
3088
- uint32_t x23 = (x6 >> 8);
3089
- uint8_t x24 = (uint8_t)(x6 & UINT8_C(0xff));
3090
- uint32_t x25 = (x23 >> 8);
3091
- uint8_t x26 = (uint8_t)(x23 & UINT8_C(0xff));
3092
- uint8_t x27 = (uint8_t)(x25 >> 8);
3093
- uint8_t x28 = (uint8_t)(x25 & UINT8_C(0xff));
3094
- uint8_t x29 = (uint8_t)(x27 & UINT8_C(0xff));
3095
- uint32_t x30 = (x5 >> 8);
3096
- uint8_t x31 = (uint8_t)(x5 & UINT8_C(0xff));
3097
- uint32_t x32 = (x30 >> 8);
3098
- uint8_t x33 = (uint8_t)(x30 & UINT8_C(0xff));
3099
- uint8_t x34 = (uint8_t)(x32 >> 8);
3100
- uint8_t x35 = (uint8_t)(x32 & UINT8_C(0xff));
3101
- uint8_t x36 = (uint8_t)(x34 & UINT8_C(0xff));
3102
- uint32_t x37 = (x4 >> 8);
3103
- uint8_t x38 = (uint8_t)(x4 & UINT8_C(0xff));
3104
- uint32_t x39 = (x37 >> 8);
3105
- uint8_t x40 = (uint8_t)(x37 & UINT8_C(0xff));
3106
- uint8_t x41 = (uint8_t)(x39 >> 8);
3107
- uint8_t x42 = (uint8_t)(x39 & UINT8_C(0xff));
3108
- uint8_t x43 = (uint8_t)(x41 & UINT8_C(0xff));
3109
- uint32_t x44 = (x3 >> 8);
3110
- uint8_t x45 = (uint8_t)(x3 & UINT8_C(0xff));
3111
- uint32_t x46 = (x44 >> 8);
3112
- uint8_t x47 = (uint8_t)(x44 & UINT8_C(0xff));
3113
- uint8_t x48 = (uint8_t)(x46 >> 8);
3114
- uint8_t x49 = (uint8_t)(x46 & UINT8_C(0xff));
3115
- uint8_t x50 = (uint8_t)(x48 & UINT8_C(0xff));
3116
- uint32_t x51 = (x2 >> 8);
3117
- uint8_t x52 = (uint8_t)(x2 & UINT8_C(0xff));
3118
- uint32_t x53 = (x51 >> 8);
3119
- uint8_t x54 = (uint8_t)(x51 & UINT8_C(0xff));
3120
- uint8_t x55 = (uint8_t)(x53 >> 8);
3121
- uint8_t x56 = (uint8_t)(x53 & UINT8_C(0xff));
3122
- uint8_t x57 = (uint8_t)(x55 & UINT8_C(0xff));
3123
- uint32_t x58 = (x1 >> 8);
3124
- uint8_t x59 = (uint8_t)(x1 & UINT8_C(0xff));
3125
- uint32_t x60 = (x58 >> 8);
3126
- uint8_t x61 = (uint8_t)(x58 & UINT8_C(0xff));
3127
- uint8_t x62 = (uint8_t)(x60 >> 8);
3128
- uint8_t x63 = (uint8_t)(x60 & UINT8_C(0xff));
3129
- out1[0] = x10;
3130
- out1[1] = x12;
3131
- out1[2] = x14;
3132
- out1[3] = x15;
3133
- out1[4] = x17;
3134
- out1[5] = x19;
3135
- out1[6] = x21;
3136
- out1[7] = x22;
3137
- out1[8] = x24;
3138
- out1[9] = x26;
3139
- out1[10] = x28;
3140
- out1[11] = x29;
3141
- out1[12] = x31;
3142
- out1[13] = x33;
3143
- out1[14] = x35;
3144
- out1[15] = x36;
3145
- out1[16] = x38;
3146
- out1[17] = x40;
3147
- out1[18] = x42;
3148
- out1[19] = x43;
3149
- out1[20] = x45;
3150
- out1[21] = x47;
3151
- out1[22] = x49;
3152
- out1[23] = x50;
3153
- out1[24] = x52;
3154
- out1[25] = x54;
3155
- out1[26] = x56;
3156
- out1[27] = x57;
3157
- out1[28] = x59;
3158
- out1[29] = x61;
3159
- out1[30] = x63;
3160
- out1[31] = x62;
3161
- }
3162
-
3163
- /*
3164
- * Input Bounds:
3165
- * arg1: [[0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff], [0x0 ~> 0xff]]
3166
- * Output Bounds:
3167
- * out1: [[0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff], [0x0 ~> 0xffffffff]]
3168
- */
3169
- static void fiat_p256_from_bytes(uint32_t out1[8], const uint8_t arg1[32]) {
3170
- uint32_t x1 = ((uint32_t)(arg1[31]) << 24);
3171
- uint32_t x2 = ((uint32_t)(arg1[30]) << 16);
3172
- uint32_t x3 = ((uint32_t)(arg1[29]) << 8);
3173
- uint8_t x4 = (arg1[28]);
3174
- uint32_t x5 = ((uint32_t)(arg1[27]) << 24);
3175
- uint32_t x6 = ((uint32_t)(arg1[26]) << 16);
3176
- uint32_t x7 = ((uint32_t)(arg1[25]) << 8);
3177
- uint8_t x8 = (arg1[24]);
3178
- uint32_t x9 = ((uint32_t)(arg1[23]) << 24);
3179
- uint32_t x10 = ((uint32_t)(arg1[22]) << 16);
3180
- uint32_t x11 = ((uint32_t)(arg1[21]) << 8);
3181
- uint8_t x12 = (arg1[20]);
3182
- uint32_t x13 = ((uint32_t)(arg1[19]) << 24);
3183
- uint32_t x14 = ((uint32_t)(arg1[18]) << 16);
3184
- uint32_t x15 = ((uint32_t)(arg1[17]) << 8);
3185
- uint8_t x16 = (arg1[16]);
3186
- uint32_t x17 = ((uint32_t)(arg1[15]) << 24);
3187
- uint32_t x18 = ((uint32_t)(arg1[14]) << 16);
3188
- uint32_t x19 = ((uint32_t)(arg1[13]) << 8);
3189
- uint8_t x20 = (arg1[12]);
3190
- uint32_t x21 = ((uint32_t)(arg1[11]) << 24);
3191
- uint32_t x22 = ((uint32_t)(arg1[10]) << 16);
3192
- uint32_t x23 = ((uint32_t)(arg1[9]) << 8);
3193
- uint8_t x24 = (arg1[8]);
3194
- uint32_t x25 = ((uint32_t)(arg1[7]) << 24);
3195
- uint32_t x26 = ((uint32_t)(arg1[6]) << 16);
3196
- uint32_t x27 = ((uint32_t)(arg1[5]) << 8);
3197
- uint8_t x28 = (arg1[4]);
3198
- uint32_t x29 = ((uint32_t)(arg1[3]) << 24);
3199
- uint32_t x30 = ((uint32_t)(arg1[2]) << 16);
3200
- uint32_t x31 = ((uint32_t)(arg1[1]) << 8);
3201
- uint8_t x32 = (arg1[0]);
3202
- uint32_t x33 = (x32 + (x31 + (x30 + x29)));
3203
- uint32_t x34 = (x33 & UINT32_C(0xffffffff));
3204
- uint32_t x35 = (x4 + (x3 + (x2 + x1)));
3205
- uint32_t x36 = (x8 + (x7 + (x6 + x5)));
3206
- uint32_t x37 = (x12 + (x11 + (x10 + x9)));
3207
- uint32_t x38 = (x16 + (x15 + (x14 + x13)));
3208
- uint32_t x39 = (x20 + (x19 + (x18 + x17)));
3209
- uint32_t x40 = (x24 + (x23 + (x22 + x21)));
3210
- uint32_t x41 = (x28 + (x27 + (x26 + x25)));
3211
- uint32_t x42 = (x41 & UINT32_C(0xffffffff));
3212
- uint32_t x43 = (x40 & UINT32_C(0xffffffff));
3213
- uint32_t x44 = (x39 & UINT32_C(0xffffffff));
3214
- uint32_t x45 = (x38 & UINT32_C(0xffffffff));
3215
- uint32_t x46 = (x37 & UINT32_C(0xffffffff));
3216
- uint32_t x47 = (x36 & UINT32_C(0xffffffff));
3217
- out1[0] = x34;
3218
- out1[1] = x42;
3219
- out1[2] = x43;
3220
- out1[3] = x44;
3221
- out1[4] = x45;
3222
- out1[5] = x46;
3223
- out1[6] = x47;
3224
- out1[7] = x35;
3225
- }
3226
-