C# Class NBitcoin.BouncyCastle.Math.EC.FpFieldElement

Inheritance: ECFieldElement
Mostra file Open project: Nethereum/Nethereum Class Usage Examples

Public Methods

Method Description
Add ( ECFieldElement b ) : ECFieldElement
AddOne ( ) : ECFieldElement
CalculateResidue ( BigInteger p ) : BigInteger
Divide ( ECFieldElement b ) : ECFieldElement
Equals ( FpFieldElement other ) : bool
Equals ( object obj ) : bool
FpFieldElement ( BigInteger q, BigInteger r, BigInteger x ) : System
GetHashCode ( ) : int
Invert ( ) : ECFieldElement
Multiply ( ECFieldElement b ) : ECFieldElement
MultiplyMinusProduct ( ECFieldElement b, ECFieldElement x, ECFieldElement y ) : ECFieldElement
MultiplyPlusProduct ( ECFieldElement b, ECFieldElement x, ECFieldElement y ) : ECFieldElement
Negate ( ) : ECFieldElement
Sqrt ( ) : ECFieldElement
Square ( ) : ECFieldElement
SquareMinusProduct ( ECFieldElement x, ECFieldElement y ) : ECFieldElement
SquarePlusProduct ( ECFieldElement x, ECFieldElement y ) : ECFieldElement
Subtract ( ECFieldElement b ) : ECFieldElement
ToBigInteger ( ) : BigInteger

Protected Methods

Method Description
ModAdd ( BigInteger x1, BigInteger x2 ) : BigInteger
ModDouble ( BigInteger x ) : BigInteger
ModHalf ( BigInteger x ) : BigInteger
ModHalfAbs ( BigInteger x ) : BigInteger
ModInverse ( BigInteger x ) : BigInteger
ModMult ( BigInteger x1, BigInteger x2 ) : BigInteger
ModReduce ( BigInteger x ) : BigInteger
ModSubtract ( BigInteger x1, BigInteger x2 ) : BigInteger

Private Methods

Method Description
CheckSqrt ( ECFieldElement z ) : ECFieldElement
FpFieldElement ( BigInteger q, BigInteger x ) : System
LucasSequence ( BigInteger P, BigInteger Q, BigInteger k ) : BigInteger[]

Method Details

Add() public method

public Add ( ECFieldElement b ) : ECFieldElement
b ECFieldElement
return ECFieldElement

AddOne() public method

public AddOne ( ) : ECFieldElement
return ECFieldElement

CalculateResidue() public static method

public static CalculateResidue ( BigInteger p ) : BigInteger
p BigInteger
return BigInteger

Divide() public method

public Divide ( ECFieldElement b ) : ECFieldElement
b ECFieldElement
return ECFieldElement

Equals() public method

public Equals ( FpFieldElement other ) : bool
other FpFieldElement
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FpFieldElement() public method

public FpFieldElement ( BigInteger q, BigInteger r, BigInteger x ) : System
q BigInteger
r BigInteger
x BigInteger
return System

GetHashCode() public method

public GetHashCode ( ) : int
return int

Invert() public method

public Invert ( ) : ECFieldElement
return ECFieldElement

ModAdd() protected method

protected ModAdd ( BigInteger x1, BigInteger x2 ) : BigInteger
x1 BigInteger
x2 BigInteger
return BigInteger

ModDouble() protected method

protected ModDouble ( BigInteger x ) : BigInteger
x BigInteger
return BigInteger

ModHalf() protected method

protected ModHalf ( BigInteger x ) : BigInteger
x BigInteger
return BigInteger

ModHalfAbs() protected method

protected ModHalfAbs ( BigInteger x ) : BigInteger
x BigInteger
return BigInteger

ModInverse() protected method

protected ModInverse ( BigInteger x ) : BigInteger
x BigInteger
return BigInteger

ModMult() protected method

protected ModMult ( BigInteger x1, BigInteger x2 ) : BigInteger
x1 BigInteger
x2 BigInteger
return BigInteger

ModReduce() protected method

protected ModReduce ( BigInteger x ) : BigInteger
x BigInteger
return BigInteger

ModSubtract() protected method

protected ModSubtract ( BigInteger x1, BigInteger x2 ) : BigInteger
x1 BigInteger
x2 BigInteger
return BigInteger

Multiply() public method

public Multiply ( ECFieldElement b ) : ECFieldElement
b ECFieldElement
return ECFieldElement

MultiplyMinusProduct() public method

public MultiplyMinusProduct ( ECFieldElement b, ECFieldElement x, ECFieldElement y ) : ECFieldElement
b ECFieldElement
x ECFieldElement
y ECFieldElement
return ECFieldElement

MultiplyPlusProduct() public method

public MultiplyPlusProduct ( ECFieldElement b, ECFieldElement x, ECFieldElement y ) : ECFieldElement
b ECFieldElement
x ECFieldElement
y ECFieldElement
return ECFieldElement

Negate() public method

public Negate ( ) : ECFieldElement
return ECFieldElement

Sqrt() public method

public Sqrt ( ) : ECFieldElement
return ECFieldElement

Square() public method

public Square ( ) : ECFieldElement
return ECFieldElement

SquareMinusProduct() public method

public SquareMinusProduct ( ECFieldElement x, ECFieldElement y ) : ECFieldElement
x ECFieldElement
y ECFieldElement
return ECFieldElement

SquarePlusProduct() public method

public SquarePlusProduct ( ECFieldElement x, ECFieldElement y ) : ECFieldElement
x ECFieldElement
y ECFieldElement
return ECFieldElement

Subtract() public method

public Subtract ( ECFieldElement b ) : ECFieldElement
b ECFieldElement
return ECFieldElement

ToBigInteger() public method

public ToBigInteger ( ) : BigInteger
return BigInteger