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,
}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_uintresult_size: c_uinttmp: *mut u8Trait Implementations
sourceimpl Clone for hmac_context
impl Clone for hmac_context
sourcefn clone(&self) -> hmac_context
fn clone(&self) -> hmac_context
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for hmac_context
impl Debug for hmac_context
impl Copy for hmac_context
Auto Trait Implementations
impl RefUnwindSafe for hmac_context
impl !Send for hmac_context
impl !Sync for hmac_context
impl Unpin for hmac_context
impl UnwindSafe for hmac_context
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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