Use PSA_INIT() in mac_multipart_internal_func()

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-03-07 10:11:11 +01:00
parent fe6da1c35c
commit fd4c259a7b

View File

@ -627,7 +627,7 @@ static int mac_multipart_internal_func( int key_type_arg, data_t *key_data,
int test_ok = 0;
size_t part_count = 0;
PSA_ASSERT( psa_crypto_init( ) );
PSA_INIT( );
if( is_verify )
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_VERIFY_HASH );