Quantum-Safe Cryptography GitHub โ Full Test Suite Results
| Test File | Passed | Skipped | Failed | Total | Status |
|---|---|---|---|---|---|
test_qscg.py |
132 | 0 | 0 | 132 | PASS |
test_fndsa.py |
17 | 0 | 0 | 17 | PASS |
test_hqc.py |
17 | 0 | 0 | 17 | PASS |
test_hqc_v2.py |
9 | 0 | 0 | 9 | PASS |
test_mldsa.py |
4 | 7 | 0 | 11 | SKIP |
test_ntru_ntt.py |
13 | 1 | 0 | 14 | PASS |
test_protocols.py |
14 | 0 | 0 | 14 | PASS |
test_quantum_threat.py |
12 | 0 | 0 | 12 | PASS |
test_reed_muller.py |
21 | 0 | 0 | 21 | PASS |
| Test | Reason |
|---|---|
test_mldsa.py::TestMLDSASignVerify (7 tests) |
Modular ML-DSA sign/verify hangs in rejection sampling loop โ tracked as known issue. Monolithic implementation passes all sign/verify tests. |
test_ntru_ntt.py::TestNTRUKeypair::test_sign_verify |
NTRU sign/verify implementation incomplete |
| Test | Duration |
|---|---|
test_hqc_v2.py::test_decaps_produces_secret | 3.97s |
test_qscg.py::test_sign_produces_valid_signature[L5] | 1.39s |
test_hqc_v2.py::test_encaps_produces_ciphertext | 1.31s |
test_qscg.py::test_sign_different_messages[L5] | 1.28s |
test_qscg.py::test_verify_tampered_message[L5] | 1.24s |
| Algorithm | Standard | Coverage |
|---|---|---|
| ML-KEM | FIPS 203 | KeyGen, Encaps, Decaps, all 3 levels, wrong-key handling, multiple rounds |
| ML-DSA (monolithic) | FIPS 204 | KeyGen, Sign, Verify, tamper resistance, all 3 levels |
| ML-DSA (modular) | FIPS 204 | KeyGen, size properties โ sign/verify skipped (known issue) |
| SLH-DSA | FIPS 205 | KeyGen, Sign, Verify, context separation, tamper resistance, all 3 levels |
| AES-256-GCM | NIST SP 800-38D | Encrypt/decrypt, AAD, empty messages, wrong key rejection, nonce uniqueness |
| HQC | NIST IR 8545 | KeyGen, Encaps/Decaps, ciphertext manipulation, all 3 levels |
| FN-DSA / FALCON | Experimental | KeyGen, Sign, Verify, tamper resistance, Level 1 & 5 |
| NTT | โ | Roundtrip, multiplication, polynomial arithmetic |
| Protocol Extensions | โ | QUIC PQC handshake, Signal v4 X3DH + double ratchet, WireGuard PQC handshake |
| Quantum Threat | โ | Risk estimation, sector recommendations, qubit timeline |
| Reed-Muller | โ | Encode/decode, noise tolerance, GF tables |