Motivation
The Schnorr identification protocol (Schnorr 1991) proves knowledge of x=loggh in three moves. The prover sends a=gr, the verifier replies with a uniform challenge e∈C, and the prover answers z=r+ex. Okamoto's variant (Okamoto 1992) proves knowledge of a representation X=g1x1g2x2 in the same way. Both protocols are special sound. Schnorr's is also perfectly honest-verifier zero-knowledge. By the Reset Lemma of Bellare and Palacio (BP02), a passive impersonator with success probability ε≥1/∣C∣ yields a DLOG solver with success probability at least (ε−1/∣C∣)2. Cryptology City records this bound on DLOG ⇒ Schnorr identification and uses it on DLOG ⇒ Okamoto identification. This mission machine-checks the bound, with the rewinding reduction written out explicitly, together with the protocol properties it rests on.
Setting
The setting is that of Cryptology City II. G is a group, g∈G has order p and generates G, exponents lie in Zp, and gx is g ^ x.val. Adversaries are arbitrary randomized functions (PMF-valued), and games output true when the adversary wins. AdvBdl is the probability that B(gx) outputs x for uniform x∈Zp. The challenge space is a nonempty set C⊆Zp, and challenges are uniform on C.
- Schnorr verifier. For public key h, it accepts (a,e,z) iff gz=ahe.
- Honest transcripts. For secret key x: r←Zp, e←C, and the transcript is (gr,e,r+ex).
- Simulator. For public key h: z←Zp, e←C, and the transcript is (gzh−e,e,z).
- Passive impersonation game. x←Zp and h=gx. The impersonator A=(n,A1,A2) receives h and n independent honest transcripts. A1 outputs a commitment a and a state st. Then e←C, z←A2(st,e), and A wins iff the verifier accepts (a,e,z). The number n of observed transcripts is part of the adversary. This matches the transcript oracle of the passive game for any adversary making at most n queries, since that oracle takes no input and returns independent transcripts.
- Rewinding reduction B=
schnorrRewind. On input X, it simulates n transcripts for X and runs A1 to get (a,st). It draws two independent challenges e,e′←C and runs A2 from the same st on each, getting z and z′. It outputs (z−z′)(e−e′)−1 if both transcripts are accepted and e=e′, and 0 otherwise.
- Okamoto verifier. For generators g1=g, g2 and public key X, it accepts (A,e,z1,z2) iff g1z1g2z2=AXe.
Formalization targets
Goal: passive security of Schnorr identification from DLOG
Let p be prime and let ε=AdvAimp-pa. For every passive impersonator A with ε≥1/∣C∣,
(ε−∣C∣1)2≤AdvBdl.
Milestones
- Reset Lemma, sharp form. For every A, ε2−ε/∣C∣≤AdvBdl. This needs no lower bound on ε, and it implies the goal.
- Schnorr correctness. The verifier accepts (gr,e,r+ex) for h=gx.
- Schnorr special soundness. Accepting (a,e,z) and (a,e′,z′) with e=e′ give h=g(z−z′)(e−e′)−1.
- Schnorr perfect HVZK. The honest transcript law for x equals the simulator's law for gx.
- Schnorr commitments are uniform. In an honest transcript, every a∈G has probability exactly 1/p, so the protocol is non-trivial.
- Okamoto correctness, special soundness and uniform commitments. These are the analogues for X=g1x1g2x2. Special soundness gives the representation X=g1(z1−z1′)(e−e′)−1g2(z2−z2′)(e−e′)−1.
Notes on the formal model
Exact bounds are stated, with no asymptotics. In Zp, 0−1=0; the reduction only inverts e−e′ when e=e′. The bound holds for every nonempty C, including ∣C∣=1, where both sides are trivial. The step from two transcripts with distinct challenges to loggg2, used in the Okamoto reduction, is the Pedersen two-openings milestone of Cryptology City III.