From 82d1daa268944295080f6b688aec1b13ae9f454d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Thu, 1 Jul 2021 17:48:46 +0200 Subject: [PATCH] MINOR: quic: Add the QUIC v1 initial salt. See initial_salt value for QUIC-TLS RFC 9001 at https://www.rfc-editor.org/rfc/rfc9001.html#name-initial-secrets --- src/quic_tls.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/quic_tls.c b/src/quic_tls.c index f80565ec0..c27946a43 100644 --- a/src/quic_tls.c +++ b/src/quic_tls.c @@ -27,6 +27,12 @@ unsigned char initial_salt[20] = { 0x43, 0x90, 0xa8, 0x99 }; +unsigned char initial_salt_v1[20] = { + 0x38, 0x76, 0x2c, 0xf7, 0xf5, 0x59, 0x34, 0xb3, + 0x4d, 0x17, 0x9a, 0xe6, 0xa4, 0xc8, 0x0c, 0xad, + 0xcc, 0xbb, 0x7f, 0x0a +}; + /* Dump the RX/TX secrets of QUIC TLS secrets. */ void quic_tls_keys_hexdump(struct buffer *buf, struct quic_tls_secrets *secs) {