-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates configs/README.txt and configs/ext/README.md to reflect the necessary files which were moved to TF-PSA-Crypto. Signed-off-by: Harry Ramsey <[email protected]>
- Loading branch information
1 parent
925ed73
commit 0ea444c
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
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 -DCRYPTO_CONFIG_FILE='<foo.h>'" cmake . | ||
make | ||
|
||
Note that the second method also works if you want to keep your custom | ||
configuration file outside the TF-PSA-Crypto tree. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters