generic_ec_curves::rust_crypto

Trait CurveName

source
pub trait CurveName {
    const CURVE_NAME: &'static str;
}
Available on crate feature rust-crypto only.
Expand description

Name of the curve

Required Associated Constants§

source

const CURVE_NAME: &'static str

Name of the curve

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CurveName for Secp256k1

Available on crate feature secp256k1 only.
source§

const CURVE_NAME: &'static str = "secp256k1"

source§

impl CurveName for NistP256

Available on crate feature secp256r1 only.
source§

const CURVE_NAME: &'static str = "secp256r1"

source§

impl CurveName for StarkCurve

Available on crate feature stark only.
source§

const CURVE_NAME: &'static str = "stark"

Implementors§