Static ring::agreement::ECDH_P384
[−]
[src]
pub static ECDH_P384: Algorithm=
agreement::Algorithm{i: ec::AgreementAlgorithmImpl{public_key_len: 1 + 2 * 384 + 7 / 8, elem_and_scalar_len: 384 + 7 / 8, nid: 715, generate_private_key: p384_generate_private_key, public_from_private: p384_public_from_private, ecdh: p384_ecdh,},}
ECDH using the NSA Suite B P-384 (secp384r1) curve.
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 according to NIST Special Publication 800-56A, revision 2 and Appendix B.3 of the NSA's Suite B Implementer's Guide to NIST SP 800-56A.