mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-11 19:37:23 +00:00
Update PSA_CIPHER_ENCRYPT_OUTPUT_MAX_SIZE
Signed-off-by: gabor-mezei-arm <[email protected]>
This commit is contained in:
@@ -971,7 +971,8 @@
|
|||||||
*/
|
*/
|
||||||
#define PSA_CIPHER_ENCRYPT_OUTPUT_MAX_SIZE(input_length) \
|
#define PSA_CIPHER_ENCRYPT_OUTPUT_MAX_SIZE(input_length) \
|
||||||
(PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, \
|
(PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE, \
|
||||||
(input_length) + PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE))
|
(input_length) + 1) + \
|
||||||
|
PSA_CIPHER_IV_MAX_SIZE)
|
||||||
|
|
||||||
/** The maximum size of the output of psa_cipher_decrypt(), in bytes.
|
/** The maximum size of the output of psa_cipher_decrypt(), in bytes.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user