Skip to content

Commit 44f6d0b

Browse files
Ron EldorRon Eldor
Ron Eldor
authored and
Ron Eldor
committed
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 Mbed-TLS#1996.
1 parent b85e35d commit 44f6d0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/suites/test_suite_ccm.data

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ CCM lengths #6 tag length not even
3636
ccm_lengths:5:10:5:7:MBEDTLS_ERR_CCM_BAD_INPUT
3737

3838
CCM lenghts #7 AD too long (2^16 - 2^8 + 1)
39+
depends_on:!MBEDTLS_CCM_ALT
3940
ccm_lengths:5:10:65281:8:MBEDTLS_ERR_CCM_BAD_INPUT
4041

4142
CCM lengths #8 msg too long for this IV length (2^16, q = 2)

0 commit comments

Comments
 (0)