Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commitment ¶
type Proof ¶
type Proof struct { *Commitment // Z1 = Z₁ = α + e⋅x Z1 *saferith.Int // Z2 = Z₂ = β + e⋅y Z2 *saferith.Int // Z3 = Z₃ = γ + e⋅m Z3 *saferith.Int // Z4 = Z₄ = δ + e⋅μ Z4 *saferith.Int // W = w = ρ⋅sᵉ (mod N₀) W *saferith.Nat // Wy = wy = ρy⋅rᵉ (mod N₁) Wy *saferith.Nat // contains filtered or unexported fields }
type Public ¶
type Public struct { // Kv is a ciphertext encrypted with Nᵥ // Original name: C Kv *paillier.Ciphertext // Dv = (x ⨀ Kv) ⨁ Encᵥ(y;s) Dv *paillier.Ciphertext // Fp = Encₚ(y;r) // Original name: Y Fp *paillier.Ciphertext // Xp = gˣ Xp curve.Point // Prover = Nₚ // Verifier = Nᵥ Prover, Verifier *paillier.PublicKey Aux *pedersen.Parameters }
Click to show internal directories.
Click to hide internal directories.