๐Ÿงช QSCG Test Report

Quantum-Safe Cryptography GitHub โ€” Full Test Suite Results

247
Total Tests
239
Passed
8
Skipped
0
Failed

๐Ÿ“Š Suite Breakdown

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

โš ๏ธ Skipped Tests

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

โฑ๏ธ Slowest Tests

Test Duration
test_hqc_v2.py::test_decaps_produces_secret3.97s
test_qscg.py::test_sign_produces_valid_signature[L5]1.39s
test_hqc_v2.py::test_encaps_produces_ciphertext1.31s
test_qscg.py::test_sign_different_messages[L5]1.28s
test_qscg.py::test_verify_tampered_message[L5]1.24s

๐Ÿ”ฌ What's Tested

AlgorithmStandardCoverage
ML-KEMFIPS 203KeyGen, Encaps, Decaps, all 3 levels, wrong-key handling, multiple rounds
ML-DSA (monolithic)FIPS 204KeyGen, Sign, Verify, tamper resistance, all 3 levels
ML-DSA (modular)FIPS 204KeyGen, size properties โ€” sign/verify skipped (known issue)
SLH-DSAFIPS 205KeyGen, Sign, Verify, context separation, tamper resistance, all 3 levels
AES-256-GCMNIST SP 800-38DEncrypt/decrypt, AAD, empty messages, wrong key rejection, nonce uniqueness
HQCNIST IR 8545KeyGen, Encaps/Decaps, ciphertext manipulation, all 3 levels
FN-DSA / FALCONExperimentalKeyGen, 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