commit | 1e3da32f3754b1b9136247ee26308cfd959cbeba | [log] [tgz] |
---|---|---|
author | Maurice Lam <yukl@google.com> | Fri Sep 08 16:34:31 2023 -0700 |
committer | Adam Langley <agl@google.com> | Sat Sep 09 02:31:37 2023 +0000 |
tree | a7d49693e1298f62ab8fe1347a712d8a999849e0 | |
parent | 3aecf1d00bf62fa40bee0c93525df52204f48d4a [diff] |
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