Paper 2025/2192
Constant-time Quaternion Algorithms for SQIsign
Abstract
SQIsign, the only isogeny-based signature competing in the ongoing NIST call for additional signatures, offers the most compact key and signature sizes among all other candidates. It combines isogenies with quaternion arithmetic for its signing procedure. In this work, we address a gap in the current implementation of SQIsign: the absence of constant-time algorithms for quaternion arithmetic. We propose constant-time algorithmic formulations for three fundamental routines in SQIsign's quaternion layer. First, we discuss a constant-time Hermite Normal Form (HNF) algorithm. We then present a new constant-time approach for computing a generator of a quaternion ideal, replacing the exhaustive search-based approach used in SQIsign. Our approach eliminates the need for coefficient scanning, coprimality tests, and norm evaluation loops, yielding a data-independent and deterministic procedure. Finally, we design a constant-time version of the GeneralizedRepresentInteger algorithm for solving norm equations in special extremal orders. We circumvent timing dependencies arising from primality checks, modular square root calculations, and Euclidean division steps by introducing a regularized control flow with fixed-iteration sampling and branch-free arithmetic. We also show that the tools developed along the way enable a constant-time version of the recently introduced Qlapoti algorithm. In our constant-time algorithms, the cost of large operand operations remains a bottleneck for the constant-time HNF and GeneralizedRepresentInteger. We believe our work will facilitate secure and efficient implementations and inspire further works on deployment-level optimizations.
Metadata
- Available format(s)
-
PDF
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- Isogeny-based cryptographySQIsignSide-channel analysisIsogeny-based signatureConstant-time implementation
- Contact author(s)
-
andrea basso @ ibm com
chenfenghe @ inf elte hu
david jacquemin @ student tugraz at
fatnakouider @ inf elte hu
kutasp @ gmail com
anisha mukherjee @ tugraz at
sschaeffle @ ethz ch
sujoy sinharoy @ tugraz at - History
- 2026-01-07: last of 2 revisions
- 2025-12-03: received
- See all versions
- Short URL
- https://ia.cr/2025/2192
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/2192,
author = {Andrea Basso and Chenfeng He and David Jacquemin and Fatna Kouider and Péter Kutas and Anisha Mukherjee and Sina Schaeffler and Sujoy Sinha Roy},
title = {Constant-time Quaternion Algorithms for {SQIsign}},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/2192},
year = {2025},
url = {https://eprint.iacr.org/2025/2192}
}