Documentation

CslibFrontier.Crypto.Computational.Pairing.BLSSecurity

Asymptotic EUF-CMA and SUF-CMA security of native BLS signatures from co-CDH #

This module proves [BS23], Section 15.5.1, Theorem 15.1 (pp. 627–629) for the native word-level BLS signature scheme DecodablePairingGroupFamily.blsNativeROMScheme against uniform oracle-PPT word forgers (ROMSignature.EUFCMA and ROMSignature.SUFCMA) under the co-Computational Diffie–Hellman assumption PrimeOrderGroupFamily.CoCDH:

Proof structure #

  1. Given any uniform oracle-PPT word forger program, exists_eufCmaGame_savedCoinForger compiles it against blsNativeROMScheme into a saved-coin replay forger with a polynomial call budget Qs n = savedCoinBudget c e keyC keyD n using exists_length_encode_le and the caller's polynomial length bound on description.
  2. Replacing schnorrSigKeyGen with the ideal key law costs at most 1 / 2 ^ n (closeTo_schnorrSigKeyGen), and decoding signature queries and candidate forgeries (blsDecodedForger) reduces the native word game to eufCmaGame (P.blsTypedROMScheme d).
  3. Applying succProbability_eufCmaGame_blsTypedROMScheme_le_of_banked with the dyadic biased coin sampleDyadicCoin (Qs n) 1 (probability 1 / dyadicSize (Qs n) ≤ 1 / (Qs n + 1) and dyadicSize (Qs n) ≤ 2 * (Qs n + 1)) gives an explicit concrete co-CDH loss 2.72 * a.
  4. Replacing uniform ZMod q banked exponents with P.G₀.sampleExp n d changes success by at most (2 * Qs n + 1) / 2 ^ n (advantage_bind_iid_sampleExp_le), matching the explicit uniform strict-PPT co-CDH adversary blsBankedCoCDHAdversary (isPPT_blsBankedCoCDHAdversary).

Deviations from [BS23] #

Internal word-level structures for Coron's banked reduction #

Word-level Coron step and finish programs #

Explicit strict-PPT banked co-CDH reduction #

Explicit Coron banked co-CDH reduction ([BonehShoup2023], Theorem 15.1, pp. 628–629) built from the compiled saved-coin native machine machine and polynomial parameters (c, e, keyC, keyD): samples the forger's coin tape s, K = 2 * budget + 1 dyadic biased coins via sampleDyadicCoin budget 1 and approximate random exponents via P.G₀.sampleExp n d, runs the replay machine once against the word-level Coron oracle, and outputs (msig.2 - rhostar • u₀) when cstar = true and no signing query aborted.

Polynomial-time certificates for blsBankedCoCDHAdversary #

theorem Cslib.Crypto.DecodablePairingGroupFamily.isPPT_blsBankedCoCDHAdversary (P : DecodablePairingGroupFamily) {k : ℕ} {Control : Type} [Finite Control] (machine : Turing.MultiTapePTM k Bool Control Bool) (c e keyC keyD : ℕ) :
(P.blsBankedCoCDHAdversary machine c e keyC keyD).IsPPT

The explicit banked co-CDH reduction is uniform strict PPT ([BonehShoup2023], Theorem 15.1, pp. 628–629).

Bridging native word forgers to typed BLS and banked co-CDH #

theorem Cslib.Crypto.PrimeOrderGroupFamily.CoCDH.eufCma_blsNativeROMScheme (P : DecodablePairingGroupFamily) {description : ℕ → P.G₀.Desc} [(n : ℕ) → Fintype (P.G₀.Carrier (description n))] (hCoCDH : P.G₀.CoCDH P.G₁ fun (n : ℕ) => PMF.pure (description n)) (hdescription : PolynomiallyBounded fun (n : ℕ) => (P.G₀.encDesc (description n)).length) :
Protocols.ROMSignature.EUFCMA (fun (n : ℕ) => { toFun := P.G₀.encode (description n), inj' := ⋯ }) fun (n : ℕ) => P.blsNativeROMScheme n (description n)

Asymptotic EUF-CMA security of native BLS signatures from co-CDH ([BonehShoup2023], Section 15.5.1, Theorem 15.1, pp. 627–629): if P.G₀.CoCDH P.G₁ (fun n => PMF.pure (description n)) holds for a sequence of group descriptions with polynomially bounded encoding lengths, then P.blsNativeROMScheme n (description n) (with schnorrSigKeyGen / sampleExp key generation and deterministic per-parameter group descriptions description n; randomized group-generation setups are not covered) is existentially unforgeable under chosen message attack (ROMSignature.EUFCMA) against every uniform oracle-PPT word forger in the random-oracle model.

theorem Cslib.Crypto.PrimeOrderGroupFamily.CoCDH.sufCma_blsNativeROMScheme (P : DecodablePairingGroupFamily) {description : ℕ → P.G₀.Desc} [(n : ℕ) → Fintype (P.G₀.Carrier (description n))] (hCoCDH : P.G₀.CoCDH P.G₁ fun (n : ℕ) => PMF.pure (description n)) (hdescription : PolynomiallyBounded fun (n : ℕ) => (P.G₀.encDesc (description n)).length) :
Protocols.ROMSignature.SUFCMA (fun (n : ℕ) => { toFun := P.G₀.encode (description n), inj' := ⋯ }) fun (n : ℕ) => P.blsNativeROMScheme n (description n)

Asymptotic SUF-CMA security of native BLS signatures from co-CDH ([BonehShoup2023], Section 15.5.1, Theorem 15.1, pp. 627–629): strong existential unforgeability follows directly from CoCDH.eufCma_blsNativeROMScheme and canonical signature uniqueness (DecodablePairingGroupFamily.sufCma_iff_eufCma_blsNativeROMScheme).