Microchip® Advanced Software Framework

des.h File Reference

AVR XMEGA Data Encryption Standard (DES) driver.

Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>

Functions

void des_3des_decrypt (uint8_t *ciphertext, uint8_t *plaintext, uint8_t *keys)
 Function that does a 3DES decryption on one 64-bit data block. More...
 
void des_3des_encrypt (uint8_t *plaintext, uint8_t *ciphertext, uint8_t *keys)
 Function that does a 3DES encryption on one 64-bit data block. More...
 
void des_cbc_decrypt (uint8_t *ciphertext, uint8_t *plaintext, uint8_t *keys, uint8_t *init, bool triple_DES, uint16_t block_length)
 Function that does DES Cipher Block Chaining decryption on a given number of 64-bit data block. More...
 
void des_cbc_encrypt (uint8_t *plaintext, uint8_t *ciphertext, uint8_t *keys, uint8_t *init, bool triple_DES, uint16_t block_length)
 Function that does DES Cipher Block Chaining encryption on a given number of 64-bit data block. More...
 
void des_decrypt (uint8_t *ciphertext, uint8_t *plaintext, uint8_t *key)
 Function that does a DES decryption on one 64-bit data block. More...
 
void des_encrypt (uint8_t *plaintext, uint8_t *ciphertext, uint8_t *key)
 Function that does a DES encryption on one 64-bit data block. More...