Type Alias s2n_quic::provider::tls::default::ffi::s2n_rand_mix_callback

source ·
pub type s2n_rand_mix_callback = Option<unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32>;
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.