diff options
author | zhangzhilei <zhangzhilei@360.cn> | 2023-04-17 12:57:47 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-04-18 18:49:45 +1000 |
commit | 524c2cab6a64f408a5444188c2052b4d76b06775 (patch) | |
tree | 40878f9eccef79e78234aa0e66b1b822cc5542eb /providers | |
parent | 8b6bbcaa7bd2f0b44d7d0d867acc6002ba09a6fd (diff) | |
download | openssl-new-524c2cab6a64f408a5444188c2052b4d76b06775.tar.gz |
fix test failure on Kunpeng-920
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20751)
Diffstat (limited to 'providers')
-rw-r--r-- | providers/implementations/ciphers/cipher_sm4_gcm_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_sm4_gcm_hw.c b/providers/implementations/ciphers/cipher_sm4_gcm_hw.c index e2d225036d..5082809982 100644 --- a/providers/implementations/ciphers/cipher_sm4_gcm_hw.c +++ b/providers/implementations/ciphers/cipher_sm4_gcm_hw.c @@ -40,7 +40,7 @@ static int sm4_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key, #ifdef VPSM4_EX_CAPABLE if (VPSM4_EX_CAPABLE) { - SM4_GCM_HW_SET_KEY_CTR_FN(ks, vpsm4_ex_set_decrypt_key, vpsm4_ex_encrypt, + SM4_GCM_HW_SET_KEY_CTR_FN(ks, vpsm4_ex_set_encrypt_key, vpsm4_ex_encrypt, vpsm4_ex_ctr32_encrypt_blocks); } else #endif /* VPSM4_EX_CAPABLE */ |