Zero knowledge for a lattice accumulation step: Fiat–Shamir with aborts
Ragu hides a user’s witness from the aggregator by folding the user’s proof with uniformly random polynomials before handing it over, in a rerandomization of two fuses (§1.1). If Ragu’s Pedersen commitments are replaced by Akita’s Module-SIS commitments (ePrint 2026/1983), that fold needs Lyubashevsky’s rejection sampling, also called Fiat–Shamir with aborts. This note gives the setting (§1), the technique (§2), the resulting protocol for the user’s fold (§3), why it is zero knowledge and what remains to be proved (§4), what it costs (§5), proof hygiene (§6), and open points (§7). The audience is cryptographic engineers who know commitment schemes and Fiat–Shamir but not necessarily lattices, so lattice terms are defined at first use. Written 2026-10-13, after a discussion with Tal Derei and Quang Dao at the Cambridge PQC workshop.
1. The setting and the problem
1.1 What the aggregator sees, and what Ragu’s fold does
In split accumulation (Ragu’s scheme, following [BCLMS20]), an accumulator is an instance (a commitment and an evaluation claim) and a witness (the committed vector). The accumulation prover needs the witnesses of everything it folds, and in Tachyon the aggregator is that prover. So the user has to hand over an accumulator whose witness does not depend on the user’s secrets, and the intended mechanism is one fold by the user with a random partner.
Ragu’s fold is the PCS aggregation of its book. Take evaluation claims, each with the commitment it is about, on polynomials with blinding factors . The prover commits to with and sends the evaluations at a fresh point . The folded witness is with blinding . A Pedersen commitment commits to any vector in , so is an opening of the folded commitment whatever the are.
Now let one folded evaluation claim be on a uniformly random polynomial , and trivially true. Then enters through and its own quotient . The map is a linear bijection of : if it vanished, would equal the constant , which forces . Two qualifications. The aggregator also holds the folded instance, which forces , so is uniform on that affine hyperplane rather than on all of ; that is the most any handoff can hide. And is derived after the evaluations , which include , so the argument conditions on the transcript. Given , the partner is uniform on the hyperplane and the challenges are fixed, and the bijection carries that hyperplane onto . Everything else the aggregator sees about is a perfectly hiding commitment. This is a statement about the witness vector alone; §4.3 states what has to hold for the whole handoff.
Ragu’s rerandomization is randomized since its pull request #1006 (tachyon-zcash/ragu at
ef7668fb6bbf5df0b77e92760fdb52af726ebaf1, 2026-11), by a mechanism that differs in shape from the
random partner above: the randomness is the fuse’s own, and the partner proof is public. Every fuse
draws three polynomials a side whose coefficients are all uniformly random: two fold randomizers
and , which the fold takes as evaluation claims of its own with
as the target, and a mask that the batch folds into .
None is kept; the proof holds their commitments and evaluations in its stages. The randomizers hide
a child’s quotient coefficients only from an observer who does not know the child’s polynomials,
since the folded and are stored in full and determine and given the other
evaluation claims. So Application::rerandomize fuses its input twice, each time with the public
bootstrap proof as the right child: the first pass’s folded and and batched are uniform
by its randomizers and are not shown, and the second pass’s output holds only the first pass’s fresh
commitments, its challenges, and values the module’s documentation accounts for one by one. A test
checks the local rank of the quotient coefficients’ movement under the randomizer for a few inputs;
Ragu’s book says the hiding argument has not been audited, and the code says that neither the rank
check nor the masking arguments establish the joint output distribution. The IPA opening stays
unblinded by design: compression follows rerandomization and shows no more than the rerandomized
proof does. The default bootstrap proof is seeded, so a bootstrap unique to one wallet would link
its outputs; the documentation says to distribute one verified bootstrap per configuration. The
deterministic rerandomization that the earlier checkout had
(526b0e3ecdc1c39d03df315316ac075854769352, 2026-10-04) is gone.
1.2 Lattice commitments and short openings
An Ajtai commitment is , where is a public matrix over the ring and is the committed vector. Here is the field prime, for Ragu the Pasta prime, and is the ring dimension. A vector in is also an integer vector with coordinates once each coefficient is lifted to ; and are the norms of that integer vector.
The map is linear, so a preimage of arbitrary size is found by linear algebra. Binding applies only to short openings. Module-SIS says it is hard to find a nonzero with and , for the bound that the parameters are chosen for. Two distinct openings of norm at most would give such a . So an opening is by definition a short vector, and a long preimage is not an opening of anything.
Akita commits to a polynomial over by writing each coefficient in balanced base 8, digits in , which is 85 digits per coefficient at 255 bits. The digit vector is short, the polynomial is for the public recomposition matrix , and is not linear.
1.3 Why the uniformity argument does not transfer
Fold the user’s digit vector with a random vector under a challenge : in the ring. Then , so the verifier checks the folded commitment from the two inputs. Because must be a short opening, and must be short too. But a short cannot pad . In one dimension, a uniform on gives uniform on , and a near either end reveals . A Gaussian of width gives a Gaussian shifted by , distinguishable from an unshifted one with advantage about per coordinate, over millions of coordinates. The handed-over witness depends on , and rejection sampling is the standard remedy.
2. Rejection sampling
2.1 Discrete Gaussians
is the discrete Gaussian on of width centred at , with probability proportional to ; is the same centred at , and gives . Two tail facts (Lyubashevsky 2012, Lemma 4.4): a coordinate of exceeds with probability at most , below at ; and except with probability below .
2.2 The theorem
Theorem 4.6 of Lyubashevsky, “Lattice Signatures Without Trapdoors” (EUROCRYPT 2012, ePrint 2011/537). Let contain vectors of norm at most , let be any distribution on , and let .
- Procedure (the real prover): sample and ; output with probability , else nothing.
- Procedure (the ideal): sample and ; output with probability , else nothing.
With , the outputs of and are within statistical distance , and outputs something with probability at least . In words: the prover samples around the secret-dependent centre and keeps it with a probability chosen so that kept samples are distributed as if drawn around ; the dependence on is paid in aborts, not leakage. With , expected attempts. The acceptance probability is computable from and :
In a signature and , which is the shape of the fold in §1.3.
2.3 Variants
- Uniform masks (Lyubashevsky 2009; Dilithium): uniform in the box , accept iff with ; the accepted is uniform in the smaller box. Acceptance is about , so a constant rate needs . Competitive at signature sizes; at in the millions the Gaussian gives a smaller by several bits (§5.1), so this note uses Gaussians.
- Bimodal Gaussians (BLISS, Ducas–Durmus–Lepoint–Lyubashevsky 2013): with a hidden sign brings from 12 to about 1. The sign stays hidden in BLISS because the public key satisfies , so both signs verify. In the fold the verifier checks and would need the sign, which makes the trick a symmetric challenge set and does not gain anything. Not applicable without a sign-hiding commitment structure.
2.4 The cost in norm
After acceptance with , so . The is the price of the technique: every coordinate is masked at a width covering the norm of the whole vector. At , as in a signature, that is 5 bits; at it is 11.
3. The protocol: a zero-knowledge user fold
3.1 Notation
- : the commitment matrix, shared by every commitment in the accumulation chain.
- : the concatenation of the user’s secret committed vectors as digit vectors. Several staged commitments concatenate, and is their sum, since Ajtai commitments add. Besides the circuit’s witness, may hold digits that are the protocol’s own randomness: the hiding padding of §4.2, and the coefficients of masking polynomials where a sum-check over is revealed, as on the hardware wallets page. The mask’s width is set for a bound on the norm of the honest (§2.4), and the obligations of step 7 are on the response. So nothing in the protocol needs those digits to be range-checked. Where part of is the prover’s own randomness, the bound may hold only up to a small probability over that randomness, which then joins the statistical error of §4.2.
- : the NARK’s evaluation claims, that the polynomial recomposed from evaluates to at . Several commitments each carry their own list of evaluation claims and are handled alike.
- : the challenge set, of small elements with invertible pairwise differences, of size at least times the extraction slack (§5.4).
- : the transcript hash, modeled as a random oracle; in the merge circuit it must be arithmetization-friendly.
- : the digit base; : digits needed for a coordinate of ; .
3.2 Steps
- Mask. Sample and commit directly, not through digits (§4.2). For each evaluation point compute , the evaluation at of the polynomial recomposed from , so that is a valid evaluation claim. This is the random partner: a random evaluation claim, not a proof of a random instance (§4.3).
- Challenge. , mapped into .
- Response. in the ring, as integer vectors.
- Rejection test. With , accept with the probability of §2.2; on rejection return to step 1 with a fresh , hence a fresh and a fresh . Also return to step 1 in the rare case that a coordinate of exceeds , so that is fixed.
- Decomposition. Write with each , and commit .
- Fold of the evaluation claims. For each the folded one is with , the addition in Akita’s packing. Akita arranges its folds so that evaluation commutes with multiplication by a subring challenge, and the same arrangement is assumed here. Evaluation claims stay at their own points: moving them to a common point first, as LatticeFold-style folds do, would run a sum-check over the unmasked and need its own masking. Their number does not grow, and the aggregator’s later folds reduce them to a common point on masked data.
- Obligations. Prove that each has digits in the alphabet and that is at most its certified bound, as Akita certifies its folded responses, by sum-checks absorbed into the transcript. The bound matters for soundness (§5.2).
3.3 What the verifier checks and what the aggregator receives
The merge circuit that verifies the fold checks:
- the challenge derivation;
- the commitment identity , which is ring-linear in the commitment vectors and holds because and both hold over the integers;
- the fold of the evaluation claims, which is field arithmetic;
- the sum-check transcripts of step 7, whose final evaluation claims join the accumulator.
Absorbing and the is where the commitment rank enters the circuit cost; the compressed-commitment deferral discussed separately makes that cost rank-insensitive and does not change anything here.
The aggregator receives the output accumulator, instance with the folded evaluation claims and the obligations’ final claims and witness , together with the merge NARK that verifies the fold, instance and witness. The merge NARK’s witness is the merge circuit’s trace: transcript values, commitments, and verifier arithmetic on them.
4. Why it is zero knowledge
4.1 The simulator
Given the public instance and the output, the simulator:
- samples and , conditioned on every coordinate being at most ;
- decomposes into and commits them;
- sets and ;
- programs the random oracle so that ;
- runs the honest prover for the obligations of step 7 on , which it knows.
4.2 What the proof needs
- The rejection-sampling theorem: the real accepted is within of and independent of and .
- The mask commitment is a function of and . Because is committed as one vector, the real equals exactly, so the simulator can compute it. This is the Schnorr simulator’s : the first message must be a function of the response and the challenge alone. Committing to the digits of instead would also be sound, but a distinguisher who knows computes , its digits, and , and a simulator cannot. The price of the direct commitment is that , with coordinates up to , must itself be a short opening, which §5.2 needs anyway.
- Programming succeeds. By the regularity lemma for discrete Gaussians (Gentry–Peikert–Vaikuntanathan 2008), is statistically close to uniform on when exceeds the smoothing parameter of . That holds with enormous margin at and in the millions. So the real has high min-entropy and the adversary has not queried at it except with negligible probability.
- Everything else published is a function of , , and public values: the , the , the folded evaluation claims, and the obligation transcripts, which are proofs about . None needs masking of its own.
- must be hiding. An Ajtai commitment is deterministic, and of a trace driven by a few hundred secret bits is not statistically hiding. Appending uniformly random digits to the committed vector fixes this by the leftover hash lemma when . At the parameters of §5.3 that is about 86K bits, about 29K base-8 digits or the digits of about 340 random field elements. The padding folds and range-checks like everything else. A computational padding of a few thousand bits does the same job under a knapsack-LWE assumption that reduces tightly to LWE; §5.10 gives the argument and the estimate.
- Revealed evaluations must not leak. Ragu’s NARK is deliberately not zero knowledge: it sends the witness vectors unmasked, and its trace polynomial has a hiding commitment but does not have any random coefficients. The vectors go into the accumulator, which the randomizer pads; the evaluations , , in the NARK and in the fold are linear functionals of the trace and do not. The standard fix is one random coefficient in the trace polynomial per evaluation revealed over its lifetime.
- The merge NARK’s witness, handed to the aggregator, contains (hiding by the previous item), , , the evaluation claims, and the obligation transcripts, all simulatable, so it does not carry any further information.
4.3 The “one fold suffices” statement, and what the random partner has to be
The statement to prove, in either setting: after the user’s single fold with a random partner, the joint distribution of everything the aggregator receives is simulatable from the public statement of the action and the output instance alone. What the aggregator receives is the output accumulator’s instance and witness and the merge NARK’s instance and witness. Neither setting has a proof yet. In the DL setting the witness side is the uniformity argument of §1.1, and the message side is the quotient commitment, hidden by , and the evaluations at , hidden by blinding coefficients. In the lattice setting the witness side is rejection sampling and the message side is the list of §4.2. That list is longer because the commitment does not have any blinding factor and the fold’s messages include a decomposition and sum-check transcripts, but each item reduces to a function of the masked .
One part of the statement is decided by what the partner is. A proof of a random instance of the circuit has as its polynomial the trace of that instance, a deterministic function of a few free inputs, not a uniform vector, and then is not uniform. For a circuit that computes the powers of its one input, and give . That is equations in the two unknowns and , which determine for ; more random instances add unknowns but add equations faster. The partner must be a uniformly random vector with a trivially true evaluation claim, folded as one more such claim rather than as a proof. The lattice setting has the same requirement in another form: the rejection-sampling theorem needs a fresh Gaussian , and a random trace is not one.
5. Costs
5.1 Norm growth
With and : , and fixes the digit count . The uniform-box variant would give , about 4 bits worse in at .
5.2 The Module-SIS bound
The extractor rewinds to a second challenge and obtains short responses with . This is a relaxed opening of : opens it, but only its multiple by is known to be short. Binding for relaxed openings is the cross-multiplication argument of Attema–Lyubashevsky–Seiler 2020, which Akita uses in its lemma on binding from weak openings. Two relaxed openings with challenge differences give a kernel vector of norm at most . So the bound of must be at least
with the certified Euclidean bound on responses. That is why step 7 certifies the norm and not only the digit range: a digit range alone gives rather than , which costs 3 bits of .
The bound is a property of , and is shared by every commitment that the decider opens through this chain, because binding transfers only through the matrix under which the fold identity is checked. So the mask raises for the whole system. That system is the accumulation: every accumulator is committed under this matrix. Akita’s internal fold levels and its terminal commit the final accumulator’s ordinary witness under their own matrices, whose bounds the mask does not change, so the opening proof is nearly unaffected; only this matrix’s larger images, carried as auxiliary digits at the first level, grow. A smaller matrix for later folds does not help: their checks would cover only a prefix of the rows, and the extracted openings would satisfy only that prefix. Two independent matrices joined by proven switches are the other shape; §5.9 works it through and finds the switch’s verifier cost to be the obstacle.
The rank follows from the usual estimate: lattice reduction with root Hermite factor finds a kernel vector of norm about , so hardness at needs
At the 147-bit quantum ADPS16 target, the page’s default, the block size is 556 and ; at the 128-bit target it is 484 and . The commitment’s size in bits depends on and not on , and doubling quadruples the rank; §5.5 confirms both with Akita’s estimator.
5.3 A worked example
Assumptions are listed so that each can be replaced. The parameters are those of the frontier page: weight-20 challenges in the accumulation matrix’s ring dimension and , which §5.6 compares with the alternatives. The two rank rows come from Akita’s SIS estimator at the Pasta modulus (§5.5); the rows above them are this note’s assumptions.
| quantity | assumption or derivation | value |
|---|---|---|
| secret committed vectors | three vectors of coefficients over Pasta | coefficients |
| digits | 85 digits per coefficient | |
| digits at most 4 | ||
| challenge set | ring dimension , ternary, weight 20 | elements |
| certified | ||
| digits per coordinate | balanced base 8 | 9 |
| masked | ||
| masked rank | Akita’s estimator, 128 quantum bits | 349 field elements, 11.2 kbytes |
| unmasked | responses of norm about | |
| unmasked rank | Akita’s estimator, 128 quantum bits | 143 field elements, 4.6 kbytes |
| hiding padding | bits of uniform digits | 30K digits |
So the mask costs about 2.45 times the commitment rank, 9 times the witness length handed to the aggregator, and about 1.3 attempts per fold.
5.4 Other costs
- Witness size. The aggregator receives digits instead of : about digits, 14 Mbytes at three bits each, against about 1.5 Mbytes unmasked. The information content is coordinates of 27 bits, about 14 Mbytes, so the digit planes are at the limit. The length is paid in that transfer and in the aggregator’s first fold on this accumulator, whose range checks cover the nine digit planes and which folds them back to digits with its other inputs. The folds above are at the ordinary length; what every fold pays is the rank of §5.2.
- Prover time per attempt: one commitment of a vector with 23-bit entries, plus Gaussian sampling of coordinates. The commitment is ring products. At the masked 349 rows over Pasta, and , the mask’s NTTs of size 512 are about butterfly multiplications and the pointwise products about , so about multiplications, or operations with the additions and reductions. At 32 word multiplications per Pasta multiplication that is about word multiplications, 0.232 s at per second on one core. At a 64-bit commitment modulus the rows are four times as many and each multiplication two words, about a fifth of that. The sampling, coordinates at as a rounded continuous Gaussian at about 7.1 nanoseconds each (the sampling point below), is 0.0294 s, 0.13 times the commitment. So an attempt is 0.261 s, and a fold 0.335 s at the expected 1.3 attempts of . Against that, a fold is 0.705 s at the 2.7 attempts of and 1.93 s at the 7.5 of (§5.6), or 1.91 s with Karney’s exact sampler at 300 nanoseconds. These are costs at Pasta’s modulus. What a post-quantum Zcash would prove with such a fold is a migration, which the frontier page prices with Kishu, whose commitments are at a 64-bit modulus. Recovering one or four Tachyon or Ironwood notes into a Zoodles note takes 0.0110 to 0.0683 s of prover there without zero knowledge, and 0.0585 to 0.219 s with it. So zero knowledge adds 220 to 430 percent to such a transaction, more than the whole prover without it: unmasked, a migration that fits one step has no merge at all. §5.8 moves the attempts and the obligations off the device’s critical path. The merge circuit sees only the accepted attempt.
- Challenge set. is the accumulation matrix’s ring dimension in Akita’s catalog at this geometry, so weight-20 ternary challenges there cost nothing and give choices. In dimension 128 weight 32 is needed for , and in dimension 64 ternary challenges give only about . Wider coefficients at fixed positions are cheaper to apply in a circuit, since the positions are constants, at the price of a larger .
- Gaussian sampling must be within statistical distance about of for the
theorem to apply as stated, and at double precision alone is not enough.
The sampler assumed here is a rounded continuous Gaussian with Sheppard’s correction,
. Jeudy (ePrint 2026/2583, Theorem 3.1) shows that
it is the discrete Gaussian of width at any centre to within a Rényi divergence of order
of . That is
below over the coordinates here, so
the proof replaces the real mask by the ideal discrete one at no loss. Hülsing, Lange and
Smeets’ Box–Muller sampler (PKC 2018, ePrint 2017/1025)
takes 7.7 to 13
nanoseconds a coordinate measured, without and with its randomness, on a 2014 core.
The 7.1 here is measured on one core of an Apple M4 Max with
AES-CTR randomness on the AES instructions, the tail check and the rounding included
(
scripts/sampler-bench.c); ChaCha20 in plain C makes it 14. What double precision cannot do is round exactly. A coordinate’s error is its size times , which leaves about of the coordinates undecided between two integers, one coordinate in folds. That fraction is also the PKC 2018 paper’s worst-case bound on the divergence the error would leave, far from . Refining those coordinates in higher precision makes the rounding exact. Karney’s exact method is the alternative, at about 300 nanoseconds a coordinate (Du, Fan and Wei, arXiv 2008.03855, measured his RandomLib sampler at 290 to 470). - Where refinements change these figures. The rank rests on the single shared matrix of §5.2; a design that checked the masked fold under a matrix of its own would confine the rank to the zero-knowledge layer, but the switch between matrices has to be proved, and §5.9 finds that proof to cost a linear-size verifier or an in-circuit opening. The digit count follows from the base, from and from ; a Pasta profile of Akita with another base, a smaller at the price of more rejections, or sparser challenges changes it, and Akita’s certification prices both the masked and the unmasked matrix more favourably, which is the route the frontier page takes (§5.5). The witness size is the example’s, three vectors of coefficients, so the 14 Mbytes is four times larger at .
5.5 Checking the ranks with Akita’s estimator
The rank rows of §5.3 come from Akita’s own SIS estimator, the component of
its planner that sizes every matrix: repository LayerZero-Labs/akita at commit
60b82bc30f4f8f1130ccd71fe10b0b9bed909ab9 (2026-10-09, Apache-2.0 or MIT), crate
akita-sis-estimator, Euclidean path, configuration akita_euclidean_table (ADPS16 quantum
Core-SVP, 128-bit floor). The driver pasta_rank.rs beside this note, added as an
example to a scratch clone, takes the Pallas base-field prime, columns, and a Euclidean
collision bound, and binary-searches the least number of scalar rows reaching 128 bits. One
adjustment: the estimator reports infinity when the BKZ block it needs exceeds the lattice dimension
it chose, which at tiny row counts hides a trivial attack in a larger sublattice. The driver
therefore takes the cheapest attack over the estimator’s own dimension and a ladder of explicit
ones.
| of collision bound | rows at Pasta | rows at | rows at | commitment bits |
|---|---|---|---|---|
| 20 | 79 | 312 | 156 | 20.0K |
| 24 | 113 | 448 | 224 | 28.7K |
| 27 | 143 | 567 | 284 | 36.3K |
| 32 | 201 | 797 | 399 | 51.1K |
| 36 | 254 | 1008 | 504 | 64.5K |
| 41.6 | 340 | 1346 | 673 | 86.3K |
| 42.2 | 349 | 1385 | 693 | 88.6K |
| 42.6 | 356 | 1412 | 706 | 90.4K |
| 43.2 | 366 | 1452 | 726 | 92.9K |
| 44 | 380 | 1506 | 753 | 96.5K |
| 48 | 452 | 1792 | 896 | 114.8K |
Every row sits at BKZ block size 484 to 486, and the commitment bits agree across the three moduli to within half a percent, which is §5.2 made concrete; the two §5.3 rows are in the ratio 2.44, against 2.45 by the rule. Cross-checks:
- The pinned Python lattice-estimator in Akita’s
third_partysubmodule, run under Sage withsage-sis-check.pybeside this note, gives the same Pasta figures. At , 143 rows give 128.26 bits with block 484 in dimension 2690, and 142 rows give 126.94. At , 340 rows give 128.53 with block 485 in dimension 4151, and 339 rows give 128.00. The Rust estimator ports the same formula, so this checks the port and the driver, not the cost model. - A shipped schedule,
artifacts/schedules/fp128_dense.aksrow 0, has a Euclidean terminal instance with collision bound , ring dimension 64, rank 3, width 256, so 192 rows. The same path says 189 rows are needed at , and 192 is the least multiple of 64 above it: the driver reproduces the planner’s choice on an instance the planner chose. - The catalog security report covers 115 schedule rows across the three moduli and passes its own
check; every weakest instance is a coefficient- instance at the 128.26-bit floor. For
the root inner matrix of
fp128_onehot_recursive, ring dimension 512, rank 1, width 131072, bound 835380, the estimator reports at least 128.26 bits at dimensions 512 and 384 and 84.0 bits at 256. So 512 is the least power of two that meets the floor. - The six compression maps of the paper’s Table 5, rank one with bound one, pass the 128-bit floor under the proven-pruned profile; the paper states at least 147 bits for them.
This checks that the §5.3 ranks are what Akita’s estimator gives for the stated Euclidean bounds at a 254-bit modulus, and that its behaviour there is continuous with the paper’s moduli. It does not check the collision bounds themselves, which rest on this note’s assumptions about the witness, the challenge set, and the extraction slack.
The route. Akita certifies its own matrices on the coefficient norm rather than the Euclidean one. The attack and its cost are the same; what differs is what counts as a solution. The Euclidean estimator asks for a kernel vector inside a ball of the bound’s radius, and the estimator for one inside a box, taking the probability that every coordinate of a reduced vector lands in it. For a masked response the bound is the extraction slack times , with no : at this example against the Euclidean of §5.3. Without the mask it is the slack times a fold’s output, the two children at the challenge’s weight and the step’s own digits: against . The frontier page sizes the accumulation matrix this way, at each configuration’s own accumulator, from Akita’s width tables at the catalog’s bound ladder and at the catalog’s ring degrees of 512 and 1,024 (its security-floor section). At this example’s digits and its 128-bit floor, over the Pasta modulus the masked matrix is module rank 1 at degree 512, the unmasked matrix’s own, so on that route the mask costs the Pasta configurations nothing on the matrix. At the 64-bit modulus it is module rank 2 at degree 1,024 against module rank 1 at degree 512, a factor of 1.27 on the commitment rate against this section’s 2.45 on the rows. The ranks in the table above stand as the Euclidean route’s, which this note keeps as its own analysis. Proof sizes at a Pasta modulus are the subject of the Akita proof sizes at a Pasta modulus page.
5.6 Cutting the masked bound
The bound of §5.2 is with and , and the rank grows as the square of its logarithm. Two of its inputs are choices. A narrower Gaussian, smaller , costs rejection attempts, about of them. A challenge set of smaller norm needs a larger ring dimension to keep challenges; the accumulation matrix’s ring dimension in Akita’s catalog is 512 at the geometry and 1024 above it, so the weight-20 ternary challenges in dimension 512 that §5.3 assumes are available without any change; weight 32 in dimension 128 is the alternative at a smaller ring. Each bit off the bound takes about five percent off the rank, and the masked coordinate width sets the digits per coordinate, so the accumulator handed to the aggregator shrinks only when a whole digit goes. At :
| α | ‖c‖₁ and the challenge set | attempts | log₂ β | rank factor | coordinate bits | J | masked accumulator |
|---|---|---|---|---|---|---|---|
| 96 | 20 (d = 512, weight 20, challenges) | 1.1 | 43.2 | 2.56 | 27.7 | 10 | 15.7 Mbytes |
| 48 (§5.3) | 20 (d = 512, weight 20, challenges) | 1.3 | 42.2 | 2.45 | 26.7 | 9 | 14.2 Mbytes |
| 24 | 20 (d = 512, weight 20, challenges) | 1.7 | 41.2 | 2.33 | 25.7 | 9 | 14.2 Mbytes |
| 12 | 20 (d = 512, weight 20, challenges) | 2.7 | 40.2 | 2.22 | 24.7 | 9 | 14.2 Mbytes |
| 6 | 20 (d = 512, weight 20, challenges) | 7.5 | 39.2 | 2.11 | 23.7 | 8 | 12.6 Mbytes |
| 4 | 20 (d = 512, weight 20, challenges) | 20.7 | 38.6 | 2.05 | 23.1 | 8 | 12.6 Mbytes |
| 12 | 32 (d = 128, weight 32, challenges) | 2.7 | 41.6 | 2.37 | 25.4 | 9 | 14.2 Mbytes |
| 6 | 32 (d = 128, weight 32, challenges) | 7.5 | 40.6 | 2.26 | 24.4 | 9 | 14.2 Mbytes |
| 12 | 16 (d = 1024, weight 16, challenges) | 2.7 | 39.6 | 2.15 | 24.4 | 9 | 14.2 Mbytes |
| 6 | 16 (d = 1024, weight 16, challenges) | 7.5 | 38.6 | 2.04 | 23.4 | 8 | 12.6 Mbytes |
The page’s choice, and §5.3’s, is with the weight-20 challenges. A narrower mask saves rank. takes the factor from 2.45 to 2.22 for 2.7 attempts instead of 1.3; brings 2.11 and a masked accumulator of 12.6 Mbytes for 7.5 attempts at about 0.26 s each; and buys little more for three times the attempts. A wider one saves attempts, which cannot fall below one while the rank keeps growing, and from the coordinates take a tenth digit plane. The page’s transaction measure prices the user’s whole chain, and in it each attempt commits the whole mask. On the page’s route (§5.5) the matrix does not move across these widths, so that measure alone prefers a far wider mask, and 48 is within 23 percent of its least (its zero-knowledge section); what a wider mask costs there is outside the measure, the coordinates’ bits and digit planes in the transfer and the aggregator’s range checks, and the public merges’ rate. On this section’s Euclidean route a wider mask costs rank as well, which is the trade-off the table shows. These figures move the prover’s commitment work and the zero-knowledge layer’s accumulator, not the final proof, which §5.2 leaves nearly unchanged. The in is the larger term, and §5.7 considers masking in blocks to reduce it.
5.7 Masking in blocks
The in is the price of masking the whole vector at one width (§2.4). Masking block by block, over blocks of digits, replaces by : at that is four bits off the bound, a rank factor of 2.00 instead of 2.45 with §5.3’s parameters, or 1.70 instead of 2.11 at , and 23-bit coordinates, eight digits, an accumulator of 12.6 Mbytes. The difficulty is making the rejection test independent per block. A rejected block resamples its mask, which changes the mask’s commitment and so the challenge; with one challenge for every block, one rejection restarts them all, and the acceptance probability vanishes. Two ways around it:
- Per-block challenges. A challenge per block, derived from , lets each block retry alone. But the fold identity needs the block’s own inner image , and the accumulator’s commitment binds only the outer commitment of the concatenated images, (Akita §4.5). With distinct the verifier cannot form from the one outer commitment. So the accumulator would carry commitments per committed vector instead of one: compressed, 128 bytes each, 32 kbytes per vector at , six vectors per step, and the merge absorbs them all, about 12,000 atoms against 180. The evaluation claims split the same way, into per-block partials, per evaluation point, which Akita’s terminal already uses. At the saving is two bits and one digit, and the cost 16 commitments per vector and about 700 more atoms in the zero-knowledge layer’s merge. Not attractive.
- One challenge, candidate masks. Keep one , but sample candidate masks per block before the challenge, bind all of them, derive , and take for each block the first candidate that passes the rejection test against , publishing the index. The index leaks nothing: the theorem of §2.2 makes the accepted output and the acceptance probability independent of the secret, so the index is geometric with parameter whatever is. The probability that some block exhausts its candidates is about ; at and , 9 leaves . The cost is times the mask sampling and the binding of candidate masks before the challenge. Akita’s compression maps are linear, so the binding can be a Merkle tree over the candidates’ compressed images, with the chosen leaves opened in the merge circuit and summed: 256 paths of about 14 hashes, a million gates, plus 256 images of 128 bytes absorbed, about a thousand atoms, in the zero-knowledge layer’s merge only. A single lattice commitment to all candidates with the selection proven as a linear relation would be cheaper and is a further design. The masks’ commitments are the same as before, so the extraction argument and the bound are unchanged apart from .
The second route is the one worth pursuing, if the candidate binding can be made cheap; it is open. Either way these figures move the prover’s commitment work and the zero-knowledge layer’s accumulator and merge, not the final proof.
5.8 The user’s online cost
The fold of §3 runs once per transaction on the user’s device: the 0.335 s of §5.4 on a fast core, a few seconds on a phone, which is still worth moving off the critical path. Two changes move nearly all of it.
- Precomputed candidate masks. The masks depend on neither the witness nor the transaction, so the device samples a batch of masks and commits to them, , in idle time. At transaction time the batch is bound into the transcript, the challenge is derived, and the first candidate that passes the rejection test against is used, with its index published: the second route of §5.7, across attempts rather than blocks. The index leaks nothing, since the acceptance probability does not depend on the secret. The batch is discarded after use: a rejected candidate’s rejection is correlated with the secret, and reusing it would fall outside the theorem. A batch of fails with probability , one percent at 4 candidates for , 11 for and 33 for ; on failure the device samples online. Extraction rewinds until two transcripts use the same index, transcripts in the worst case instead of two, which costs about bits of tightness. The merge circuit absorbs the compressed commitments, four atoms each, and derives from them.
- Deferred obligations. The decomposition of into digit planes, their commitments, and the range and norm proofs of step 7 need not be the user’s. The aggregator’s first fold decomposes its inputs anyway, and it holds . So the user hands over itself, with computed homomorphically, and the aggregator commits the digit planes and proves the obligations in its own fold, whose merge circuit checks them as §3.3 describes. The user’s merge circuit checks only the challenge derivation, the commitment identity, and the fold of the evaluation claims. Cross-transaction aggregation is not trusted for privacy, and this changes nothing for it: the aggregator received the digit planes before, which together are , and it receives now, which rejection sampling makes independent of ; the obligations it now proves are about , which it holds, and they guard the decider against a malformed rather than the transaction against the aggregator, so it checks ’s norm on receipt and refuses a bad one. This is the deferral of open point 7, and it takes nine commitments of digits and the sum-checks off the device.
What remains online is : a ring product by a sparse ternary challenge, 32 additions per coordinate, and one vector addition, about additions, a tenth of a second on a phone core; the evaluations of the chosen mask at the evaluation points; and the transfer of , about 14 Mbytes at 27 bits per coordinate, 13 Mbytes at and 12 Mbytes with §5.7’s blocks. The transfer is the cost that does not move, since the information content of is set by the mask’s width.
5.9 Two matrices: confining the rank to the zero-knowledge layer, and where that stalls
§5.2 charges the masked bound to every step, because every accumulator is committed under the one matrix whose bound the mask raises, and a smaller matrix for the later folds does not help when it is a prefix of the rows. The other shape is two independent matrices joined by proven equalities, which this section works through to the point where it stalls.
The design. Let be the accumulation matrix at the ordinary bound, 143 rows over Pasta in §5.3, and a second matrix sized for the masked bound, 349 rows. The user’s own chain runs under , and so do the aggregator’s merges. Only the handoff touches . At the handoff the user commits the last accumulator’s witness again under , , and proves that and open to the same short . The masking fold of §3 then runs under . The user hands over decomposed into its digit planes, each committed under and proved equal to its commitment the same way, and the aggregator’s first fold takes the digit planes as ordinary inputs. The extractor would run in three pieces: the public chain’s, under at the ordinary bound; the masking fold’s, by the rewinding of §5.2, under at the masked bound; and the user’s chain’s, under again; the two switches tie the pieces together. That is not the prefix construction §5.2 rules out, since nothing requires the identities to cover the rows. If it went through, would be used twice per transaction and nowhere else: one more wide commitment, about a third of the masking fold of §5.4, and every step’s commitments would return to the unmasked matrix’s rate.
The switch must be proved. It is not enough that the user computes honestly. The evaluation claims folded at the handoff do not bind . A dishonest user can choose a short with at the few evaluation points, which is a system of a few equations in unknowns, commit under , and hand over a masked whose evaluation claims pass at the decider. Only the commitment binds the witness, so the switch has to prove that the vector binds is the vector binds.
Where it stalls. Accumulation never recomputes a commitment: binding transfers through fold identities that are linear in the commitments, and that is what a change of matrix forfeits, since no linear map takes to . The direct proof of for a committed is a sum-check: the verifier draws , and the prover shows . That reduces to an evaluation of ’s multilinear extension, which the accumulator carries as an evaluation claim, together with an evaluation of the multilinear extension of at the sum-check’s point, which the verifier must compute itself. For a pseudo-random that evaluation is a dense sum over entries, so the merge circuit that verifies the switch does work, about as much as committing the witness again. Stacking the matrices instead, so that one commitment carries both blocks and the chain checks only the block, is the prefix construction of §5.2: a cheating prover fills the unchecked block freely. So the switch costs either a linear-size verifier or a matrix with structure that makes ’s multilinear extension succinct, and Akita’s matrices, expanded from seeds, have no such structure.
The form that would work, and what it costs. An opening at the boundary: fold the user’s witness down through Akita’s own levels to a terminal response short enough that the verifier recomputes its commitment, as the decider does, and have the aggregator’s first merge circuit verify that opening. This seals the handoff the way recursion does (the page’s zero-knowledge section), and it is a decider’s verification inside a step circuit, once per transaction. Its transcript alone is an opening proof of about 85 kbytes to absorb: some gates with a conventional hash at 14,900 gates per 64 bytes, or about with Poseidon at 72 gates per atom, before the sum-check arithmetic. What it would save is the masked matrix’s rate on the transaction’s steps and merges. On this section’s Euclidean route that is a factor of 1.7 to 1.9 on their commitments, about a quarter of a second for a -gate transaction over Akita’s 64‑bit field at step rank 13 on the page, against a masking fold of under half a second. On the page’s route (§5.5) it is a factor of 1.0 to 1.54, 1.39 for Kishu, so less. So with a conventional hash the opening costs several times what it saves per transaction, and with Poseidon the two are close on the Euclidean route and not on the other. System-wide the picture is different, since the masked matrix’s rate is also what every public merge pays, and that is the whole zero-knowledge cost in the page’s merge-prover measure.
So the rank stays with the shared matrix for now. The two-matrix design is worth returning to if either a succinct switch exists for a structured , or an in-circuit opening becomes cheap, which the hash policy of the page decides; open point 10.
5.10 A computational hiding padding
The leftover-hash padding of §4.2 is statistical and costs uniform bits, several times the statement it hides when the statement is small, as a hardware wallet’s is. A computational padding is a few thousand bits. Append to the committed vector, so that with the padding’s columns of the same accumulation matrix. Then hides if is pseudorandom: a distinguisher between and for uniform is, with added by the distinguisher itself, a distinguisher between and , with the same advantage and running time. That is the knapsack function of Micciancio and Mol (CRYPTO 2011), over with the matrix’s scalar rows and inputs from the uniform binary distribution.
Its pseudorandomness is LWE by a change of coordinates, not by a lossy reduction. A random has full rank except with probability about , so a row transformation and a column permutation put it in systematic form . Then is uniform exactly when is, with the permuted : an LWE instance of secret dimension , samples, and secret and error both uniform binary. Any distinguisher for one is a distinguisher for the other with the same advantage, up to the linear algebra, which is their theorem. Two heuristics sit underneath, the same two that Akita’s own Module-SIS estimates rest on. The matrix is a module over the ring rather than a uniform matrix, and the estimate treats the structured instance as unstructured, since no known attack gains more than small factors from the ring structure. And the error is uniform in rather than centred, which is the same instance after subtracting from the sample, so the cost at is the right one.
The pinned lattice estimator costs every attack on that instance under the ADPS16 quantum model that
the page’s Module-SIS instances use
(scripts/knapsack-lwe-check.py). The
cheapest is the dual hybrid attack, which exploits the binary secret; the primal attacks are about a
hundred bits dearer, so a primal estimate alone overstates the margin. At the frontier
page’s matrix for the wallet’s
statement, 1,024 rows, a padding
of 4,800 bits costs the
attacker 149 quantum bits, the 147-bit floor’s
padding, and one
of 4,400 bits 128,
so the page takes the least padding on the sweep’s grid, 50 bits where the floors are crossed, that
reaches each floor. The padding’s hardness falls with the rows: at this note’s 1,385 Euclidean rows
5,000 bits give 140 bits, and at 2,048 rows
they would fall short of the 128-bit floor. Fewer rows mean a larger secret dimension
and fewer samples, both of which help the padding. Whether the dual attack’s analysis holds
in the regime it is scored in has been disputed (Ducas and Pulles, CRYPTO 2023), so the
estimator may credit the attacker with more than the attack delivers; keeping its figure is the
conservative choice, as keeping the ADPS16 quantum model is. The statistical padding is still the
dearer option by an order of magnitude; the Hardware wallets page prices
both.
6. Proof hygiene
- The original Fiat–Shamir-with-aborts analyses had gaps in the treatment of aborted iterations, fixed in 2023 by Devevey–Fallahpour–Passelègue–Stehlé and by Barbosa et al. (both CRYPTO 2023). A proof for the fold should follow a corrected treatment. Two practical consequences: cap the number of attempts, accepting a negligible completeness error, and never publish anything from an aborted attempt.
- The QROM treatment of Fiat–Shamir with aborts for signatures is Kiltz–Lyubashevsky–Schaffner (EUROCRYPT 2018), the natural starting point here, and separate from Akita’s own QROM proof, which covers the opening protocol.
- The number of aborts is not in the transcript but is visible to anyone timing the user’s device. Minor for a wallet, but to be noted.
- The relaxed openings of §5.2 are a soundness matter, not a zero-knowledge one: whatever NARK runs on top of the lattice accumulation must be sound with respect to relaxed openings of its commitments. That is a property of the whole lattice-Ragu design and out of scope here.
7. Open points
- Ragu’s fuses now fold two randomizer polynomials as evaluation claims of their own and batch a mask, and its rerandomization runs two passes with a public partner (§1.1). Its hiding argument is a per-value accounting with a rank test as evidence, and Ragu’s book and code say the joint distribution is not established. This study does not adopt that argument. Its route is the one-fold statement of §4.3, a single fold of the user’s last accumulator with a uniformly random evaluation claim under hiding commitments, with a simulator for everything the aggregator receives: the DL version to be proved first, since its proof is short and fixes the statement, then the lattice version with rejection sampling.
- Add a random coefficient to the trace polynomial per evaluation revealed over its lifetime (§4.2). Ragu’s traces and stages now carry three free coefficients each, which its documentation says a parent’s commitment and two evaluations use up; the randomizers do the rest.
- Done upstream by the two passes (§1.1): the output shows the first pass’s fresh commitments, not the input’s.
- Write the one-fold statement of §4.3 as a theorem and prove it, DL version first, since its proof is shorter and fixes the statement. The DL proof relies on the partner’s own quotient being folded in, which is what makes the map of §1.1 a bijection.
- Decide the challenge set and get and the extraction slack from Akita’s planner, then redo §5.3 with real numbers.
- Check that the commutation of evaluation with the challenge in step 6 holds for the packing Ragu would use, or choose the packing so that it does.
- Settle how the obligations of step 7 are verified, in the user’s merge circuit or deferred with Akita’s fused range and norm checks, and what each costs in gates; §5.8 argues for the deferral.
- Decide whether the hiding padding goes into every staged commitment or only into the published ones.
- Look for a sign-hiding structure that would make the bimodal variant applicable, saving about 3.6 bits of and one digit of .
- Revisit the two-matrix design of §5.9 if a succinct proof of a change of commitment matrix appears, for instance from a structured matrix, or if an in-circuit Akita opening becomes cheap enough to seal the handoff.
References
- Vadim Lyubashevsky. Fiat–Shamir with Aborts: Applications to Lattice and Factoring-Based Signatures. ASIACRYPT 2009. https://doi.org/10.1007/978-3-642-10366-7_35
- Vadim Lyubashevsky. Lattice Signatures Without Trapdoors. EUROCRYPT 2012. https://eprint.iacr.org/2011/537, https://doi.org/10.1007/978-3-642-29011-4_43. Theorem 4.6 and Lemma 4.4.
- Léo Ducas, Alain Durmus, Tancrède Lepoint, Vadim Lyubashevsky. Lattice Signatures and Bimodal Gaussians. CRYPTO 2013. https://eprint.iacr.org/2013/383
- Craig Gentry, Chris Peikert, Vinod Vaikuntanathan. Trapdoors for Hard Lattices and New Cryptographic Constructions. STOC 2008. https://eprint.iacr.org/2007/432. The regularity lemma for discrete Gaussians.
- Thomas Attema, Vadim Lyubashevsky, Gregor Seiler. Practical Product Proofs for Lattice Commitments. CRYPTO 2020. https://eprint.iacr.org/2020/517. Relaxed openings and the cross-multiplication binding argument.
- Eike Kiltz, Vadim Lyubashevsky, Christian Schaffner. A Concrete Treatment of Fiat-Shamir Signatures in the Quantum Random-Oracle Model. EUROCRYPT 2018. https://eprint.iacr.org/2017/916
- Julien Devevey, Pouria Fallahpour, Alain Passelègue, Damien Stehlé. A Detailed Analysis of Fiat-Shamir with Aborts. CRYPTO 2023. https://eprint.iacr.org/2023/245
- Manuel Barbosa et al. Fixing and Mechanizing the Security Proof of Fiat-Shamir with Aborts and Dilithium. CRYPTO 2023. https://eprint.iacr.org/2023/246
- NIST FIPS 204, Module-Lattice-Based Digital Signature Standard (ML-DSA). https://doi.org/10.6028/NIST.FIPS.204. The uniform-mask variant in deployment.
- Dan Boneh, Binyi Chen. LatticeFold: A Lattice-based Folding Scheme and its Applications to Succinct Proof Systems. https://eprint.iacr.org/2024/257. Decomposition and range checks in a folding verifier.
- Quang Dao et al. Akita: A High-Performance Lattice-Based Polynomial Commitment Scheme. https://eprint.iacr.org/2026/1983
- Daniele Micciancio, Petros Mol. Pseudorandom Knapsacks and the Sample Complexity of LWE Search-to-Decision Reductions. CRYPTO 2011. https://eprint.iacr.org/2011/521. The knapsack–LWE duality of §5.10.
- Léo Ducas, Ludo Pulles. Does the Dual Attack Work? CRYPTO 2023. https://eprint.iacr.org/2023/302. The dispute over the dual attack’s analysis.
- Benedikt Bünz, Alessandro Chiesa, William Lin, Pratyush Mishra, Nicholas Spooner. Proof-Carrying Data without Succinct Arguments. CRYPTO 2021 (BCLMS). https://eprint.iacr.org/2020/1618. Split accumulation, and zero-knowledge accumulation by folding with a random instance.
- Léo Ducas, Eike Kiltz, Tancrède Lepoint, Vadim Lyubashevsky, Peter Schwabe, Gregor Seiler, Damien Stehlé. CRYSTALS-Dilithium: Algorithm Specifications and Supporting Documentation, version 3.1. 2021. https://pq-crystals.org/dilithium/data/dilithium-specification-round3-20210208.pdf
- Andreas Hülsing, Tanja Lange, Kit Smeets. Rounded Gaussians: Fast and Secure Constant-Time Sampling for Lattice-Based Crypto. PKC 2018. https://eprint.iacr.org/2017/1025
- Corentin Jeudy. Rounded Gaussians Are Discrete Gaussians. 2026. https://eprint.iacr.org/2026/2583
- Charles F. F. Karney. Sampling Exactly from the Normal Distribution. ACM Transactions on Mathematical Software 42(1), 2016. https://arxiv.org/abs/1303.6257
- Yusong Du, Baoying Fan, Baodian Wei. An Improved Exact Sampling Algorithm for the Standard Normal Distribution. 2020. https://arxiv.org/abs/2008.03855