1use libc::*;
2
3extern "C" {
4 pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
5
6 #[cfg(ossl111)]
7 pub fn RAND_priv_bytes(buf: *mut u8, num: c_int) -> c_int;
8
9 #[cfg(ossl111)]
10 pub fn RAND_keep_random_devices_open(keep: c_int);
11
12 pub fn RAND_status() -> c_int;
13
14 pub fn RAND_add(buf: *const c_void, num: c_int, randomness: c_double);
15}
16