diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index 46eb1c933..01d5d19d1 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c @@ -677,6 +677,8 @@ psa_status_t mbedtls_psa_aead_finish( if( status == PSA_SUCCESS ) { + /* This will be zero for all supported algorithms currently, but left + * here for future support. */ *ciphertext_length = finish_output_size; *tag_length = operation->tag_length; }