This simple example shows how to use the Advanced Encryption Standard (AES) to encrypt and decrypt data using interrupt call back subroutine.
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. Interrupt call back subroutine is used in the example. ECB and CBC mode are implemented 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.