]> git.ipfire.org Git - thirdparty/openssl.git/commit
implement dupctx for chacha20_poly1305
authorNeil Horman <nhorman@openssl.org>
Fri, 1 Sep 2023 17:22:03 +0000 (13:22 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Sep 2023 14:01:31 +0000 (16:01 +0200)
commit603b4c332f817cfc14a0d8b30d1e5a198f575644
tree2993423cf7a2b4f3afa8ba1372e4b2d185aae86d
parent819ae76bb76540a4321e548851e23099ddf71e8e
implement dupctx for chacha20_poly1305

Same as chacha20 in the last commit, just clone the ctx and its
underlying tlsmac array if its allocated

Fixes #21887

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21933)

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