projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6bbca
)
fix test failure on Kunpeng-920
author
zhangzhilei
<zhangzhilei@360.cn>
Mon, 17 Apr 2023 04:57:47 +0000
(12:57 +0800)
committer
Pauli
<pauli@openssl.org>
Tue, 18 Apr 2023 08:49:45 +0000
(18:49 +1000)
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)
providers/implementations/ciphers/cipher_sm4_gcm_hw.c
patch
|
blob
|
history
diff --git
a/providers/implementations/ciphers/cipher_sm4_gcm_hw.c
b/providers/implementations/ciphers/cipher_sm4_gcm_hw.c
index e2d225036db9c41f2139c2061e77281d724b131f..508280998237ac197a28f4796f579c7e6cf180f7 100644
(file)
--- 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_
de
crypt_key, vpsm4_ex_encrypt,
+ SM4_GCM_HW_SET_KEY_CTR_FN(ks, vpsm4_ex_set_
en
crypt_key, vpsm4_ex_encrypt,
vpsm4_ex_ctr32_encrypt_blocks);
} else
#endif /* VPSM4_EX_CAPABLE */