@fails-components/webtransport 0.0.1-rc.2 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CMakeLists.txt +5 -2
- package/package.json +1 -1
- package/platform/net/quiche/common/platform/impl/quiche_flags_impl.h +1 -54
- package/platform/quiche_platform_impl/quic_flags_impl.h +1 -27
- package/platform/quiche_platform_impl/quiche_flag_utils_impl.h +1 -16
- package/platform/quiche_platform_impl/quiche_flags_impl.h +6 -1
- package/src/http3client.cc +14 -2
- package/src/http3client.h +10 -15
- package/src/webtransport.js +4 -1
- package/third_party/boringssl/src/.clang-format +11 -0
- package/third_party/boringssl/src/crypto/CMakeLists.txt +0 -1
- package/third_party/boringssl/src/crypto/asn1/a_strex.c +61 -95
- package/third_party/boringssl/src/crypto/asn1/asn1_par.c +31 -9
- package/third_party/boringssl/src/crypto/asn1/tasn_dec.c +33 -19
- package/third_party/boringssl/src/crypto/cipher_extra/asm/chacha20_poly1305_armv8.pl +8 -8
- package/third_party/boringssl/src/crypto/cipher_extra/derive_key.c +4 -4
- package/third_party/boringssl/src/crypto/cipher_extra/e_des.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_null.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_rc2.c +1 -0
- package/third_party/boringssl/src/crypto/cipher_extra/e_rc4.c +2 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bcm.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bn/asm/x86_64-mont5.pl +0 -197
- package/third_party/boringssl/src/crypto/fipsmodule/bn/bn_test.cc +0 -9
- package/third_party/boringssl/src/crypto/fipsmodule/bn/bn_tests.txt +68 -0
- package/third_party/boringssl/src/crypto/fipsmodule/bn/exponentiation.c +45 -40
- package/third_party/boringssl/src/crypto/fipsmodule/bn/internal.h +11 -8
- package/third_party/boringssl/src/crypto/fipsmodule/bn/rsaz_exp.c +15 -106
- package/third_party/boringssl/src/crypto/fipsmodule/bn/rsaz_exp.h +5 -1
- package/third_party/boringssl/src/crypto/fipsmodule/cipher/e_aes.c +12 -32
- package/third_party/boringssl/src/crypto/fipsmodule/cipher/internal.h +39 -0
- package/third_party/boringssl/src/crypto/{evp → fipsmodule/digestsign}/digestsign.c +7 -9
- package/third_party/boringssl/src/crypto/fipsmodule/ec/ec_key.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/ecdh/ecdh.c +2 -1
- package/third_party/boringssl/src/crypto/fipsmodule/ecdsa/ecdsa.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/hmac/hmac.c +1 -0
- package/third_party/boringssl/src/crypto/fipsmodule/service_indicator/service_indicator.c +1 -0
- package/third_party/boringssl/src/crypto/pkcs8/pkcs8_x509.c +4 -4
- package/third_party/boringssl/src/crypto/x509/algorithm.c +18 -1
- package/third_party/boringssl/src/crypto/x509/x_algor.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_crl.c +3 -3
- package/third_party/boringssl/src/crypto/x509/x_exten.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_name.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_pubkey.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_req.c +2 -2
- package/third_party/boringssl/src/crypto/x509/x_sig.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_spki.c +2 -2
- package/third_party/boringssl/src/crypto/x509/x_val.c +1 -1
- package/third_party/boringssl/src/crypto/x509/x_x509.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_akey.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_akeya.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_bcons.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_cpols.c +6 -6
- package/third_party/boringssl/src/crypto/x509v3/v3_crld.c +6 -6
- package/third_party/boringssl/src/crypto/x509v3/v3_enum.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_extku.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_genn.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_info.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_int.c +3 -3
- package/third_party/boringssl/src/crypto/x509v3/v3_ncons.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_ocsp.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_pcons.c +1 -1
- package/third_party/boringssl/src/crypto/x509v3/v3_pmaps.c +2 -2
- package/third_party/boringssl/src/crypto/x509v3/v3_skey.c +1 -1
- package/third_party/boringssl/src/decrepit/blowfish/blowfish.c +1 -0
- package/third_party/boringssl/src/decrepit/cast/cast.c +1 -0
- package/third_party/boringssl/src/decrepit/cfb/cfb.c +1 -0
- package/third_party/boringssl/src/decrepit/xts/xts.c +2 -1
- package/third_party/boringssl/src/fuzz/CMakeLists.txt +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip.cc +57 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/0461791e54b4840c109637952eab43d9b938cab8 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/06e57a7b98a403a00822739739924b97ae6c74e9 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/078c3c1199930781466871c8dda69bec379286a4 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/082a991742f652549e4b207100ee521f474e0a99 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/091e3389548686c5038d04e3d76b9c4d30502074 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/13e484c406efe97dc9d91f8b80a27b0e597c34da +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/153d254254345b61e20e7b37637dd6f6fd71ba01 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/163605136e22f5b5302fe60d1f17837bee6b6b2b +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/1a96ec99b487b93052cd860c447e6d126dcc36d4 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/1cc9ad96fcee279e8589b7071c7a0ccd111098f2 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/229b8e1825512868e0e11a199ed71231dd41bb4f +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/236d820eadf7f84d70de7bb8be5f1c57a4005de2 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/24fd9742dbdee3167509db4af245ad6f8c4c1e99 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2896f8deb3c4e8bdfeab743b22c64c92316880f7 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/29b6252fe9c4d1186394b1664c421cca795b61a5 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2b4955132275314d1d377f37f93d8c1879a3519a +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/2e7112ac524a7a663632397cbb41f7dfd22e92c6 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/396d197005432accf99bf0f483286e459eb24063 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/3c75fe79266cf639f2180722a3f03f8fc3e25685 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/3fbb104fb0eb6cae4af34d8a516998336b3a6778 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/422fa995b3fdfed572b68b292062c330d6d05272 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/428b48fc494cee828f0c27f77aef477cb2e1fd80 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4bd69e424b6fa38f9e63e58b8d0e95ac2d38d598 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4be7e1f134e1c55aeadeead515200f6f1e6254ba +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/4de268400e174db2dc306f45c833cf968a6c6546 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/52d2c7efcd7da0eb7463829e05a598e36729bfae +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/53cf415eb9de49fb5a0cb46e745e413a99aa0779 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/53ea84c48a5792281a46eb5a9c896d54ea3f1838 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5ba93c9db0cff93f52b521d7420e43f6eda2784f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5bab61eb53176449e25c2c82f172b82cb13ffb9d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/5e5361730362736fe3e2804d8566e3c91454509b +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6654fedb1fc4b07095695b062b5af4c2f12d59ae +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6cad8b2a41194372ec897bece6512fe8331e274d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/6f40330ec07e8e22f113f982b297ff7f86b8e485 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/738f291e53e97c08dae378c71ef70a60e31ae900 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7396791821e64fc9340249a4bcbd2198e9f237db +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7653595e28f23e62ea6707c99ca08c780a69335f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/77de68daecd823babbb58edb1c8e14d7106e83bb +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/7cb5c71603a787032973d6ddc9c2c34638005784 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/80a1e1ae75c1e5ef7bbde5f5877e3e5b26b3cf58 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/872ba8af52a8c1380c388bab0e20bec2e729db80 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/8855f2d904cf1bbaffc54e68d98890fdc9ec14cc +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/8a22f56ee86cc2d67e9610a6b0ed59f21008a341 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/935a69e9f3bfa1dd3bf058fa3e1b953e82195de6 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/951ccb49640c8f9e81fb4e0d82730321f4e15bb3 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/9af1f3ed10c7a54f6b57c344015141cc082db23b +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a0b7dd1684089c63a4aac2e4a832544df4d639d6 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a22d0d3565a509a4bfedce078090d8c6a908d950 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a22f1185582f66227118c8e9002a5c29728f0650 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a457945cb86ec812235f407ed70fe72fbaf694a1 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a4ee44c4e8728d4924642ef8765063262e8c4601 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a4fc609a6546fc0061f499f0faed9054fd388c9a +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a7c13e6fe60eee08b9aac00a095a9301ea1a9824 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/a98e22a5a8c2f5dda365d55e76536931010e1560 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/aca6ed86348b1176bfbe4ebf32b2d48a0aa42f9f +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/aeefb82d7f5cc69168aade3b196a84d0f5c14bf2 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b37e0f6fa42840c773747c4cb608c278ab65021d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b5d4e67f0ec5b1a90100d8ad424d77aea8e16353 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b65ea16ba4dae8599ebbad7c4cb9fcd505edf485 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/b95311782071c4d9182c0effe32487fc5cdbd33d +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bbcaf4d15f92bfc6d624eee967fade1a74329f30 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bc26b8c794ac0adf948cbca02e88b3901824ef17 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bc7b23c2c68e4ad33ecea493ff6e60d423371cd0 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/bd8daf3e78d8ba3a25838053b6993edc7a21c30e +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/c4d94647e646f02da1736b3179804ad6083acde9 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/c869b259f9f81bec8ed24a9bc2cef35a513fb9fc +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/ceee46f04a09ef5d3342ef25d9f483e861727575 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d05c069216b54f35bc7e3ee08371baee243c089a +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d18c30ba21e0d085dd983ad528f2c9001285d3d2 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d2c00146b2f2bcb4c6cecb731d2062273523d8c8 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/d9bc7157a485958a5fce35ce777f551fe3f7d94c +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/defce76f0d3c3e057bb623986bacee7bbd07d1a1 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/df9b696736847e43672b7a99ca05655af8a81135 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/e5b420f71cf412bd9fdebdd46245fabd1f3462e5 +1 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/e7979b0e6e3e9cd64ceab99778c55205d6f92a73 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/ee629f1935abc05fdc32ba314ec1f80f4bff2a17 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/f944dcd635f9801f7ac90a407fbc479964dec024 +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/fadcde7d914246ca04bd56e68fd4045b1cf1c5ef +0 -0
- package/third_party/boringssl/src/fuzz/der_roundtrip_corpus/fd8be6506a9995f626eef831b9c981a80b0e3640 +0 -0
- package/third_party/boringssl/src/include/openssl/cipher.h +21 -48
- package/third_party/boringssl/src/include/openssl/ssl.h +38 -0
- package/third_party/boringssl/src/ssl/handshake_client.cc +8 -2
- package/third_party/boringssl/src/ssl/internal.h +16 -3
- package/third_party/boringssl/src/ssl/s3_both.cc +23 -1
- package/third_party/boringssl/src/ssl/ssl_lib.cc +94 -1
- package/third_party/boringssl/src/ssl/test/runner/runner.go +192 -0
- package/third_party/boringssl/src/ssl/test/test_config.cc +6 -0
- package/third_party/boringssl/src/ssl/test/test_config.h +1 -0
- package/third_party/boringssl/src/ssl/tls13_client.cc +7 -3
- package/third_party/boringssl/src/ssl/tls13_server.cc +2 -1
- package/third_party/boringssl/src/util/convert_comments.go +23 -0
- package/third_party/boringssl/src/util/fipstools/acvp/acvptool/acvp/acvp.go +1 -1
- package/third_party/boringssl/src/util/fipstools/acvp/modulewrapper/modulewrapper.cc +32 -21
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.cc +1 -1
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.h +1 -1
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_logging_impl.h +3 -2
- package/third_party/quiche/quiche/common/platform/default/quiche_platform_impl/quiche_test_impl.cc +2 -2
- package/third_party/quiche/quiche/http2/adapter/http2_protocol.h +5 -1
- package/third_party/quiche/quiche/http2/adapter/http2_util.cc +2 -0
- package/third_party/quiche/quiche/http2/adapter/http2_visitor_interface.h +2 -0
- package/third_party/quiche/quiche/http2/adapter/nghttp2_adapter_test.cc +119 -0
- package/third_party/quiche/quiche/http2/adapter/oghttp2_adapter_test.cc +130 -0
- package/third_party/quiche/quiche/http2/adapter/oghttp2_session.cc +23 -12
- package/third_party/quiche/quiche/http2/decoder/decode_buffer_test.cc +6 -11
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr2_sender.cc +0 -5
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr2_sender.h +0 -2
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr_sender.cc +0 -10
- package/third_party/quiche/quiche/quic/core/congestion_control/bbr_sender.h +0 -1
- package/third_party/quiche/quiche/quic/core/congestion_control/send_algorithm_interface.h +0 -6
- package/third_party/quiche/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc +0 -2
- package/third_party/quiche/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.h +0 -1
- package/third_party/quiche/quiche/quic/core/crypto/transport_parameters_test.cc +1 -3
- package/third_party/quiche/quiche/quic/core/http/end_to_end_test.cc +19 -9
- package/third_party/quiche/quiche/quic/core/http/http_decoder_test.cc +6 -3
- package/third_party/quiche/quiche/quic/core/http/quic_server_session_base.cc +4 -16
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_session.h +6 -6
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_session_test.cc +25 -15
- package/third_party/quiche/quiche/quic/core/http/quic_spdy_stream_test.cc +6 -5
- package/third_party/quiche/quiche/quic/core/http/web_transport_http3.cc +1 -2
- package/third_party/quiche/quiche/quic/core/quic_bandwidth_test.cc +12 -12
- package/third_party/quiche/quiche/quic/core/quic_connection.cc +5 -95
- package/third_party/quiche/quiche/quic/core/quic_connection.h +0 -35
- package/third_party/quiche/quiche/quic/core/quic_connection_test.cc +80 -196
- package/third_party/quiche/quiche/quic/core/quic_control_frame_manager.cc +1 -1
- package/third_party/quiche/quiche/quic/core/quic_crypto_stream.cc +29 -5
- package/third_party/quiche/quiche/quic/core/quic_crypto_stream_test.cc +46 -0
- package/third_party/quiche/quiche/quic/core/quic_dispatcher_test.cc +17 -14
- package/third_party/quiche/quiche/quic/core/quic_flags_list.h +54 -54
- package/third_party/quiche/quiche/quic/core/quic_flow_controller_test.cc +8 -5
- package/third_party/quiche/quiche/quic/core/quic_framer_test.cc +8 -5
- package/third_party/quiche/quiche/quic/core/quic_idle_network_detector.cc +1 -0
- package/third_party/quiche/quiche/quic/core/quic_idle_network_detector_test.cc +29 -0
- package/third_party/quiche/quiche/quic/core/quic_packet_creator.cc +1 -5
- package/third_party/quiche/quiche/quic/core/quic_packet_creator_test.cc +18 -11
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager.cc +9 -28
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager.h +0 -13
- package/third_party/quiche/quiche/quic/core/quic_sent_packet_manager_test.cc +1 -49
- package/third_party/quiche/quiche/quic/core/quic_session.cc +0 -8
- package/third_party/quiche/quiche/quic/core/quic_session.h +0 -1
- package/third_party/quiche/quiche/quic/core/quic_stream.cc +1 -1
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer.cc +5 -0
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer.h +4 -0
- package/third_party/quiche/quiche/quic/core/quic_stream_sequencer_test.cc +12 -5
- package/third_party/quiche/quiche/quic/core/quic_stream_test.cc +27 -12
- package/third_party/quiche/quiche/quic/core/quic_types.cc +0 -1
- package/third_party/quiche/quiche/quic/core/quic_types.h +0 -3
- package/third_party/quiche/quiche/quic/core/quic_utils.cc +0 -3
- package/third_party/quiche/quiche/quic/core/quic_utils_test.cc +0 -2
- package/third_party/quiche/quiche/quic/core/tls_client_handshaker_test.cc +16 -12
- package/third_party/quiche/quiche/quic/core/tls_handshaker.cc +18 -3
- package/third_party/quiche/quiche/quic/qbone/platform/internet_checksum.cc +7 -2
- package/third_party/quiche/quiche/quic/test_tools/crypto_test_utils.cc +20 -12
- package/third_party/quiche/quiche/quic/test_tools/crypto_test_utils.h +10 -5
- package/third_party/quiche/quiche/quic/test_tools/quic_test_utils.h +0 -2
- package/third_party/quiche/quiche/quic/test_tools/simulator/quic_endpoint.cc +0 -8
- package/third_party/quiche/quiche/quic/test_tools/simulator/quic_endpoint.h +0 -1
- package/third_party/quiche/quiche/quic/tools/quic_simple_server_stream_test.cc +2 -1
- package/platform/net/quiche/common/platform/impl/quic_flags_list_add.h +0 -379
- package/platform/net/quiche/common/platform/impl/quiche_flags_impl.cc +0 -21
- package/third_party/boringssl/src/crypto/asn1/charmap.h +0 -15
- package/third_party/boringssl/src/crypto/asn1/charmap.pl +0 -135
|
@@ -60,15 +60,37 @@
|
|
|
60
60
|
const char *ASN1_tag2str(int tag)
|
|
61
61
|
{
|
|
62
62
|
static const char *const tag2str[] = {
|
|
63
|
-
"EOC",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
63
|
+
"EOC",
|
|
64
|
+
"BOOLEAN",
|
|
65
|
+
"INTEGER",
|
|
66
|
+
"BIT STRING",
|
|
67
|
+
"OCTET STRING",
|
|
68
|
+
"NULL",
|
|
69
|
+
"OBJECT",
|
|
70
|
+
"OBJECT DESCRIPTOR",
|
|
71
|
+
"EXTERNAL",
|
|
72
|
+
"REAL",
|
|
73
|
+
"ENUMERATED",
|
|
74
|
+
"<ASN1 11>",
|
|
75
|
+
"UTF8STRING",
|
|
76
|
+
"<ASN1 13>",
|
|
77
|
+
"<ASN1 14>",
|
|
78
|
+
"<ASN1 15>",
|
|
79
|
+
"SEQUENCE",
|
|
80
|
+
"SET",
|
|
81
|
+
"NUMERICSTRING",
|
|
82
|
+
"PRINTABLESTRING",
|
|
83
|
+
"T61STRING",
|
|
84
|
+
"VIDEOTEXSTRING",
|
|
85
|
+
"IA5STRING",
|
|
86
|
+
"UTCTIME",
|
|
87
|
+
"GENERALIZEDTIME",
|
|
88
|
+
"GRAPHICSTRING",
|
|
89
|
+
"VISIBLESTRING",
|
|
90
|
+
"GENERALSTRING",
|
|
91
|
+
"UNIVERSALSTRING",
|
|
92
|
+
"<ASN1 29>",
|
|
93
|
+
"BMPSTRING",
|
|
72
94
|
};
|
|
73
95
|
|
|
74
96
|
if ((tag == V_ASN1_NEG_INTEGER) || (tag == V_ASN1_NEG_ENUMERATED))
|
|
@@ -97,29 +97,43 @@ static int asn1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in,
|
|
|
97
97
|
char opt, int depth);
|
|
98
98
|
|
|
99
99
|
/* Table to convert tags to bit values, used for MSTRING type */
|
|
100
|
-
static const unsigned long tag2bit[
|
|
101
|
-
0,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
100
|
+
static const unsigned long tag2bit[31] = {
|
|
101
|
+
0, /* (reserved) */
|
|
102
|
+
0, /* BOOLEAN */
|
|
103
|
+
0, /* INTEGER */
|
|
104
|
+
B_ASN1_BIT_STRING,
|
|
105
|
+
B_ASN1_OCTET_STRING,
|
|
106
|
+
0, /* NULL */
|
|
107
|
+
0, /* OBJECT IDENTIFIER */
|
|
108
|
+
B_ASN1_UNKNOWN, /* ObjectDescriptor */
|
|
109
|
+
B_ASN1_UNKNOWN, /* EXTERNAL */
|
|
110
|
+
B_ASN1_UNKNOWN, /* REAL */
|
|
111
|
+
B_ASN1_UNKNOWN, /* ENUMERATED */
|
|
112
|
+
B_ASN1_UNKNOWN, /* EMBEDDED PDV */
|
|
113
|
+
B_ASN1_UTF8STRING,
|
|
114
|
+
B_ASN1_UNKNOWN, /* RELATIVE-OID */
|
|
115
|
+
B_ASN1_UNKNOWN, /* TIME */
|
|
116
|
+
B_ASN1_UNKNOWN, /* (reserved) */
|
|
117
|
+
B_ASN1_SEQUENCE,
|
|
118
|
+
0, /* SET */
|
|
119
|
+
B_ASN1_NUMERICSTRING,
|
|
120
|
+
B_ASN1_PRINTABLESTRING,
|
|
121
|
+
B_ASN1_T61STRING,
|
|
122
|
+
B_ASN1_VIDEOTEXSTRING,
|
|
123
|
+
B_ASN1_IA5STRING,
|
|
124
|
+
B_ASN1_UTCTIME,
|
|
125
|
+
B_ASN1_GENERALIZEDTIME,
|
|
126
|
+
B_ASN1_GRAPHICSTRING,
|
|
127
|
+
B_ASN1_ISO64STRING,
|
|
128
|
+
B_ASN1_GENERALSTRING,
|
|
129
|
+
B_ASN1_UNIVERSALSTRING,
|
|
130
|
+
B_ASN1_UNKNOWN, /* CHARACTER STRING */
|
|
131
|
+
B_ASN1_BMPSTRING,
|
|
118
132
|
};
|
|
119
133
|
|
|
120
134
|
unsigned long ASN1_tag2bit(int tag)
|
|
121
135
|
{
|
|
122
|
-
if (
|
|
136
|
+
if (tag < 0 || tag > 30)
|
|
123
137
|
return 0;
|
|
124
138
|
return tag2bit[tag];
|
|
125
139
|
}
|
|
@@ -378,9 +378,9 @@ chacha20_poly1305_seal:
|
|
|
378
378
|
.cfi_offset w30, -72
|
|
379
379
|
.cfi_offset w29, -80
|
|
380
380
|
mov x29, sp
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
// We probably could do .cfi_def_cfa w29, 80 at this point, but since
|
|
382
|
+
// we don't actually use the frame pointer like that, it's probably not
|
|
383
|
+
// worth bothering.
|
|
384
384
|
stp d8, d9, [sp, #16]
|
|
385
385
|
stp d10, d11, [sp, #32]
|
|
386
386
|
stp d12, d13, [sp, #48]
|
|
@@ -881,7 +881,7 @@ ___
|
|
|
881
881
|
&poly_add_vec($LEN_STORE);
|
|
882
882
|
&poly_mul();
|
|
883
883
|
$code.=<<___;
|
|
884
|
-
|
|
884
|
+
// Final reduction step
|
|
885
885
|
sub $t1, xzr, $one
|
|
886
886
|
orr $t2, xzr, #3
|
|
887
887
|
subs $t0, $acc0, #-5
|
|
@@ -986,9 +986,9 @@ chacha20_poly1305_open:
|
|
|
986
986
|
.cfi_offset w30, -72
|
|
987
987
|
.cfi_offset w29, -80
|
|
988
988
|
mov x29, sp
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
989
|
+
// We probably could do .cfi_def_cfa w29, 80 at this point, but since
|
|
990
|
+
// we don't actually use the frame pointer like that, it's probably not
|
|
991
|
+
// worth bothering.
|
|
992
992
|
stp d8, d9, [sp, #16]
|
|
993
993
|
stp d10, d11, [sp, #32]
|
|
994
994
|
stp d12, d13, [sp, #48]
|
|
@@ -1502,7 +1502,7 @@ ___
|
|
|
1502
1502
|
&poly_add_vec($LEN_STORE);
|
|
1503
1503
|
&poly_mul();
|
|
1504
1504
|
$code.=<<___;
|
|
1505
|
-
|
|
1505
|
+
// Final reduction step
|
|
1506
1506
|
sub $t1, xzr, $one
|
|
1507
1507
|
orr $t2, xzr, #3
|
|
1508
1508
|
subs $t0, $acc0, #-5
|
|
@@ -69,12 +69,12 @@ int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
|
|
|
69
69
|
unsigned count, uint8_t *key, uint8_t *iv) {
|
|
70
70
|
EVP_MD_CTX c;
|
|
71
71
|
uint8_t md_buf[EVP_MAX_MD_SIZE];
|
|
72
|
-
unsigned
|
|
72
|
+
unsigned addmd = 0;
|
|
73
73
|
unsigned mds = 0, i;
|
|
74
74
|
int rv = 0;
|
|
75
75
|
|
|
76
|
-
nkey = type
|
|
77
|
-
niv = type
|
|
76
|
+
unsigned nkey = EVP_CIPHER_key_length(type);
|
|
77
|
+
unsigned niv = EVP_CIPHER_iv_length(type);
|
|
78
78
|
|
|
79
79
|
assert(nkey <= EVP_MAX_KEY_LENGTH);
|
|
80
80
|
assert(niv <= EVP_MAX_IV_LENGTH);
|
|
@@ -143,7 +143,7 @@ int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
|
|
|
143
143
|
break;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
rv = type
|
|
146
|
+
rv = EVP_CIPHER_key_length(type);
|
|
147
147
|
|
|
148
148
|
err:
|
|
149
149
|
EVP_MD_CTX_cleanup(&c);
|
|
@@ -2088,194 +2088,6 @@ __bn_post4x_internal:
|
|
|
2088
2088
|
.size __bn_post4x_internal,.-__bn_post4x_internal
|
|
2089
2089
|
___
|
|
2090
2090
|
}
|
|
2091
|
-
{
|
|
2092
|
-
$code.=<<___;
|
|
2093
|
-
.globl bn_from_montgomery
|
|
2094
|
-
.type bn_from_montgomery,\@abi-omnipotent
|
|
2095
|
-
.align 32
|
|
2096
|
-
bn_from_montgomery:
|
|
2097
|
-
.cfi_startproc
|
|
2098
|
-
testl \$7,`($win64?"48(%rsp)":"%r9d")`
|
|
2099
|
-
jz bn_from_mont8x
|
|
2100
|
-
xor %eax,%eax
|
|
2101
|
-
ret
|
|
2102
|
-
.cfi_endproc
|
|
2103
|
-
.size bn_from_montgomery,.-bn_from_montgomery
|
|
2104
|
-
|
|
2105
|
-
.type bn_from_mont8x,\@function,6
|
|
2106
|
-
.align 32
|
|
2107
|
-
bn_from_mont8x:
|
|
2108
|
-
.cfi_startproc
|
|
2109
|
-
.byte 0x67
|
|
2110
|
-
mov %rsp,%rax
|
|
2111
|
-
.cfi_def_cfa_register %rax
|
|
2112
|
-
push %rbx
|
|
2113
|
-
.cfi_push %rbx
|
|
2114
|
-
push %rbp
|
|
2115
|
-
.cfi_push %rbp
|
|
2116
|
-
push %r12
|
|
2117
|
-
.cfi_push %r12
|
|
2118
|
-
push %r13
|
|
2119
|
-
.cfi_push %r13
|
|
2120
|
-
push %r14
|
|
2121
|
-
.cfi_push %r14
|
|
2122
|
-
push %r15
|
|
2123
|
-
.cfi_push %r15
|
|
2124
|
-
.Lfrom_prologue:
|
|
2125
|
-
|
|
2126
|
-
shl \$3,${num}d # convert $num to bytes
|
|
2127
|
-
lea ($num,$num,2),%r10 # 3*$num in bytes
|
|
2128
|
-
neg $num
|
|
2129
|
-
mov ($n0),$n0 # *n0
|
|
2130
|
-
|
|
2131
|
-
##############################################################
|
|
2132
|
-
# Ensure that stack frame doesn't alias with $rptr+3*$num
|
|
2133
|
-
# modulo 4096, which covers ret[num], am[num] and n[num]
|
|
2134
|
-
# (see bn_exp.c). The stack is allocated to aligned with
|
|
2135
|
-
# bn_power5's frame, and as bn_from_montgomery happens to be
|
|
2136
|
-
# last operation, we use the opportunity to cleanse it.
|
|
2137
|
-
#
|
|
2138
|
-
lea -320(%rsp,$num,2),%r11
|
|
2139
|
-
mov %rsp,%rbp
|
|
2140
|
-
sub $rptr,%r11
|
|
2141
|
-
and \$4095,%r11
|
|
2142
|
-
cmp %r11,%r10
|
|
2143
|
-
jb .Lfrom_sp_alt
|
|
2144
|
-
sub %r11,%rbp # align with $aptr
|
|
2145
|
-
lea -320(%rbp,$num,2),%rbp # future alloca(frame+2*$num*8+256)
|
|
2146
|
-
jmp .Lfrom_sp_done
|
|
2147
|
-
|
|
2148
|
-
.align 32
|
|
2149
|
-
.Lfrom_sp_alt:
|
|
2150
|
-
lea 4096-320(,$num,2),%r10
|
|
2151
|
-
lea -320(%rbp,$num,2),%rbp # future alloca(frame+2*$num*8+256)
|
|
2152
|
-
sub %r10,%r11
|
|
2153
|
-
mov \$0,%r10
|
|
2154
|
-
cmovc %r10,%r11
|
|
2155
|
-
sub %r11,%rbp
|
|
2156
|
-
.Lfrom_sp_done:
|
|
2157
|
-
and \$-64,%rbp
|
|
2158
|
-
mov %rsp,%r11
|
|
2159
|
-
sub %rbp,%r11
|
|
2160
|
-
and \$-4096,%r11
|
|
2161
|
-
lea (%rbp,%r11),%rsp
|
|
2162
|
-
mov (%rsp),%r10
|
|
2163
|
-
cmp %rbp,%rsp
|
|
2164
|
-
ja .Lfrom_page_walk
|
|
2165
|
-
jmp .Lfrom_page_walk_done
|
|
2166
|
-
|
|
2167
|
-
.Lfrom_page_walk:
|
|
2168
|
-
lea -4096(%rsp),%rsp
|
|
2169
|
-
mov (%rsp),%r10
|
|
2170
|
-
cmp %rbp,%rsp
|
|
2171
|
-
ja .Lfrom_page_walk
|
|
2172
|
-
.Lfrom_page_walk_done:
|
|
2173
|
-
|
|
2174
|
-
mov $num,%r10
|
|
2175
|
-
neg $num
|
|
2176
|
-
|
|
2177
|
-
##############################################################
|
|
2178
|
-
# Stack layout
|
|
2179
|
-
#
|
|
2180
|
-
# +0 saved $num, used in reduction section
|
|
2181
|
-
# +8 &t[2*$num], used in reduction section
|
|
2182
|
-
# +32 saved *n0
|
|
2183
|
-
# +40 saved %rsp
|
|
2184
|
-
# +48 t[2*$num]
|
|
2185
|
-
#
|
|
2186
|
-
mov $n0, 32(%rsp)
|
|
2187
|
-
mov %rax, 40(%rsp) # save original %rsp
|
|
2188
|
-
.cfi_cfa_expression %rsp+40,deref,+8
|
|
2189
|
-
.Lfrom_body:
|
|
2190
|
-
mov $num,%r11
|
|
2191
|
-
lea 48(%rsp),%rax
|
|
2192
|
-
pxor %xmm0,%xmm0
|
|
2193
|
-
jmp .Lmul_by_1
|
|
2194
|
-
|
|
2195
|
-
.align 32
|
|
2196
|
-
.Lmul_by_1:
|
|
2197
|
-
movdqu ($aptr),%xmm1
|
|
2198
|
-
movdqu 16($aptr),%xmm2
|
|
2199
|
-
movdqu 32($aptr),%xmm3
|
|
2200
|
-
movdqa %xmm0,(%rax,$num)
|
|
2201
|
-
movdqu 48($aptr),%xmm4
|
|
2202
|
-
movdqa %xmm0,16(%rax,$num)
|
|
2203
|
-
.byte 0x48,0x8d,0xb6,0x40,0x00,0x00,0x00 # lea 64($aptr),$aptr
|
|
2204
|
-
movdqa %xmm1,(%rax)
|
|
2205
|
-
movdqa %xmm0,32(%rax,$num)
|
|
2206
|
-
movdqa %xmm2,16(%rax)
|
|
2207
|
-
movdqa %xmm0,48(%rax,$num)
|
|
2208
|
-
movdqa %xmm3,32(%rax)
|
|
2209
|
-
movdqa %xmm4,48(%rax)
|
|
2210
|
-
lea 64(%rax),%rax
|
|
2211
|
-
sub \$64,%r11
|
|
2212
|
-
jnz .Lmul_by_1
|
|
2213
|
-
|
|
2214
|
-
movq $rptr,%xmm1
|
|
2215
|
-
movq $nptr,%xmm2
|
|
2216
|
-
.byte 0x67
|
|
2217
|
-
mov $nptr,%rbp
|
|
2218
|
-
movq %r10, %xmm3 # -num
|
|
2219
|
-
___
|
|
2220
|
-
$code.=<<___ if ($addx);
|
|
2221
|
-
leaq OPENSSL_ia32cap_P(%rip),%r11
|
|
2222
|
-
mov 8(%r11),%r11d
|
|
2223
|
-
and \$0x80108,%r11d
|
|
2224
|
-
cmp \$0x80108,%r11d # check for AD*X+BMI2+BMI1
|
|
2225
|
-
jne .Lfrom_mont_nox
|
|
2226
|
-
|
|
2227
|
-
lea (%rax,$num),$rptr
|
|
2228
|
-
call __bn_sqrx8x_reduction
|
|
2229
|
-
call __bn_postx4x_internal
|
|
2230
|
-
|
|
2231
|
-
pxor %xmm0,%xmm0
|
|
2232
|
-
lea 48(%rsp),%rax
|
|
2233
|
-
jmp .Lfrom_mont_zero
|
|
2234
|
-
|
|
2235
|
-
.align 32
|
|
2236
|
-
.Lfrom_mont_nox:
|
|
2237
|
-
___
|
|
2238
|
-
$code.=<<___;
|
|
2239
|
-
call __bn_sqr8x_reduction
|
|
2240
|
-
call __bn_post4x_internal
|
|
2241
|
-
|
|
2242
|
-
pxor %xmm0,%xmm0
|
|
2243
|
-
lea 48(%rsp),%rax
|
|
2244
|
-
jmp .Lfrom_mont_zero
|
|
2245
|
-
|
|
2246
|
-
.align 32
|
|
2247
|
-
.Lfrom_mont_zero:
|
|
2248
|
-
mov 40(%rsp),%rsi # restore %rsp
|
|
2249
|
-
.cfi_def_cfa %rsi,8
|
|
2250
|
-
movdqa %xmm0,16*0(%rax)
|
|
2251
|
-
movdqa %xmm0,16*1(%rax)
|
|
2252
|
-
movdqa %xmm0,16*2(%rax)
|
|
2253
|
-
movdqa %xmm0,16*3(%rax)
|
|
2254
|
-
lea 16*4(%rax),%rax
|
|
2255
|
-
sub \$32,$num
|
|
2256
|
-
jnz .Lfrom_mont_zero
|
|
2257
|
-
|
|
2258
|
-
mov \$1,%rax
|
|
2259
|
-
mov -48(%rsi),%r15
|
|
2260
|
-
.cfi_restore %r15
|
|
2261
|
-
mov -40(%rsi),%r14
|
|
2262
|
-
.cfi_restore %r14
|
|
2263
|
-
mov -32(%rsi),%r13
|
|
2264
|
-
.cfi_restore %r13
|
|
2265
|
-
mov -24(%rsi),%r12
|
|
2266
|
-
.cfi_restore %r12
|
|
2267
|
-
mov -16(%rsi),%rbp
|
|
2268
|
-
.cfi_restore %rbp
|
|
2269
|
-
mov -8(%rsi),%rbx
|
|
2270
|
-
.cfi_restore %rbx
|
|
2271
|
-
lea (%rsi),%rsp
|
|
2272
|
-
.cfi_def_cfa_register %rsp
|
|
2273
|
-
.Lfrom_epilogue:
|
|
2274
|
-
ret
|
|
2275
|
-
.cfi_endproc
|
|
2276
|
-
.size bn_from_mont8x,.-bn_from_mont8x
|
|
2277
|
-
___
|
|
2278
|
-
}
|
|
2279
2091
|
}}}
|
|
2280
2092
|
|
|
2281
2093
|
if ($addx) {{{
|
|
@@ -3864,10 +3676,6 @@ mul_handler:
|
|
|
3864
3676
|
.rva .LSEH_begin_bn_power5
|
|
3865
3677
|
.rva .LSEH_end_bn_power5
|
|
3866
3678
|
.rva .LSEH_info_bn_power5
|
|
3867
|
-
|
|
3868
|
-
.rva .LSEH_begin_bn_from_mont8x
|
|
3869
|
-
.rva .LSEH_end_bn_from_mont8x
|
|
3870
|
-
.rva .LSEH_info_bn_from_mont8x
|
|
3871
3679
|
___
|
|
3872
3680
|
$code.=<<___ if ($addx);
|
|
3873
3681
|
.rva .LSEH_begin_bn_mulx4x_mont_gather5
|
|
@@ -3899,11 +3707,6 @@ $code.=<<___;
|
|
|
3899
3707
|
.byte 9,0,0,0
|
|
3900
3708
|
.rva mul_handler
|
|
3901
3709
|
.rva .Lpower5_prologue,.Lpower5_body,.Lpower5_epilogue # HandlerData[]
|
|
3902
|
-
.align 8
|
|
3903
|
-
.LSEH_info_bn_from_mont8x:
|
|
3904
|
-
.byte 9,0,0,0
|
|
3905
|
-
.rva mul_handler
|
|
3906
|
-
.rva .Lfrom_prologue,.Lfrom_body,.Lfrom_epilogue # HandlerData[]
|
|
3907
3710
|
___
|
|
3908
3711
|
$code.=<<___ if ($addx);
|
|
3909
3712
|
.align 8
|
|
@@ -2788,15 +2788,6 @@ TEST_F(BNTest, BNMulMont5ABI) {
|
|
|
2788
2788
|
words, 13);
|
|
2789
2789
|
CHECK_ABI(bn_power5, r.data(), a.data(), table.data(), m->d, mont->n0,
|
|
2790
2790
|
words, 13);
|
|
2791
|
-
EXPECT_EQ(1, CHECK_ABI(bn_from_montgomery, r.data(), r.data(), nullptr,
|
|
2792
|
-
m->d, mont->n0, words));
|
|
2793
|
-
EXPECT_EQ(1, CHECK_ABI(bn_from_montgomery, r.data(), a.data(), nullptr,
|
|
2794
|
-
m->d, mont->n0, words));
|
|
2795
|
-
} else {
|
|
2796
|
-
EXPECT_EQ(0, CHECK_ABI(bn_from_montgomery, r.data(), r.data(), nullptr,
|
|
2797
|
-
m->d, mont->n0, words));
|
|
2798
|
-
EXPECT_EQ(0, CHECK_ABI(bn_from_montgomery, r.data(), a.data(), nullptr,
|
|
2799
|
-
m->d, mont->n0, words));
|
|
2800
2791
|
}
|
|
2801
2792
|
}
|
|
2802
2793
|
}
|
|
@@ -10604,6 +10604,74 @@ A = 95564994a96c45954227b845a1e99cb939d5a1da99ee91acc962396ae999a9ee38603790448f
|
|
|
10604
10604
|
E = f95dc0f980fbd22e90caa5a387cc4a369f3f830d50dd321c40db8c09a7e1a241a536e096622d3280c0c1ba849c1f4a79bf490f60006d081e8cf69960189f0d312cd9e17073a3fba7881b21474a13b334116cb2f5dbf3189a6de3515d0840f053c776d3982d391b6d04d642dda5cc6d1640174c09875addb70595658f89efb439dc6fbd55f903aadd307982d3f659207f265e1ec6271b274521b7a5e28e8fd7a55df089292820477802a43cf5b6b94e999e8c9944ddebb0d0e95a60f88cb7e813ba110d20e1024774107dd02949031864923b3cb8c3f7250d6d1287b0a40db6a47bd5a469518eb65aa207ddc47d8c6e5fc8e0c105be8fc1d4b57b2e27540471d5
|
|
10605
10605
|
M = fef15d5ce4625f1bccfbba49fc8439c72bf8202af039a2259678941b60bb4a8f2987e965d58fd8cf86a856674d519763d0e1211cc9f8596971050d56d9b35db3785866cfbca17cfdbed6060be3629d894f924a89fdc1efc624f80d41a22f19009503fcc3824ef62ccb9208430c26f2d8ceb2c63488ec4c07437aa4c96c43dd8b9289ed00a712ff66ee195dc71f5e4ead02172b63c543d69baf495f5fd63ba7bcc633bd309c016e37736da92129d0b053d4ab28d21ad7d8b6fab2a8bbdc8ee647d2fbcf2cf426cf892e6f5639e0252993965dfb73ccd277407014ea784aaa280cb7b03972bc8b0baa72360bdb44b82415b86b2f260f877791cd33ba8f2d65229b
|
|
10606
10606
|
|
|
10607
|
+
# The following inputs trigger an edge case between Montgomery reduction and the
|
|
10608
|
+
# "almost" reduction variant from https://eprint.iacr.org/2011/239
|
|
10609
|
+
|
|
10610
|
+
ModExp = 00
|
|
10611
|
+
A = 19c7bc9b97c6083cd7b8d1cd001452c9b67983247169c6532047eb7fc8933014dbf69fee7a358769f1429802c8ea89d4f9ca6ba6f368fbdb1fa5717b4a00
|
|
10612
|
+
E = bbc7e09147408571050e8d0c634682c5863b7e8a573626648902cff12e590c74f5a23ecce39732266bc15b8afbd6c48a48c83fbdc33947515cc0b6e4fb98ae2cd730e58f951fec8be7e2e3c74f4506c7fd7e29bdb28675fe8a59789ab1148e931a2ebd2d36f78bc241682a3d8083d8ff538858cd240c5a693936e5a391dc9d77118062a3f868c058440a4192267faaaba91112f45eee5842060febbf9353a6d3e7f7996573209136a5506062ea23d74067f08c613f3ff74bade25f8c3368e6dba84eae672eac11be1137fc514924fcab8c82e46d092bd047dcbadaa48c67a096ec1a04f392a8511e6acbad9954949b703e71ff837337b594055ae6f3c0fc154447a687c9ac8a2cdfd64a2e680c6ff21254735af7f5eb6b43f0bce86bda55a04143a991711081435ed4f4a89b23fc3a588022b7a8543db4bf5c8ac93603367c750ff2191f59a716340fab49bb7544759c8d846465eec1438e76395f73e7b5e945f31f1b87fefa854a0d208846eaab5fa27144fd039911608bab0eaee80f1d3553dfa2d9ba95268479b97a059613660df5ad79796e0b272244aca90ccc13449ec15c206eeed7b60405a4c5cfdf5da5d136c27fa9385d810ad198dfe794ffce9955e10520efea1e2eb794e379401b9affd863b9566ce941c4726755574a1b1946acf0090bfb93f37dd55f524485bbba7fa84b53addfde01ae1de9c57fe50d4b708dd0fa45d02af398b3d05c6d17f84c11e9aacdbe0b146cad6ddbd877731e26a17f3ebed459560d12ed7a6abc2ea6fe922e69d2622ef11b6b245b9ba8f0940faaa671a4beb727be5393a94dafaeff7221b29183e7418f4c5bb95a6a586c93dbc8ce0236d9dbe26c40513611b4141fed66599adbfb20fc30e09a4815e4159f65a6708f34584a7a77b3843941cd61a6917dcc3d07a3dfb5a2cb108bacea7e782f2111b4d22ecaaeff469ecd0da371df1ac5e9bf6df6ccba2d3a9f393d597499eaca2c206bfb81c3426c5fe45bcf16e38aecd246a319a1f37041c638b75a4839517e43a6d01bee7d85eaeedbce13cd15699d3ee42c7414cfed576590e4fb6ddb6edd3e1957efaf039bfe8b9dc75869b1f93abff15cae8b234161070fa3542303c2ed35ca66083d0ac299b81182317a2a3985269602b1fa1e822fcbda48e686d80b273f06b0a702ca7f42cbbbd2fc2b3601422c8bff6302eda3c61b293049636002649b16f3c1f0be2b6599d66493a4497cd795b10a2ab8220fafad24fa90e1bfcf39ecce337e705695c7a224bf9f445a287d6aab221341659ca4be7861f6ac4c9d33dac811e6
|
|
10613
|
+
M = 519b6e57781d40d897ec0c1b648d195526726b295438c9a70928ac25979563d72db91c8c42298a33b572edecdf40904c68a23337aa5341b56e92b0da5041
|
|
10614
|
+
|
|
10615
|
+
# To fully exercise BN_mod_exp_mont_consttime codepaths, we generate inputs at
|
|
10616
|
+
# different bitwidths. rsaz-avx2.pl only runs at 1024-bit moduli, and
|
|
10617
|
+
# x86_64-mont5.pl unrolls 8 64-bit words at a time, so we want to capture both
|
|
10618
|
+
# multiples of 512- and non-multiples. Also include moduli that are not quite a
|
|
10619
|
+
# full word.
|
|
10620
|
+
|
|
10621
|
+
# 512-bit
|
|
10622
|
+
ModExp = 00
|
|
10623
|
+
A = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e
|
|
10624
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10625
|
+
M = 8f42c9e9e351ba9b32ab0cf69da43f4acf7028d19cff6e5059ea0e3fcc97c97f36a31470044737d4c0c933ac441ecb29e32c81401523afdac7de9c3fd8493c97
|
|
10626
|
+
|
|
10627
|
+
# 1024-bit
|
|
10628
|
+
ModExp = 00
|
|
10629
|
+
A = 800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f
|
|
10630
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10631
|
+
M = 9da8dc26fdf4d2e49833b240ee552beb7a6e251caa91bfb5d6cafaf8ed9461877fda8f6ac299036d35806bc1ae7872e54eaac1ec6bee6d02c6621a9cf8883b3abc33c49b3e601203e0e86ef8f0562412cc689ee2670704583909ca6d7774c9f9f9f4d77d37fedef9cb51d207cb629ec02fa03b526fd6594bfa8f2da71238a0b7
|
|
10632
|
+
|
|
10633
|
+
# 1025-bit
|
|
10634
|
+
ModExp = 00
|
|
10635
|
+
A = 010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011
|
|
10636
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10637
|
+
M = 010223abfdda02e84e11cec8ee7fc784fa135733935f7b9054bb70f1f06d234d76dcf3beed55c7f39e955dc1fef2b65009240fd02f7a1b27a78fc2867144bf666efb929856db9f671c356c4c67a068a70fe83c52eebda03668872fd270d0794f0771d217fb6b93b12529a944f7f0496a9158757c55b8ee14f803f1d2d887e2f561
|
|
10638
|
+
|
|
10639
|
+
# 1088-bit
|
|
10640
|
+
ModExp = 00
|
|
10641
|
+
A = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003d
|
|
10642
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10643
|
+
M = e91f6d748773cb212a23aa348125615123b1800c9ea222c9374c757702ae4140fa333790ed8f6bf60a1d7dda65c2767cc5f33e32e333d19fbfb5a2b85795757c9ca070268763a618e9d33873d28a89bf88acd209efbb15b80cd33b92a6b3a682e1c91782fc24fb86ddff4f809219c977b54b99359094bbcc51dfe17b992ab24b74a17950ad754281
|
|
10644
|
+
|
|
10645
|
+
# 1472-bit
|
|
10646
|
+
ModExp = 00
|
|
10647
|
+
A = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d
|
|
10648
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10649
|
+
M = a8770362f4bfe4fc1ab0e52705c11a9b6ba235d5a5f22197c2d68e27ed18426ede3316af706aa79bcf943dbd51459eb15ae1f9386216b3f3a847f94440a65b97659bc5ba2adb67173714ecaa886c0b926d7a64ea45576f9d2171784ce7e801724d5b0abfd93357d538ea7ad3ad89a74f4660bdb66dfb5f684dcf00402e3cdf0ab58afd867c943c8f47b80268a789456aa7c50a619dd2f9f5e3f74b5d810f0f8dadbf4ad5b917cdcb156c4c132611c8b3b035118a9e03551f
|
|
10650
|
+
|
|
10651
|
+
# 1536-bit
|
|
10652
|
+
ModExp = 00
|
|
10653
|
+
A = 800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002
|
|
10654
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10655
|
+
M = 878cd000778f927b2f1a4b8bac86efd282079a7ac0d25e09ffd2f72fbc282e65e233929d2457c7b1d63c56fb706cdfa04fb87e654c578c98d7cf59c2293dc5641086b68db4867105981daaf147a0ee91f6932ef064deae4142c19e58d50c0686f0eaf778be72450f89a98b4680bbc5ffab942195e44dd20616150fd1deca058068ca31ab2f861e99082588f17a2025bf5e536150142fca3187a259c791fc721430f24d7e338f8dc02e693a7e694d42775e80f7f7c03600b6ae86b4aba2b0e991
|
|
10656
|
+
|
|
10657
|
+
# 2048-bit
|
|
10658
|
+
ModExp = 00
|
|
10659
|
+
A = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f
|
|
10660
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10661
|
+
M = 9f40a7535c561208ecb38e17c9336d9bc8484d335901b2cd42759cf03689227f6992f10cb6b586d767fbcdf30e9d82a0eda60d2694ccd0194fa96b50b56e0cdeec1951ea9e58b07e334a7f108841a0ab28256917fecea561388807ed124a17386a7a7b501f9cbf3404247a76948d0561e48137d3f9669e36f175731796aeaf78851f7d866917f661422186a4814aa35c066b5a90b9cfc918af769a9f0bb30c12581027df64ac328a0f07dbd20adb704479f6d0f233a131828c71bab19c3c34795ea4fb68aa632c6f688e5b3b84413c9031d8dc251003a590dec0dd09bfa6109ed4570701439b6f265b84ac2170c317357b5fbe5535e2bbdd93c1aacfdaa28c85
|
|
10662
|
+
|
|
10663
|
+
# 3072-bit
|
|
10664
|
+
ModExp = 00
|
|
10665
|
+
A = 80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d
|
|
10666
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10667
|
+
M = c23dfd244a58a668d514498a705c8f8f548311b24f0f98b023d2d33632534c2ae948d6641d41fd7a29fbbd594bfc7fdd6e8162cbb3056af3075347b6fc8876458d33a9d0ffdbcdf482de0c73d1310fd8fa8f9f92dd0dbb0e2034e98a30f6c11b482f7476c5b593f673a322b1130daa4314e9074270dce1076436f0d56cf196afcbb235a9a7b3ac85b9062e85fc0e63a12c468c787019f6805f9faab64fc6a0babc80785d88740243f11366bffb40ccbe8b2bb7a99a2c8238a6f656bb0117d7b2602aa400f4d77de5f93c673f13264ca70de949454e3e3f261993c1aa427e8ef4f507af744f71f3b4aaf3c981d44cc1bfb1eb1151168762b242b740573df698e500d99612e17dc760f7b3bf7c235e39e81ad7edbe6c07dbb8b139745bb394d61cb799bcafec5de074932b0b2d74797e779ac8d81f63a2b2e9baa229dfaa7f90f34ffade1d2ad022a3407d35eb2d7477c6ae8ad100f6e95c05b4f947c1fabfb11a17add384e6b4cd3a02fd9b43f46805c6c74e366b74aa3b766be7a5fbbd67fa81
|
|
10668
|
+
|
|
10669
|
+
# 4096-bit
|
|
10670
|
+
ModExp = 00
|
|
10671
|
+
A = 8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
|
|
10672
|
+
E = ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
|
10673
|
+
M = 8030411ecbddcb0fe4e76fd6b5bf542e8b015d1610cf96130ded12ba2cda0641bd9692080f218ea8b0d751845b519d95b843542ec8d2a07f1f93afe3189b69a4f35c983011c7f7928c3df458cc3eae85c36e6934a4b1bc0a67c8a521de336642c49e10a7ffa8d0af911aacc19e3900449161940f139220e099a150dcaf0ff96ffff6e726c1ac139969103cf6a828ac3adf0301506aa02787b4f570d5dde53a34acab8fec6fa94760abf16ee99954371ad65a6e899daab87b95811d069404991de9abe064ebbddf886e970f10d260c899dda940191a82d4c8bd36651363aff5493f4f59e700007dcadf37ebea7fcfd7600d16617ffea0d9ae659446d851d93c564e50e558f734c894d735fa273770703dab62844d9f01badf632f3d14a00f739c022c9be95f54e9cea46ec6da7cb11f4602e06962951c48204726b7f120ddbd0eb3566dc8d1e6f195a9196e96db33322d088b43aecffe9b4df182dd016aca0bd14f1c56cd1a18b89165c027029862b09ffd78e92ab614349c4fd67f49cb12cd33d0728930d0538bda57acef1365a73cc8fbac7d463b9e3c3bae0bb6224b080cdb8b5cd47d546d53111fdc22b7ff679bcfe27192920ee163b2be337d8cccc93b4de7d2d31934b9c0e97af291dcc1135b4a473bd37114eec3ba75c411887b57799d3188e7353f33a4d31735ebfc9fcfc044985148dd96da3876a5ab7ea7a404b411
|
|
10674
|
+
|
|
10607
10675
|
|
|
10608
10676
|
# RSAZ 512-bit.
|
|
10609
10677
|
#
|