Documentation ¶
Index ¶
- func BytesReduceToScalar(in []byte) (*r255.Scalar, error)
- func Combine(shares [][32]byte, ids [][32]byte) [32]byte
- func NewRandomScalar() (*r255.Scalar, error)
- func NewRandomScalarBytes() ([32]byte, error)
- func Prove2(sk [32]byte, pk [32]byte) ([64]byte, error)
- func ScAdd(out, a, b *[32]byte)
- func ScModInverse(a [32]byte) [32]byte
- func ScMul(out, a, b *[32]byte)
- func ScMulAdd(out, a, b, c *[32]byte)
- func ScReduce(out *[32]byte, in *[64]byte)
- func ScSub(out, a, b *[32]byte)
- func ScalarOne() *r255.Scalar
- func VerifyVss(share [32]byte, id [32]byte, cfsBBytes [][32]byte) bool
- func VerifyZk2(signature [64]byte, pk [32]byte) bool
- func Vss(secret [32]byte, ids [][32]byte, t int, n int) ([][32]byte, [][32]byte, [][32]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRandomScalar ¶
func NewRandomScalarBytes ¶
func ScModInverse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.