mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 12:24:19 +01:00
Merge pull request #4220 from bensze01/psa_aead_update_output_size
Fix revert of PSA_AEAD_UPDATE_OUTPUT_SIZE
This commit is contained in:
commit
6a69ac4453
@ -398,7 +398,7 @@
|
|||||||
#define PSA_AEAD_UPDATE_OUTPUT_SIZE(alg, input_length) \
|
#define PSA_AEAD_UPDATE_OUTPUT_SIZE(alg, input_length) \
|
||||||
(PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) ? \
|
(PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) ? \
|
||||||
PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, (input_length)) : \
|
PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, (input_length)) : \
|
||||||
(input_length)) : \
|
(input_length))
|
||||||
|
|
||||||
/** A sufficient output buffer size for psa_aead_update(), for any of the
|
/** A sufficient output buffer size for psa_aead_update(), for any of the
|
||||||
* supported key types and AEAD algorithms.
|
* supported key types and AEAD algorithms.
|
||||||
|
Loading…
Reference in New Issue
Block a user