1 use *;
2 
3 extern "C" {
DH_new() -> *mut DH4     pub fn DH_new() -> *mut DH;
DH_free(dh: *mut DH)5     pub fn DH_free(dh: *mut DH);
6 
d2i_DHparams(k: *mut *mut DH, pp: *mut *const c_uchar, length: c_long) -> *mut DH7     pub fn d2i_DHparams(k: *mut *mut DH, pp: *mut *const c_uchar, length: c_long) -> *mut DH;
i2d_DHparams(dh: *const DH, pp: *mut *mut c_uchar) -> c_int8     pub fn i2d_DHparams(dh: *const DH, pp: *mut *mut c_uchar) -> c_int;
9 
10     #[cfg(ossl102)]
DH_get_1024_160() -> *mut DH11     pub fn DH_get_1024_160() -> *mut DH;
12     #[cfg(ossl102)]
DH_get_2048_224() -> *mut DH13     pub fn DH_get_2048_224() -> *mut DH;
14     #[cfg(ossl102)]
DH_get_2048_256() -> *mut DH15     pub fn DH_get_2048_256() -> *mut DH;
16 
17     #[cfg(any(ossl110, libressl273))]
DH_set0_pqg(dh: *mut DH, p: *mut BIGNUM, q: *mut BIGNUM, g: *mut BIGNUM) -> c_int18     pub fn DH_set0_pqg(dh: *mut DH, p: *mut BIGNUM, q: *mut BIGNUM, g: *mut BIGNUM) -> c_int;
19 }
20