Global

Location

 

constructor Island

 

constructor

 

__Global()

 

init()

A

 

class var A: FieldElement;

 

static FieldElement A

 

static var A: FieldElement

FeAdd

Parameters:

  • dst:
  • a:
  • b:

FeCMove

 

class method FeCMove(f: Reference<FieldElement>; g: Reference<FieldElement>; b: int32)

 

static void FeCMove(Reference<FieldElement> f, Reference<FieldElement> g, int32 b)

 

static func FeCMove(_ f: Reference<FieldElement>, _ g: Reference<FieldElement>, _ b: int32)

Parameters:

  • f:
  • g:
  • b:

FeCombine

 

class method FeCombine(h: Reference<FieldElement>; h0: int64; h1: int64; h2: int64; h3: int64; h4: int64; h5: int64; h6: int64; h7: int64; h8: int64; h9: int64)

 

static void FeCombine(Reference<FieldElement> h, int64 h0, int64 h1, int64 h2, int64 h3, int64 h4, int64 h5, int64 h6, int64 h7, int64 h8, int64 h9)

 

static func FeCombine(_ h: Reference<FieldElement>, _ h0: int64, _ h1: int64, _ h2: int64, _ h3: int64, _ h4: int64, _ h5: int64, _ h6: int64, _ h7: int64, _ h8: int64, _ h9: int64)

 

func FeCombine(h Reference<FieldElement>, h0 int64, h1 int64, h2 int64, h3 int64, h4 int64, h5 int64, h6 int64, h7 int64, h8 int64, h9 int64)

Parameters:

  • h:
  • h0:
  • h1:
  • h2:
  • h3:
  • h4:
  • h5:
  • h6:
  • h7:
  • h8:
  • h9:

FeCopy

 

class method FeCopy(dst: Reference<FieldElement>; src: Reference<FieldElement>)

 

static void FeCopy(Reference<FieldElement> dst, Reference<FieldElement> src)

 

static func FeCopy(_ dst: Reference<FieldElement>, _ src: Reference<FieldElement>)

 

func FeCopy(dst Reference<FieldElement>, src Reference<FieldElement>)

Parameters:

  • dst:
  • src:

FeFromBytes

 

class method FeFromBytes(dst: Reference<FieldElement>; src: Reference<array of byte>)

 

static void FeFromBytes(Reference<FieldElement> dst, Reference<array of byte> src)

 

static func FeFromBytes(_ dst: Reference<FieldElement>, _ src: Reference<array of byte>)

 

func FeFromBytes(dst Reference<FieldElement>, src Reference<array of byte>)

Parameters:

  • dst:
  • src:

FeInvert

 

class method FeInvert(out: Reference<FieldElement>; z: Reference<FieldElement>)

 

static void FeInvert(Reference<FieldElement> out, Reference<FieldElement> z)

 

static func FeInvert(_ out: Reference<FieldElement>, _ z: Reference<FieldElement>)

 

func FeInvert(out Reference<FieldElement>, z Reference<FieldElement>)

Parameters:

  • out:
  • z:

FeIsNegative

 

class method FeIsNegative(f: Reference<FieldElement>): byte

 

static byte FeIsNegative(Reference<FieldElement> f)

 

static func FeIsNegative(_ f: Reference<FieldElement>) -> byte

 

func FeIsNegative(f Reference<FieldElement>) byte

Parameters:

  • f:

FeIsNonZero

 

class method FeIsNonZero(f: Reference<FieldElement>): int32

 

static int32 FeIsNonZero(Reference<FieldElement> f)

 

static func FeIsNonZero(_ f: Reference<FieldElement>) -> int32

 

func FeIsNonZero(f Reference<FieldElement>) int32

Parameters:

  • f:

FeMul

Parameters:

  • h:
  • f:
  • g:

FeNeg

 

class method FeNeg(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeNeg(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeNeg(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeOne

 

class method FeOne(fe: Reference<FieldElement>)

 

static void FeOne(Reference<FieldElement> fe)

 

static func FeOne(_ fe: Reference<FieldElement>)

 

func FeOne(fe Reference<FieldElement>)

Parameters:

  • fe:

FeSquare

 

class method FeSquare(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeSquare(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeSquare(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeSquare2

 

class method FeSquare2(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeSquare2(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeSquare2(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeSub

Parameters:

  • dst:
  • a:
  • b:

FeToBytes

 

class method FeToBytes(s: Reference<array of byte>; h: Reference<FieldElement>)

 

static void FeToBytes(Reference<array of byte> s, Reference<FieldElement> h)

 

static func FeToBytes(_ s: Reference<array of byte>, _ h: Reference<FieldElement>)

 

func FeToBytes(s Reference<array of byte>, h Reference<FieldElement>)

Parameters:

  • s:
  • h:

FeZero

 

class method FeZero(fe: Reference<FieldElement>)

 

static void FeZero(Reference<FieldElement> fe)

 

static func FeZero(_ fe: Reference<FieldElement>)

 

func FeZero(fe Reference<FieldElement>)

Parameters:

  • fe:

GeDoubleScalarMultVartime

 

class method GeDoubleScalarMultVartime(r: Reference<ProjectiveGroupElement>; a: Reference<array of byte>; A: Reference<ExtendedGroupElement>; b: Reference<array of byte>)

 

static void GeDoubleScalarMultVartime(Reference<ProjectiveGroupElement> r, Reference<array of byte> a, Reference<ExtendedGroupElement> A, Reference<array of byte> b)

 

static func GeDoubleScalarMultVartime(_ r: Reference<ProjectiveGroupElement>, _ a: Reference<array of byte>, _ A: Reference<ExtendedGroupElement>, _ b: Reference<array of byte>)

 

func GeDoubleScalarMultVartime(r Reference<ProjectiveGroupElement>, a Reference<array of byte>, A Reference<ExtendedGroupElement>, b Reference<array of byte>)

Parameters:

  • r:
  • a:
  • A:
  • b:

GeScalarMultBase

 

class method GeScalarMultBase(h: Reference<ExtendedGroupElement>; a: Reference<array of byte>)

 

static void GeScalarMultBase(Reference<ExtendedGroupElement> h, Reference<array of byte> a)

 

static func GeScalarMultBase(_ h: Reference<ExtendedGroupElement>, _ a: Reference<array of byte>)

 

func GeScalarMultBase(h Reference<ExtendedGroupElement>, a Reference<array of byte>)

Parameters:

  • h:
  • a:

PreComputedGroupElementCMove

 

class method PreComputedGroupElementCMove(t: Reference<PreComputedGroupElement>; u: Reference<PreComputedGroupElement>; b: int32)

 

static void PreComputedGroupElementCMove(Reference<PreComputedGroupElement> t, Reference<PreComputedGroupElement> u, int32 b)

 

static func PreComputedGroupElementCMove(_ t: Reference<PreComputedGroupElement>, _ u: Reference<PreComputedGroupElement>, _ b: int32)

 

func PreComputedGroupElementCMove(t Reference<PreComputedGroupElement>, u Reference<PreComputedGroupElement>, b int32)

Parameters:

  • t:
  • u:
  • b:

ScMinimal

 

class method ScMinimal(scalar: Reference<array of byte>): bool

 

static bool ScMinimal(Reference<array of byte> scalar)

 

static func ScMinimal(_ scalar: Reference<array of byte>) -> bool

 

func ScMinimal(scalar Reference<array of byte>) bool

Parameters:

  • scalar:

ScMulAdd

 

class method ScMulAdd(s: Reference<array of byte>; a: Reference<array of byte>; b: Reference<array of byte>; c: Reference<array of byte>)

 

static void ScMulAdd(Reference<array of byte> s, Reference<array of byte> a, Reference<array of byte> b, Reference<array of byte> c)

 

static func ScMulAdd(_ s: Reference<array of byte>, _ a: Reference<array of byte>, _ b: Reference<array of byte>, _ c: Reference<array of byte>)

 

func ScMulAdd(s Reference<array of byte>, a Reference<array of byte>, b Reference<array of byte>, c Reference<array of byte>)

Parameters:

  • s:
  • a:
  • b:
  • c:

ScReduce

 

class method ScReduce(out: Reference<array of byte>; s: Reference<array of byte>)

 

static void ScReduce(Reference<array of byte> out, Reference<array of byte> s)

 

static func ScReduce(_ out: Reference<array of byte>, _ s: Reference<array of byte>)

 

func ScReduce(out Reference<array of byte>, s Reference<array of byte>)

Parameters:

  • out:
  • s:

SqrtM1

 

class var SqrtM1: FieldElement;

 

static FieldElement SqrtM1

 

static var SqrtM1: FieldElement

 

SqrtM1 FieldElement

 

A

 

class var A: FieldElement;

 

static FieldElement A

 

static var A: FieldElement

SqrtM1

 

class var SqrtM1: FieldElement;

 

static FieldElement SqrtM1

 

static var SqrtM1: FieldElement

 

SqrtM1 FieldElement

 

FeAdd

Parameters:

  • dst:
  • a:
  • b:

FeCMove

 

class method FeCMove(f: Reference<FieldElement>; g: Reference<FieldElement>; b: int32)

 

static void FeCMove(Reference<FieldElement> f, Reference<FieldElement> g, int32 b)

 

static func FeCMove(_ f: Reference<FieldElement>, _ g: Reference<FieldElement>, _ b: int32)

Parameters:

  • f:
  • g:
  • b:

FeCombine

 

class method FeCombine(h: Reference<FieldElement>; h0: int64; h1: int64; h2: int64; h3: int64; h4: int64; h5: int64; h6: int64; h7: int64; h8: int64; h9: int64)

 

static void FeCombine(Reference<FieldElement> h, int64 h0, int64 h1, int64 h2, int64 h3, int64 h4, int64 h5, int64 h6, int64 h7, int64 h8, int64 h9)

 

static func FeCombine(_ h: Reference<FieldElement>, _ h0: int64, _ h1: int64, _ h2: int64, _ h3: int64, _ h4: int64, _ h5: int64, _ h6: int64, _ h7: int64, _ h8: int64, _ h9: int64)

 

func FeCombine(h Reference<FieldElement>, h0 int64, h1 int64, h2 int64, h3 int64, h4 int64, h5 int64, h6 int64, h7 int64, h8 int64, h9 int64)

Parameters:

  • h:
  • h0:
  • h1:
  • h2:
  • h3:
  • h4:
  • h5:
  • h6:
  • h7:
  • h8:
  • h9:

FeCopy

 

class method FeCopy(dst: Reference<FieldElement>; src: Reference<FieldElement>)

 

static void FeCopy(Reference<FieldElement> dst, Reference<FieldElement> src)

 

static func FeCopy(_ dst: Reference<FieldElement>, _ src: Reference<FieldElement>)

 

func FeCopy(dst Reference<FieldElement>, src Reference<FieldElement>)

Parameters:

  • dst:
  • src:

FeFromBytes

 

class method FeFromBytes(dst: Reference<FieldElement>; src: Reference<array of byte>)

 

static void FeFromBytes(Reference<FieldElement> dst, Reference<array of byte> src)

 

static func FeFromBytes(_ dst: Reference<FieldElement>, _ src: Reference<array of byte>)

 

func FeFromBytes(dst Reference<FieldElement>, src Reference<array of byte>)

Parameters:

  • dst:
  • src:

FeInvert

 

class method FeInvert(out: Reference<FieldElement>; z: Reference<FieldElement>)

 

static void FeInvert(Reference<FieldElement> out, Reference<FieldElement> z)

 

static func FeInvert(_ out: Reference<FieldElement>, _ z: Reference<FieldElement>)

 

func FeInvert(out Reference<FieldElement>, z Reference<FieldElement>)

Parameters:

  • out:
  • z:

FeIsNegative

 

class method FeIsNegative(f: Reference<FieldElement>): byte

 

static byte FeIsNegative(Reference<FieldElement> f)

 

static func FeIsNegative(_ f: Reference<FieldElement>) -> byte

 

func FeIsNegative(f Reference<FieldElement>) byte

Parameters:

  • f:

FeIsNonZero

 

class method FeIsNonZero(f: Reference<FieldElement>): int32

 

static int32 FeIsNonZero(Reference<FieldElement> f)

 

static func FeIsNonZero(_ f: Reference<FieldElement>) -> int32

 

func FeIsNonZero(f Reference<FieldElement>) int32

Parameters:

  • f:

FeMul

Parameters:

  • h:
  • f:
  • g:

FeNeg

 

class method FeNeg(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeNeg(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeNeg(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeOne

 

class method FeOne(fe: Reference<FieldElement>)

 

static void FeOne(Reference<FieldElement> fe)

 

static func FeOne(_ fe: Reference<FieldElement>)

 

func FeOne(fe Reference<FieldElement>)

Parameters:

  • fe:

FeSquare

 

class method FeSquare(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeSquare(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeSquare(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeSquare2

 

class method FeSquare2(h: Reference<FieldElement>; f: Reference<FieldElement>)

 

static void FeSquare2(Reference<FieldElement> h, Reference<FieldElement> f)

 

static func FeSquare2(_ h: Reference<FieldElement>, _ f: Reference<FieldElement>)

Parameters:

  • h:
  • f:

FeSub

Parameters:

  • dst:
  • a:
  • b:

FeToBytes

 

class method FeToBytes(s: Reference<array of byte>; h: Reference<FieldElement>)

 

static void FeToBytes(Reference<array of byte> s, Reference<FieldElement> h)

 

static func FeToBytes(_ s: Reference<array of byte>, _ h: Reference<FieldElement>)

 

func FeToBytes(s Reference<array of byte>, h Reference<FieldElement>)

Parameters:

  • s:
  • h:

FeZero

 

class method FeZero(fe: Reference<FieldElement>)

 

static void FeZero(Reference<FieldElement> fe)

 

static func FeZero(_ fe: Reference<FieldElement>)

 

func FeZero(fe Reference<FieldElement>)

Parameters:

  • fe:

GeDoubleScalarMultVartime

 

class method GeDoubleScalarMultVartime(r: Reference<ProjectiveGroupElement>; a: Reference<array of byte>; A: Reference<ExtendedGroupElement>; b: Reference<array of byte>)

 

static void GeDoubleScalarMultVartime(Reference<ProjectiveGroupElement> r, Reference<array of byte> a, Reference<ExtendedGroupElement> A, Reference<array of byte> b)

 

static func GeDoubleScalarMultVartime(_ r: Reference<ProjectiveGroupElement>, _ a: Reference<array of byte>, _ A: Reference<ExtendedGroupElement>, _ b: Reference<array of byte>)

 

func GeDoubleScalarMultVartime(r Reference<ProjectiveGroupElement>, a Reference<array of byte>, A Reference<ExtendedGroupElement>, b Reference<array of byte>)

Parameters:

  • r:
  • a:
  • A:
  • b:

GeScalarMultBase

 

class method GeScalarMultBase(h: Reference<ExtendedGroupElement>; a: Reference<array of byte>)

 

static void GeScalarMultBase(Reference<ExtendedGroupElement> h, Reference<array of byte> a)

 

static func GeScalarMultBase(_ h: Reference<ExtendedGroupElement>, _ a: Reference<array of byte>)

 

func GeScalarMultBase(h Reference<ExtendedGroupElement>, a Reference<array of byte>)

Parameters:

  • h:
  • a:

PreComputedGroupElementCMove

 

class method PreComputedGroupElementCMove(t: Reference<PreComputedGroupElement>; u: Reference<PreComputedGroupElement>; b: int32)

 

static void PreComputedGroupElementCMove(Reference<PreComputedGroupElement> t, Reference<PreComputedGroupElement> u, int32 b)

 

static func PreComputedGroupElementCMove(_ t: Reference<PreComputedGroupElement>, _ u: Reference<PreComputedGroupElement>, _ b: int32)

 

func PreComputedGroupElementCMove(t Reference<PreComputedGroupElement>, u Reference<PreComputedGroupElement>, b int32)

Parameters:

  • t:
  • u:
  • b:

ScMinimal

 

class method ScMinimal(scalar: Reference<array of byte>): bool

 

static bool ScMinimal(Reference<array of byte> scalar)

 

static func ScMinimal(_ scalar: Reference<array of byte>) -> bool

 

func ScMinimal(scalar Reference<array of byte>) bool

Parameters:

  • scalar:

ScMulAdd

 

class method ScMulAdd(s: Reference<array of byte>; a: Reference<array of byte>; b: Reference<array of byte>; c: Reference<array of byte>)

 

static void ScMulAdd(Reference<array of byte> s, Reference<array of byte> a, Reference<array of byte> b, Reference<array of byte> c)

 

static func ScMulAdd(_ s: Reference<array of byte>, _ a: Reference<array of byte>, _ b: Reference<array of byte>, _ c: Reference<array of byte>)

 

func ScMulAdd(s Reference<array of byte>, a Reference<array of byte>, b Reference<array of byte>, c Reference<array of byte>)

Parameters:

  • s:
  • a:
  • b:
  • c:

ScReduce

 

class method ScReduce(out: Reference<array of byte>; s: Reference<array of byte>)

 

static void ScReduce(Reference<array of byte> out, Reference<array of byte> s)

 

static func ScReduce(_ out: Reference<array of byte>, _ s: Reference<array of byte>)

 

func ScReduce(out Reference<array of byte>, s Reference<array of byte>)

Parameters:

  • out:
  • s: