projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b0a1e
)
Remove duplicate code
author
zhangzhilei
<zhangzhilei@360.cn>
Sun, 12 Mar 2023 07:39:34 +0000
(15:39 +0800)
committer
Pauli
<pauli@openssl.org>
Tue, 14 Mar 2023 21:21:52 +0000
(08:21 +1100)
since this code is also under GCM_HW_SET_KEY_CTR_FN macro
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/20491)
providers/implementations/ciphers/cipher_aes_gcm_hw.c
patch
|
blob
|
history
diff --git
a/providers/implementations/ciphers/cipher_aes_gcm_hw.c
b/providers/implementations/ciphers/cipher_aes_gcm_hw.c
index 145b207c47242dac64b951df268af3e9d4918238..c7a98cdfbfbddc112927885ef171df4db58bc31c 100644
(file)
--- a/
providers/implementations/ciphers/cipher_aes_gcm_hw.c
+++ b/
providers/implementations/ciphers/cipher_aes_gcm_hw.c
@@
-55,7
+55,6
@@
static int aes_gcm_initkey(PROV_GCM_CTX *ctx, const unsigned char *key,
GCM_HW_SET_KEY_CTR_FN(ks, AES_set_encrypt_key, AES_encrypt, NULL);
# endif /* AES_CTR_ASM */
}
- ctx->key_set = 1;
return 1;
}