Paper 2025/1791

High-Speed 16-Radix Polynomial Multiplication on ARM Cortex-M4 with Recursive Karatsuba Layers

Minjoo Sim, Hansung University
Hyunjun Kim, Hansung University
Minwoo Lee, Hansung University
Hwajeong Seo, Hansung University
Abstract

Polynomial multiplication over $\mathbb{F}_2[x]$ is a fundamental building block in code-based and lattice-based cryptography, particularly on lightweight embedded devices where dedicated carry-less multiply instructions are unavailable. This paper presents a high-speed, constant-time implementation of radix-16 polynomial multiplication on the ARM Cortex-M4, combining zero-padding with recursive Karatsuba layers. Building on the radix-16 decomposition proposed by Chen et al. in TCHES’21, we replace the conventional schoolbook inner multiplier with a multi-level Karatsuba scheme. This optimization reduces cycle counts on the ARM Cortex-M4 while preserving constant-time execution. To further optimize efficiency, the design minimizes packing and unpacking overhead by operating at 128-bit granularity and employs a five-stage pipeline—Decomposition, Padding, Multiplication, Unpadding, and Reassembly—implemented entirely with data-independent shifts, XORs, and masks. Experimental results on the Cortex-M4 show that our optimized $ct\_poly32\_mul\_64\_bit$ implementation achieves up to 31\% improvement over the best existing constant-time baseline, demonstrating the efficiency and scalability of recursive Karatsuba for resource-constrained cryptographic applications.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Polynomial MultiplicationSoftware ImplementationRecursive KaratsubaCortex-M4
Contact author(s)
minjoos9797 @ gmail com
khj930704 @ gmail com
minunejip @ gmail com
hwajeong84 @ gmail com
History
2025-10-03: approved
2025-10-01: received
See all versions
Short URL
https://ia.cr/2025/1791
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2025/1791,
      author = {Minjoo Sim and Hyunjun Kim and Minwoo Lee and Hwajeong Seo},
      title = {High-Speed 16-Radix Polynomial Multiplication on {ARM} Cortex-M4 with Recursive Karatsuba Layers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1791},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1791}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.