Okamoto commitments are uniform:
ProvedCryptologyCity.okamoto_commitment_uniformcryptographycryptology-citydiscrete-logarithm
Let be prime and let generate a finite group of order . For every and every , the commitment for independent uniform satisfies .
Preamble
import Definitions.Def_CryptologyCity_DLogIdentification open scoped ENNReal
Formal statement
namespace CryptologyCity
theorem okamoto_commitment_uniform {G : Type*} [Group G] [Fintype G] (g : G) (p : ℕ)
[Fact p.Prime] (hg : IsCyclicGroupOfOrder g p) (g₂ a : G) :
((PMF.uniformOfFintype (ZMod p)).bind fun r₁ =>
(PMF.uniformOfFintype (ZMod p)).bind fun r₂ =>
PMF.pure (g ^ r₁.val * g₂ ^ r₂.val)) a = (p : ℝ≥0∞)⁻¹ := by sorry
end CryptologyCitySource
Cryptology City, Okamoto identification ⇒ non-trivial canonical identification, https://cryptology.city/Reductions/okamoto-identification-protocol-to-non-trivial-canonical-identification-scheme (non-trivial, since A is uniform already for uniform r₁).
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.