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>
Mon, 16 Oct 2023 10:12:36 +0000 (12:12 +0200)
commit143ca66cf00c88950d689a8aa0c89888052669f4
tree7779f77c5cc5963d76f6678e36c693c95508d4cd
parentcd138c33d82cc889fe6a16d18806fbe939279d25
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.

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22384)
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