arXiv:2610.30383cs.CROct 2026

Manuscript Offprint

arXiv:2610.30383

Rank Ceiling for Twiddle-Perturbation Faults on the Forward NTT

Chakshu Gupta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Chakshu Gupta

College of Computing, Georgia Institute of Technology, United States

Abstract. NIST standardised ML-KEM and ML-DSA in 2024 for post-quantum key establishment and digital signatures. Both compute forward number-theoretic transforms (NTTs) on secret polynomials. Published attacks zero every fixed multiplier, or twiddle, during Kyber key generation with a single fault, or individual twiddles in one Dilithium signing variant; countermeasures detect or mask these faults. Nonzero replacements preserve invertibility, but the uncompressed correct-minus-faulted transform difference can still expose input information. This paper characterises the linear map from a secret polynomial to this difference under arbitrary static twiddle replacements, including bit-flips. For one fault, rank equals the number of butterflies sharing its twiddle, halving by layer from 128 to 2 for ML-KEM and to 1 for ML-DSA. Known positions, replacement values and the difference determine that many independent linear combinations of input coefficients. With one fault per layer, all but the constant and linear coefficients for ML-KEM, or the constant for ML-DSA, are determined; Lean 4 certifies this rank-and-kernel result. Those coefficients cancel for every fault set and choice of replacement values. NIST permits seed storage, motivating comparison of a known correct key with a released faulty key from the same seed. If only one ML-KEM secret-polynomial NTT is faulted, the key difference is a known matrix column times the transform difference; an invertible column entry reconstructs the latter. For ML-DSA, neither reconstruction nor the number of secret-polynomial candidates from compressed key differences is established. The per-layer ranks give a closed-form measure of raw exposure for countermeasure design.

Keywords: ML-KEM · ML-DSA · NTT · fault attack · leakage bound · formal verification · post-quantum cryptography

1 Introduction

NIST standardized ML-KEM for key establishment and ML-DSA for digital signatures in 2024 [Nat24b, Nat24a]. Fault attacks on these schemes and their predecessors, Kyber and Dilithium, derive secret-dependent equations and inequalities from faulty public keys, signatures and decapsulation outcomes [VRBW25, KPLG24, Del22]. Both use forward number-theoretic transforms on secret polynomials during key generation; ML-DSA also transforms temporary signing masks.

In deterministic Dilithium, faulting the temporary-mask transform can change the challenge without changing the response mask. Subtracting responses from signatures with the same mask and key gives the challenge difference times the signing secret vector [GBP18]. Twiddle faults target fixed nonzero public multipliers, each shared by a group of disjoint two-input butterflies. Zeroing all twiddles in Kyber recovers the restricted fault-generated secret, not the original sampled polynomials [RYB +^{+}23]. In a Dilithium variant with

E-mail: cgupta65@gatech.edu (Chakshu Gupta)

This work is licensed under a “CC BY 4.0” license. Date of this document: 2026-10-23.

CC BY

Rank Ceiling for Twiddle-Perturbation Faults on the Forward NTT

NTT-domain response addition, global mask-transform twiddle zeroing exposes challenge-times-secret coefficients [RYB+23][RYB^{+}23]. A later attack on that variant zeroes only the first-layer twiddle of one mask-polynomial transform, removing half its response contributions and exposing the corresponding challenge-times-secret coefficients [YLMZ25][YLMZ25].

The cited zeroing attacks do not give a general rank-and-kernel law for the correct-minus-faulted transform difference. Nonzero replacements leave the faulted transform invertible, so its rank does not quantify this difference. This paper studies the difference map under fixed changed field values, zero or nonzero, at every use of selected twiddles during one call. Partial-use faults are excluded and physical delivery is not demonstrated. Known positions, values and a transform difference supply linear constraints on the original input, not signing-secret recovery or a signing-query count.

For one replacement, the rank equals the number of butterflies sharing its twiddle and halves by layer. One replacement per layer attains ranks 254 for ML-KEM and 255 for ML-DSA on 256-coefficient inputs. For one replacement per layer, a known map and difference determine all coefficients except the constant and linear coefficients in ML-KEM, or the constant in ML-DSA. These contributions never enter twiddle-multiplied inputs, so they cancel for every fault set and the attained ranks are universal ceilings. Both exact laws are value-independent; for arbitrary sets, the sum of singleton ranks is an upper bound and the actual rank can depend on replacement values.

The public-key applications compare a known correct key with a released faulty key from the same seed. Only one secret-polynomial forward NTT call is faulted; other computations are unchanged, and suppressing release blocks the comparison. For ML-KEM, the decoded key difference is a known matrix column times the transform difference. An invertible entry reconstructs it. With known faults, one replacement per layer gives exact small-coefficient candidate counts for one original polynomial, not the full decapsulation key.

ML-DSA instead compresses its public key with Power2Round [Nat24a]. Under the same observation regime, for a fixed nonzero transform difference and a uniformly sampled public matrix, the probability of identical compressed keys is below 2−352^{-35} for every standardized parameter set. This is non-erasure, not reconstruction of the transform difference or an exact candidate count from compressed keys.