add missing parameter output_size on psa_cipher_finish

This commit is contained in:
Moran Peker 2018-04-22 20:16:58 +03:00 committed by itayzafrir
parent 4c80d8331a
commit 0071b873a3
3 changed files with 6 additions and 4 deletions

View file

@ -1461,6 +1461,7 @@ psa_status_t psa_cipher_update(psa_cipher_operation_t *operation,
psa_status_t psa_cipher_finish(psa_cipher_operation_t *operation,
uint8_t *output,
size_t output_size,
size_t *output_length)
{
int ret = MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;