Skip to content

Commit

Permalink
reset
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed May 7, 2024
1 parent a4c7e85 commit cf2ac31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/aes256_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,7 @@ static int s_aes_test_encrypt_empty_input(struct aws_allocator *allocator, void

ASSERT_INT_EQUALS(0, encrypt_buf.len);

aws_symmetric_cipher_reset(cipher);
struct aws_byte_buf decrypted_buf = {0};
aws_byte_buf_init(&decrypted_buf, allocator, AWS_AES_256_CIPHER_BLOCK_SIZE);
struct aws_byte_cursor ciphertext_cur = aws_byte_cursor_from_buf(&encrypt_buf);
Expand Down

0 comments on commit cf2ac31

Please sign in to comment.