riot_sys::bindgen

Function hmac_sha256_init

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

@brief hmac_sha256_init HMAC SHA-256 calculation. Initiate calculation of a HMAC @param[in] ctx hmac_context_t handle to use @param[in] key key used in the hmac-sha256 computation @param[in] key_length the size in bytes of the key