commit | 8ff74217e46cd9c1ecea05dbfcf1a20926cc3d56 | [log] [tgz] |
---|---|---|
author | Paul Elliott <paul.elliott@arm.com> | Sun Sep 19 18:39:23 2021 +0100 |
committer | Paul Elliott <paul.elliott@arm.com> | Sun Sep 19 18:43:17 2021 +0100 |
tree | 8428a8496800305c05cfabc54348a3d4e2b78585 | |
parent | 4c916e8d74916ccaf0fce9600c03151f0b9e862e [diff] |
Add comment explaining finish output size Signed-off-by: Paul Elliott <paul.elliott@arm.com>
diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index 46eb1c9..01d5d19 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c
@@ -677,6 +677,8 @@ 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; }