Class F2mCurve
- Namespace
- Enterprises.Org.BouncyCastle.Math.EC
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class F2mCurve : AbstractF2mCurve
- Inheritance
-
F2mCurve
- Inherited Members
-
Constructors
F2mCurve(int, int, BigInteger, BigInteger)
[Obsolete("Use constructor taking order/cofactor")]
public F2mCurve(int m, int k, BigInteger a, BigInteger b)
Parameters
m int
k int
a BigInteger
b BigInteger
F2mCurve(int, int, BigInteger, BigInteger, BigInteger, BigInteger)
public F2mCurve(int m, int k, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor)
Parameters
m int
k int
a BigInteger
b BigInteger
order BigInteger
cofactor BigInteger
F2mCurve(int, int, int, int, BigInteger, BigInteger)
[Obsolete("Use constructor taking order/cofactor")]
public F2mCurve(int m, int k1, int k2, int k3, BigInteger a, BigInteger b)
Parameters
m int
k1 int
k2 int
k3 int
a BigInteger
b BigInteger
F2mCurve(int, int, int, int, BigInteger, BigInteger, BigInteger, BigInteger)
public F2mCurve(int m, int k1, int k2, int k3, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor)
Parameters
m int
k1 int
k2 int
k3 int
a BigInteger
b BigInteger
order BigInteger
cofactor BigInteger
F2mCurve(int, int, int, int, ECFieldElement, ECFieldElement, BigInteger, BigInteger)
protected F2mCurve(int m, int k1, int k2, int k3, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor)
Parameters
m int
k1 int
k2 int
k3 int
a ECFieldElement
b ECFieldElement
order BigInteger
cofactor BigInteger
Fields
m_infinity
protected readonly F2mPoint m_infinity
Field Value
- F2mPoint
Properties
FieldSize
public override int FieldSize { get; }
Property Value
- int
Infinity
public override ECPoint Infinity { get; }
Property Value
- ECPoint
K1
Property Value
- int
K2
Property Value
- int
K3
Property Value
- int
M
Property Value
- int
Methods
CloneCurve()
protected override ECCurve CloneCurve()
Returns
- ECCurve
CreateCacheSafeLookupTable(ECPoint[], int, int)
public override IECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len)
Parameters
points ECPoint[]
off int
len int
Returns
- IECLookupTable
CreateDefaultMultiplier()
protected override IECMultiplier CreateDefaultMultiplier()
Returns
- IECMultiplier
CreateRawPoint(ECFieldElement, ECFieldElement, ECFieldElement[], bool)
protected override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression)
Parameters
x ECFieldElement
y ECFieldElement
zs ECFieldElement[]
withCompression bool
Returns
- ECPoint
CreateRawPoint(ECFieldElement, ECFieldElement, bool)
protected override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression)
Parameters
x ECFieldElement
y ECFieldElement
withCompression bool
Returns
- ECPoint
FromBigInteger(BigInteger)
public override ECFieldElement FromBigInteger(BigInteger x)
Parameters
x BigInteger
Returns
- ECFieldElement
IsTrinomial()
public bool IsTrinomial()
Returns
- bool
SupportsCoordinateSystem(int)
public override bool SupportsCoordinateSystem(int coord)
Parameters
coord int
Returns
- bool