Function gnunet_sys::GNUNET_CRYPTO_hmac [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hmac(
key: *const GNUNET_CRYPTO_AuthKey,
plaintext: *const c_void,
plaintext_len: usize,
hmac: *mut GNUNET_HashCode
)
@ingroup hash Calculate HMAC of a message (RFC 2104)
@param key secret key @param plaintext input plaintext @param plaintext_len length of @a plaintext @param hmac where to store the hmac