• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use libc::*;
2 
3 extern "C" {
RAND_bytes(buf: *mut u8, num: c_int) -> c_int4     pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
5 
6     #[cfg(ossl111)]
RAND_keep_random_devices_open(keep: c_int)7     pub fn RAND_keep_random_devices_open(keep: c_int);
8 
RAND_status() -> c_int9     pub fn RAND_status() -> c_int;
10 
RAND_add(buf: *const c_void, num: c_int, randomness: c_double)11     pub fn RAND_add(buf: *const c_void, num: c_int, randomness: c_double);
12 }
13