Versions in this module Expand all Collapse all v1 v1.1.4 Jun 19, 2020 Changes in this version + func RecoverCommit(g kyber.Group, shares []*PubShare, t, n int) (kyber.Point, error) + func RecoverSecret(g kyber.Group, shares []*PriShare, t, n int) (kyber.Scalar, error) + type PriPoly struct + func CoefficientsToPriPoly(g kyber.Group, coeffs []kyber.Scalar) *PriPoly + func NewPriPoly(group kyber.Group, t int, s kyber.Scalar, rand cipher.Stream) *PriPoly + func RecoverPriPoly(g kyber.Group, shares []*PriShare, t, n int) (*PriPoly, error) + func (p *PriPoly) Add(q *PriPoly) (*PriPoly, error) + func (p *PriPoly) Coefficients() []kyber.Scalar + func (p *PriPoly) Commit(b kyber.Point) *PubPoly + func (p *PriPoly) Equal(q *PriPoly) bool + func (p *PriPoly) Eval(i int) *PriShare + func (p *PriPoly) Mul(q *PriPoly) *PriPoly + func (p *PriPoly) Secret() kyber.Scalar + func (p *PriPoly) Shares(n int) []*PriShare + func (p *PriPoly) String() string + func (p *PriPoly) Threshold() int + type PriShare struct + I int + V kyber.Scalar + func (p *PriShare) Hash(s kyber.HashFactory) []byte + type PubPoly struct + func NewPubPoly(g kyber.Group, b kyber.Point, commits []kyber.Point) *PubPoly + func (p *PubPoly) Add(q *PubPoly) (*PubPoly, error) + func (p *PubPoly) Check(s *PriShare) bool + func (p *PubPoly) Commit() kyber.Point + func (p *PubPoly) Equal(q *PubPoly) bool + func (p *PubPoly) Eval(i int) *PubShare + func (p *PubPoly) Info() (base kyber.Point, commits []kyber.Point) + func (p *PubPoly) Shares(n int) []*PubShare + func (p *PubPoly) Threshold() int + type PubShare struct + I int + V kyber.Point + func (p *PubShare) Hash(s kyber.HashFactory) []byte v1.0.4-m Jun 4, 2021 v1.0.2-m Dec 17, 2020 v1.0.1-m Jul 24, 2020 v1.0.0-m Jul 2, 2020