Add comment explaining finish output size
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
4c916e8d74
commit
8ff74217e4
1 changed files with 2 additions and 0 deletions
|
@ -677,6 +677,8 @@ psa_status_t mbedtls_psa_aead_finish(
|
||||||
|
|
||||||
if( status == PSA_SUCCESS )
|
if( status == PSA_SUCCESS )
|
||||||
{
|
{
|
||||||
|
/* This will be zero for all supported algorithms currently, but left
|
||||||
|
* here for future support. */
|
||||||
*ciphertext_length = finish_output_size;
|
*ciphertext_length = finish_output_size;
|
||||||
*tag_length = operation->tag_length;
|
*tag_length = operation->tag_length;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue