commit | 69bf5fc901d4d2838b8a2df03d7c733ade6d5602 | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Sun Sep 19 18:26:37 2021 +0100 |
committer | Paul Elliott <paul.elliott@arm.com> | Sun Sep 19 18:43:17 2021 +0100 |
tree | fc2c8a8a7dd10d0ab7566c0ead64f928d51750eb | |
parent | 70f447dfe59261e28f175280643244fe519f335a [diff] |
Const correctness Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 1549562..8af26d3 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c
@@ -3713,7 +3713,7 @@ 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 );