mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: quic: Reduce the maximum length of TLS secrets
The maximum length of the secrets derived by the TLS stack is 384 bits. This reduces the size of the objects provided by the "quic_tls_secret" pool by 16 bytes. Should be backported as far as 2.6
This commit is contained in:
parent
3097be92f1
commit
a5c1a3b774
@ -44,7 +44,7 @@
|
||||
/* AEAD iv and secrete key lengths */
|
||||
#define QUIC_TLS_IV_LEN 12 /* bytes */
|
||||
#define QUIC_TLS_KEY_LEN 32 /* bytes */
|
||||
#define QUIC_TLS_SECRET_LEN 64 /* bytes */
|
||||
#define QUIC_TLS_SECRET_LEN 48 /* bytes */
|
||||
/* The ciphersuites for AEAD QUIC-TLS have 16-bytes authentication tags */
|
||||
#define QUIC_TLS_TAG_LEN 16 /* bytes */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user