File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ To use one of these pairs, you can pick one of the following methods:
15151. Replace the default files include/mbedtls/mbedtls_config.h and
1616 tf-psa-crypto/include/psa/crypto_config.h with the chosen ones.
1717
18- 2. Use the MBEDTLS_CONFIG_FILE and TF_PSA_CRYPTO_CONFIG_FILE options of the
19- CMake build system:
18+ 2. Use the MBEDTLS_CONFIG_FILE and TF_PSA_CRYPTO_CONFIG_FILE CMake options. For
19+ example, to build out-of-tree with the config-ccm-psk-tls1_2.h and
20+ crypto-config-ccm-psk-tls1_2.h configuration pair:
2021
21- cmake -DMBEDTLS_CONFIG_FILE="path-to-your-mbedtls-config-file" \
22- -DTF_PSA_CRYPTO_CONFIG_FILE="path-to-your-tf-psa-crypto-config-file" .
23- make
22+ cmake -DMBEDTLS_CONFIG_FILE="configs/config-ccm-psk-tls1_2.h" \
23+ -DTF_PSA_CRYPTO_CONFIG_FILE="configs/crypto-config-ccm-psk-tls1_2.h"
24+ -B build-psktls12 .
25+ cmake --build build-psktls12
2426
2527The second method also works if you want to keep your custom configuration
2628files outside the Mbed TLS tree.
You can’t perform that action at this time.
0 commit comments