mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 09:48:31 +00:00
Add tests for valid NULL in gcm_free()
This commit is contained in:
parent
8ffc92a1e8
commit
5fccb3edf3
2 changed files with 12 additions and 0 deletions
|
@ -263,6 +263,15 @@ exit:
|
|||
}
|
||||
/* 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 */
|
||||
void gcm_selftest( )
|
||||
{
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
GCM - Invalid parameters
|
||||
gcm_invalid_param:
|
||||
|
||||
GCM - Valid parameters
|
||||
gcm_valid_param:
|
||||
|
|
Loading…
Reference in a new issue