This simple example shows how to use the Advanced Encryption Standard (AES) to encrypt and decrypt 128-bit data.
All AVR XMEGA devices with AES crypto module can be used. This example have been tested with the following setup:
The example will initialize the AES and use the xplain LEDS to show the AES operation results. Polling of interrupt flag is used in the example.
This example depends on the following modules:
This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.
For further information, visit Microchip.