Expose curves for ECDH

Change-Id: Ifed7917ff1f54f2fbacf9abb967465d921fd7e3e
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/63045
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Maurice Lam 2023-09-08 16:34:31 -07:00 committed by Adam Langley
parent 3aecf1d00b
commit 1e3da32f37

View File

@ -21,6 +21,8 @@ use crate::{
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