pub use p256::NistP256;
use super::CurveAlg;
use ring::signature::{
EcdsaSigningAlgorithm, EcdsaVerificationAlgorithm, ECDSA_P256_SHA256_FIXED,
ECDSA_P256_SHA256_FIXED_SIGNING,
};
pub type Signature = super::Signature<NistP256>;
pub type SigningKey = super::SigningKey<NistP256>;
pub type VerifyingKey = super::VerifyingKey<NistP256>;
impl CurveAlg for NistP256 {
fn signing_alg() -> &'static EcdsaSigningAlgorithm {
&ECDSA_P256_SHA256_FIXED_SIGNING
}
fn verify_alg() -> &'static EcdsaVerificationAlgorithm {
&ECDSA_P256_SHA256_FIXED
}
}