AI-Assisted Design of a Post-Quantum Cryptographic Accelerator: A Deployed-Silicon Case Study
Case study of an AI-agent-built FPGA with ML-KEM-768, ML-DSA-65 and on-die key custody; a KAT-passing norm-check bug was caught by a golden-reference plus randomized soak gate.
Schemes: ML-KEM-768, ML-DSA-65, FIPS 203, FIPS 204, Kyber, Dilithium, Keccak-f[1600], SHAKE256-DRBG
Findings (quotes checked against the source text)
-
A fixed known-answer test regression passed while a rejection-sampling norm-check defect shipped; only randomized adversarial soak exposed it at reject-loop iteration 5.
The defect was reachable
-
The shipped accelerator is byte-exact across all six FIPS operations on silicon and survived a zero-failure soak.
6/6 operations byte-exact on silicon, and a 779,945-check
-
ML-KEM-768 and ML-DSA-65 share one runtime-modulus NTT datapath and one Keccak core, trading speed for area consolidation.
Efficiency here means consolidation rather than speed:
-
Area was the binding constraint: the design fills the XC7K160T and forced a serialized NTT.
shipped at 98.5% slice occupancy.
Numbers (as extracted, not quote-checked)
- ML-KEM-768 encapsulation key size: 1184 B
- ML-DSA-65 signature size: 3309 B
- ML-DSA-65 public key size: 1952 B
- Slice occupancy of shipped build on XC7K160T: 98.5%
- Worst setup slack at 500 MHz: +0.049 ns
- ML-DSA-65 Sign throughput on deployed board: 480 ops/s
For builders
If you build PQ signers in hardware, gate rejection-sampling paths with a byte-exact golden-reference oracle plus randomized soak, because fixed KAT vectors cannot reach deep reject-loop iterations.
Limits
Single-developer, n=1 campaign on one FPGA; side-channel resistance, at-rest secrecy and full custody security analysis are out of scope; coupling-success relation is a hypothesis.
Topics: sig-lattice kem benchmarks wallets-keys chain-design