This example demonstrates how to use the AES driver to perform:
All SAM devices with an AES module can be used. This example has been tested with the following evaluation kits:
Upon startup, the program uses the USART driver to display a menu from which several encryption/decryption modes can be tested.
This software was written for the GNU GCC and IAR Systems compiler. Other compilers may or may not work.
-- AES Example -- -- xxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx -- Menu : -- Select operation: h: Display menu 1: ECB mode test. 2: CBC mode test. 3: CFB128 mode test. 4: OFB mode test. 5: CTR mode test. d: ECB mode test with DMA p: ECB mode test with PDC