#[repr(C)]pub struct Params {
pub id: usize,
pub hmac: *mut u8,
}Expand description
Parameters of hmac_finalize
Fields§
§id: usizeThe identifier returned by the associated [hmac_initialize()] call.
This is consumed and invalidated by this call regardless of the return value.
hmac: *mut u8The pointer to the buffer where the hmac must be written.
Its length is defined by the algorithm:
- 32 bytes for SHA-256.
The pointer may be null, in which case this function deallocates the identifier without computing the hmac.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more