Expand description
Pure-Rust, #![no_std], #![forbid(unsafe_code)], zero-external-dependency implementation of
NIST FIPS 205: Stateless Hash-Based Digital Signature Standard (SLH-DSA).
Provides conservative, hash-only post-quantum security with zero reliance on lattice assumptions, implementing all six FIPS 205 SHAKE256 parameter sets:
SlhDsaShake128s/SlhDsaShake128f(NIST Security Category 1 —pk = 32 B,sk = 64 B,sig = 7,856 / 17,088 B)SlhDsaShake192s/SlhDsaShake192f(NIST Security Category 3 —pk = 48 B,sk = 96 B,sig = 16,224 / 35,664 B)SlhDsaShake256s/SlhDsaShake256f(NIST Security Category 5 —pk = 64 B,sk = 128 B,sig = 29,792 / 49,856 B)
§Standards & Security Design
- Pure SLH-DSA (FIPS 205 Algorithms 21–24) with domain-separation context strings (
|ctx| <= 255). - Hedged signing (default via [
quantaegis_core::Signature::sign]) and deterministic signing (opt_rand = PK.seedviasign_deterministic). - Zero external dependencies, zero heap allocation, zero hardware division instructions.
- Secret keys zeroize automatically on drop and redact in
Debug.
Note: Pre-
1.0.0software — an independent third-party cryptographic audit has not yet been completed; please take this into account when using this crate. The project-wide maturity stage is tracked in one place: SECURITY.md.
Re-exports§
pub use params::MAX_CTX_LEN;
Modules§
- params
- NIST FIPS 205 SLH-DSA SHAKE parameter sets (Table 2).
- slh_
dsa_ shake_ 128f - Typed keys, signatures, and constants for SLH-DSA-SHAKE-128f (NIST Security Category 1).
- slh_
dsa_ shake_ 128s - Typed keys, signatures, and constants for SLH-DSA-SHAKE-128s (NIST Security Category 1).
- slh_
dsa_ shake_ 192f - Typed keys, signatures, and constants for SLH-DSA-SHAKE-192f (NIST Security Category 3).
- slh_
dsa_ shake_ 192s - Typed keys, signatures, and constants for SLH-DSA-SHAKE-192s (NIST Security Category 3).
- slh_
dsa_ shake_ 256f - Typed keys, signatures, and constants for SLH-DSA-SHAKE-256f (NIST Security Category 5).
- slh_
dsa_ shake_ 256s - Typed keys, signatures, and constants for SLH-DSA-SHAKE-256s (NIST Security Category 5).
Structs§
- SlhDsa
Shake128f - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-128f (NIST Security Category 1). - SlhDsa
Shake128s - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-128s (NIST Security Category 1). - SlhDsa
Shake192f - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-192f (NIST Security Category 3). - SlhDsa
Shake192s - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-192s (NIST Security Category 3). - SlhDsa
Shake256f - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-256f (NIST Security Category 5). - SlhDsa
Shake256s - Marker type implementing [
quantaegis_core::Signature] for SLH-DSA-SHAKE-256s (NIST Security Category 5).