Skip to content

Commit

Permalink
Minor fix in aead test (#1165)
Browse files Browse the repository at this point in the history
Co-authored-by: dkostic <[email protected]>
  • Loading branch information
dkostic and dkostic authored Aug 18, 2023
1 parent c837205 commit 3cf948b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/cipher_extra/aead_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,7 @@ TEST(AEADTest, TestGCMSIV128Change16Alignment) {
uint8_t pt[16] = {0};
uint8_t ct[32] = {0};
EVP_AEAD_CTX* encrypt_ctx_128 = (EVP_AEAD_CTX*)malloc(sizeof(EVP_AEAD_CTX) + 8);
ASSERT_TRUE(encrypt_ctx_128);

const EVP_AEAD *cipher_128 = EVP_aead_aes_128_gcm_siv();

Expand Down Expand Up @@ -1343,6 +1344,7 @@ TEST(AEADTest, TestGCMSIV256Change16Alignment) {
uint8_t pt[16] = {0};
uint8_t ct[32] = {0};
EVP_AEAD_CTX* encrypt_ctx_256 = (EVP_AEAD_CTX*)malloc(sizeof(EVP_AEAD_CTX) + 8);
ASSERT_TRUE(encrypt_ctx_256);

const EVP_AEAD *cipher_256 = EVP_aead_aes_256_gcm_siv();

Expand Down

0 comments on commit 3cf948b

Please sign in to comment.