Loading...
Searching...
No Matches
aes128_cmac.h File Reference

AES128_CMAC interface definition. More...

Detailed Description

AES128_CMAC interface definition.

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

Definition in file aes128_cmac.h.

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

Go to the source code of this file.

Data Structures

struct  aes128_cmac_context_t
 AES128_CMAC calculation context. More...
 

Macros

#define AES128_CMAC_BLOCK_SIZE   16
 Length of AES128_CMAC block in bytes.
 

Functions

int aes128_cmac_init (aes128_cmac_context_t *ctx, const uint8_t *key, uint8_t key_size)
 Initialize AES128 CMAC message digest context.
 
void aes128_cmac_update (aes128_cmac_context_t *ctx, const void *data, size_t len)
 Update the AES128 CMAC context with a portion of the message being hashed.
 
void aes128_cmac_final (aes128_cmac_context_t *ctx, void *digest)
 Finalizes the CMAC message digest.