mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-24 23:41:10 +00:00
Add tests for valid NULL in ccm_free()
This commit is contained in:
parent
508bcd96db
commit
dd63359dae
|
@ -4,6 +4,9 @@ mbedtls_ccm_self_test:
|
||||||
CCM - Invalid parameters
|
CCM - Invalid parameters
|
||||||
ccm_invalid_param:
|
ccm_invalid_param:
|
||||||
|
|
||||||
|
CCM - Valid parameters
|
||||||
|
ccm_valid_param:
|
||||||
|
|
||||||
CCM init #1 AES-128: OK
|
CCM init #1 AES-128: OK
|
||||||
depends_on:MBEDTLS_AES_C
|
depends_on:MBEDTLS_AES_C
|
||||||
mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_AES:128:0
|
mbedtls_ccm_setkey:MBEDTLS_CIPHER_ID_AES:128:0
|
||||||
|
|
|
@ -530,3 +530,12 @@ exit:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* 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