Fix copypasta in PSA_AEAD_DECRYPT_OUTPUT_SIZE
This commit is contained in:
parent
248010caa0
commit
36d477de44
@ -292,7 +292,7 @@
|
||||
*/
|
||||
#define PSA_AEAD_DECRYPT_OUTPUT_SIZE(alg, ciphertext_length) \
|
||||
(PSA_AEAD_TAG_LENGTH(alg) != 0 ? \
|
||||
(plaintext_length) - PSA_AEAD_TAG_LENGTH(alg) : \
|
||||
(ciphertext_length) - PSA_AEAD_TAG_LENGTH(alg) : \
|
||||
0)
|
||||
|
||||
/** A sufficient output buffer size for psa_aead_update().
|
||||
|
Loading…
Reference in New Issue
Block a user