mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-08 22:45:35 +00:00
Add tests for valid NULL in gcm_free()
This commit is contained in:
parent
8ffc92a1e8
commit
5fccb3edf3
|
@ -263,6 +263,15 @@ exit:
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void gcm_valid_param( )
|
||||||
|
{
|
||||||
|
TEST_VALID_PARAM( mbedtls_gcm_free( NULL ) );
|
||||||
|
exit:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_SELF_TEST */
|
/* BEGIN_CASE depends_on:MBEDTLS_SELF_TEST */
|
||||||
void gcm_selftest( )
|
void gcm_selftest( )
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
GCM - Invalid parameters
|
GCM - Invalid parameters
|
||||||
gcm_invalid_param:
|
gcm_invalid_param:
|
||||||
|
|
||||||
|
GCM - Valid parameters
|
||||||
|
gcm_valid_param:
|
||||||
|
|
Loading…
Reference in a new issue