mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Use PSA_INIT() in mac_multipart_internal_func()
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
@@ -627,7 +627,7 @@ static int mac_multipart_internal_func( int key_type_arg, data_t *key_data,
|
|||||||
int test_ok = 0;
|
int test_ok = 0;
|
||||||
size_t part_count = 0;
|
size_t part_count = 0;
|
||||||
|
|
||||||
PSA_ASSERT( psa_crypto_init( ) );
|
PSA_INIT( );
|
||||||
|
|
||||||
if( is_verify )
|
if( is_verify )
|
||||||
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_VERIFY_HASH );
|
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_VERIFY_HASH );
|
||||||
|
Reference in New Issue
Block a user