weierstrassbinary

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractPolynomials

func ExtractPolynomials(f *big.Int) []int

func NewCurve

func NewCurve(params CurveParams) elliptic.Curve

func Polynomials

func Polynomials(f ...int) *big.Int

Polynomials to big.Int f = [233, 74, 0] when x^233 + x^74 + 1 f = [283, 12, 7, 5, 0] when x^283 + x^12 + x^7 + x^5 + 1

Types

type CurveParams

type CurveParams struct {
	Name    string
	BitSize int
	Poly    *big.Int // polynomial
	A, B    *big.Int // a, b
	Gx, Gy  *big.Int // generator
	N       *big.Int // order
	OID     string
}

Jump to

Keyboard shortcuts

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