Skip to content

Commit

Permalink
Merge pull request Mbed-TLS#4220 from bensze01/psa_aead_update_output…
Browse files Browse the repository at this point in the history
…_size

Fix revert of PSA_AEAD_UPDATE_OUTPUT_SIZE
  • Loading branch information
ronald-cron-arm authored Mar 12, 2021
2 parents fc86f3f + 437035b commit 6a69ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/psa/crypto_sizes.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
#define PSA_AEAD_UPDATE_OUTPUT_SIZE(alg, input_length) \
(PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) ? \
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
* supported key types and AEAD algorithms.
Expand Down

0 comments on commit 6a69ac4

Please sign in to comment.