Paper 2025/2303

Suwako: A Logarithmic-Depth Modular Reduction for Arbitrary Trinomials over $\mathbb{F}_{2^m}$ without Pre-computation

Junyu Zhou, Cyber Science Research Institute, Sichuan University, Sichuan, China
Jing Wang, School of Integrated Circuits, Huazhong University of Science and Technology, Wuhan, China
Hao Ren, Cyber Science Research Institute, Sichuan University, Sichuan, China
Si Gao, Trusted Computing and Information Assurance Laboratory, Institute of Software, Chinese Academy of Sciences
Xiao Lan, Cyber Science Research Institute, Sichuan University, Sichuan, China
Abstract

Modular reduction over binary extension fields $\mathbb{F}_{2^m}$ is a fundamental operation in cryptographic implementations, including GCM and Elliptic Curve Cryptography. Traditional reduction algorithms (e.g., linear LFSR-based methods) are highly sensitive to the algebraic structure of the defining polynomial. This sensitivity is especially acute for trinomials $P(x) = x^m + x^t + 1$, where cryptographic standards have historically mandated the use of ``friendly'' polynomials (with small $t$) to avoid the linear performance degradation associated with ``random'' or ``unfriendly'' parameters. In this paper, we challenge this constraint by introducing Suwako, a novel reduction algorithm. By exploiting the self-similar algebraic structure of the reduction map, Suwako transforms the reduction process from a serial iterative chain (dependent on the degree gap $\Delta = m-t$) into a logarithmic-depth binary-doubling structure. We theoretically prove that Suwako achieves $O(\log m)$ folding depth for arbitrary trinomials, regardless of the position of the middle term $t$. Furthermore, unlike window-based or Montgomery/Barrett reduction methods, Suwako requires no pre-computation, making it optimal for dynamic environments.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Finite Field ArithmeticModular ReductionTrinomialsLogarithmic Complexity
Contact author(s)
helloworld @ junyu33 me
nick585108 @ 163 com
hao ren @ scu edu cn
gaosi @ iscas ac cn
lanxiao @ scu edu cn
History
2025-12-23: revised
2025-12-22: received
See all versions
Short URL
https://ia.cr/2025/2303
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2303,
      author = {Junyu Zhou and Jing Wang and Hao Ren and Si Gao and Xiao Lan},
      title = {Suwako: A Logarithmic-Depth Modular Reduction for Arbitrary Trinomials over $\mathbb{F}_{2^m}$ without Pre-computation},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2303},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2303}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.