]> 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:15:16 +0000 (08:15 +1000)
commit1c63382294750c9111e23931dcd5637d60d1b6c4
tree0c295597ef6f1071cc22d9444573ddac361613e1
parent8cce5f4f55f1672a0659e04ce09b45bcb650c596
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)
providers/implementations/ciphers/cipher_chacha20_poly1305.c