FAEST challenge decomposition #
FAEST v3 splits the first lambda - grindingBits bits of its third Fiat--Shamir challenge among
repetitions small-VOLE instances. The first largeCount instances receive largeWidth bits
and the remaining instances receive largeWidth - 1 bits. The final grindingBits challenge
bits must all be zero [BaumEtAl2026FAEST, Section 5.5, Figure 5.7]. The derived
parameter names follow Table 5.1; the standard parameter clients use Table 3.2 of version 3.0
dated 1 September 2026.
This module formalizes the parameter arithmetic and the DecodeChall3 / DecodeAllChall3
procedures. Challenge bits and each returned integer use the source's little-endian NumRec
convention from Section 3.2, Figure 3.5. It is the challenge parser consumed by the later BAVC
and VOLE reconstruction algorithms; it does not construct those commitments or prove FAEST
security.
Main definitions #
Cslib.Crypto.FAEST.ChallengeParams: valid challenge-splitting parameters.Cslib.Crypto.FAEST.decodeChallengeBlock: sourceDecodeChall3, including invalid-index and grinding-suffix rejection.Cslib.Crypto.FAEST.decodeAllChallenge: sourceDecodeAllChall3, returning each hidden index in its exact range.
Main results #
Cslib.Crypto.FAEST.ChallengeParams.blockOffset_succ: consecutive instances receive consecutive slices.Cslib.Crypto.FAEST.ChallengeParams.blockOffset_repetitions: the slices end exactly after the non-grinding challenge prefix.Cslib.Crypto.FAEST.decodeChallengeBlock_eq_some: the exact accepted block.Cslib.Crypto.FAEST.decodeAllChallenge_eq_some: the exact vector of decoded hidden indices.
References #
Parameters needed by FAEST v3 Figure 5.7. The source parameter sets have a positive number of small-VOLE instances and at least one non-grinding challenge bit per instance.
- securityBits : ℕ
Computational security parameter
lambda. - repetitions : ℕ
Number
tauof small-VOLE instances. - grindingBits : ℕ
Grinding parameter
w_grind. - repetitions_pos : 0 < self.repetitions
Number n_Delta = lambda - w_grind of challenge bits assigned to small-VOLE instances.
Number tau_1 = n_Delta mod tau of larger small-VOLE instances.
Number tau_0 = tau - tau_1 of smaller small-VOLE instances.
Bit length k = floor(n_Delta / tau) + 1 of a larger small-VOLE instance.
Source width d_i: k for the first tau_1 instances and k - 1 thereafter.
Starting offset of source block i in the non-grinding challenge prefix.
The source blocks are consecutive: the next block starts exactly after the current block.
The consecutive block slices end exactly at n_Delta = lambda - w_grind.
Every valid source block lies in the non-grinding challenge prefix.
The final w_grind bits are all zero, as required by FAEST v3 Figure 5.7.
The exact fixed-width challenge block assigned to a typed small-VOLE instance.
DecodeChall3 from FAEST v3 Figure 5.7. A natural-number index is retained so that the
source's invalid-index rejection is represented explicitly.
DecodeAllChall3 from FAEST v3 Figure 5.7. Each result is typed below 2 ^ d_i, making the
hidden-leaf range required by the BAVC explicit.