Expand description
Network-facing crypto adapters over existing Qualia primitives.
Re-exports§
pub use entropy::fill_os;pub use entropy::EphemeralKeyLease;pub use errors::CryptoError;pub use key_provider::HardwareBackend;pub use key_provider::ProviderGrant;pub use key_provider::SoftwareBackend;pub use rotation::RecoveredPossession;pub use rotation::RotationState;pub use types::AlgorithmSpec;pub use types::KeyEpoch;pub use types::KeyPurpose;
Modules§
- aead
- ChaCha20-Poly1305 over caller buffers.
- authority
- Explicit full paired-key pin authority for QBDL publication proofs.
- chunks
- CRY-02.09 / CRY-02.10 PARTIAL — cookie/relationship-gated admission chunks.
- cose
- Bounded paired COSE_Sign1 candidate for QBDL publication proofs.
- digest
- SHA-384 typed digest. Compact q_hash is never produced here.
- dual_
sign - CRY-02.05 PARTIAL — dual ML-DSA-65 + Ed25519 proof over one payload.
- ed25519
- Ed25519 adapter with versioned length-delimited network context.
- entropy
- Product OS entropy and ephemeral-key leases.
- errors
- Bounded crypto errors. Map onto QDNF outcomes without allocating.
- hardware
- Hardware token / HSM primitive surface.
- kdf
- HKDF-SHA-384 and HMAC-SHA-384. Domain-separated; no secret XOR combiners.
- kem
- ML-KEM-768 adapter. Named ML-KEM on the wire, not historical Kyber.
- key_
provider - Key provider request/grant surface.
- malformed
- CRY-02.13 PARTIAL — fail-closed classifier for malformed / truncated / noncanonical / stripped / reordered network crypto.
- minima
- CRY-02.08 PARTIAL — bind negotiation to cached authorized peer/realm minima.
- mldsa
- ML-DSA-65 adapter with length-delimited network context.
- object_
stream - Protected-object v1 canonical wire adapters. Parsed values confer no authority. Production secret operations are admitted only by the central managed owner.
- pq_
handshake - CRY-02 PQ handshake transitions over the existing
HandshakeStateFSM. - rotation
- Paired controller-key rotation and authorized recovery.
- secret_
lease - Explicit zeroizing secret leases. Secrets are not Copy.
- share_
encoding - CRY-02.03 PARTIAL — freeze responder-share wire encoding and ML-KEM-then-X25519 IKM.
- signing_
profile - Explicit raw-message profiles. Existing contextual/prehashed APIs are unchanged. This is a primitive surface, not key custody, consent, or publisher authority.
- transcript
- Length-delimited transcript construction (cryptographic profile §5).
- types
- Network-facing crypto types. Full digests; compact hashes stay in QDNF types.
- x25519
- X25519 adapter. Rejects the all-zero shared secret.