Wire Sysio Wire Sysion 1.0.0
|
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "aes_cmac.h"
#include "../common/insecure_memzero.h"
Go to the source code of this file.
Functions | |
void | aes_cmac_encrypt (const aes_cmac_context_t *ctx, const uint8_t *message, const uint16_t message_len, uint8_t *mac) |
uint8_t | aes_cmac_init (uint8_t *key, uint16_t key_len, aes_cmac_context_t *ctx) |
void | aes_cmac_destroy (aes_cmac_context_t *ctx) |
void aes_cmac_destroy | ( | aes_cmac_context_t * | ctx | ) |
Definition at line 147 of file aes_cmac.c.
void aes_cmac_encrypt | ( | const aes_cmac_context_t * | ctx, |
const uint8_t * | message, | ||
const uint16_t | message_len, | ||
uint8_t * | mac ) |
Definition at line 85 of file aes_cmac.c.
uint8_t aes_cmac_init | ( | uint8_t * | key, |
uint16_t | key_len, | ||
aes_cmac_context_t * | ctx ) |
Definition at line 130 of file aes_cmac.c.