diff options
author | Richard Levitte <levitte@openssl.org> | 2020-01-08 14:58:34 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-01-14 14:57:05 +0100 |
commit | 7c66ad65f959fa05ad7b95b0c84384d6e63e56f1 (patch) | |
tree | 5126e6293824aefea593463aed6e78b7bee16329 /providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc | |
parent | 8f020c3da571fd56c4a1ce16daad553193549a67 (diff) | |
download | openssl-new-7c66ad65f959fa05ad7b95b0c84384d6e63e56f1.tar.gz |
PROV: Fix mixup between general and specialized GCM implementations
providers/implementations/ciphers/ciphercommon_gcm_hw.c had an AES
specific GCM update function, while
providers/implementations/ciphers/cipher_aria_gcm_hw.c had the more
general implementation.
This moves them around to have the more general implementation in the
common source, and place the AES specialiation where it belongs.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10783)
Diffstat (limited to 'providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc')
-rw-r--r-- | providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc b/providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc index 2fc86982c0..ce558dc26e 100644 --- a/providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc +++ b/providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc @@ -26,7 +26,7 @@ static const PROV_GCM_HW aesni_gcm = { aesni_gcm_initkey, gcm_setiv, gcm_aad_update, - gcm_cipher_update, + generic_aes_gcm_cipher_update, gcm_cipher_final, gcm_one_shot }; |