#[repr(C)]pub struct Params {
pub algorithm: usize,
pub key: *const u8,
pub key_len: usize,
}Expand description
Parameters of hmac_initialize
Fields§
§algorithm: usizeThe hash algorithm.
key: *const u8The pointer to the key.
key_len: usizeThe length of the key.
If greater than 64 bytes, the key will be itself hashed.
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