27#ifndef OCRYPTO_AES_CMAC_H
28#define OCRYPTO_AES_CMAC_H
42#define ocrypto_aes_cmac_prf128_BYTES (16)
55 uint8_t *tag,
size_t tag_len,
56 const uint8_t *msg,
size_t msg_len,
57 const uint8_t *key,
size_t size);
70 const uint8_t *msg,
size_t msg_len,
71 const uint8_t *key,
size_t key_len);
void ocrypto_aes_cmac_authenticate(uint8_t *tag, size_t tag_len, const uint8_t *msg, size_t msg_len, const uint8_t *key, size_t size)
void ocrypto_aes_cmac_prf128(uint8_t prf[(16)], const uint8_t *msg, size_t msg_len, const uint8_t *key, size_t key_len)
#define ocrypto_aes_cmac_prf128_BYTES
Definition ocrypto_aes_cmac.h:42