mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-10-26 00:37:41 +03:00
Add comment explaining finish output size
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user