mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
TEST: added psa_its_set expected failure test
Signed-off-by: pespacek <peter.spacek@silabs.com>
This commit is contained in:
@ -285,3 +285,16 @@ exit:
|
||||
cleanup( );
|
||||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE */
|
||||
void set_fail( int uid_arg, data_t *data,
|
||||
int expected_status )
|
||||
{
|
||||
psa_storage_uid_t uid = uid_arg;
|
||||
TEST_ASSERT( psa_its_set_wrap( uid, data->len, data->x, 0 ) ==
|
||||
(psa_status_t) expected_status );
|
||||
|
||||
exit:
|
||||
cleanup( );
|
||||
}
|
||||
/* END_CASE */
|
||||
|
Reference in New Issue
Block a user