Add comment explaining finish output size

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-19 18:39:23 +01:00
parent 4c916e8d74
commit 8ff74217e4

View file

@ -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;
}