Skip to main content

Module plugin

Module plugin 

Source
Expand description

Traits plugin authors implement for each Confium interface.

Each sub-module mirrors one interface’s wire protocol: the trait method set matches the cfmp_<iface>_* symbols one-for-one. The #[plugin_interface] proc-macro dispatches on the trait to emit the FFI entry points.

Re-exports§

pub use aead::AeadPlugin;
pub use cipher::CipherPlugin;
pub use hash::HashPlugin;
pub use kdf::KdfPlugin;
pub use kem::KemPlugin;
pub use keyfmt::KeyfmtPlugin;
pub use rng::RngPlugin;
pub use signature::SignaturePlugin;

Modules§

aead
AeadPlugin trait — the Rust-side counterpart of the AEAD v0 wire protocol.
cipher
CipherPlugin trait — the Rust-side counterpart of the symmetric cipher v0 wire protocol.
hash
HashPlugin trait — the Rust-side counterpart of the hash v0 wire protocol.
kdf
KdfPlugin trait — the Rust-side counterpart of the KDF v0 wire protocol.
kem
KemPlugin trait — the Rust-side counterpart of the KEM v0 wire protocol.
keyfmt
KeyfmtPlugin trait — the Rust-side counterpart of the key serialization (keyfmt) v0 wire protocol.
rng
RngPlugin trait — the Rust-side counterpart of the RNG v0 wire protocol.
signature
SignaturePlugin trait — the Rust-side counterpart of the asymmetric signature v0 wire protocol.