AES Pre-expanded Key (aes_expanded_key)

Compatibility: Eagle 50, 50E, 100


Simple example using AES with a pre-expanded key.

This example shows how to use pre-expanded keys to encrypt some plaintext, and then decrypt it back to the original message. Using pre-expanded keys avoids the need to perform the expansion at run-time. This example also uses cipher block chaining (CBC) mode instead of the simpler ECB mode.

 

aes_expanded_key1

 

References:


The AES block cipher was designed by Vincent Rijmen and Joan Daemen.

  1. http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
  2. http://focus.ti.com/lit/an/spma021/spma021.pdf


This file was taken from xyssl-0.7 and modified by Luminary Micro.