#![no_std]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo_small.png")]
#![forbid(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]
#[cfg(feature = "arithmetic")]
#[cfg_attr(docsrs, doc(cfg(feature = "arithmetic")))]
pub mod arithmetic;
pub use elliptic_curve;
use elliptic_curve::{generic_array::typenum::U32, weierstrass::Curve};
#[derive(Clone, Debug, Default, Eq, PartialEq, PartialOrd, Ord)]
pub struct NistP256;
impl Curve for NistP256 {
type ScalarSize = U32;
}
pub type SecretKey = elliptic_curve::SecretKey<<NistP256 as Curve>::ScalarSize>;
pub type PublicKey = elliptic_curve::weierstrass::PublicKey<NistP256>;