mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 02:28:11 +00:00
Test AD too long only when CCM_ALT not defined
Since the AD too long is a limitation on Mbed TLS, HW accelerators may support this. Run the test for AD too long, only if `MBEDTLS_CCM_ALT` is not defined. Addresses comment in #1996.
This commit is contained in:
parent
556d7d9e3b
commit
6dbb9aabf8
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ CCM lengths #6 tag length not even
|
||||||
ccm_lengths:5:10:5:7:MBEDTLS_ERR_CCM_BAD_INPUT
|
ccm_lengths:5:10:5:7:MBEDTLS_ERR_CCM_BAD_INPUT
|
||||||
|
|
||||||
CCM lenghts #7 AD too long (2^16 - 2^8 + 1)
|
CCM lenghts #7 AD too long (2^16 - 2^8 + 1)
|
||||||
|
depends_on:!MBEDTLS_CCM_ALT
|
||||||
ccm_lengths:5:10:65281:8:MBEDTLS_ERR_CCM_BAD_INPUT
|
ccm_lengths:5:10:65281:8:MBEDTLS_ERR_CCM_BAD_INPUT
|
||||||
|
|
||||||
CCM lengths #8 msg too long for this IV length (2^16, q = 2)
|
CCM lengths #8 msg too long for this IV length (2^16, q = 2)
|
||||||
|
|
Loading…
Reference in a new issue