mundane::public::ec

Trait PCurve

Source
pub trait PCurve:
    Sized
    + Copy
    + Clone
    + Default
    + Display
    + Debug
    + PCurve { }
Expand description

A NIST P elliptic curve.

PCurve is implemented by P256, P384, and P521. The P-224 curve is considered insecure, and thus is not supported.

The P curves are defined by NIST and are used in the ECDSA and ECDH algorithms.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§