SNOVA's bounded signing-attempt schedule #
SNOVA derives fresh vinegar variables for a signing attempt from a one-byte counter numsig.
Algorithm 17 of [WCD+26] increments this counter before an attempt and returns failure when the
incremented counter is 255, before deriving those variables. Algorithm 14 uses the surviving
counter value as part of the SHAKE256 input. Thus a signing invocation tries exactly the increasing
bytes 1, ..., 254; neither 0 nor the failure sentinel 255 is tried.
This module records only that source-level schedule. It makes no claim about the distribution or independence of the resulting linear systems, their solvability, or SNOVA's signing-failure probability. In particular, a loop with 254 attempted counters does not by itself justify the reference implementation's informal probability estimate.
Main definitions #
Cslib.Crypto.SNOVA.signingAttemptCounters: the exact attempted counter bytes.
Main results #
Cslib.Crypto.SNOVA.length_signingAttemptCounters: exactly 254 attempts are scheduled.Cslib.Crypto.SNOVA.getElem_signingAttemptCounters: attempt indexiuses bytei + 1.Cslib.Crypto.SNOVA.mem_signingAttemptCounters_iff: exactly bytes 1 through 254 occur.Cslib.Crypto.SNOVA.pairwise_lt_signingAttemptCounters: the schedule is strictly increasing.Cslib.Crypto.SNOVA.nodup_signingAttemptCounters: no counter byte is attempted twice.Cslib.Crypto.SNOVA.first_signingAttemptCounter: the first attempted counter is 1.Cslib.Crypto.SNOVA.last_signingAttemptCounter: the last attempted counter is 254.
References #
- Lih-Chung Wang et al., SNOVA: Proposal for NIST PQC: Additional Digital Signature Schemes,
version 3.0, Algorithms 14 and 17, pp. 23 and 25; PDF SHA-256
67bf2e5414001d4562f76fff77cbc72b6c997ff2cffef3b5180a886359892898. - SNOVA Round-3 reference implementation, commit
d88ef38bfa28587372f29f10482aa208c703f1aa,src/snova_ref.c.
The one-byte numsig values for which SNOVA Algorithm 17 actually attempts to solve a
vinegar-dependent oil system. Byte 255 is the pre-attempt failure sentinel.
SNOVA Algorithm 17 schedules exactly 254 attempts.
The attempt at zero-based index i uses counter byte i + 1.
A byte occurs in SNOVA's signing-attempt schedule exactly when it is between 1 and 254.
This excludes both the initial counter 0 and the failure sentinel 255.
SNOVA's attempted counter bytes occur in strictly increasing order.
SNOVA's attempted counter bytes contain no duplicates.
The first attempted counter byte is 1.
The last attempted counter byte is 254.