# AESKey

## Syntax

      #include <twl/aes.h>

      #define AES_KEY_SIZE            16  // 128 bit

      typedef union AESKey
      {
          u8  bytes[AES_KEY_SIZE];
          u32 words[AES_KEY_SIZE/sizeof(u32)];
      }
      AESKey;

## Members

bytes | An AES key expressed as a byte array.
words | An AES key expressed as a word array. Note that the TWL is a little-endian machine.

## Description

Union for storing the key used in AES for encryption or decryption.

## Revision History

2007/12/25 Initial version.

CONFIDENTIAL