ring::signature::ECDSA_P384_SHA1_ASN1 [] [src]

pub static ECDSA_P384_SHA1_ASN1: ECDSAParameters = ECDSAParameters{ops: &p384::PUBLIC_SCALAR_OPS, digest_alg: &digest::SHA1,}

Verification of ECDSA signatures using the P-384 curve and SHA-1.

Public keys are encoding in uncompressed form using the Octet-String-to-Elliptic-Curve-Point algorithm in SEC 1: Elliptic Curve Cryptography, Version 2.0. Public keys are validated during key agreement as described in using the ECC Partial Public-Key Validation Routine from Section 5.6.2.3.3 of NIST Special Publication 800-56A, revision 2 and Appendix A.3 of the NSA's Suite B implementer's guide to FIPS 186-3. Note that, as explained in the NSA guide, ECC Partial Public-Key Validation is equivalent to ECC Full Public-Key Validation for prime-order curves like this one.

The signature will be parsed as a DER-encoded Ecdsa-Sig-Value as described in RFC 3279 Section 2.2.3.