Versions in this module Expand all Collapse all v0 v0.1.7 Oct 27, 2023 Changes in this version + const PDLwSlackMarshalledParts + type DLogProof struct + Alpha *crypto.ECPoint + T *big.Int + func NewDLogProof(x *big.Int, X *crypto.ECPoint) (*DLogProof, error) + func (pf *DLogProof) ValidateBasic() bool + func (pf *DLogProof) Verify(X *crypto.ECPoint) bool + type ECDDHProof struct + A1 *crypto.ECPoint + A2 *crypto.ECPoint + Z *big.Int + func NewECDDHProof(wit ECDDHWitness, st ECDDHStatement) ECDDHProof + func NewECSigmaIProof(curve elliptic.Curve, sigmaI *big.Int, R, SI *crypto.ECPoint) (*ECDDHProof, error) + func (pf *ECDDHProof) Verify(st ECDDHStatement) bool + func (pf *ECDDHProof) VerifySigmaI(curve elliptic.Curve, gSigmaI, R, SI *crypto.ECPoint) bool + type ECDDHStatement struct + Curve elliptic.Curve + G2 *crypto.ECPoint + H1 *crypto.ECPoint + H2 *crypto.ECPoint + type ECDDHWitness struct + X *big.Int + type PDLwSlackProof struct + S1 *big.Int + S2 *big.Int + S3 *big.Int + U1 *crypto.ECPoint + U2 *big.Int + U3 *big.Int + Z *big.Int + func NewPDLwSlackProof(wit PDLwSlackWitness, st PDLwSlackStatement) PDLwSlackProof + func UnmarshalPDLwSlackProof(bzs [][]byte) (*PDLwSlackProof, error) + func (pf PDLwSlackProof) Marshal() ([][]byte, error) + func (pf PDLwSlackProof) Verify(st PDLwSlackStatement) bool + type PDLwSlackStatement struct + CipherText *big.Int + G *crypto.ECPoint + H1 *big.Int + H2 *big.Int + NTilde *big.Int + PK *paillier.PublicKey + Q *crypto.ECPoint + type PDLwSlackWitness struct + R *big.Int + SK *paillier.PrivateKey + X *big.Int + type STProof struct + Alpha *crypto.ECPoint + Beta *crypto.ECPoint + T *big.Int + U *big.Int + func NewSTProof(TI, R, h *crypto.ECPoint, sigmaI, lI *big.Int) (*STProof, error) + func (pf *STProof) ValidateBasic() bool + func (pf *STProof) Verify(SI, TI, R, h *crypto.ECPoint) bool + type TProof struct + Alpha *crypto.ECPoint + T *big.Int + U *big.Int + func NewTProof(TI, h *crypto.ECPoint, sigmaI, lI *big.Int) (*TProof, error) + func (pf *TProof) ValidateBasic() bool + func (pf *TProof) Verify(TI, h *crypto.ECPoint) bool