|
Freescale
Semiconductor |
|
|
|
|
|
|
|
|
|
Triple DES Example
Application for 5685x |
|
|
|
|
|
Overview |
|
|
The following demo
illustrates encryption and decryption modes of the Triple DES algorithm.The
demo is |
|
|
based on File I/O. The
file plaintxt.in is used to store plaintext for 3DES. After encryption, the
message is |
|
|
stored in encr_txt.out;
after decryption, the message is stored in decr_txt.out. The contents of
decr_txt.out |
|
|
must be identical to
plaintxt.in. The contents of the input file, the plaintext, could be text,
numbers and/or |
|
|
|
special characters. |
|
|
|
|
How to get this software |
|
|
This example application
is included as part of the CodeWarrior Development Studio for 56800/E Digital |
|
|
|
Signal Controllers.
Follow these steps: |
|
|
|
|
|
|
|
1. |
Install CodeWarrior
Development Studio for 56800/E Digital Signal Controllers |
|
|
|
|
2. |
Launch CodeWarrior, and
create new Processor Expert
project |
|
|
|
|
a. |
Select File > New menu |
|
|
|
|
b. |
Select Processor Expert Examples Stationery |
|
|
|
|
c. |
Type project name |
|
|
|
|
d. |
Click OK |
|
|
|
|
e. |
Select DemoApplications > Security > 3DES > 56858 |
|
|
|
|
f. |
Click OK |
|
|
|
|
3. |
Generate application code
by selecting Processor Expert > Generate Code menu |
|
|
|
|
Detailed documentation |
|
|
Documentation for this
application is included as part of this example project. Expand Doc folder located |
|
|
in the project window by clicking on the + icon next to the folder, and
open desired file by double clicking it. |
|
|
|
|
|
|
|
|
|
|
|
Freescale™ and the
Freescale logo are trademarks of Freescale Semiconductor, Inc. All other
product |
|
|
or
service names are the property of their respective owners. |
|
|
©2005, Freescale
Semiconductor, Inc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|