- fromRep
void fromRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromRep
void fromRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- fromRep
BigInt fromRep(const(BigInt)* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- getA
const(BigInt) getA()
- getARep
const(BigInt) getARep()
- getB
const(BigInt) getB()
- getBRep
const(BigInt) getBRep()
- getP
const(BigInt) getP()
Get prime modulus of the field of the curve
- mul
void mul(BigInt* z, const(BigInt)* x, const(BigInt*) y, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- mul
BigInt mul(const(BigInt)* x, const(BigInt*) y, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- normalize
void normalize(BigInt* x, SecureVector!word ws, size_t bound)
Adjust x to be in [0,p)
@param bound if greater than zero, assume that no more than bound
additions or subtractions are required to move x into range.
- opCmp
int opCmp(CurveGFp rhs)
- opEquals
bool opEquals(CurveGFp other)
- sqr
void sqr(BigInt* z, const(BigInt)* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- sqr
BigInt sqr(const(BigInt)* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- swap
void swap(T other)
swaps the states of this and other, does not throw
- toRep
void toRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- toRep
void toRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
- toVector
Vector!char toVector()
Undocumented in source. Be warned that the author may not have intended to support it.
This class represents an elliptic curve over GF(p)