Crate elliptic_curve[−][src]
Expand description
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.51 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 crypto_bigint as bigint;pub use generic_array;pub use rand_core;pub use subtle;pub use group;pub use pkcs8;pub use zeroize;Modules
Type aliases for many constants.
ecdhElliptic Curve Diffie-Hellman Support.
Traits for arithmetic operations on elliptic curve field elements.
SEC1 encoding support.
Elliptic curves in short Weierstrass form.
Structs
Elliptic curve errors.
jwkJSON Web Key (JWK) with a kty of "EC" (elliptic curve).
arithmeticNon-zero scalar type.
arithmeticElliptic curve public keys.
Scalar bytes: wrapper for FieldBytes which guarantees that the the
inner byte value is within range of the Curve::ORDER.
zeroizeElliptic curve secret keys.
Constants
pkcs8Algorithm ObjectIdentifier for elliptic
curve public key cryptography.
Traits
arithmeticElliptic curve with affine arithmetic implementation.
pkcs8Associate an ObjectIdentifier (OID) with an
elliptic curve algorithm implementation.
Elliptic curve.
This trait represents an element of a field.
This trait represents an element of a cryptographic group.
Elliptic curve parameters used by JSON Web Keys.
arithmeticElliptic curve with projective arithmetic implementation.
arithmeticScalar arithmetic.
Type Definitions
arithmeticAffine point type for a given curve with a ProjectiveArithmetic
implementation.
Byte representation of a base/scalar field element of a given curve.
Size of field elements of this elliptic curve.
arithmeticProjective point type for a given curve with a ProjectiveArithmetic
implementation.
Result type.
arithmeticScalar field element for a particular elliptic curve.