Files
mbedtls/tf-psa-crypto/configs/README.txt
T
2026-04-02 14:42:07 +08:00

21 lines
904 B
Plaintext

This directory contains example configuration files.
The examples are generally focused on a particular usage case (eg, support for
a restricted number of cryptographic mechanisms) and aim at minimizing resource
usage for this target. They can be used as a basis for custom configurations.
These files are complete replacements for the default crypto_config.h. To use
one of them, you can pick one of the following methods:
1. Replace the default file include/psa/crypto_config.h with the chosen one.
2. Use the TF_PSA_CRYPTO_CONFIG_FILE CMake option. For example, to build
out-of-tree with the crypto-config-ccm-aes-sha256.h configuration file:
cmake -DTF_PSA_CRYPTO_CONFIG_FILE="configs/crypto-config-ccm-aes-sha256.h" \
-B build-ccmonly
cmake --build build-ccmonly
The second method also works if you want to keep your custom configuration
file outside the TF-PSA-Crypto tree.