-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
ECB MODE doesn't need IV #1091
Labels
Comments
Hi @EzDevelop |
ARM Internal Ref: IOTSSL-1753 |
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Sep 25, 2017
1. Add tests for 'mbedtls_cipher_crypt()' API 2. Resolves Mbed-TLS#1091, by ignoring IV when the cipher mode is MBEDTLS_MODE_ECB
4 tasks
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jun 21, 2018
1. Add tests for 'mbedtls_cipher_crypt()' API 2. Resolves Mbed-TLS#1091, by ignoring IV when the cipher mode is MBEDTLS_MODE_ECB
RonEld
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jun 21, 2018
1. Add tests for 'mbedtls_cipher_crypt()' API 2. Resolves Mbed-TLS#1091, by ignoring IV when the cipher mode is MBEDTLS_MODE_ECB
simonbutcher
pushed a commit
to RonEld/mbedtls
that referenced
this issue
Jul 23, 2018
1. Add tests for 'mbedtls_cipher_crypt()' API 2. Resolves Mbed-TLS#1091, by ignoring IV when the cipher mode is MBEDTLS_MODE_ECB
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
Here are the comments in the header file https://github.com/ARMmbed/mbedtls/blob/72ea31b026e1fc61b01662474aa5125817b968bc/include/mbedtls/cipher.h#L624-L638
But the all-in-one function 'mbedtls_cipher_crypt' still check for IV data.
https://github.com/ARMmbed/mbedtls/blob/72ea31b026e1fc61b01662474aa5125817b968bc/library/cipher.c#L812-L835
https://github.com/ARMmbed/mbedtls/blob/72ea31b026e1fc61b01662474aa5125817b968bc/library/cipher.c#L214-L221
The text was updated successfully, but these errors were encountered: