elliptic

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:22 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurveParamsAdd

func CurveParamsAdd(curve *elliptic.CurveParams, x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int)

func CurveParamsDouble

func CurveParamsDouble(curve *elliptic.CurveParams, x1, y1 *big.Int) (*big.Int, *big.Int)

func CurveParamsIsOnCurve

func CurveParamsIsOnCurve(curve *elliptic.CurveParams, x, y *big.Int) bool

func CurveParamsParams

func CurveParamsParams(curve *elliptic.CurveParams) *elliptic.CurveParams

func CurveParamsScalarBaseMult

func CurveParamsScalarBaseMult(curve *elliptic.CurveParams, k []byte) (*big.Int, *big.Int)

func CurveParamsScalarMult

func CurveParamsScalarMult(curve *elliptic.CurveParams, Bx, By *big.Int, k []byte) (*big.Int, *big.Int)

func GenerateKey

func GenerateKey(curve elliptic.Curve, rand io.Reader) ([]byte, *big.Int, *big.Int, error)

func Marshal

func Marshal(curve elliptic.Curve, x, y *big.Int) []byte

func Unmarshal

func Unmarshal(curve elliptic.Curve, data []byte) (*big.Int, *big.Int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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