Function nrfxlib_sys::ocrypto_aes_cmac_authenticate
source · pub unsafe extern "C" fn ocrypto_aes_cmac_authenticate(
tag: *mut u8,
tag_len: usize,
msg: *const u8,
msg_len: usize,
key: *const u8,
size: usize
)
Expand description
AES-CMAC authentication algorithm.
tag
- Resulting tag.tag_len
- Tag length, 0 < *tag_len
- <= 16.msg
- Message to authenticate.msg_len
- Message length.key
- AES key.size
- Key size (16, 24, or 32).