Expand description
Elliptic Curve-based cryptographic algorithms over NIST P curves.
This module only supports elliptic curve cryptography over NIST’s P curves, defined in FIPS 186-3. These are the P-256, P-384, and P-521 curves (P-224 is considered insecure, and thus is not supported). The ECDSA and ECDH algorithms are both defined over P curves, and so are exposed in this module.
Other elliptic curve algorithms on non-P curves live in other modules (e.g.,
operations on the Edwards 25519 curve live in the ed25519
module).
Modules§
- ecdsa
- The Elliptic Curve Digital Signature Algorithm.
Structs§
- EcPriv
Key - An elliptic curve private key over a P curve.
- EcPub
Key - An elliptic curve public key over a P curve.
- P256
- The P-256 curve.
- P384
- The P-384 curve.
- P521
- The P-521 curve.
Enums§
- EcPriv
KeyAny Curve - An elliptic curve private key whose curve is unknown at compile time.
- EcPub
KeyAny Curve - An elliptic curve public key whose curve is unknown at compile time.
Traits§
- PCurve
- A NIST P elliptic curve.