Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AESA Example for SAM4L8 Xplained Pro Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the AES driver.
It also gives several examples of usage of the AES module:

  • ECB ciphering and deciphering.
  • CBC ciphering and deciphering.
  • CFB ciphering and deciphering.
  • OFB ciphering and deciphering.
  • CTR ciphering and deciphering.
  • ECB ciphering and deciphering with PDCA.

Main Files

Compilation Info

This software was written for the GNU GCC and IAR Systems compiler. Other compilers may or may not work.

Device Info

All SAM devices with an AES module can be used. This example has been tested with the following setup:

  • SAM4L evaluation kit.
  • SAM4L Xplained Pro
  • SAM4L8 Xplained Pro

Setup Information


CPU speed: 12 MHz

  • Connect the on-board virtual port com to a PC
  • PC terminal settings:
    • 115200 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Microchip.