CmacContext Struct Reference

CMAC algorithm context. More...

#include <cmac.h>

Data Fields

const CipherAlgocipher
 
CipherContext cipherContext
 
uint8_t k1 [MAX_CIPHER_BLOCK_SIZE]
 
uint8_t k2 [MAX_CIPHER_BLOCK_SIZE]
 
uint8_t buffer [MAX_CIPHER_BLOCK_SIZE]
 
size_t bufferLength
 
uint8_t mac [MAX_CIPHER_BLOCK_SIZE]
 

Detailed Description

CMAC algorithm context.

Definition at line 53 of file cmac.h.

Field Documentation

◆ buffer

uint8_t buffer[MAX_CIPHER_BLOCK_SIZE]

Definition at line 59 of file cmac.h.

◆ bufferLength

size_t bufferLength

Definition at line 60 of file cmac.h.

◆ cipher

const CipherAlgo* cipher

Definition at line 55 of file cmac.h.

◆ cipherContext

CipherContext cipherContext

Definition at line 56 of file cmac.h.

◆ k1

uint8_t k1[MAX_CIPHER_BLOCK_SIZE]

Definition at line 57 of file cmac.h.

◆ k2

uint8_t k2[MAX_CIPHER_BLOCK_SIZE]

Definition at line 58 of file cmac.h.

◆ mac

uint8_t mac[MAX_CIPHER_BLOCK_SIZE]

Definition at line 61 of file cmac.h.


The documentation for this struct was generated from the following file: