Call set_nonce direct rather than by wrapper

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-06-23 16:50:45 +01:00
parent 8fc45169f1
commit 95271f10c3

View file

@ -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: