Fix exit and formatting in CMAC test suite
Minor fixes following review.
This commit is contained in:
parent
03faeac7ec
commit
8739aa9403
1 changed files with 6 additions and 5 deletions
|
@ -188,6 +188,7 @@ void mbedtls_cmac_multiple_blocks( int cipher_type,
|
||||||
|
|
||||||
TEST_ASSERT( memcmp( output, expected_result, block_size ) == 0 );
|
TEST_ASSERT( memcmp( output, expected_result, block_size ) == 0 );
|
||||||
|
|
||||||
|
exit:
|
||||||
mbedtls_cipher_free( &ctx );
|
mbedtls_cipher_free( &ctx );
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
@ -299,7 +300,7 @@ void mbedtls_cmac_multiple_operations_same_key( int cipher_type,
|
||||||
|
|
||||||
TEST_ASSERT( memcmp( output, expected_result_b, block_size ) == 0 );
|
TEST_ASSERT( memcmp( output, expected_result_b, block_size ) == 0 );
|
||||||
|
|
||||||
|
exit:
|
||||||
mbedtls_cipher_free( &ctx );
|
mbedtls_cipher_free( &ctx );
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue