Add tests for valid NULL in ccm_free()
This commit is contained in:
parent
508bcd96db
commit
dd63359dae
2 changed files with 12 additions and 0 deletions
|
@ -4,6 +4,9 @@ mbedtls_ccm_self_test:
|
|||
CCM - Invalid parameters
|
||||
ccm_invalid_param:
|
||||
|
||||
CCM - Valid parameters
|
||||
ccm_valid_param:
|
||||
|
||||
CCM init #1 AES-128: OK
|
||||
depends_on:MBEDTLS_AES_C
|
||||
mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_AES:128:0
|
||||
|
|
|
@ -530,3 +530,12 @@ exit:
|
|||
return;
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void ccm_valid_param( )
|
||||
{
|
||||
TEST_VALID_PARAM( mbedtls_ccm_free( NULL ) );
|
||||
exit:
|
||||
return;
|
||||
}
|
||||
/* END_CASE */
|
||||
|
|
Loading…
Reference in a new issue