Documentation ¶
Overview ¶
Package efd provides the Explicit-Formulas Database.
References:
[efd] Daniel J. Bernstein and Tanja Lange. Explicit-Formulas Database. https://hyperelliptic.org/EFD (accessed July 14, 2019) [efdanalysis] Daniel J. Bernstein and Tanja Lange. Analysis and optimization of elliptic-curve single-scalar multiplication. Cryptology ePrint Archive, Report 2007/455. 2007. https://eprint.iacr.org/2007/455
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = Select()
Functions ¶
func WithProgram ¶
Types ¶
type Formula ¶
type Formula struct { Collection string ID string Tag string Class string Shape *Shape Representation *Representation Operation string URL string Source string AppliesTo string Assume []string Compute []string Parameters []string Program *ast.Program }
func LookupFormula ¶
func (Formula) AllParameters ¶
AllParameters returns all parameter variables for this formula. This merges the parameters from the shape, representation and formula itself.
type Representation ¶
type Representation struct { Collection string ID string Tag string Class string Shape *Shape Name string Assume []string Parameters []string Variables []string Satisfying []string }
func LookupRepresentation ¶
func LookupRepresentation(id string) *Representation
type Shape ¶
type Shape struct { Collection string ID string Tag string Class string Name string Parameters []string Coordinates []string A [7]string Satisfying []string Addition []string Doubling []string Negation []string Neutral []string FromWeierstrass []string ToWeierstrass []string }
func LookupShape ¶
Click to show internal directories.
Click to hide internal directories.