Trait yubihsm::ecdsa::algorithm::CurveAlgorithm
source · pub trait CurveAlgorithm {
// Required method
fn asymmetric_algorithm() -> Algorithm;
}
Expand description
Mappings from ECDSA curves to their corresponding asymmetric algorithm
Required Methods§
sourcefn asymmetric_algorithm() -> Algorithm
fn asymmetric_algorithm() -> Algorithm
YubiHSM asymmetric algorithm for this elliptic curve
Implementors§
impl CurveAlgorithm for NistP256
impl CurveAlgorithm for NistP384
impl CurveAlgorithm for Secp256k1
Available on crate feature
secp256k1
only.