Expose curves for ECDH Change-Id: Ifed7917ff1f54f2fbacf9abb967465d921fd7e3e Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/63045 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/rust/bssl-crypto/src/ecdh.rs b/rust/bssl-crypto/src/ecdh.rs index ec8944c..231b362 100644 --- a/rust/bssl-crypto/src/ecdh.rs +++ b/rust/bssl-crypto/src/ecdh.rs
@@ -21,6 +21,8 @@ CSliceMut, ForeignType, }; +pub use crate::ec::P256; + /// Private key used in a elliptic curve Diffie-Hellman. pub struct PrivateKey<C: Curve> { /// An EcKey containing the private-public key pair