# 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](https://github.com/parallaxsecond/rust-psa-crypto/tree/main/psa-crypto-sys)
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.
