-
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
Compilation for MBEDTLS_ARC4_C disabled and MBEDTLS_CIPHER_NULL_CIPHER enabled #1719
Comments
@TrinityTonic thank you for raising this issue! |
ARM Internal Ref: IOTSSL-2365 |
Move definition of `MBEDTLS_CIPHER_MODE_STREAM` to header file (`mbedtls_cipher_internal.h`), because it is used by more than one file. Raised by TrinityTonic in Mbed-TLS#1719
Add entry in ChangeLog for compilation error fix of Mbed-TLS#1719
Move definition of `MBEDTLS_CIPHER_MODE_STREAM` to header file (`mbedtls_cipher_internal.h`), because it is used by more than one file. Raised by TrinityTonic in Mbed-TLS#1719
Add entry in ChangeLog for compilation error fix of Mbed-TLS#1719
Move definition of `MBEDTLS_CIPHER_MODE_STREAM` to header file (`mbedtls_cipher_internal.h`), because it is used by more than one file. Raised by TrinityTonic in Mbed-TLS#1719
Add entry in ChangeLog for compilation error fix of Mbed-TLS#1719
Move definition of `MBEDTLS_CIPHER_MODE_STREAM` to header file (`mbedtls_cipher_internal.h`), because it is used by more than one file. Raised by TrinityTonic in Mbed-TLS#1719
Add entry in ChangeLog for compilation error fix of Mbed-TLS#1719
Description
Bug
mbed TLS build:
Version: 2.9.0 and probably older
Scenario:
Configuration file has MBEDTLS_ARC4_C disabled and MBEDTLS_CIPHER_NULL_CIPHER enabled. This will lead to a compilation error ('mbedtls_cipher_base_t' has no member named 'stream_func') coming from module cipher.c. This is because MBEDTLS_CIPHER_MODE_STREAM is enabled when MBEDTLS_CIPHER_NULL_CIPHER is enabled, which IMO should not be implemented like this.
The text was updated successfully, but these errors were encountered: