Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
XMEGA DES XMEGA-A1 Xplained example Documentation

Introduction

This simple example shows how to use the Data Encryption Standard (DES) to encrypt and decrypt 8-byte block data by single DES and 3DES, 3 x 8-byte data block by DES CBC mode.

Main Files

  • des.s DES driver implementation in GCC
  • des.s90 DES driver implementation in IAR
  • des.h DES driver definitions
  • des_example.c DES driver example application

Device Info

All AVR XMEGA devices with DES instruction in the AVR XMEGA core can be used. This example have been tested with the following setup:

  • Xplain
  • XMEGA A1 Xplained
  • XMEGA A3BU Xplained

Description of the example

The example will implement DES, 3DES and DES in CBC mode. It uses the xplain LEDS to show the AES operation results.

Dependencies

This example depends on the following modules:

Compilation info

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

Contact Information

For further information, visit Microchip.