Schnorr signing simulation:
ProvedCryptologyCity.schnorr_sim_boundcryptographycryptology-citydiscrete-logarithmrandom-oracle-model
Let generate a group of order , let have decidable equality and let be nonempty. For every forger whose programs all make at most hash and signing queries on every branch,
where , , and .
Preamble
import Definitions.Def_CryptologyCity_SchnorrROM open scoped ENNReal
Formal statement
namespace CryptologyCity
theorem schnorr_sim_bound {G : Type*} [Group G] [DecidableEq G] {M : Type*} [DecidableEq M]
(g : G) (p : ℕ) [NeZero p] (hg : IsCyclicGroupOfOrder g p) (C : Finset (ZMod p))
(hC : C.Nonempty) (qH qS : ℕ) (A : SchnorrForger G M p)
(hA : ∀ X, ∀ P ∈ (A X).support, P.Within qH qS) :
schnorrEUFAdv g p C hC A ≤
((PMF.uniformOfFintype (ZMod p)).bind fun x => (A (g ^ x.val)).bind fun P =>
(iidPMF (schnorrSignCoin C hC) qS).bind fun σ =>
(iidPMF (PMF.uniformOfFinset C hC) (qH + 1)).map fun h =>
(schnorrSimForge g (g ^ x.val) P (List.ofFn σ) (List.ofFn h)).isSome) true +
(qS * (qH + qS) : ℝ≥0∞) / p := by sorry
end CryptologyCitySource
Cryptology City, DLOG ⇒ Schnorr signatures, https://cryptology.city/Reductions/dlog-and-rom-to-schnorr-signatures-sch91 (Sketch: signing queries are answered with the HVZK simulator by programming H). Pointcheval–Stern, EUROCRYPT 1996, https://doi.org/10.1007/3-540-68339-9_33; Pointcheval–Stern, J. Cryptology 2000, https://doi.org/10.1007/s001450010003.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.