Saturday 22 October 2016

pic - Encrypt sensitive data in EEPROM


Let's say I have a PIC and an EEPROM memory IC. I store sensitive data in the EEPROM. If I want to encrypt the data what is a good encryption algorithm? It should be executed by the PIC but that does have time for that. So I want to store ~100 bytes and the encryption shouldn't take longer than ~5s on 40MHz.



Answer



Microchip provides ready made encryption library. Typically AES is the most commonly used and available, and I see no reason to use anything else.


Due to export restrictions, you will need to contact them directly to obtain the source code.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...