Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion wolfcrypt/test/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -16748,10 +16748,12 @@ static wc_test_ret_t aesccm_128_test(void)
ERROR_OUT(WC_TEST_RET_ENC_NC, out);

/* Clear c2 to compare against p2. p2 should be set to zero in case of
* authentication fail. */
* authentication fail. With ACVP_VECTOR_TESTING, this is not cleared */
#ifndef ACVP_VECTOR_TESTING
XMEMSET(c2, 0, sizeof(c2));
if (XMEMCMP(p2, c2, sizeof(p2)))
ERROR_OUT(WC_TEST_RET_ENC_NC, out);
#endif
#endif

XMEMSET(t2, 0, sizeof(t2));
Expand Down
Loading