diff --git a/configs/README.txt b/configs/README.txt new file mode 100644 index 000000000..bf8817f87 --- /dev/null +++ b/configs/README.txt @@ -0,0 +1,17 @@ +This directory contains example configuration files. + +The examples are generally focused on a particular usage case (eg, support for +a restricted number of ciphersuites) 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. Define TF_PSA_CRYPTO_CONFIG_FILE and adjust the include path accordingly. + For example, using cmake: + + find . -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} + + CFLAGS="-I$PWD/configs -DMTF_PSA_CRYPTO_CONFIG_FILE=''" cmake . + make