Add checks for INVALID_ARGUMENT for psa_pake_output/psa_pake_input in ecjpake_setup() test
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
0d001ef3da
commit
98506ab677
1 changed files with 3 additions and 0 deletions
|
@ -8198,6 +8198,9 @@ void ecjpake_setup( int alg_arg, int primitive_arg, int hash_arg, int role_arg,
|
|||
else
|
||||
PSA_ASSERT( status );
|
||||
|
||||
TEST_EQUAL( psa_pake_output( &operation, step, NULL, 0, NULL),
|
||||
PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
||||
TEST_ASSERT( output_len > 0 );
|
||||
|
||||
exit:
|
||||
|
|
Loading…
Reference in a new issue