Static ring::agreement::ECDH_P256 [] [src]

pub static ECDH_P256: Algorithm = agreement::Algorithm{i:
                         ec::AgreementAlgorithmImpl{curve:
                                                        &ec::suite_b::curve::P256,
                                                    ecdh: p256_ecdh,},}

ECDH using the NSA Suite B P-256 (secp256r1) 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.