Struct mbedtls_sys::hmac_drbg_context
source · [−]#[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_t
V: [c_uchar; 64]
reseed_counter: c_int
entropy_len: size_t
prediction_resistance: c_int
reseed_interval: c_int
f_entropy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_uchar, arg3: size_t) -> c_int>
p_entropy: *mut c_void
mutex: threading_mutex_t
Trait Implementations
sourceimpl Clone for hmac_drbg_context
impl Clone for hmac_drbg_context
sourcefn clone(&self) -> hmac_drbg_context
fn clone(&self) -> hmac_drbg_context
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for hmac_drbg_context
impl Default for hmac_drbg_context
impl Copy for hmac_drbg_context
Auto Trait Implementations
impl RefUnwindSafe for hmac_drbg_context
impl !Send for hmac_drbg_context
impl !Sync for hmac_drbg_context
impl Unpin for hmac_drbg_context
impl UnwindSafe for hmac_drbg_context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more