wolfPSA is a PSA Crypto engine that implements the PSA Crypto API on
top of wolfCrypt. It is meant to be used by PSA clients (e.g. wolfSSL compiled with WOLFSSL_HAVE_PSA,
or the Arm PSA Architecture Test Suite).
- PSA Crypto API entry points implemented in C.
- wolfCrypt as the backend crypto provider.
- The default make target creates a static library (
libwolfpsa.a) built directly from wolfPSA sources plus the required wolfCrypt objects.
src/: wolfPSA implementation sources.wolfpsa/: public headers.user_settings.h: configuration header.Makefile: build forlibwolfpsa.a.
The build system assumes that wolfSSL is available in a sibling directory under the same path as this repository, e.g:
.
├── wolfPSA/
├── wolfssl/
If this is not the case, provide the path to wolfSSL sources via:
export WOLFSSL_PATH=../wolfssl
Default build:
make
AddressSanitizer build:
make ASAN=1
You can override the wolfSSL source location:
make wolfPSA WOLFSSL_PATH=~/src/wolfssl
See psa-arch-tests/README.md for instructions on how to run the tests.
************ Crypto Suite Report ************
TOTAL TESTS : 78
TOTAL PASSED : 65
TOTAL SIM ERROR : 0
TOTAL FAILED : 0
TOTAL SKIPPED : 13
******************************************
See COPYING.