Skip to content

wolfSSL/wolfPSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wolfPSA

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).

What it provides

  • 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.

Repository layout

  • src/ : wolfPSA implementation sources.
  • wolfpsa/ : public headers.
  • user_settings.h : configuration header.
  • Makefile : build for libwolfpsa.a.

Build

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

Testing (PSA Architecture Test Suite)

See psa-arch-tests/README.md for instructions on how to run the tests.

Current PSA crypto test results:

************ Crypto Suite Report ************
TOTAL TESTS     : 78
TOTAL PASSED    : 65
TOTAL SIM ERROR : 0
TOTAL FAILED    : 0
TOTAL SKIPPED   : 13
******************************************

License

See COPYING.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •