Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
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 #20491)
  • Loading branch information
zzl360 authored and paulidale committed Mar 14, 2023
1 parent 93b0a1e commit 6b08b78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion providers/implementations/ciphers/cipher_aes_gcm_hw.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6b08b78

Please sign in to comment.