Type Alias s2n_tls_sys::s2n_rand_seed_callback

source ·
pub type s2n_rand_seed_callback = Option<unsafe extern "C" fn(data: *mut c_void, size: u32) -> c_int>;
Expand description

A callback function that will be used to provide entropy to the s2n-tls random number generators.

Aliased Type§

enum s2n_rand_seed_callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32)

Some value of type T.