Const correctness

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-19 18:26:37 +01:00
parent 70f447dfe5
commit 69bf5fc901

View file

@ -3713,7 +3713,7 @@ exit:
return( status );
}
static psa_status_t psa_aead_final_checks( psa_aead_operation_t *operation )
static psa_status_t psa_aead_final_checks( const psa_aead_operation_t *operation )
{
if( operation->id == 0 || !operation->nonce_set )
return( PSA_ERROR_BAD_STATE );