diff options
Diffstat (limited to 'openssl-sys/src/dh.rs')
-rw-r--r-- | openssl-sys/src/dh.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openssl-sys/src/dh.rs b/openssl-sys/src/dh.rs index 75200fee..3a4553c4 100644 --- a/openssl-sys/src/dh.rs +++ b/openssl-sys/src/dh.rs @@ -11,6 +11,13 @@ extern "C" { cb_arg: *mut c_void, ) -> *mut DH; + pub fn DH_generate_parameters_ex( + dh: *mut DH, + prime_len: c_int, + generator: c_int, + cb: *mut BN_GENCB, + ) -> c_int; + pub fn DH_generate_key(dh: *mut DH) -> c_int; pub fn DH_compute_key(key: *mut c_uchar, pub_key: *const BIGNUM, dh: *mut DH) -> c_int; pub fn DH_size(dh: *const DH) -> c_int; |