quantaegis_hybrid/lib.rs
1//! Hybrid Post-Quantum / Classical KEMs and Composite Digital Signatures (`quantaegis-hybrid`).
2//!
3//! Provides two IETF-aligned defense-in-depth hybrid constructions:
4//! - **[`XWing`]** (`draft-connolly-cfrg-xwing-kem-11`): Hybrid KEM combining **FIPS 203 ML-KEM-768**
5//! with **RFC 7748 X25519** via a domain-separated **SHA3-256** combiner.
6//! - **[`MlDsa65Ed25519`]** (**RFC 10073** / `draft-ietf-lamps-pq-composite-sigs-19`,
7//! `id-MLDSA65-Ed25519-SHA512`, label `COMPSIG-MLDSA65-Ed25519-SHA512`):
8//! Hybrid signature combining **FIPS 204 ML-DSA-65** with **RFC 8032 Ed25519** via **SHA-512**
9//! pre-hashing and strict AND-gate verification.
10//!
11//! # Security Properties
12//! - Both schemes remain secure as long as **either** the post-quantum **or** classical primitive holds.
13//! - `#![no_std]` (no `alloc` required) and `#![forbid(unsafe_code)]`.
14//! - Automatic secret zeroization on drop and redacted `Debug` formatting.
15
16#![no_std]
17#![forbid(unsafe_code)]
18
19#[cfg(feature = "std")]
20extern crate std;
21
22pub mod mldsa65_ed25519;
23pub mod xwing;
24
25pub use mldsa65_ed25519::MlDsa65Ed25519;
26pub use xwing::XWing;