mirror of
https://github.com/AntelopeIO/boringssl.git
synced 2026-07-21 14:43:53 +00:00
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:
committed by
Adam Langley
parent
3aecf1d00b
commit
1e3da32f37
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user