Skip to content
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

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

Closed
ronald-cron-arm opened this issue Sep 26, 2023 · 1 comment
Closed

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

ronald-cron-arm opened this issue Sep 26, 2023 · 1 comment
Labels
enhancement New feature or request size-m Estimated task size: medium (~1w)

Comments

@ronald-cron-arm
Copy link
Contributor

ronald-cron-arm commented Sep 26, 2023

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
Copy link
Contributor Author

Superseded by Mbed-TLS/mbedtls#9157 and Mbed-TLS/mbedtls#9158.

@ronald-cron-arm ronald-cron-arm closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size-m Estimated task size: medium (~1w)
Projects
Status: PSA repo Q4 - all.sh components
Development

No branches or pull requests

2 participants