Function esp_idf_svc::hal::sys::mbedtls_aes_cmac_prf_128
source ยท pub unsafe extern "C" fn mbedtls_aes_cmac_prf_128(
key: *const u8,
key_len: usize,
input: *const u8,
in_len: usize,
output: *mut u8,
) -> i32
Expand description
\brief This function implements the AES-CMAC-PRF-128 pseudorandom function, as defined in RFC-4615: The Advanced Encryption Standard-Cipher-based Message Authentication Code-Pseudo-Random Function-128 (AES-CMAC-PRF-128) Algorithm for the Internet Key Exchange Protocol (IKE).
\param key The key to use. \param key_len The key length in Bytes. \param input The buffer holding the input data. \param in_len The length of the input data in Bytes. \param output The buffer holding the generated 16 Bytes of pseudorandom output.
\return \c 0 on success.