Add missing const for signature parameter of psa_asymmetric_verify

This commit is contained in:
Gilles Peskine 2018-06-27 14:58:41 +02:00 committed by itayzafrir
parent 08bac713df
commit e9191ff90b
2 changed files with 2 additions and 2 deletions

View file

@ -1811,7 +1811,7 @@ psa_status_t psa_asymmetric_verify(psa_key_slot_t key,
size_t hash_length,
const uint8_t *salt,
size_t salt_length,
uint8_t *signature,
const uint8_t *signature,
size_t signature_size);
#define PSA_ASYMMETRIC_ENCRYPT_OUTPUT_SIZE(key_type, key_bits, alg) \

View file

@ -1741,7 +1741,7 @@ psa_status_t psa_asymmetric_verify( psa_key_slot_t key,
size_t hash_length,
const uint8_t *salt,
size_t salt_length,
uint8_t *signature,
const uint8_t *signature,
size_t signature_size )
{
key_slot_t *slot;