Crate psa_crypto_sys
source ·Expand description
PSA Cryptography API Wrapper
This crate provides abstraction over an implementation of the PSA Cryptography API. You can find the API here.
Structs
Constants
Functions
- Retrieves the tag length from an aead_alg. Note:
aead_alg
is an AEAD algorithm, such thatPSA_ALG_IS_AEAD(aead_alg)
istrue
. - Retrieves the output size of an ECDH raw key agreement operation shared secret. Caller must ensure key type is compatible. Returns 0 if key size is too large. This does not match any PSA macro, it will be replaces by PSA_RAW_KEY_AGREEMENT_OUTPUT_SIZE once mbedTLS adds support for it.