ltc_des_edma

Overview

This project is a demonstration program that uses the KSDK software for encryption/decryption some data using EDMA for DES-cbc and DES3-cbc algorithm.

Running the demo

When the demo runs successfully, from the terminal you can see:

……………………….. LTC (DES EDMA) DRIVER EXAMPLE ……………..

Testing input string: Once upon a midnight dreary, while I pondered weak and weary, Over many a quaint and curious volume of forgotten lore, While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber doorIts some visitor, I muttered, tapping at my chamber doorOnly this, and nothing more.

———————————– DES-CBC method —————————- DES CBC Encryption of 320 bytes. DES CBC encryption finished.

DES CBC Decryption of 320 bytes. DES CBC decryption finished. Decrypted string : Once upon a midnight dreary, while I pondered weak and weary, Over many a quaint and curious volume of forgotten lore, While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber doorIts some visitor, I muttered, tapping at my chamber doorOnly this, and nothing more.

———————————– DES3-CBC method ————————— DES3 CBC Encryption of 320 bytes. DES3 CBC encryption finished.

DES3 CBC decryption of 320 bytes. DES3 CBC decryption finished. Decrypted string : Once upon a midnight dreary, while I pondered weak and weary, Over many a quaint and curious volume of forgotten lore, While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber doorIts some visitor, I muttered, tapping at my chamber doorOnly this, and nothing more.

………….. THE END OF THE LTC (DES EDMA) DRIVER EXAMPLE ………….