34 #include "bootloader_common.h" 42 #define CBC_BLOCK_SIZE 16 44 #define CBC_MAC_SUPPORTED (defined(CAU_BASE) || defined(LTC0_BASE)) 50 #if defined(__cplusplus) 74 #if defined(__cplusplus) void cbc_mac_decrypt(uint8_t *data, uint32_t length, uint8_t *dest)
Decrypt the current CBCMAC with more data.
Definition: cbc_mac.c:102
void cbc_mac_finalize(void)
Finalizes the CBC MAC encryption process.
Definition: cbc_mac.c:137
void cbc_mac_init(uint8_t *key, uint8_t *iv)
Initializes the CBC MAC algorithm.
Definition: cbc_mac.c:43
void cbc_mac_encrypt(uint8_t *data, uint32_t length, uint8_t *dest)
Encrypt the current CBCMAC with more data.
Definition: cbc_mac.c:70
void cbc_mac_get(uint32_t *macDest)
Writes the current calculated.