Expand description

Hacspec Provider

This crate provides a high-level API for hacspec implementations in examples. The provider implements the RustCrypto traits API to be interoperable with other implementations.

This crate does not have tests on its own but is tested through the utils test.

Re-exports

pub use provider::aead;

Structs

Error type.

AEAD payloads are a combination of a message (plaintext or ciphertext) and “additional associated data” (AAD) to be authenticated (in cleartext) along with the message.

Traits

Authenticated Encryption with Associated Data (AEAD) algorithm.

Authenticated Encryption with Associated Data (AEAD) algorithm core trait.

In-place stateless AEAD trait.

Instantiate either a stateless Aead or stateful AeadMut algorithm.

Type Definitions