]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add dupctx support to aead ciphers
authorNeil Horman <nhorman@openssl.org>
Fri, 1 Sep 2023 13:10:35 +0000 (09:10 -0400)
committerTomas Mraz <tomas@openssl.org>
Tue, 12 Sep 2023 14:00:57 +0000 (16:00 +0200)
commita982016c56f8c631e0906b0a33f4feaf3d20a2ff
tree28a8fb45c04e742fa920b083690cdc2375c5c12e
parentd739b3e05e749d4310b7310c007a4f3b8d5f8556
Add dupctx support to aead ciphers

Add dupctx method support to to ciphers implemented with IMPLEMENT_aead_cipher
This includes:
aes-<kbits>-gcm
aria-<kbits>-ccm
aria-<kbits>-gcm
sm4-<kibs>-gcm

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 0239fb3db77e9de2031c5054854cba8e417c1b72)
providers/implementations/ciphers/cipher_aes_ccm.c
providers/implementations/ciphers/cipher_aes_gcm.c
providers/implementations/ciphers/cipher_aria_ccm.c
providers/implementations/ciphers/cipher_aria_gcm.c
providers/implementations/ciphers/cipher_sm4_ccm.c
providers/implementations/ciphers/cipher_sm4_gcm.c
providers/implementations/include/prov/ciphercommon_aead.h