# Crate elliptic_curve_flow[−][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.52** 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 zeroize;`

`pub use group;`

`pub use pkcs8;`

## Modules

Type aliases for many constants.

`ecdh`

Elliptic Curve Diffie-Hellman Support.

Traits for arithmetic operations on elliptic curve field elements.

Support for SEC1 elliptic curve encoding formats.

## Structs

Elliptic curve errors.

`jwk`

JSON Web Key (JWK) with a `kty`

of `"EC"`

(elliptic curve).

`arithmetic`

Non-zero scalar type.

`arithmetic`

Elliptic curve public keys.

`arithmetic`

Generic scalar type with core functionality.

Elliptic curve secret keys.

## Constants

`pkcs8`

Algorithm `ObjectIdentifier`

for elliptic
curve public key cryptography.

## Traits

`arithmetic`

Elliptic curve with affine arithmetic implementation.

`pkcs8`

Associate an `ObjectIdentifier`

(OID) with an
elliptic curve algorithm implementation.

Elliptic curve.

Attempt to decompact an elliptic curve point from an x-coordinate.

Attempt to decompress an elliptic curve point from its x-coordinate and a boolean flag indicating whether or not the y-coordinate is odd.

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.

Point compaction settings.

Point compression settings.

Marker trait for elliptic curves with prime order.

`arithmetic`

Prime order elliptic curve with projective arithmetic implementation.

`arithmetic`

Elliptic curve with projective arithmetic implementation.

`arithmetic`

Scalar arithmetic.

## Type Definitions

`arithmetic`

Affine 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.

`arithmetic`

Projective point type for a given curve with a `ProjectiveArithmetic`

implementation.

Result type.

`arithmetic`

Scalar field element for a particular elliptic curve.