Versions in this module Expand all Collapse all v0 v0.2.0 May 27, 2019 Changes in this version + var A = FieldElement + var SqrtM1 = FieldElement + func FeAdd(dst, a, b *FieldElement) — js/wasm + func FeAdd(out, a, b *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeCMove(f, g *FieldElement, b int32) + func FeCombine(h *FieldElement, h0, h1, h2, h3, h4, h5, h6, h7, h8, h9 int64) — js/wasm + func FeCopy(dst, src *FieldElement) + func FeFromBytes(dst *FieldElement, src *[32]byte) — js/wasm + func FeFromBytes(v *FieldElement, x *[32]byte) — darwin/amd64, linux/amd64, windows/amd64 + func FeInvert(out, z *FieldElement) + func FeIsNegative(f *FieldElement) byte + func FeIsNonZero(f *FieldElement) int32 + func FeMul(h, f, g *FieldElement) — js/wasm + func FeMul(out, a, b *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeNeg(h, f *FieldElement) — js/wasm + func FeNeg(out, a *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeOne(fe *FieldElement) + func FeSquare(h, f *FieldElement) — js/wasm + func FeSquare(out, a *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeSquare2(h, f *FieldElement) — js/wasm + func FeSquare2(out, a *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeSub(dst, a, b *FieldElement) — js/wasm + func FeSub(out, a, b *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeToBytes(r *[32]byte, v *FieldElement) — darwin/amd64, linux/amd64, windows/amd64 + func FeToBytes(s *[32]byte, h *FieldElement) — js/wasm + func FeZero(fe *FieldElement) + func GeDoubleScalarMultVartime(r *ProjectiveGroupElement, a *[32]byte, A *ExtendedGroupElement, b *[32]byte) + func GeScalarMultBase(h *ExtendedGroupElement, a *[32]byte) + func PreComputedGroupElementCMove(t, u *PreComputedGroupElement, b int32) + func ScMulAdd(s, a, b, c *[32]byte) + func ScReduce(out *[32]byte, s *[64]byte) + type CachedGroupElement struct + T2d FieldElement + Z FieldElement + type CompletedGroupElement struct + T FieldElement + X FieldElement + Y FieldElement + Z FieldElement + func (p *CompletedGroupElement) ToExtended(r *ExtendedGroupElement) + func (p *CompletedGroupElement) ToProjective(r *ProjectiveGroupElement) + type ExtendedGroupElement struct + T FieldElement + X FieldElement + Y FieldElement + Z FieldElement + func (p *ExtendedGroupElement) Double(r *CompletedGroupElement) + func (p *ExtendedGroupElement) FromBytes(s *[32]byte) bool + func (p *ExtendedGroupElement) ToBytes(s *[32]byte) + func (p *ExtendedGroupElement) ToCached(r *CachedGroupElement) + func (p *ExtendedGroupElement) ToProjective(r *ProjectiveGroupElement) + func (p *ExtendedGroupElement) Zero() + type FieldElement [10]int32 — js/wasm + type FieldElement [5]uint64 — darwin/amd64, linux/amd64, windows/amd64 + type PreComputedGroupElement struct + func (p *PreComputedGroupElement) Zero() + type ProjectiveGroupElement struct + X FieldElement + Y FieldElement + Z FieldElement + func (p *ProjectiveGroupElement) Double(r *CompletedGroupElement) + func (p *ProjectiveGroupElement) ToBytes(s *[32]byte) + func (p *ProjectiveGroupElement) Zero()