C# Class Granados.PKI.EllipticCurveF2m

Elliptic curve domain parameters over F2^m
Inheritance: EllipticCurve
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Свойство Type Description
Exp int[]
G ECPoint
a byte[]
b byte[]
h Granados.Mono.Math.BigInteger
m int
n Granados.Mono.Math.BigInteger

Méthodes publiques

Méthode Description
BasePointMul ( BigInteger k ) : ECPoint

Calculate multiplication of G

EllipticCurveF2m ( PublicKeyAlgorithm algorithm, string curveName, int m, int exp, byte a, byte b, ECPoint G, BigInteger n, BigInteger h ) : Granados.Crypto

Constructor

ValidatePoint ( BigInteger x, BigInteger y ) : bool

Validate if the point satisfies the equation of the elliptic curve.

Method Details

BasePointMul() public méthode

Calculate multiplication of G
public BasePointMul ( BigInteger k ) : ECPoint
k Granados.Mono.Math.BigInteger scalar value for multiplication
Résultat ECPoint

EllipticCurveF2m() public méthode

Constructor
public EllipticCurveF2m ( PublicKeyAlgorithm algorithm, string curveName, int m, int exp, byte a, byte b, ECPoint G, BigInteger n, BigInteger h ) : Granados.Crypto
algorithm PublicKeyAlgorithm public key algorithm which uses this curve
curveName string curve name
m int exponent of 2
exp int exponents of x
a byte curve parameter
b byte curve parameter
G ECPoint base point
n Granados.Mono.Math.BigInteger order n of G
h Granados.Mono.Math.BigInteger cofactor
Résultat Granados.Crypto

ValidatePoint() public méthode

Validate if the point satisfies the equation of the elliptic curve.
public ValidatePoint ( BigInteger x, BigInteger y ) : bool
x Granados.Mono.Math.BigInteger value of X
y Granados.Mono.Math.BigInteger value of Y
Résultat bool

Property Details

Exp public_oe property

Exponents of x
public int[] Exp
Résultat int[]

G public_oe property

Base point
public ECPoint G
Résultat ECPoint

a public_oe property

Curve parameter
public byte[] a
Résultat byte[]

b public_oe property

Curve parameter
public byte[] b
Résultat byte[]

h public_oe property

Cofactor
public BigInteger,Granados.Mono.Math h
Résultat Granados.Mono.Math.BigInteger

m public_oe property

Exponent of 2
public int m
Résultat int

n public_oe property

Order n of G
public BigInteger,Granados.Mono.Math n
Résultat Granados.Mono.Math.BigInteger