#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;
| 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. |
Union for storing the key used in AES for encryption or decryption.
2007/12/25 Initial version.
CONFIDENTIAL