#[repr(C)]
pub struct hmac_drbg_context { pub md_ctx: md_context_t, pub V: [c_uchar; 64], pub reseed_counter: c_int, pub entropy_len: size_t, pub prediction_resistance: c_int, pub reseed_interval: c_int, pub f_entropy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_uchar, arg3: size_t) -> c_int>, pub p_entropy: *mut c_void, pub mutex: threading_mutex_t, }

Fields

md_ctx: md_context_tV: [c_uchar; 64]reseed_counter: c_intentropy_len: size_tprediction_resistance: c_intreseed_interval: c_intf_entropy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_uchar, arg3: size_t) -> c_int>p_entropy: *mut c_voidmutex: threading_mutex_t

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.