CT-KAT: A Multilayer Analysis Platform for Automated Screening of Constant-Time Risks in PQC C Implementations
CT-KAT is a YAML-configured pipeline that screens PQC C implementations (ML-KEM, ML-DSA, SLH-DSA) for constant-time risks using Valgrind, compiler matrices, asm scans, and dudect, with default-deny verdicts.
Schemes: ML-KEM, ML-DSA, SLH-DSA, SPHINCS+, Falcon-512, KyberSlash
Findings (quotes checked against the source text)
-
KATs check only functional correctness and do not establish absence of timing leakage from secret-dependent branches, memory accesses, or variable-latency instructions.
However, known-answer tests (KATs) verify only functional correctness and do not establish the absence of timing leakage caused by secret-dependent branches, memory accesses, or variable-latency instructions.
-
CT-KAT applies a default-deny policy and does not treat a PASS as proof of constant-time behavior.
CT-KAT does not treat a PASS result as proof of constant-time behavior.
-
On a PQClean-based corpus, the KyberSlash reproduction was flagged as a secret-dependent variable-latency risk.
The KyberSlash reproduction was flagged as a secret-dependent variable-latency risk, labeled varlat-secret-risk.
-
Variable-time behavior of ML-DSA and SLH-DSA/SPHINCS+ was accepted under the label accepted-variable-time, and Falcon-512 was marked needs-analysis.
The variable-time behavior of ML-DSA and SLH-DSA/SPHINCS+ was accepted under the label accepted-variable-time.
Numbers (as extracted, not quote-checked)
- Verdict taxonomy size: nine classes
For builders
Run constant-time screening on whatever PQC C library you pick, since passing KATs alone says nothing about timing leaks.
Limits
Abstract only; full text not reviewed. Verdicts are screening aids that guide manual triage, not proofs; each tool's limits are stated but not detailed here.
Topics: implementation-sidechannel kem sig-lattice sig-hash-based benchmarks cryptanalysis