Type Alias s2n_tls_sys::s2n_rand_mix_callback

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

A callback function that will be used to mix in entropy every time the RNG is invoked.

Aliased Type§

enum s2n_rand_mix_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.