cronokirby

(2026-03) Finite Field Arithmetic for ML-KEM Using Zech's Logarithm

2026-03-03

Abstract

The processing of ML-KEM (formerly CRYSTALS-Kyber), a key encapsulation mechanism with post-quantum security, is performed by multiplication, addition, and subtraction of polynomials whose coefficients lie in the finite field F3329{\mathbb F}_{3329}. To reduce the number of such operations, it is common to use the Number Theoretic Transform (NTT). This paper focuses on arithmetic over F3329{\mathbb F}_{3329} and proposes the use of a logarithmic representation with respect to a primitive element α\alpha of F3329{\mathbb F}_{3329}^* for implementing multiplication, addition, and subtraction over F3329{\mathbb F}_{3329}. In this representation, multiplication in F3329{\mathbb F}_{3329}^* can be reduced to addition in Z3328\mathbb{Z}_{3328}. Furthermore, addition and subtraction in F3329{\mathbb F}_{3329}^* can be computed in the logarithmic domain by using Zech's logarithm. However, special treatment is required when 0F33290 \in {\mathbb F}_{3329} is involved in the operations. This paper proposes a new implementation method of the logarithmic representation for arithmetic over F3329{\mathbb F}_{3329}, including the handling of such exceptional cases.