psa-crypto 0.8.0

Wrapper around the PSA Cryptography API
Documentation

PSA Cryptography API Rust Wrapper

This is the higher-level, more Rust-friendly interface.

Mbed Crypto backing

The features of this crate can modify what is compiled in from the PSA Crypto specification:

  • operations: everything is included. The psa-crypto-sys crate statically links by default Mbed Crypto. See the documentation of that crate to see how to modify the linking options. This feature is activated by default.
  • interface: only the abstraction over the PSA Crypto interface (types, helper methods) are included. The MBEDTLS_INCLUDE_DIR environment variable is needed to produce Rust shims around PSA Crypto macros.
  • without any of the above: only the specification-defined parts are included.