]> git.ipfire.org Git - thirdparty/openssl.git/commit
Avoid another copy of key schedule pointer in PROV_GCM_CTX
authorTomas Mraz <tomas@openssl.org>
Fri, 13 Oct 2023 14:22:59 +0000 (16:22 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 12 Jun 2024 22:26:13 +0000 (00:26 +0200)
commitabcd64a5588413ac0fe267684848d321abd1f63e
tree49e475c51915436b91608f6aa708f42ca8b73ebb
parent76a84da4a43c495de61e36d00395c6755fdcc374
Avoid another copy of key schedule pointer in PROV_GCM_CTX

This copy would need an update on dupctx but
rather than doing it just remove the copy.

This fixes failures of evp_test on Windows with
new CPUs.

Fixes #24135

(cherry picked from commit 143ca66cf00c88950d689a8aa0c89888052669f4)

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/24565)
providers/implementations/ciphers/cipher_aes_gcm_hw_vaes_avx512.inc
providers/implementations/ciphers/cipher_sm4_gcm_hw.c
providers/implementations/include/prov/ciphercommon_gcm.h