[−][src]Crate elliptic_curve
General purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof.
Minimum Supported Rust Version
Rust 1.46 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
Re-exports
pub use self::error::Error; |
pub use generic_array; |
pub use rand_core; |
pub use subtle; |
pub use self::point::AffinePoint; |
pub use self::point::ProjectiveArithmetic; |
pub use self::point::ProjectivePoint; |
pub use self::public_key::PublicKey; |
pub use self::scalar::Scalar; |
pub use ff; |
pub use group; |
pub use digest; |
pub use pkcs8; |
pub use secret_key::SecretKey; |
pub use zeroize; |
Modules
| consts | Type aliases for many constants. |
| ecdh | ecdhElliptic Curve Diffie-Hellman (Ephemeral) Support. |
| error | Error type. |
| ops | Traits for arithmetic operations on elliptic curve field elements |
| point | arithmeticElliptic curve points. |
| public_key | arithmeticElliptic curve public keys. |
| scalar | arithmeticScalar types |
| sec1 | SEC1 encoding support. |
| secret_key | zeroizeSecret keys for elliptic curves (i.e. private scalars) |
| util | Arithmetic helper functions designed for efficient LLVM lowering. |
| weierstrass | Elliptic curves in short Weierstrass form. |
Constants
| ALGORITHM_OID | pkcs8Algorithm |
Traits
| AlgorithmParameters | pkcs8Associate an |
| BitView | Views a type that can store bits as a bit-slice. |
| Curve | Elliptic curve. |
| Digest | The |
| Field | This trait represents an element of a field. |
| FromDigest | digestInstantiate this type from the output of a digest. |
| Group | This trait represents an element of a cryptographic group. |
Type Definitions
| FieldBytes | Byte representation of a base/scalar field element of a given curve. |