mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 23:05:05 +00:00
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) \
|
#define PSA_AEAD_DECRYPT_OUTPUT_SIZE(alg, ciphertext_length) \
|
||||||
(PSA_AEAD_TAG_LENGTH(alg) != 0 ? \
|
(PSA_AEAD_TAG_LENGTH(alg) != 0 ? \
|
||||||
(plaintext_length) - PSA_AEAD_TAG_LENGTH(alg) : \
|
(ciphertext_length) - PSA_AEAD_TAG_LENGTH(alg) : \
|
||||||
0)
|
0)
|
||||||
|
|
||||||
/** A sufficient output buffer size for psa_aead_update().
|
/** A sufficient output buffer size for psa_aead_update().
|
||||||
|
|
Loading…
Reference in a new issue