-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Why need to limit the add
length?
#1996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No needed. Thanks. |
According to RFC 3610:
Mbed TLS has a limitation for the first case, but the tests should check this limitation only when |
ARM Internal Ref: IOTSSL-2640 |
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.
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.
PR #2228 has been merged. This issue can be closed. |
Description
Question
In CCM, why need to limit the
add
length as below?https://github.com/ARMmbed/mbedtls/blob/9ce5160feaf889d5e4c337458edc1068bb76920a/library/ccm.c#L165-L166
Is there any SPEC to limit it? Could we remove that?
Thanks,
Edison
The text was updated successfully, but these errors were encountered: