Documentation
¶
Index ¶
- Variables
- func NewBLS12381Suite(seed []byte) vss.Suite
- func NewGroupG1() kyber.Group
- func NewGroupG2() kyber.Group
- func NewGroupGT() kyber.Group
- func NewKyberScalar() kyber.Scalar
- type GroupChecker
- type Suite
- func (s *Suite) G1() kyber.Group
- func (s *Suite) G2() kyber.Group
- func (s *Suite) GT() kyber.Group
- func (s *Suite) Hash() hash.Hash
- func (s *Suite) New(t reflect.Type) interface{}
- func (s *Suite) Pair(p1, p2 kyber.Point) kyber.Point
- func (s *Suite) Point() kyber.Point
- func (s *Suite) PointLen() int
- func (s *Suite) RandomStream() cipher.Stream
- func (s *Suite) Read(r io.Reader, objs ...interface{}) error
- func (s *Suite) Scalar() kyber.Scalar
- func (s *Suite) ScalarLen() int
- func (s *Suite) String() string
- func (s *Suite) ValidatePairing(p1, p2, p3, p4 kyber.Point) bool
- func (s *Suite) Write(w io.Writer, objs ...interface{}) error
- func (s *Suite) XOF(seed []byte) kyber.XOF
Constants ¶
This section is empty.
Variables ¶
View Source
var Domain = []byte("BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_")
Domain comes from the ciphersuite used by the RFC of this name compatible with the paired library > v18
Functions ¶
func NewBLS12381Suite ¶
func NewGroupG1 ¶
func NewGroupG2 ¶
func NewGroupGT ¶
func NewKyberScalar ¶
Types ¶
type GroupChecker ¶
GroupChecker allows to verify if a Point is in the correct group or not. For curves which don't have a prime order, we need to only consider the points lying in the subgroup of prime order. That check returns true if the point is correct or not.
type Suite ¶
type Suite struct {
// contains filtered or unexported fields
}
func (*Suite) RandomStream ¶
RandomStream returns a cipher.Stream which corresponds to a key stream from crypto/rand.
func (*Suite) ValidatePairing ¶
ValidatePairing implements the `pairing.Suite` interface
Click to show internal directories.
Click to hide internal directories.