pqc-nostd v0.1.0
Implements only NIST-standardized and FIPS-approved algorithms:
- ML-KEM-1024 (FIPS 203 – CRYSTALS-Kyber) – Security Level 5
- ML-DSA-65 (FIPS 204 – CRYSTALS-Dilithium) – Security Level 3
No std, no heap allocation, no unsafe code, no legacy crypto – ever.
FIPS 140-3 Compliance Status (20 November 2025)
- Designed and for Level 2 validation (pure software, no_std boundary)
- Fully satisfies Level 1 requirements
- Complete Power-On Self-Tests (POST):
- Conditional Algorithm Self-Tests (CASTs) on all SHA-3/SHAKE instances
- Pair-wise Consistency Tests (PCTs) on every newly generated key pair
- Critical Security Parameters automatically zeroized on drop
- Plaintext CSP export blocked in approved mode
- Approved mode enforced via
fips_140_3feature gate - Zero dependencies that require
stdin approved mode
Cargo Features
| Feature | Description | Required for FIPS |
|---|---|---|
ml-kem |
Enables ML-KEM-1024 (FIPS 203) | Yes |
ml-dsa |
Enables ML-DSA-65 (FIPS 204) | Yes |
fips_140_3 |
Approved mode – POST, CSP controls, CASTs, operational state machine | Yes |
No default features – the FIPS boundary is explicit and minimal.
Approved-Mode Usage Example
use ;