Masked Accelerators and Instruction Set Extensions for Post-Quantum Cryptography
Masked HW/SW codesign of Kyber and Saber with RISC-V instruction-set extensions, a masked ciphertext compression, and a generic NTT multiplier; reports cycle counts and masking overhead.
Schemes: Kyber, Saber, NTT multiplier, RISC-V ISA extensions
Findings (quotes checked against the source text)
-
Masked HW/SW codesign of Kyber and Saber with RISC-V instruction-set extensions achieves first-order side-channel security at a measured cost.
In this work, we propose a masked HW/SW codesign of the NIST PQC finalists Kyber and Saber, suitable for their different characteristics.
-
A generic NTT multiplier is claimed to be efficient also for schemes not based on NTT, unlike previously published accelerators.
To accelerate linear performance bottlenecks, we developed a generic Number Theoretic Transform (NTT) multiplier, which, in contrast to previously published accelerators, is also efficient and suitable for schemes not based on NTT.
-
Masking overhead for first-order secure decapsulation at NIST Level III is 4.48x for Kyber and 2.60x for Saber.
the masking overhead for the first-order secure decapsulation operation including randomness generation is a factor of 4.48 for Kyber (D:1403k) and 2.60 for Saber (D:915k).
Numbers (as extracted, not quote-checked)
- Kyber cycle count, NIST Level III (keygen/encaps/decaps): K:214k/E:298k/D:313k cycles
- Saber cycle count, NIST Level III (keygen/encaps/decaps): K:233k/E:312k/D:351k cycles
- Kyber first-order masked decapsulation with randomness generation: D:1403k cycles
- Saber first-order masked decapsulation with randomness generation: D:915k cycles
- Kyber masking overhead factor (decapsulation): 4.48
- Saber masking overhead factor (decapsulation): 2.60
For builders
If the chain's KEM is Kyber or Saber on embedded or RISC-V hardware, budget the first-order masking cost (roughly 2.6x to 4.5x on decapsulation) as cycle overhead.
Limits
Results are from the abstract only, with no full-text verification; figures are cycle counts on the authors' specific RISC-V HW/SW design, not general hardware, and no blockchain context.
Topics: kem implementation-sidechannel benchmarks hybrid-schemes