Constant-time Integer Arithmetic for SQIsign
Builds constant-time big-integer arithmetic (division, exponentiation, integer sqrt, modular reduction) for SQIsign's quaternion module, replacing GMP to reduce side-channel leakage.
Schemes: SQIsign
Findings (quotes checked against the source text)
-
SQIsign's existing quaternion arithmetic relies on GMP big-integer functions, which are often not designed for constant-time execution.
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.
-
The paper proposes a novel constant-time modular reduction technique designed to handle dynamically changing moduli.
Further, we propose a novel constant-time modular reduction technique designed to handle dynamically changing moduli.
-
The implementation is written in C without high-level libraries such as GMP and was checked for timing-dependent paths using Timecop with Valgrind.
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.
Numbers (as extracted, not quote-checked)
- Integer size range handled by the scaled arithmetic: up to ~12,000 bits
For builders
If a PQ chain uses SQIsign, its big-integer layer must be constant-time too, not just the group operations; this paper is a reference for that gap.
Limits
Abstract-only text was used; benchmark results and full verification details are not in the extracted text. Targets SQIsign, a niche isogeny scheme, not mainstream chain signatures.