[PATCH 2 of 3] QUIC: common cipher control constants instead of GCM-related
Sergey Kandaurov
pluknet at nginx.com
Fri Jun 16 11:46:37 UTC 2023
> On 9 Jun 2023, at 11:12, Roman Arutyunyan <arut at nginx.com> wrote:
>
> # HG changeset patch
> # User Roman Arutyunyan <arut at nginx.com>
> # Date 1686291802 -14400
> # Fri Jun 09 10:23:22 2023 +0400
> # Node ID 74fa16d2a34a63a83fa76b46a56d8d68d44fa1bf
> # Parent 1a9d3535b6bff6855132b2685d1ca8d6b7a3af6b
> QUIC: common cipher control constants instead of GCM-related.
>
> The constants are used for both GCM and CHACHAPOLY.
Looks good.
Although EVP_CTRL_GCM_* is a synonym for EVP_CTRL_AEAD_*,
there's no point to keep using them after ChaCha20Poly1305.
Well, historically GCM variants were a source of truth
in OpenSSL as well, which CCM macros used to point to :-).
https://git.openssl.org/?p=openssl.git;h=2391681082
https://git.openssl.org/?p=openssl.git;h=e640fa0200
--
Sergey Kandaurov
More information about the nginx-devel
mailing list