hofmann-rfc 2.0.0

Rust implementation of RFC 9380 (Hash-to-Curve), RFC 9497 (OPRF), and RFC 9807 (OPAQUE)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! OPAQUE protocol configuration: cipher suite selection, size constants, and
//! key stretching.
//!
//! - [`OpaqueCipherSuite`] wraps an [`OprfCipherSuite`](crate::oprf::OprfCipherSuite)
//!   with OPAQUE-specific size constants and HKDF operations.
//! - [`OpaqueConfig`] bundles a cipher suite with Argon2id parameters and a
//!   protocol context string.
//! - [`NN`] is the suite-independent nonce length (always 32 bytes).

mod opaque_cipher_suite;
mod opaque_config;

pub use opaque_cipher_suite::{AkeKeyPair, OpaqueCipherSuite};
pub use opaque_config::{OpaqueConfig, NN};