Skip to content

tests: benchmark: mbedtls: remove legacy crypto Kconfig#102042

Merged
MaureenHelm merged 1 commit intozephyrproject-rtos:mainfrom
valeriosetti:fix-mbedtls-benchmark
Jan 13, 2026
Merged

tests: benchmark: mbedtls: remove legacy crypto Kconfig#102042
MaureenHelm merged 1 commit intozephyrproject-rtos:mainfrom
valeriosetti:fix-mbedtls-benchmark

Conversation

@valeriosetti
Copy link
Contributor

This is a leftover from the past that is no more required and that should be removed in order to prepare for the next Mbed TLS release.

This is a leftover from the past that is no more required and that should
be removed in order to prepare for the next Mbed TLS release.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Comment on lines 5 to 6
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're at it, how about changing this to CONFIG_PSA_CRYPTO=y?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I see the folder's called mbedtls so maybe we'd then need to rename it as well...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left these Kconfigs intentionally when I reshaped this benchmark. The idea of this test was to benchmark the performance of Mbed TLS so I wanted to keep the same goal. That's why I kept the selection of CONFIG_MBEDTLS and CONFIG_MBEDTLS_PSA_CRYPTO_C instead of the newer CONFIG_PSA_CRYPTO.
Do you think it's worth to make the scope of this test broader?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah makes sense, I think we actually even already discussed this haha, fine as is, could be worth generalizing to any PSA Crypto provider (I don't think it'd be much work?) but not in the scope of this PR.

@MaureenHelm MaureenHelm merged commit 24db359 into zephyrproject-rtos:main Jan 13, 2026
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Benchmarks area: mbedTLS / PSA Crypto area: Tests Issues related to a particular existing or missing test size: XS A PR changing only a single line of code

6 participants