#[repr(C)]
pub struct hmac_context { pub init_hash: Option<unsafe extern "C" fn(context: *const hmac_context)>, pub update_hash: Option<unsafe extern "C" fn(context: *const hmac_context, message: *const u8, message_size: c_uint)>, pub finish_hash: Option<unsafe extern "C" fn(context: *const hmac_context, hash_result: *mut u8)>, pub block_size: c_uint, pub result_size: c_uint, pub tmp: *mut u8, }

Fields§

§init_hash: Option<unsafe extern "C" fn(context: *const hmac_context)>§update_hash: Option<unsafe extern "C" fn(context: *const hmac_context, message: *const u8, message_size: c_uint)>§finish_hash: Option<unsafe extern "C" fn(context: *const hmac_context, hash_result: *mut u8)>§block_size: c_uint§result_size: c_uint§tmp: *mut u8

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. 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 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.