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

Implemented in

Required Methods


Add

 

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

 

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

 

func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> (Int, Int)

 

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

 

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

Parameters:

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

Double

 

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

 

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

 

func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> (Int, Int)

 

func Double(x1 Reference<Int>, y1 Reference<Int>) (x Int, y Int)

 

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

Parameters:

  • x1:
  • y1:

IsOnCurve

 

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

 

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

 

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

 

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

 

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

Parameters:

  • x:
  • y:

Params

 

method Params: Reference<CurveParams>

 

Reference<CurveParams> Params()

 

func Params() -> Reference<CurveParams>

 

func Params() Reference<CurveParams>

 

Function Params() As Reference<CurveParams>

ScalarBaseMult

 

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

 

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

 

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

 

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

 

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

Parameters:

  • k:

ScalarMult

 

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

 

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

 

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

 

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

 

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

Parameters:

  • x1:
  • y1:
  • k: