ring::agreement

Static ECDH_P256

Source
pub static ECDH_P256: Algorithm
Expand description

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.