Example description
Overview
========
This project is a reference application to use the DES APIs for
encryption/decryption, including these modes:
- CBC (Cipher Block Chaining)
- ECB (Electronic CodeBook)
This example project will output logs via HDK USB (CON5) to PC.
Hardware requirements
=====================
- LinkIt 7687 HDK.
- Personal Computer
- Type-A to micro-B USB
Board settings
==============
No special settings are required.
Prepare the Demo
================
1. Connect a micro USB cable between the host PC and the MK20 USB port (CON5) on the target board.
2. Open a serial terminal with the following settings:
- 115200 baud rate
- 8 data bits
- No parity
- One stop bit
- No flow control
3. Download the program to the target board.
Running the demo
================
1. Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
The result of its CBC/ECB encryption/decryption is displayed in the log
Customization options
=====================