Polynomial-time BCS trace extraction and standard-model collision reduction #
Machine-level ComputableInPolyTime certificates for straight-line BCS oracle-table, witness, and
collision extraction from a recorded Merkle trace, together with a tight standard-model reduction
from trace-extraction BCS binding to CollisionResistant H ([BSCS16];
[CY24], Construction 18.5.3 and Lemma 18.5.7).
Main definitions #
Cslib.Crypto.Protocols.BCS.BCSTraceOutput,Cslib.Crypto.Protocols.BCS.encBCSTraceOutput,Cslib.Crypto.Protocols.BCS.BCSTraceAdversary: output bundle, binary encoding, and adversary type for trace-recording BCS binding experiments.Cslib.Crypto.Protocols.BCS.bcsTraceCollisionFinder,Cslib.Crypto.Protocols.BCS.bcsBreaksTraceBinding,Cslib.Crypto.Protocols.BCS.bcsTraceBindingGame: collision-finding wrapper, trace-binding break predicate, and standard-model binding experiment.
Main results #
Cslib.Crypto.Protocols.BCS.computableInPolyTime_bcsExtractTable,Cslib.Crypto.Protocols.BCS.computableInPolyTime_bcsExtractOracles,Cslib.Crypto.Protocols.BCS.computableInPolyTime_bcsExtractWitness,Cslib.Crypto.Protocols.BCS.computableInPolyTime_bcsFindTraceConflict,Cslib.Crypto.Protocols.BCS.computableInPolyTime_bcsExtractTraceCollision: multi-tape Turing machine polynomial-time certificates for straight-line BCS trace extraction and conflict finding.Cslib.Crypto.Protocols.BCS.isCollision_of_bcsBreaksTraceBinding,Cslib.Crypto.Protocols.BCS.succProbability_bcsTraceBindingGame_le,Cslib.Crypto.Protocols.BCS.isPPT_bcsTraceCollisionFinder,Cslib.Crypto.Protocols.BCS.CollisionResistant.bcsTraceBinding_negligible,Cslib.Crypto.Protocols.BCS.HashFamily.bcsTraceBinding_negligible: tight success-probability and uniform strict-PPT reductions from trace-extraction BCS binding to hash collision resistance.
References #
- E. Ben-Sasson, A. Chiesa, N. Spooner, Interactive Oracle Proofs
- A. Chiesa, E. Yogev, Building Cryptographic Proofs from Hash Functions, Chapter 18 (Construction 18.5.3 and Lemma 18.5.7).
Straight-line extraction of a depth-d oracle table from a Merkle trace (bcsExtractTable)
runs in polynomial time.
Straight-line extraction of all r committed round oracle tables from a Merkle trace
(bcsExtractOracles) runs in polynomial time.
Straight-line BCS witness extraction (bcsExtractWitness) runs in polynomial time when the
underlying straight-line IOP extractor iopExtract and symbol decoder decSym run in polynomial
time.
Finding the first opening in a BCS proof that disagrees with straight-line trace extraction
(bcsFindTraceConflict) runs in polynomial time.
Deterministic trace collision extraction for the BCS transform (bcsExtractTraceCollision)
runs in polynomial time.
A trace-recording BCS adversary receives the unary security parameter n and the Merkle hash
key k, and outputs a Merkle query-answer trace, a statement, and a BCS proof.
The collision finder built from a trace-recording BCS adversary: run the adversary and extract
a Merkle collision from its trace with bcsExtractTraceCollision.
Boolean predicate recording that out breaks trace-extraction BCS binding under k: the trace
is consistent with H k and covers all opened authentication paths of out.proof, bcsVerify
accepts out.proof, and iopVerify rejects the straight-line extracted tables
bcsExtractOracles.
The trace-extraction BCS binding experiment at security parameter n: sample a uniform n-bit
hash key k, run adversary n k, and accept when bcsBreaksTraceBinding holds.
A trace-extraction BCS binding break yields a hash collision: if bcsBreaksTraceBinding
holds and Function.LeftInverse decSym encSym, then bcsExtractTraceCollision outputs a valid
collision for H k.
Tight reduction from trace-extraction BCS binding to collision finding: at every security
parameter n, a trace-recording BCS adversary succeeds at most as often as its collision finder
bcsTraceCollisionFinder.
Efficiency of bcsTraceCollisionFinder: for a polynomial-time hash H with k.length-bit
digests, polynomial-time iop.queries, and polynomial-time hFS, the collision finder of any
uniform strict PPT trace-recording BCS adversary is uniform strict PPT.
Standard-model trace-extraction BCS binding from collision resistance: if H is
collision-resistant (CollisionResistant H), every uniform strict PPT trace-recording BCS adversary
breaks binding with negligible probability.
Collision-resistant HashFamily corollary for trace-extraction BCS binding.