]> git.ipfire.org Git - thirdparty/openssl.git/commit
chacha_poly: fix settable ctx param list
authorPauli <ppzgs1@gmail.com>
Wed, 30 Apr 2025 22:12:00 +0000 (08:12 +1000)
committerPauli <ppzgs1@gmail.com>
Thu, 8 May 2025 22:16:09 +0000 (08:16 +1000)
commit3d6b07f85067962e0d0a9c6329b450f267434204
treead2898c5c8f90cfc7cc58d6c081476c97d26df15
parentaf712a59332ff9052d4618a70dc662cb637556bf
chacha_poly: fix settable ctx param list

The settable list used the generic AEAD cipher list which included
an extra parameter and omitted the IV length one.  The set ctx param call
was custom so the errant list didn't directly impact operation.

The comment about ignoring OSSL_CIPHER_PARAM_AEAD_MAC_KEY is completely bogus.
That parameter isn't accepted either here or by the shared AEAD cipher params.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/27534)

(cherry picked from commit 1c63382294750c9111e23931dcd5637d60d1b6c4)
providers/implementations/ciphers/cipher_chacha20_poly1305.c