getP384 function

Curve getP384()

getP384 returns a EllipticCurve which implements NIST P-384 (FIPS 186-3, section D.2.4), also known as secp384r1. The CurveParams.Name of this Curve is "P-384".

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 getP384() {
  return _p384;
}