Freescale Semiconductor
RSA Example Application for 5685x
Overview
The demo is based on File I/O. The file m.in is used to store message words for RSA. After encryption, the
coded message is stored in m_Enc.out; after decryption, the decoded message is stored in m_Dec.out. The
contents of m_Dec.out must be the same as that of m.in. The contents of the input file (i.e., the message)
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 > RSA > 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