Add support for psa-crypto in config.py #58

Closed
opened 2023-09-26 07:43:04 -05:00 by ronald-cron-arm · 2 comments
ronald-cron-arm commented 2023-09-26 07:43:04 -05:00 (Migrated from github.com)

Add support for psa-crypto repo in config.py regarding the options baremetal,baremetal_size,full,full_no_deprecated,realfull,crypto,crypto_baremetal,crypto_full.

The configuration file in psa-crypto is include/psa/crypto_config.h. It contains PSA_CRYPTO_ and PSA_WANT_ configuration options and thus config.py should be able to handle those configuration options.

We have in build_tree.py looks_like_psa_crypto_root() to detect if we are in the mbedtls or psa-crypto repo.

In psa-crypto, baremetal and crypto_baremetal are equivalent, as well as full and crypto_full. crypto does not do anything, just the default psa-crypto configuration.

Add support for psa-crypto repo in config.py regarding the options `baremetal`,`baremetal_size`,`full`,`full_no_deprecated`,`realfull`,`crypto`,`crypto_baremetal`,`crypto_full`. The configuration file in psa-crypto is include/psa/crypto_config.h. It contains PSA_CRYPTO_ and PSA_WANT_ configuration options and thus config.py should be able to handle those configuration options. We have in build_tree.py looks_like_psa_crypto_root() to detect if we are in the mbedtls or psa-crypto repo. In psa-crypto, `baremetal` and `crypto_baremetal` are equivalent, as well as `full` and `crypto_full`. crypto does not do anything, just the default psa-crypto configuration.
ronald-cron-arm commented 2024-05-21 09:15:22 -05:00 (Migrated from github.com)
Superseded by https://github.com/Mbed-TLS/mbedtls/issues/9157 and https://github.com/Mbed-TLS/mbedtls/issues/9158.
gilles-peskine-arm commented 2025-10-16 13:41:30 -05:00 (Migrated from github.com)

baremetal and baremetal_size still doesn't exist in TF-PSA-Crypto 1.0. This is covered by https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/526.

`baremetal` and `baremetal_size` still doesn't exist in TF-PSA-Crypto 1.0. This is covered by https://github.com/Mbed-TLS/TF-PSA-Crypto/issues/526.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto#58
No description provided.