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.
References:
The AES block cipher was designed by Vincent Rijmen and Joan Daemen.
This file was taken from xyssl-0.7 and modified by Luminary Micro.