Versions in this module Expand all Collapse all v1 v1.7.1 Mar 11, 2022 Changes in this version + type Challenge = curves.Scalar + type Commitment = curves.Point + type HmacDrbg struct + func NewHmacDrbg(entropy, nonce, pers []byte, hasher func() hash.Hash) *HmacDrbg + func (drbg *HmacDrbg) Read(dst []byte) (n int, err error) + func (drbg *HmacDrbg) Reseed(entropy []byte) + type Nonce = curves.Scalar + type ProofCommittedBuilder struct + func NewProofCommittedBuilder(curve *curves.Curve) *ProofCommittedBuilder + func (pcb *ProofCommittedBuilder) Commit(point curves.Point, scalar curves.Scalar) error + func (pcb *ProofCommittedBuilder) CommitRandom(point curves.Point, reader io.Reader) error + func (pcb *ProofCommittedBuilder) Get(index int) (curves.Point, curves.Scalar) + func (pcb ProofCommittedBuilder) GenerateProof(challenge curves.Scalar, secrets []curves.Scalar) ([]curves.Scalar, error) + func (pcb ProofCommittedBuilder) GetChallengeContribution() []byte + type ProofMessage interface + GetBlinding func(reader io.Reader) curves.Scalar + GetMessage func() curves.Scalar + IsHidden func() bool + type ProofSpecificMessage struct + Message curves.Scalar + func (ps ProofSpecificMessage) GetBlinding(reader io.Reader) curves.Scalar + func (ps ProofSpecificMessage) GetMessage() curves.Scalar + func (ps ProofSpecificMessage) IsHidden() bool + type RevealedMessage struct + Message curves.Scalar + func (r RevealedMessage) GetBlinding(reader io.Reader) curves.Scalar + func (r RevealedMessage) GetMessage() curves.Scalar + func (r RevealedMessage) IsHidden() bool + type SharedBlindingMessage struct + Blinding curves.Scalar + Message curves.Scalar + func (ps SharedBlindingMessage) GetBlinding(reader io.Reader) curves.Scalar + func (ps SharedBlindingMessage) GetMessage() curves.Scalar + func (ps SharedBlindingMessage) IsHidden() bool + type SignatureBlinding = curves.PairingScalar