Skip to main content

Module p384

Module p384 

Source
Expand description

NIST P-384 (secp384r1).

The curve a CNSA-aligned profile requires, and the one TLS reaches for when 128-bit security is not considered enough. The field, group law, and schemes come from crate::nist; this module supplies the constants and the public API.

Paired with SHA-384 throughout, which is the matching security level and also makes RFC 6979’s bit-length handling collapse to a straight reduction, since the hash and the group order are both 384 bits wide.

Structs§

EcdhP384
ECDH over P-384.
EcdsaP384Sha384
ECDSA over P-384 with SHA-384.
Fn
The P-384 scalar ring, Z/nZ where n is the order of the base point.
Fp
The P-384 coordinate field, GF(p) with p = 2^384 - 2^128 - 2^96 + 2^32 - 1.
P384
The P-384 curve.

Type Aliases§

AffinePoint
A P-384 point in affine coordinates.
Point
A P-384 point in Jacobian coordinates.