Curve

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.elliptic
  • Platforms: .NET, .NET Standard 2.0, Island


Required Methods


Add

 

method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)

 

(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)

 

func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)

 

func Add(x1 Memory<Int>, y1 Memory<Int>, x2 Memory<Int>, y2 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)

 

Function Add(x1 As Memory<Int>, y1 As Memory<Int>, x2 As Memory<Int>, y2 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)

Parameters:

  • x1:
  • y1:
  • x2:
  • y2:

Double

 

method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)

 

(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)

 

func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> tuple of (Memory<Int>, Memory<Int>)

 

func Double(x1 Memory<Int>, y1 Memory<Int>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)

 

Function Double(x1 As Memory<Int>, y1 As Memory<Int>) As Tuple (Of Memory<Int>, Memory<Int>)

Parameters:

  • x1:
  • y1:

IsOnCurve

 

method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool

 

bool IsOnCurve(Memory<Int> x, Memory<Int> y)

 

func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool

 

func IsOnCurve(x Memory<Int>, y Memory<Int>) bool

 

Function IsOnCurve(x As Memory<Int>, y As Memory<Int>) As bool

Parameters:

  • x:
  • y:

Params

 

method Params: Memory<CurveParams>

 

Memory<CurveParams> Params()

 

func Params() -> Memory<CurveParams>

 

func Params() Memory<CurveParams>

 

Function Params() As Memory<CurveParams>

ScalarBaseMult

 

method ScalarBaseMult(k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)

 

(Memory<Int>x, Memory<Int>y) ScalarBaseMult(Slice<Byte> k)

 

func ScalarBaseMult(_ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)

 

func ScalarBaseMult(k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)

 

Function ScalarBaseMult(k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)

Parameters:

  • k:

ScalarMult

 

method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)

 

(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)

 

func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> tuple of (Memory<Int>, Memory<Int>)

 

func ScalarMult(x1 Memory<Int>, y1 Memory<Int>, k Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)

 

Function ScalarMult(x1 As Memory<Int>, y1 As Memory<Int>, k As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)

Parameters:

  • x1:
  • y1:
  • k: