mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-10-19 04:31:18 +00:00
5e940c6068
The CCM specification (NIST SP 800-38C) mandates that the formatting of the additional data length l(a) changes when it is greater _or equal_ to 2^16 - 2^8 (>= 0xFF00). Since such lengths are not supported in mbed TLS, the operation should fail in such cases. This commit fixes an off-by-one error which allowed encryption/decryption to be executed when l(a) was equal to 0xFF00, resulting in an incorrect/non-standard length format being used. Fixes #3719. Signed-off-by: Fredrik Strupe <fredrik.strupe@silabs.com> |
||
---|---|---|
.. | ||
00README.md | ||
add-aes-ecb-to-psa.txt | ||
add_cipher_transparent_driver.txt | ||
add_sign_verify_keygen_transparent_driver.txt | ||
adjusting sliding_window_size_PR3592.txt | ||
bugfix_3524.txt | ||
bugfix_PR3294.txt | ||
comment_typo_in_mbedtls_ssl_set_bio.txt | ||
fix-typo.txt | ||
fix_ccm_add_length_check.txt |