mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-10 12:19:56 +00:00
Changes PSA initialisation
Commit adds in call to PSA_INIT() Signed-off-by: Thomas Daubney <[email protected]>
This commit is contained in:
@@ -2473,7 +2473,7 @@ void aead_decrypt_setup( int key_type_arg, data_t *key_data,
|
||||
psa_aead_operation_t operation = psa_aead_operation_init();
|
||||
mbedtls_test_driver_aead_hooks = mbedtls_test_driver_aead_hooks_init();
|
||||
|
||||
PSA_ASSERT( psa_crypto_init( ) );
|
||||
PSA_INIT( );
|
||||
|
||||
psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT );
|
||||
psa_set_key_algorithm( &attributes, alg );
|
||||
|
||||
Reference in New Issue
Block a user