Sapphire: A Configurable Crypto-Processor for Post-Quantum Lattice-based Protocols
Presents Sapphire, a configurable lattice crypto-processor ASIC (TSMC 40nm) accelerating NTT, sampling, and modular arithmetic for NIST Round 2 KEM and signature schemes.
Schemes: Frodo, NewHope, qTESLA, CRYSTALS-Kyber, CRYSTALS-Dilithium, SHAKE-128, SHAKE-256, Keccak, ChaCha20, AES-CTR
Findings (quotes checked against the source text)
-
Sapphire is a lattice crypto-processor that runs NIST Round 2 KEM and signature protocols on a RISC-V host and reports up to an order of magnitude better performance and energy efficiency than prior hardware.
achieving up to an order of magnitude improvement in performance and energy-efficiency compared to state-of-the-art hardware implementations.
-
A SHA-3 (Keccak) based PRNG is the most energy-efficient of the PRNG options compared, at about 2x better than ChaCha20 and 3x better than AES.
SHA-3 is 2× more energy-efficient than ChaCha20 and 3× more energy-efficient than AES; and this is largely due to the fact that SHA-3 generates the highest number of pseudo-random bits per round.
-
Single-port SRAM NTT memory saves area versus dual-port SRAM, at no loss in performance or energy efficiency.
A single-port SRAM-based number theoretic transform (NTT) memory architecture provides 124k-gate area savings without any loss in performance or energy-efficiency.
-
Pseudo-configurable Barrett reduction for fixed NIST primes reduces modular multiplication energy by up to 3x compared with the fully configurable version.
a pseudo-configurable modular multiplier is also implemented, which provides up to 3× improvement in energy-efficiency.
-
Key building blocks are constant-time and resistant to timing and simple power analysis, but baseline protocols are not secure against differential power analysis; masking is discussed as future countermeasure.
While our baseline protocol implementations are not secure against differential power analysis attacks, we discuss how the programmability of our crypto-processor can be utilized to implement masking-based countermeasures.
Numbers (as extracted, not quote-checked)
- Cryptographic core area (TSMC 40nm): 0.28 mm2, 106k logic gates, 40.25 KB SRAM
- Test chip operating frequency and voltage for NTT measurements: 72 MHz at 1.1 V
- NTT energy for n=256, q=7681: 165.98 nJ
- Rejection probability for q=12289 without scaling vs with scaling: 0.25 reduced to 0.06
For builders
Only relevant as a hardware reference for lattice PQ on embedded/ASIC targets; a PQ chain node would mainly care about the constant-time and PRNG/NTT design notes, not its protocol choices.
Limits
Lattice-only ASIC study of NIST Round 2 schemes (2019); no hash-based or chain-level content. Baseline protocols lack DPA resistance; numbers are for one 40nm test chip.
Topics: implementation-sidechannel benchmarks kem sig-lattice hash-functions