]> git.kaiwu.me - nginx.git/commit
QUIC: a new constant for AEAD tag length.
authorRoman Arutyunyan <arut@nginx.com>
Fri, 9 Jun 2023 06:25:54 +0000 (10:25 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Fri, 9 Jun 2023 06:25:54 +0000 (10:25 +0400)
commit58c11ee714856cfe62bd52d9b2d0a52401c1abfc
tree397f4f6368eb2d60a204f48099ea7813ddca6d0a
parent8b28fd7f26fe046007e8eb90ad7120ae033b7c58
QUIC: a new constant for AEAD tag length.

Previously used constant EVP_GCM_TLS_TAG_LEN had misleading name since it was
used not only with GCM, but also with CHACHAPOLY.  Now a new constant
NGX_QUIC_TAG_LEN introduced.  Luckily all AEAD algorithms used by QUIC have
the same tag length of 16.
src/event/quic/ngx_event_quic_openssl_compat.c
src/event/quic/ngx_event_quic_protection.c
src/event/quic/ngx_event_quic_protection.h
src/event/quic/ngx_event_quic_transport.c