PROV: Fix mixup between general and specialized GCM implementations
authorRichard Levitte <levitte@openssl.org>
Wed, 8 Jan 2020 13:58:34 +0000 (14:58 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 14 Jan 2020 13:57:05 +0000 (14:57 +0100)
commit7c66ad65f959fa05ad7b95b0c84384d6e63e56f1
tree5126e6293824aefea593463aed6e78b7bee16329
parent8f020c3da571fd56c4a1ce16daad553193549a67
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)
providers/implementations/ciphers/cipher_aes_gcm_hw.c
providers/implementations/ciphers/cipher_aes_gcm_hw_aesni.inc
providers/implementations/ciphers/cipher_aes_gcm_hw_armv8.inc
providers/implementations/ciphers/cipher_aes_gcm_hw_t4.inc
providers/implementations/ciphers/cipher_aria_gcm_hw.c
providers/implementations/ciphers/ciphercommon_gcm_hw.c