Xmega Application Note


DES_driver.h

Go to the documentation of this file.
00001 /* This file has been prepared for Doxygen automatic documentation generation.*/
00053 #ifndef DES_DRIVER_H
00054 #define DES_DRIVER_H
00055 
00056 #include "avr_compiler.h"
00057 
00058 
00066 void DES_Decrypt(uint8_t * ciphertext, uint8_t * plaintext, uint8_t * key);
00067 
00068 
00076 void DES_Encrypt(uint8_t * plaintext, uint8_t * ciphertext, uint8_t * key);
00077 
00078 
00086 void DES_3DES_Encrypt(uint8_t * plaintext, uint8_t * ciphertext, uint8_t * keys);
00087 
00088 
00096 void DES_3DES_Decrypt(uint8_t * ciphertext, uint8_t * plaintext, uint8_t * keys);
00097 
00098 
00110 void DES_CBC_Encrypt(uint8_t * plaintext, uint8_t * ciphertext,
00111                      uint8_t * keys, uint8_t * init,
00112                      bool triple_DES, uint16_t block_length);
00113 
00114 
00129 void DES_CBC_Decrypt(uint8_t * ciphertext, uint8_t * plaintext,
00130                      uint8_t * keys, uint8_t * init,
00131                      bool triple_DES, uint16_t block_length);
00132 
00133 
00134 #endif /* DES_DRIVER_H */
00135 
@DOC_TITLE@
Generated on Wed Apr 23 08:31:41 2008 for AVR1317 Using the XMEGA bulit in DES accelerator by doxygen 1.5.5