riot_sys::bindgen

Function sha1_init_hmac

Source
pub unsafe extern "C" fn sha1_init_hmac(
    ctx: *mut sha1_context,
    key: *const c_void,
    key_length: size_t,
)
Expand description

@brief Initialize SHA-1 message digest context with MAC

@param[in] ctx Pointer to the SHA-1 context to initialize @param[in] key Key used in the HMAC-SHA1 computation @param[in] key_length The size in bytes of @p key