Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commitment ¶
type Commitment struct { // A = (α ⊙ Kv) ⊕ Enc₀(β; ρ) A *paillier.Ciphertext // Bx = Enc₁(α;ρₓ) Bx *paillier.Ciphertext // By = Enc₁(β;ρy) By *paillier.Ciphertext // E = sᵃ tᵍ (mod N) E *saferith.Nat // S = sˣ tᵐ (mod N) S *saferith.Nat // F = sᵇ tᵈ (mod N) F *saferith.Nat // T = sʸ tᵘ (mod N) T *saferith.Nat }
type Proof ¶
type Proof struct { *Commitment // Z1 = Z₁ = α+ex Z1 *saferith.Int // Z2 = Z₂ = β+ey Z2 *saferith.Int // Z3 = Z₃ = γ+em Z3 *saferith.Int // Z4 = Z₄ = δ+eμ Z4 *saferith.Int // W = w = ρ⋅sᵉ (mod N₀) W *saferith.Nat // Wx = wₓ = ρₓ⋅rₓᵉ (mod N₁) Wx *saferith.Nat // Wy = wy = ρy ⋅rᵉ (mod N₁) Wy *saferith.Nat }
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 = Encₚ(x;rₓ) Xp *paillier.Ciphertext // Prover = N₁ // Verifier = N₀ Prover, Verifier *paillier.PublicKey Aux *pedersen.Parameters }
Click to show internal directories.
Click to hide internal directories.