Paper 2026/2507

safeRNSgcd: Accelerating Falcon key generation with RNS in SafeGCD

Cesare Huang
Bo-Yin Yang
Abstract

The deepest level of Falcon's NTRU solver needs only one Bézout coefficient from two large integer resultants already represented in a residue number system (RNS). We give $\mathtt{safeRNSgcd}$, which computes this coefficient while keeping the large states in RNS. Its central insight is that centered explicit CRT can recover the exact low bits needed by SafeGCD batches using single-word fixed-point arithmetic. Integrated into $\mathtt{ntrugen}$, our C implementation reduces inversion and private-key basis-generation costs on a Raspberry Pi 5 and two x86-64 processors, compared with original $\mathtt{ntrugen}$ and a variant omitting the unused coefficient.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2026/2507,
      author = {Cesare Huang and Bo-Yin Yang},
      title = {safeRNSgcd: Accelerating Falcon key generation with RNS in SafeGCD},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2507},
      year = {2026},
      url = {https://eprint.iacr.org/2026/2507}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy