Documentation ¶
Overview ¶
A C implementation of the Ristretto group based on the PandA library by Chuengsatiansup, Ribarski and Schwabe, which we use as a reference of our pure Go implementation. See also https://link.springer.com/chapter/10.1007/978-3-319-04873-4_14
Index ¶
- type Fe25519
- type GroupGe
- func (g *GroupGe) Add(x, y *GroupGe)
- func (g *GroupGe) Double(x *GroupGe)
- func (g *GroupGe) Elligator(r0 *Fe25519)
- func (g *GroupGe) Neg(x *GroupGe)
- func (g *GroupGe) Pack(buf *[32]byte)
- func (g *GroupGe) ScalarMult(x *GroupGe, s *GroupScalar)
- func (g *GroupGe) T() *Fe25519
- func (g *GroupGe) Unpack(buf *[32]byte) int
- func (g *GroupGe) X() *Fe25519
- func (g *GroupGe) Y() *Fe25519
- func (g *GroupGe) Z() *Fe25519
- type GroupScalar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupGe ¶
func (*GroupGe) ScalarMult ¶
func (g *GroupGe) ScalarMult(x *GroupGe, s *GroupScalar)
type GroupScalar ¶
type GroupScalar C.group_scalar
func (*GroupScalar) Pack ¶
func (s *GroupScalar) Pack(buf *[32]byte)
func (*GroupScalar) Unpack ¶
func (s *GroupScalar) Unpack(buf *[32]byte)
Click to show internal directories.
Click to hide internal directories.