CurveGFpP521

The NIST P-521 curve

Constructors

this
this(BigInt* a, BigInt* b)
Undocumented in source.

Members

Functions

getP
const(BigInt) getP()
Undocumented in source. Be warned that the author may not have intended to support it.
maxRedcSubstractions
size_t maxRedcSubstractions()
Undocumented in source. Be warned that the author may not have intended to support it.
redc
void redc(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

prime
BigInt prime;
Undocumented in source.

Inherited Members

From CurveGFpNIST

getA
const(BigInt) getA()
Undocumented in source. Be warned that the author may not have intended to support it.
getB
const(BigInt) getB()
Undocumented in source. Be warned that the author may not have intended to support it.
getARep
const(BigInt) getARep()
Undocumented in source. Be warned that the author may not have intended to support it.
getBRep
const(BigInt) getBRep()
Undocumented in source. Be warned that the author may not have intended to support it.
getPWords
size_t getPWords()
Undocumented in source. Be warned that the author may not have intended to support it.
toCurveRep
void toCurveRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
fromCurveRep
void fromCurveRep(BigInt* x, SecureVector!word ws)
Undocumented in source. Be warned that the author may not have intended to support it.
curveMul
void curveMul(BigInt* z, const(BigInt)* x, const(BigInt)* y, SecureVector!word ws)

Montgomery multiplication/reduction Notes: z cannot alias x or y

curveSqr
void curveSqr(BigInt* z, const(BigInt)* x, SecureVector!word ws)

Montgomery squaring/reduction Notes: z cannot alias x

toVector
Vector!char toVector()
Undocumented in source. Be warned that the author may not have intended to support it.
swap
void swap(CurveGFpRepr other_)
Undocumented in source. Be warned that the author may not have intended to support it.
redc
void redc(BigInt* x, SecureVector!word ws)
Undocumented in source.
maxRedcSubstractions
size_t maxRedcSubstractions()
Undocumented in source.

Meta