| SX126x-Arduino 2.0.1

Data Structures | Macros | Typedefs | Functions
cmac.h File Reference
`#include "aes.h"`

Go to the source code of this file.

## Data Structures
struct | _AES_CMAC_CTX

## Macros
#define | AES_CMAC_KEY_LENGTH 16
#define | AES_CMAC_DIGEST_LENGTH 16

## Typedefs
typedef struct _AES_CMAC_CTX | AES_CMAC_CTX

## Functions
void | AES_CMAC_Init (AES_CMAC_CTX *ctx)
void | AES_CMAC_SetKey (AES_CMAC_CTX *ctx, const uint8_t key[AES_CMAC_KEY_LENGTH])
void | AES_CMAC_Update (AES_CMAC_CTX *ctx, const uint8_t *data, uint32_t len)
void | AES_CMAC_Final (uint8_t digest[AES_CMAC_DIGEST_LENGTH], AES_CMAC_CTX *ctx)

## Macro Definition Documentation

## ◆ AES_CMAC_KEY_LENGTH

#define AES_CMAC_KEY_LENGTH 16

## ◆ AES_CMAC_DIGEST_LENGTH

#define AES_CMAC_DIGEST_LENGTH 16

## Typedef Documentation

## ◆ AES_CMAC_CTX

typedef struct _AES_CMAC_CTX AES_CMAC_CTX

## Function Documentation

## ◆ AES_CMAC_Init()

void AES_CMAC_Init | ( | AES_CMAC_CTX * | ctx | ) |

## ◆ AES_CMAC_SetKey()

void AES_CMAC_SetKey | ( | AES_CMAC_CTX * | ctx,
|  | const uint8_t | key[AES_CMAC_KEY_LENGTH]
| ) |  |

## ◆ AES_CMAC_Update()

void AES_CMAC_Update | ( | AES_CMAC_CTX * | ctx,
|  | const uint8_t * | data,
|  | uint32_t | len
| ) |  |

## ◆ AES_CMAC_Final()

void AES_CMAC_Final | ( | uint8_t | digest[AES_CMAC_DIGEST_LENGTH],
|  | AES_CMAC_CTX * | ctx
| ) |  |