Schnorr signatures are EUF-CMA secure under discrete log #
This module proves that Schnorr signatures are EUF-CMA secure in the random-oracle model under the discrete-logarithm assumption ([BS23], Theorem 19.7 and Lemma 19.8; [PS00]; [BN06]):
theorem DiscreteLog.eufCma_schnorrNativeROMScheme
(hDL : F.DiscreteLog fun n => PMF.pure (description n)) … :
ROMSignature.EUFCMA (fun n => encBitString (width n))
(fun n => F.schnorrNativeROMScheme n (description n) (width n))
schnorrNativeROMScheme is the scheme as its native algorithms run it, with the actual key
generator schnorrSigKeyGen and nonce sampler sampleExp. ROMSignature.EUFCMA says that every
uniform oracle-PPT word forger wins its EUF-CMA game ROMSignature.wordEufCmaGame (adaptive
signing queries, hash queries on arbitrary words, final-message freshness) with negligible
probability. The other premises fix a group family, one description per security parameter with
encoded descriptions of polynomial length, and a challenge width w computable in polynomial time
with 2 ^ w ≤ q and negligible 2⁻ʷ.
The discrete-logarithm adversary is the explicit program schnorrForkingAdversary. It samples the
forger's tape, 2B strict-PPT simulated transcripts (schnorrSimulatedTranscript) and two banks of
B + 1 uniform answers, where B is the forger's saved-coin call budget. It then runs the native
pass schnorrForkPass on the first bank, runs it again with the answers from the named index on
taken from the second bank, and outputs extractNat of the two forgeries when the fork succeeds.
isPPTOn_schnorrForkingAdversary certifies it as strict PPT from the forger's certificate, so
F.DiscreteLog applies to it.
The proof chains four steps, each about existing objects:
exists_closeTo_wordEufCmaGame_schnorrNativeROMSchememoves from the actual samplers to the typed word game within(B + 1) / 2 ^ n;succProbability_eufCmaGame_schnorrWordROMScheme_lebounds the typed game by the one-way success of the typed forking reductionschnorrWordROMSchemeReduction;succProbability_oneWayGame_schnorrWordROMSchemeReduction_lereplaces its perfect simulator by the law of the strict-PPT simulator (schnorrSampledSimulate) within2B / 2 ^ n;discreteLogGame_schnorrForkingAdversaryidentifies that one-way game with the discrete-log game of the native adversary, throughmap_eval_schnorrForkingAdversaryand the exact pass agreementeval_schnorrForkPass.
The group family fixes one description per security parameter. It need not be computable: the discrete-logarithm game gives the description to the reduction, and the saved-coin budget needs only its encoded length to be polynomial. Random setups are not covered, because the existing game gives the forger only the public key.
Main definitions #
schnorrForkingAdversary: the native two-pass forking discrete-logarithm adversary.schnorrForkOutput: its extraction step.
Main results #
isPPTOn_schnorrForkingAdversary: the adversary is uniform strict PPT.map_eval_schnorrForkingAdversary: its output law is that ofFiatShamir.reductionwith the sampled simulator.succProbability_oneWayGame_schnorrWordROMSchemeReduction_le: the statistical simulator step.discreteLogGame_schnorrForkingAdversary: its discrete-log game is that typed one-way game.DiscreteLog.eufCma_schnorrNativeROMScheme: EUF-CMA security underF.DiscreteLog.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6, Section 19.2.2 (Theorem 19.7 and Lemma 19.8).
- D. Pointcheval, J. Stern, Security Arguments for Digital Signatures and Blind Signatures.
- M. Bellare, G. Neven, Multi-Signatures in the Plain Public-Key Model and a General Forking Lemma, Lemma 1.
The output of the forking adversary from two native passes: when the first pass names a
query j, the second pass on answers spliced at j names j too, and the two answers at j
differ, the witness extractNat computed from the two challenges and responses; otherwise the
empty word.
The native forking discrete-logarithm adversary built from a native forger's guarded
saved-coin replay ([BS23], Lemma 19.8; [BN06], Lemma 1). On the group
description d and an encoded public key, it samples the forger's tape, 2B simulated
transcripts and two banks of B + 1 uniform w n-bit answers, where B is the saved-coin
budget. It runs schnorrForkPass once, runs it again with the answers from the named index on
replaced, and extracts a discrete logarithm from the two forgeries.
Efficiency of the forking adversary #
The output step of the forking adversary is computable in polynomial time.
The forking adversary is uniform strict PPT whenever the challenge width is computable in
polynomial time. The forger enters only through its replay machine, whose full-input certificate
isPPTOn_schnorrForkPass is part of the native pass.
The adversary's law #
The native forking adversary realizes the typed forking reduction with the sampled
simulator: on a canonical public key, its output read as a scalar has exactly the law of
FiatShamir.reduction for schnorrWordROMScheme, the decoded saved-coin forger and
schnorrSampledSimulate, with call budgets B and B.
The statistical step #
The strict-PPT simulator's conversations are within 2⁻ⁿ of the perfect simulator's.
Replacing the perfect simulator by the strict-PPT simulator's law in the typed forking
reduction costs at most 2⁻ⁿ per presampled transcript.
The statistical step. The typed forking reduction with the perfect simulator wins the
one-way game at most (Qs + Qro) / 2 ^ n more often than with the strict-PPT simulator's law.
The native adversary's discrete-log game is the typed one-way game of the forking reduction with the strict-PPT simulator's law, at a deterministic group description.
Security under the discrete-logarithm assumption #
Schnorr signatures are EUF-CMA secure in the random-oracle model under the
discrete-logarithm assumption ([BS23], Theorem 19.7 and Lemma 19.8;
[PS00]; [BN06]). Fix a group family description, one description
per security parameter with encoded length polynomial in n, and a challenge width w computable
in polynomial time with 2 ^ w n ≤ q and negligible 1 / 2 ^ w n. If discrete logarithms are
hard for the setup fun n => PMF.pure (description n), then the native Schnorr scheme with
w n-bit challenges is EUF-CMA secure in the random-oracle model: every uniform oracle-PPT word
forger wins ROMSignature.wordEufCmaGame with negligible probability. The game uses the actual key
generator schnorrSigKeyGen and nonce sampler sampleExp, adaptive signing queries, hash queries
on arbitrary words, and final-message freshness.
The premises are the discrete-logarithm assumption and the parameter side conditions; the
forger's certificate is part of ROMSignature.EUFCMA. The proof applies F.DiscreteLog to the
explicit two-pass adversary schnorrForkingAdversary, whose certificate
isPPTOn_schnorrForkingAdversary is derived from the forger's. The family need not be computable,
because the discrete-logarithm game gives the description to the reduction. Random setups are not
covered: the game gives the forger only the public key.