AT91 SAM7XC BasicTDES


The goal of this project is to show how to configure the TDES controller and how to process TDES encryption/decryption in Manual, Auto or PDC mode.

All the Four Standard Modes of Operation Specified in the NIST Special Publication 81 are supported: ECB, CBC, OFB and CFB
The example vectors used in this project for the different operation modes of the TDES are available in the NIST Special Publication 81.

This project is dedicated to the AT91SAM7XCxxx device and its corresponding Evaluation Board, the AT91SAM7XC-EK.

Software tools

Related Documentation

Litterature Number Reference

ARM-Based Software Package
6016
AT91SAM7XCxxx Datasheet
6120
FIPS Publication 46-3, Data Encryption Standard (DES)
-
FIPS Publication 81, DES Modes of Operation
-

Source Files

Description Files

../src
Source code directory
../src/main.c (main.h)
Main application
../src/tdes_fips81.c (tdes_fips81.h) TDES Specific code
../src/trace.h
Trace functions include file
../src/AT91SAM7XC-EK.h
Evaluation Board Features Definition File
srcxxx/
Specific IDE source code directory
srcxxx/Cstartup.s79
Assembler Cstartup code
srcxxx/Cstartup.c
C Cstartup code
srcxxx/project.h
Project specific include file
srcxxx/at91sdio.c (at91sdio.h)
Stdio functions redefinition