Documentation
¶
Overview ¶
Package eddsa implements the EdDSA signature algorithm according to RFC8032.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EdDSA ¶
type EdDSA struct {
// Secret being already hashed + bit tweaked
Secret kyber.Scalar
// Public is the corresponding public key
Public kyber.Point
// contains filtered or unexported fields
}
EdDSA is a structure holding the data necessary to make a series of EdDSA signatures.
func NewEdDSA ¶
NewEdDSA will return a freshly generated key pair to use for generating EdDSA signatures.
func (*EdDSA) MarshalBinary ¶
MarshalBinary will return the representation used by the reference implementation of SUPERCOP ref10, which is "seed || Public".
func (*EdDSA) UnmarshalBinary ¶
UnmarshalBinary transforms a slice of bytes into a EdDSA signature.
Click to show internal directories.
Click to hide internal directories.