fp6

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Degree = 6

Degree is the extension degree of fp6 over the base field

View Source
const Inline = `` /* 3561-byte string literal not displayed */
View Source
const PointTupleSize = 2

Variables

View Source
var CodeSource []string

CodeSource is the aggregated source code

View Source
var CodeTest []string

CodeTest is the aggregated test code

View Source
var CodeTestPoints []string

CodeTestPoints is the aggregated test points code

View Source
var Methods = [...]tower.Method{
	{Name: "Add", Type: tower.Binary},
	{Name: "Sub", Type: tower.Binary},
	{Name: "Mul", Type: tower.Binary},
	{Name: "MulByE2", Type: tower.Custom},
	{Name: "MulByGen", Type: tower.Unary},

	{Name: "Square", Type: tower.Unary},
	{Name: "Inverse", Type: tower.Unary},
}

Functions

func GenerateTestInputs

func GenerateTestInputs(p string) []tower.TestPoint

Types

type Input

type Input curve.Data

func NewInputSource

func NewInputSource(c *curve.Data) *Input

func (*Input) FixedInputs

func (z *Input) FixedInputs() []testpoints.PointTuple

func (*Input) RandomInput

func (z *Input) RandomInput() testpoints.PointTuple

TODO copied code, refactor into... tower??

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL