bp384 0.14.0

Brainpool P-384 (brainpoolP384r1 and brainpoolP384t1) elliptic curves
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Elliptic Curve Digital Signature Algorithm (ECDSA)

pub use super::BrainpoolP384r1;

/// ECDSA/brainpoolP384r1 signature (fixed-size)
pub type Signature = ecdsa::Signature<BrainpoolP384r1>;

/// ECDSA/brainpoolP384r1 signature (ASN.1 DER encoded)
pub type DerSignature = ecdsa::der::Signature<BrainpoolP384r1>;

impl ecdsa::EcdsaCurve for BrainpoolP384r1 {
    const NORMALIZE_S: bool = false;
}

#[cfg(feature = "sha384")]
impl ecdsa::DigestAlgorithm for BrainpoolP384r1 {
    type Digest = sha2::Sha384;
}