Skip to content

crypto/mbedtls: Use config defining flag globally #3394

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m-gorecki
Copy link
Contributor

Now -DMBEDTLS_USER_CONFIG_FILE=<mbedtls/config_mynewt.h> flag is used globally for each build that depends on mbedtls package. This way we won't have to add this flag in each package that uses mbedtls.

m-gorecki added a commit to m-gorecki/mcuboot that referenced this pull request Mar 24, 2025
Now flag defining config file for MbedTLS is global
(see apache/mynewt-core#3394),
so we do not have to include the same flag in bootutil package.
This also enables MBEDTLS_CIPHER_MODE_CTR in boot_serial test
package, as it is used in unit tests and it is disabled by default.
m-gorecki added a commit to m-gorecki/mcuboot that referenced this pull request Mar 24, 2025
Now flag defining config file for MbedTLS is global
(see apache/mynewt-core#3394),
so we do not have to include the same flag in bootutil package.
This also enables MBEDTLS_CIPHER_MODE_CTR in boot_serial test
package, as it is used in unit tests and it is disabled by default.

Signed-off-by: Michal Gorecki <[email protected]>
@m-gorecki m-gorecki marked this pull request as ready for review March 24, 2025 09:56
Now -DMBEDTLS_USER_CONFIG_FILE=<mbedtls/config_mynewt.h> flag is
used globally for each build that depends on mbedtls package.
This way we won't have to add this flag in each package
that uses mbedtls.
m-gorecki added a commit to m-gorecki/mcuboot that referenced this pull request Mar 26, 2025
Now flag defining config file for MbedTLS is global
(see apache/mynewt-core#3394),
so we do not have to include the same flag in bootutil package.
This also enables MBEDTLS_CIPHER_MODE_CTR in boot_serial test
package, as it is used in unit tests and it is disabled by default.

Signed-off-by: Michal Gorecki <[email protected]>
m-gorecki added a commit to m-gorecki/mcuboot that referenced this pull request Apr 7, 2025
Now flag defining config file for MbedTLS is global
(see apache/mynewt-core#3394),
so we do not have to include the same flag in bootutil package.
This also enables MBEDTLS_CIPHER_MODE_CTR in boot_serial test
package, as it is used in unit tests and it is disabled by default.

Signed-off-by: Michal Gorecki <[email protected]>
utzig pushed a commit to mcu-tools/mcuboot that referenced this pull request Apr 8, 2025
Now flag defining config file for MbedTLS is global
(see apache/mynewt-core#3394),
so we do not have to include the same flag in bootutil package.
This also enables MBEDTLS_CIPHER_MODE_CTR in boot_serial test
package, as it is used in unit tests and it is disabled by default.

Signed-off-by: Michal Gorecki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant