getP521 function

Curve getP521()

getP521 returns a EllipticCurve which implements NIST P-521 (FIPS 186-3, section D.2.5), also known as secp521r1. The CurveParams.Name of this Curve is "P-521".

Multiple invocations of this function will return the same value, so it can be used for equality checks and switch statements.

The cryptographic operations do not use constant-time algorithms.

Implementation

Curve getP521() {
  return _p521;
}