curvewrapper

package
v0.0.0-...-6255ad7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	X     *big.Int
	Y     *big.Int
	Curve elliptic.Curve
}

func NewPoint

func NewPoint(x, y *big.Int, ec elliptic.Curve) Point

func (Point) Add

func (p Point) Add(a, b Point) Point

func (Point) ScalarDiv

func (p Point) ScalarDiv(k *big.Int) Point

func (Point) ScalarMul

func (p Point) ScalarMul(k *big.Int) Point

Jump to

Keyboard shortcuts

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