Skip to content

Commit

Permalink
Fix AES key size for AES256 in ABI test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Jun 8, 2024
1 parent e587bb5 commit 558d42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/fipsmodule/modes/gcm_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ TEST(GCMTest, ABI) {

#if defined(OPENSSL_AARCH64) && defined(HW_GCM)
if (hwaes_capable() && gcm_pmull_capable()) {
static const uint8_t kKey[16] = {0};
static const uint8_t kKey[256/8] = {0};
uint8_t iv[16] = {0};

for (size_t key_bits = 128; key_bits <= 256; key_bits += 64) {
Expand Down

0 comments on commit 558d42a

Please sign in to comment.