NOTICE("BL2: %s\n", build_message);/* Perform remaining generic architectural setup in S-EL1 */bl2_arch_setup();#ifPSA_FWU_SUPPORTfwu_init();#endif/* PSA_FWU_SUPPORT */crypto_mod_init();/* Initialize authentication module */auth_mod_init();/* Initialize the Measured Boot backend *...
Run mkdir /path/to/build_dir && cd /path/to/build_dir Run cmake /path/to/tf/psa/crypto/source Run make apidoc Browse apidoc/index.html or apidoc/modules.html. Compiling The build system is CMake. The CMake build system creates one library: libtfpsacrypto. Tool versions You need the...
$ cd tf-psa-crypto $ git submodule update --init $ cd .. $ cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On -DCMAKE_INSTALL_PREFIX=/dev/shm/opt . $ cmake --build . $ cmake --install . $ gcc -I/dev/shm/opt/include -dM -E - < /dev/shm/opt/include/mbedtls/version.h | grep MBEDTL...
CRYPTO_CONFIG_H='include/psa/crypto_config.h' PSA_CORE_PATH='core' BUILTIN_SRC_PATH='drivers/builtin/src' CONFIG_TEST_DRIVER_H='tests/configs/config_test_driver.h' TF_PSA_CRYPTO_ROOT_DIR="$PWD" config_files="$CRYPTO_CONFIG_H $CONFIG_TEST_DRIVER_H" fi @@ -937,6 +939,10 @@ ru...
You want to build, test or contribute to TF-PSA-Crypto, and you are working from a snapshot of a Git commit on a development branch. You do not need this repository if: You are working with Mbed TLS 2.28. You want to build a release of Mbed TLS and run its unit tests. ...
In TF-PSA-Crypto 1.0, all RNG calls will go to the PSA RNG. So public functions must no longer take an RNG callback (it would not be honored). Legacy RNG callbacks have the following form: int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ...
Goal: high-level planning for TF-PSA-Crypto 1.0 MVP, focusing on making legacy APIs private: Which APIs will become private How we enforce and document it Loss of functionality and if/how it will be compensated Expected outcome: documentation that lets us plan our work for Q1 and beyond. ...
It means I think that while running the CI, the framework used by tf-psa-crypto/tests/scripts/all.sh is the mbedtls one that does not set TF_PSA_CRYPTO_ROOT_DIR or create automatically the directory for out-of-tree build. @mpg could probably help to resolve that properly. Contributor mp...
CONFIG_BAK=${CONFIG_H}.bak cp -p $CONFIG_H $CONFIG_BAK scripts/config.py realfull make apidoc mv $CONFIG_BAK $CONFIG_H elif in_tf_psa_crypto_repo; then scripts/config.py realfull TF_PSA_CRYPTO_ROOT_DIR=$PWD rm -rf doxygen/build-apidoc-full ...
mv $CONFIG_BAK $CONFIG_H if in_mbedtls_repo; then scripts/config.py realfull make apidoc mv $CONFIG_BAK $CONFIG_H elif in_tf_psa_crypto_repo; then cd $OUT_OF_SOURCE_DIR cmake -DCMAKE_BUILD_TYPE:String=Check -DGEN_FILES=ON "$TF_PSA_CRYPTO_ROOT_DIR" make tfpsacrypto-apidoc mv ...