Paper 2025/090

Friendly primes for efficient modular arithmetic using the Polynomial Modular Number System

Fangan Yssouf Dosso, SAS laboratory, École des Mines de Saint-Étienne, Gardanne, France
Nadia El Mrabet, SAS laboratory, École des Mines de Saint-Étienne, Gardanne, France
Nicolas Méloni, Laboratoire Imath, Université de Toulon, France
François Palma, Laboratoire Imath, Université de Toulon, France
Pascal Véron, Laboratoire Imath, Université de Toulon, France
Abstract

The Polynomial Modular Number System (PMNS) is a non-positional number system designed for modular arithmetic. Its efficiency, both in software and hardware, has been demonstrated for integers commonly used in Elliptic Curve Cryptography. In recent papers, some authors introduce specific prime forms that are particularly well-suited for PMNS arithmetic. In this work, we extend their results to a broader class of prime numbers. In practice, our approach yields performance that is competitive with, and in some cases superior to, Pseudo-Mersenne arithmetic. As a result, we expand the set of prime numbers that are well-suited for modular arithmetic. Furthermore, we contribute a database of proof of concept Elliptic Curves constructed with those primes that verify the Brainpool Standard.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Modular arithmeticPolynomial modular number systemMersenne primesPseudo-Mersenne primesFermat primes
Contact author(s)
fanganyssouf dosso @ emse fr
nadia el-mrabet @ emse fr
nicolas meloni @ univ-tln fr
francois palma @ univ-tln fr
pascal veron @ univ-tln fr
History
2025-01-22: approved
2025-01-21: received
See all versions
Short URL
https://ia.cr/2025/090
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/090,
      author = {Fangan Yssouf Dosso and Nadia El Mrabet and Nicolas Méloni and François Palma and Pascal Véron},
      title = {Friendly primes for efficient modular arithmetic using the Polynomial Modular Number System},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/090},
      year = {2025},
      url = {https://eprint.iacr.org/2025/090}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.