Okamoto identification is special sound
ProvedCryptologyCity.okamoto_special_soundnesscryptographycryptology-citydiscrete-logarithm
Let be prime and let generate a group of order . For all and , if the Okamoto verifier for accepts and and , then
Preamble
import Definitions.Def_CryptologyCity_DLogIdentification open scoped ENNReal
Formal statement
namespace CryptologyCity
theorem okamoto_special_soundness {G : Type*} [Group G] [DecidableEq G] (g : G) (p : ℕ)
[Fact p.Prime] (hg : IsCyclicGroupOfOrder g p) (g₂ X A : G) (e z₁ z₂ e' z₁' z₂' : ZMod p)
(h₁ : okamotoAccepts g g₂ X A e z₁ z₂ = true) (h₂ : okamotoAccepts g g₂ X A e' z₁' z₂' = true)
(hne : e ≠ e') :
X = g ^ ((z₁ - z₁') * (e - e')⁻¹).val * g₂ ^ ((z₂ - z₂') * (e - e')⁻¹).val := by sorry
end CryptologyCitySource
Cryptology City, DLOG ⇒ Okamoto identification, https://cryptology.city/Reductions/prime-order-dlog-to-okamoto-identification-protocol-oka92 (Notes: two accepting transcripts with a common commitment give a representation of X). Okamoto, CRYPTO 1992, https://doi.org/10.1007/3-540-48071-4_3.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.