AES_CMAC interface definition. More...

Detailed Description

AES_CMAC interface definition.

Author
José Ignacio Alamos jose..nosp@m.alam.nosp@m.os@in.nosp@m.ria..nosp@m.cl

Definition in file cmac.h.

#include <stdio.h>
#include "crypto/ciphers.h"
+ Include dependency graph for cmac.h:

Go to the source code of this file.

Data Structures

struct  cmac_context_t
 AES_CMAC calculation context. More...
 

Macros

#define CMAC_BLOCK_SIZE   16
 Length of AES_CMAC block in bytes.
 

Functions

int cmac_init (cmac_context_t *ctx, const uint8_t *key, uint8_t key_size)
 Initialize CMAC message digest context. More...
 
void cmac_update (cmac_context_t *ctx, const void *data, size_t len)
 Update the CMAC context with a portion of the message being hashed. More...
 
void cmac_final (cmac_context_t *ctx, void *digest)
 Finalizes the CMAC message digest. More...