From 95271f10c372c1a805cbc875aec429bead7ef3c9 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Wed, 23 Jun 2021 16:50:45 +0100 Subject: [PATCH] Call set_nonce direct rather than by wrapper Signed-off-by: Paul Elliott --- library/psa_crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 714e556b5..9fb3a2094 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3569,8 +3569,7 @@ psa_status_t psa_aead_generate_nonce( psa_aead_operation_t *operation, if( status != PSA_SUCCESS ) goto exit; - status = psa_driver_wrapper_aead_set_nonce( operation, nonce, - required_nonce_size ); + status = psa_aead_set_nonce( operation, nonce, required_nonce_size ); exit: