Example program to test AES-GCM functionality. Used for a workshop

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

aes_context Struct Reference

aes_context Struct Reference

AES context structure. More...

#include <aes.h>

Data Fields

int nr
uint32_t * rk
uint32_t buf [68]

Detailed Description

AES context structure.

Note:
buf is able to hold 32 extra bytes, which can be used:
  • for alignment purposes if VIA padlock is used, and/or
  • to simplify key expansion in the 256-bit case by generating an extra round key

Definition at line 68 of file aes.h.


Field Documentation

uint32_t buf[68]

unaligned data

Definition at line 72 of file aes.h.

int nr

number of rounds

Definition at line 70 of file aes.h.

uint32_t* rk

AES round keys

Definition at line 71 of file aes.h.