Paper 2025/832 Original: eprint.iacr.org/2025/832 ↗

Constant-time Integer Arithmetic for SQIsign

Fatna Kouider
Anisha Mukherjee
David Jacquemin
Péter Kutas
Abstract

SQIsign, the only isogeny-based signature scheme submitted to NIST’s additional signature standardization call, achieves the smallest public key and signature sizes among all post-quantum signature schemes. However, its existing implementation, particularly in its quaternion arithmetic operations, relies on GMP’s big integer functions, which, while efficient, are often not designed for constant-time execution. In this work, we take a step toward side-channel-protected SQIsign by implementing constant-time techniques for SQIsign’s big integer arithmetic, which forms the computational backbone of its quaternion module. For low-level fundamental functions including Euclidean division, exponentiation and the function that computes integer square root, we either extend or tailor existing solutions according to SQIsign's requirements such as handling signed integers or scaling them for integers up to $\sim$12,000 bits. Further, we propose a novel constant-time modular reduction technique designed to handle dynamically changing moduli.Our implementation is written in C without reliance on high-level libraries such as GMP and we evaluate the constant-time properties of our implementation using Timecop with Valgrind that confirm the absence of timing-dependent execution paths. We provide experimental benchmarks across various SQIsign parameter sizes to demonstrate the performance of our constant-time implementation.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2025-05-09: last updated
2025-05-09: published
Short URL
https://ia.cr/2025/832
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/832,
      author = {Fatna Kouider and Anisha Mukherjee and David Jacquemin and Péter Kutas},
      title = {Constant-time Integer Arithmetic for SQIsign},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/832},
      year = {2025},
      url = {https://eprint.iacr.org/2025/832}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.