mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
CLEANUP: quic_tls: QUIC_TLS_IV_LEN defined two times
Hopefully with the same value!
This commit is contained in:
parent
4ba3b4ef67
commit
31fe308acc
@ -41,6 +41,8 @@
|
|||||||
#define QUIC_TLS_IV_LEN 12 /* bytes */
|
#define QUIC_TLS_IV_LEN 12 /* bytes */
|
||||||
#define QUIC_TLS_KEY_LEN 32 /* bytes */
|
#define QUIC_TLS_KEY_LEN 32 /* bytes */
|
||||||
#define QUIC_TLS_SECRET_LEN 64 /* bytes */
|
#define QUIC_TLS_SECRET_LEN 64 /* bytes */
|
||||||
|
/* The ciphersuites for AEAD QUIC-TLS have 16-bytes authentication tags */
|
||||||
|
#define QUIC_TLS_TAG_LEN 16 /* bytes */
|
||||||
|
|
||||||
/* The TLS extensions for QUIC transport parameters */
|
/* The TLS extensions for QUIC transport parameters */
|
||||||
#define TLS_EXTENSION_QUIC_TRANSPORT_PARAMETERS 0x0039
|
#define TLS_EXTENSION_QUIC_TRANSPORT_PARAMETERS 0x0039
|
||||||
@ -86,12 +88,6 @@ enum quic_tls_pktns {
|
|||||||
QUIC_TLS_PKTNS_MAX,
|
QUIC_TLS_PKTNS_MAX,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The ciphersuites for AEAD QUIC-TLS have 16-bytes authentication tags and
|
|
||||||
* 12 bytes for IVs.
|
|
||||||
*/
|
|
||||||
#define QUIC_TLS_TAG_LEN 16
|
|
||||||
#define QUIC_TLS_IV_LEN 12
|
|
||||||
|
|
||||||
extern unsigned char initial_salt[20];
|
extern unsigned char initial_salt[20];
|
||||||
|
|
||||||
/* Key phase used for Key Update */
|
/* Key phase used for Key Update */
|
||||||
|
Loading…
Reference in New Issue
Block a user