APPENDIX A Source Listings

PIC Example Source Code (Main Program)

Microchip PIC Security Case Study

 

Timothy Stapko, 2007

This sample program demonstrates the porting of an implementation AES ported from OpenSSL to the PIC using the Microchip MPLAB C18 compiler v3.02 and the MPLAB IDE v7.43.

The security highlighted in this sample is the use of AES with an ordinary TCP/IP network connection to provide a secure mechanism for sending commands to the PIC. The example demonstrates the use of commands to control LEDs on the PICDEM HPC Explorer Board, but the command interface could be adapted to any number of applications.

***DISCLAIMER***

This sample is for demonstration purposes only. Some code and comments have been adapted from sample programs ...

Get Practical Embedded Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.