Corrects mistake from encrypt setup test
This commit alters an ASSERT_COMPARE statement at the end of the aead_encrypt_setup test. This is to correct a mistake introduced by the preceding PR. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
dbb9754541
commit
28428f45c7
1 changed files with 1 additions and 3 deletions
|
@ -2432,9 +2432,7 @@ void aead_encrypt_setup( int key_type_arg, data_t *key_data,
|
|||
|
||||
/* Compare output_data and expected_ciphertext */
|
||||
ASSERT_COMPARE( expected_ciphertext->x, expected_ciphertext->len,
|
||||
output_data, output_length );
|
||||
|
||||
TEST_EQUAL( output_length + finish_output_length, expected_ciphertext->len );
|
||||
output_data, output_length + finish_output_length );
|
||||
|
||||
/* Compare tag and expected_tag */
|
||||
ASSERT_COMPARE( expected_tag->x, expected_tag->len, tag_buffer, tag_length );
|
||||
|
|
Loading…
Reference in a new issue