third_party/boringssl/ssl/tls13_both.cc in grpc-flamingo-1.11.0 vs third_party/boringssl/ssl/tls13_both.cc in grpc-flamingo-1.15.0

- old
+ new

@@ -41,9 +41,17 @@ 0xcf, 0x21, 0xad, 0x74, 0xe5, 0x9a, 0x61, 0x11, 0xbe, 0x1d, 0x8c, 0x02, 0x1e, 0x65, 0xb8, 0x91, 0xc2, 0xa2, 0x11, 0x16, 0x7a, 0xbb, 0x8c, 0x5e, 0x07, 0x9e, 0x09, 0xe2, 0xc8, 0xa8, 0x33, 0x9c, }; +// This value was selected by truncating the SHA-256 hash of "Draft TLS 1.3 +// Downgrade" to 8 bytes: +// +// echo -n 'Draft TLS 1.3 Downgrade' | sha256sum | head -c 16 +const uint8_t kDraftDowngradeRandom[8] = {0x95, 0xb9, 0x9f, 0x87, + 0x22, 0xfe, 0x9b, 0x64}; + + bool tls13_get_cert_verify_signature_input( SSL_HANDSHAKE *hs, Array<uint8_t> *out, enum ssl_cert_verify_context_t cert_verify_context) { ScopedCBB cbb; if (!CBB_init(cbb.get(), 64 + 33 + 1 + 2 * EVP_MAX_MD_SIZE)) {