C# Class BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc7748.X25519Field

Exibir arquivo Open project: 526077247/ET Class Usage Examples

Public Methods

Method Description
Add ( Array x, Array y, Array z ) : void
AddOne ( Array z ) : void
AddOne ( Array z, int zOff ) : void
Apm ( Array x, Array y, Array zp, Array zm ) : void
CMov ( int cond, Array x, int xOff, Array z, int zOff ) : void
CNegate ( int negate, Array z ) : void
CSwap ( int swap, Array a, Array b ) : void
Carry ( Array z ) : void
Copy ( Array x, int xOff, Array z, int zOff ) : void
Create ( ) : int[]
CreateTable ( int n ) : int[]
Decode ( Array x, int xOff, Array z ) : void
Encode ( Array x, Array z, int zOff ) : void
Inv ( Array x, Array z ) : void
IsZero ( Array x ) : int
IsZeroVar ( Array x ) : bool
Mul ( Array x, Array y, Array z ) : void
Mul ( Array x, int y, Array z ) : void
Negate ( Array x, Array z ) : void
Normalize ( Array z ) : void
One ( Array z ) : void
Sqr ( Array x, Array z ) : void
Sqr ( Array x, int n, Array z ) : void
SqrtRatioVar ( Array u, Array v, Array z ) : bool
Sub ( Array x, Array y, Array z ) : void
SubOne ( Array z ) : void
Zero ( Array z ) : void

Protected Methods

Method Description
X25519Field ( ) : System

Private Methods

Method Description
Decode128 ( Array bs, int off, Array z, int zOff ) : void
Decode32 ( Array bs, int off ) : uint
Encode128 ( Array x, int xOff, Array bs, int off ) : void
Encode32 ( uint n, Array bs, int off ) : void
PowPm5d8 ( Array x, Array rx2, Array rz ) : void
Reduce ( Array z, int x ) : void

Method Details

Add() public static method

public static Add ( Array x, Array y, Array z ) : void
x Array
y Array
z Array
return void

AddOne() public static method

public static AddOne ( Array z ) : void
z Array
return void

AddOne() public static method

public static AddOne ( Array z, int zOff ) : void
z Array
zOff int
return void

Apm() public static method

public static Apm ( Array x, Array y, Array zp, Array zm ) : void
x Array
y Array
zp Array
zm Array
return void

CMov() public static method

public static CMov ( int cond, Array x, int xOff, Array z, int zOff ) : void
cond int
x Array
xOff int
z Array
zOff int
return void

CNegate() public static method

public static CNegate ( int negate, Array z ) : void
negate int
z Array
return void

CSwap() public static method

public static CSwap ( int swap, Array a, Array b ) : void
swap int
a Array
b Array
return void

Carry() public static method

public static Carry ( Array z ) : void
z Array
return void

Copy() public static method

public static Copy ( Array x, int xOff, Array z, int zOff ) : void
x Array
xOff int
z Array
zOff int
return void

Create() public static method

public static Create ( ) : int[]
return int[]

CreateTable() public static method

public static CreateTable ( int n ) : int[]
n int
return int[]

Decode() public static method

public static Decode ( Array x, int xOff, Array z ) : void
x Array
xOff int
z Array
return void

Encode() public static method

public static Encode ( Array x, Array z, int zOff ) : void
x Array
z Array
zOff int
return void

Inv() public static method

public static Inv ( Array x, Array z ) : void
x Array
z Array
return void

IsZero() public static method

public static IsZero ( Array x ) : int
x Array
return int

IsZeroVar() public static method

public static IsZeroVar ( Array x ) : bool
x Array
return bool

Mul() public static method

public static Mul ( Array x, Array y, Array z ) : void
x Array
y Array
z Array
return void

Mul() public static method

public static Mul ( Array x, int y, Array z ) : void
x Array
y int
z Array
return void

Negate() public static method

public static Negate ( Array x, Array z ) : void
x Array
z Array
return void

Normalize() public static method

public static Normalize ( Array z ) : void
z Array
return void

One() public static method

public static One ( Array z ) : void
z Array
return void

Sqr() public static method

public static Sqr ( Array x, Array z ) : void
x Array
z Array
return void

Sqr() public static method

public static Sqr ( Array x, int n, Array z ) : void
x Array
n int
z Array
return void

SqrtRatioVar() public static method

public static SqrtRatioVar ( Array u, Array v, Array z ) : bool
u Array
v Array
z Array
return bool

Sub() public static method

public static Sub ( Array x, Array y, Array z ) : void
x Array
y Array
z Array
return void

SubOne() public static method

public static SubOne ( Array z ) : void
z Array
return void

X25519Field() protected method

protected X25519Field ( ) : System
return System

Zero() public static method

public static Zero ( Array z ) : void
z Array
return void