]> 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>
Fri, 5 Jan 2024 11:44:13 +0000 (12:44 +0100)
commite7ef50c3e3b670a476aa0e864da5b5cc874b3528
tree210c7001a2a17a6219141435f4f4f0aa21b47511
parenta5bea0a8d423c7e52052d903b99f75034e78cecf
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>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23102)
providers/implementations/ciphers/cipher_chacha20_poly1305.c