Struct flipperzero_sys::hmac_context
source · #[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,
}Expand description
Re-export bindings
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 u8Trait Implementations§
source§impl Clone for hmac_context
impl Clone for hmac_context
source§fn clone(&self) -> hmac_context
fn clone(&self) -> hmac_context
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more