From fd4c259a7bcebe98dbeb273bf7edf53b35dcc367 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Mon, 7 Mar 2022 10:11:11 +0100 Subject: [PATCH] Use PSA_INIT() in mac_multipart_internal_func() Signed-off-by: Neil Armstrong --- tests/suites/test_suite_psa_crypto.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_psa_crypto.function b/tests/suites/test_suite_psa_crypto.function index dfde761e42..cf1a62d7a4 100644 --- a/tests/suites/test_suite_psa_crypto.function +++ b/tests/suites/test_suite_psa_crypto.function @@ -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 );