CurveParams

Overview

Location

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

Implements

 

constructor

 

constructor

 

CurveParams()

 

init()

constructor (CurveParams)

 

constructor(value: CurveParams)

 

CurveParams(CurveParams value)

 

init(_ value: CurveParams)

Parameters:

  • value:

 

constructor(aP: Reference<Int>; aN: Reference<Int>; aB: Reference<Int>; aGx: Reference<Int>; aGy: Reference<Int>; aBitSize: int; aName: string)

 

CurveParams(Reference<Int> aP, Reference<Int> aN, Reference<Int> aB, Reference<Int> aGx, Reference<Int> aGy, int aBitSize, string aName)

 

init(_ aP: Reference<Int>, _ aN: Reference<Int>, _ aB: Reference<Int>, _ aGx: Reference<Int>, _ aGy: Reference<Int>, _ aBitSize: int, _ aName: string)

Parameters:

  • aP:
  • aN:
  • aB:
  • aGx:
  • aGy:
  • aBitSize:
  • aName:

constructor (Reference<Int>, Reference<Int>, Reference<Int>, Reference<Int>, Reference<Int>, Int64, String) .NET, .NET Standard 2.0

 

constructor(aP: Reference<Int>; aN: Reference<Int>; aB: Reference<Int>; aGx: Reference<Int>; aGy: Reference<Int>; aBitSize: Int64; aName: String)

 

CurveParams(Reference<Int> aP, Reference<Int> aN, Reference<Int> aB, Reference<Int> aGx, Reference<Int> aGy, Int64 aBitSize, String aName)

 

init(_ aP: Reference<Int>, _ aN: Reference<Int>, _ aB: Reference<Int>, _ aGx: Reference<Int>, _ aGy: Reference<Int>, _ aBitSize: Int64, _ aName: String)

Parameters:

  • aP:
  • aN:
  • aB:
  • aGx:
  • aGy:
  • aBitSize:
  • aName:

Add

 

// .NET, Island, macOS
method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)

 

// .NET, Island, macOS
func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

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

B

 

var B: Reference<Int>;

 

var B: Reference<Int>

BitSize

 

var BitSize: int;

 

int BitSize

 

var BitSize: int

 

BitSize int

Double

 

// .NET, Island, macOS
method Double(x1: Reference<Int>; y1: Reference<Int>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method Double(x1: Reference<Int>; y1: Reference<Int>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) Double(Reference<Int> x1, Reference<Int> y1)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> Double(Reference<Int> x1, Reference<Int> y1)

 

// .NET, Island, macOS
func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func Double(x1 Reference<Int>, y1 Reference<Int>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Double(x1 Reference<Int>, y1 Reference<Int>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

  • x1:
  • y1:

Gx

 

var Gx: Reference<Int>;

 

Reference<Int> Gx

 

var Gx: Reference<Int>

 

Gx Reference<Int>

Gy

 

var Gy: Reference<Int>;

 

Reference<Int> Gy

 

var Gy: Reference<Int>

 

Gy Reference<Int>

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

Parameters:

  • x:
  • y:

N

 

var N: Reference<Int>;

 

var N: Reference<Int>

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

P

 

var P: Reference<Int>;

 

var P: Reference<Int>

Params

 

method Params: Reference<CurveParams>

 

Reference<CurveParams> Params()

 

func Params() -> Reference<CurveParams>

 

func Params() Reference<CurveParams>

ScalarBaseMult

 

// .NET, Island, macOS
method ScalarBaseMult(k: Slice<Byte>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method ScalarBaseMult(k: Slice<Byte>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) ScalarBaseMult(Slice<Byte> k)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> ScalarBaseMult(Slice<Byte> k)

 

// .NET, Island, macOS
func ScalarBaseMult(_ k: Slice<Byte>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarBaseMult(_ k: Slice<Byte>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func ScalarBaseMult(k Slice<Byte>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarBaseMult(k Slice<Byte>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

  • k:

ScalarMult

 

// .NET, Island, macOS
method ScalarMult(Bx: Reference<Int>; By: Reference<Int>; k: Slice<Byte>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method ScalarMult(Bx: Reference<Int>; By: Reference<Int>; k: Slice<Byte>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) ScalarMult(Reference<Int> Bx, Reference<Int> By, Slice<Byte> k)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> ScalarMult(Reference<Int> Bx, Reference<Int> By, Slice<Byte> k)

 

// .NET, Island, macOS
func ScalarMult(_ Bx: Reference<Int>, _ By: Reference<Int>, _ k: Slice<Byte>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarMult(_ Bx: Reference<Int>, _ By: Reference<Int>, _ k: Slice<Byte>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func ScalarMult(Bx Reference<Int>, By Reference<Int>, k Slice<Byte>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarMult(Bx Reference<Int>, By Reference<Int>, k Slice<Byte>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

  • Bx:
  • By:
  • k:

 

B

 

var B: Reference<Int>;

 

var B: Reference<Int>

BitSize

 

var BitSize: int;

 

int BitSize

 

var BitSize: int

 

BitSize int

Gx

 

var Gx: Reference<Int>;

 

Reference<Int> Gx

 

var Gx: Reference<Int>

 

Gx Reference<Int>

Gy

 

var Gy: Reference<Int>;

 

Reference<Int> Gy

 

var Gy: Reference<Int>

 

Gy Reference<Int>

N

 

var N: Reference<Int>;

 

var N: Reference<Int>

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

P

 

var P: Reference<Int>;

 

var P: Reference<Int>

 

constructor

 

constructor

 

CurveParams()

 

init()

constructor (CurveParams)

 

constructor(value: CurveParams)

 

CurveParams(CurveParams value)

 

init(_ value: CurveParams)

Parameters:

  • value:

 

constructor(aP: Reference<Int>; aN: Reference<Int>; aB: Reference<Int>; aGx: Reference<Int>; aGy: Reference<Int>; aBitSize: int; aName: string)

 

CurveParams(Reference<Int> aP, Reference<Int> aN, Reference<Int> aB, Reference<Int> aGx, Reference<Int> aGy, int aBitSize, string aName)

 

init(_ aP: Reference<Int>, _ aN: Reference<Int>, _ aB: Reference<Int>, _ aGx: Reference<Int>, _ aGy: Reference<Int>, _ aBitSize: int, _ aName: string)

Parameters:

  • aP:
  • aN:
  • aB:
  • aGx:
  • aGy:
  • aBitSize:
  • aName:

constructor (Reference<Int>, Reference<Int>, Reference<Int>, Reference<Int>, Reference<Int>, Int64, String) .NET, .NET Standard 2.0

 

constructor(aP: Reference<Int>; aN: Reference<Int>; aB: Reference<Int>; aGx: Reference<Int>; aGy: Reference<Int>; aBitSize: Int64; aName: String)

 

CurveParams(Reference<Int> aP, Reference<Int> aN, Reference<Int> aB, Reference<Int> aGx, Reference<Int> aGy, Int64 aBitSize, String aName)

 

init(_ aP: Reference<Int>, _ aN: Reference<Int>, _ aB: Reference<Int>, _ aGx: Reference<Int>, _ aGy: Reference<Int>, _ aBitSize: Int64, _ aName: String)

Parameters:

  • aP:
  • aN:
  • aB:
  • aGx:
  • aGy:
  • aBitSize:
  • aName:

Add

 

// .NET, Island, macOS
method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method Add(x1: Reference<Int>; y1: Reference<Int>; x2: Reference<Int>; y2: Reference<Int>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> Add(Reference<Int> x1, Reference<Int> y1, Reference<Int> x2, Reference<Int> y2)

 

// .NET, Island, macOS
func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Add(_ x1: Reference<Int>, _ y1: Reference<Int>, _ x2: Reference<Int>, _ y2: Reference<Int>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Add(x1 Reference<Int>, y1 Reference<Int>, x2 Reference<Int>, y2 Reference<Int>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

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

Double

 

// .NET, Island, macOS
method Double(x1: Reference<Int>; y1: Reference<Int>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method Double(x1: Reference<Int>; y1: Reference<Int>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) Double(Reference<Int> x1, Reference<Int> y1)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> Double(Reference<Int> x1, Reference<Int> y1)

 

// .NET, Island, macOS
func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Double(_ x1: Reference<Int>, _ y1: Reference<Int>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func Double(x1 Reference<Int>, y1 Reference<Int>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func Double(x1 Reference<Int>, y1 Reference<Int>) ValueTuple<Reference<Int>, Reference<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

Parameters:

  • x:
  • y:

Params

 

method Params: Reference<CurveParams>

 

Reference<CurveParams> Params()

 

func Params() -> Reference<CurveParams>

 

func Params() Reference<CurveParams>

ScalarBaseMult

 

// .NET, Island, macOS
method ScalarBaseMult(k: Slice<Byte>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method ScalarBaseMult(k: Slice<Byte>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) ScalarBaseMult(Slice<Byte> k)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> ScalarBaseMult(Slice<Byte> k)

 

// .NET, Island, macOS
func ScalarBaseMult(_ k: Slice<Byte>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarBaseMult(_ k: Slice<Byte>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func ScalarBaseMult(k Slice<Byte>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarBaseMult(k Slice<Byte>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

  • k:

ScalarMult

 

// .NET, Island, macOS
method ScalarMult(Bx: Reference<Int>; By: Reference<Int>; k: Slice<Byte>): tuple of (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
method ScalarMult(Bx: Reference<Int>; By: Reference<Int>; k: Slice<Byte>): ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
(Reference<Int>, Reference<Int>) ScalarMult(Reference<Int> Bx, Reference<Int> By, Slice<Byte> k)
// .NET Standard 2.0
ValueTuple<Reference<Int>, Reference<Int>> ScalarMult(Reference<Int> Bx, Reference<Int> By, Slice<Byte> k)

 

// .NET, Island, macOS
func ScalarMult(_ Bx: Reference<Int>, _ By: Reference<Int>, _ k: Slice<Byte>) -> (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarMult(_ Bx: Reference<Int>, _ By: Reference<Int>, _ k: Slice<Byte>) -> ValueTuple<Reference<Int>, Reference<Int>>

 

// .NET, Island, macOS
func ScalarMult(Bx Reference<Int>, By Reference<Int>, k Slice<Byte>) (Reference<Int>, Reference<Int>)
// .NET Standard 2.0
func ScalarMult(Bx Reference<Int>, By Reference<Int>, k Slice<Byte>) ValueTuple<Reference<Int>, Reference<Int>>

Parameters:

  • Bx:
  • By:
  • k: