Generalised Mersenne Numbers Revisited
Robert Granger, Andrew Moss

TL;DR
This paper introduces a new class of generalized Mersenne numbers that enable more efficient modular multiplication and reduction, are abundant at any bitlength, and offer enhanced security features for cryptographic applications.
Contribution
We propose an alternative generalization of Mersenne numbers that maintains high efficiency in modular arithmetic, is widely available at various bitlengths, and provides inherent side-channel attack resistance.
Findings
Our algorithms are highly parallelisable for hardware implementation.
The new primes are abundant across all bitlengths, unlike traditional GMNs.
The proposed field representation offers strong protection against side-channel attacks.
Abstract
Generalised Mersenne Numbers (GMNs) were defined by Solinas in 1999 and feature in the NIST (FIPS 186-2) and SECG standards for use in elliptic curve cryptography. Their form is such that modular reduction is extremely efficient, thus making them an attractive choice for modular multiplication implementation. However, the issue of residue multiplication efficiency seems to have been overlooked. Asymptotically, using a cyclic rather than a linear convolution, residue multiplication modulo a Mersenne number is twice as fast as integer multiplication; this property does not hold for prime GMNs, unless they are of Mersenne's form. In this work we exploit an alternative generalisation of Mersenne numbers for which an analogue of the above property --- and hence the same efficiency ratio --- holds, even at bitlengths for which schoolbook multiplication is optimal, while also maintaining very…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptography and Residue Arithmetic · Coding theory and cryptography · Algebraic Geometry and Number Theory
