Secure firmware upgrade: ecryption
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-23 12:33 AM
Posted on May 23, 2012 at 09:33
Hello,
I read this application note about secure firmware upgrade http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/DM00044227.pdf So i want to ask about the encryption method that is used in such application. Regards, Hisham
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-23 6:29 AM
Posted on May 23, 2012 at 15:29
I believe it uses AES-128
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-23 9:53 PM
Posted on May 24, 2012 at 06:53
So do you mean that i first build my code, so i get unencrypted hex file.
Then i make a software using java or vb that takes the unencrypted hex file and uses AES algorithm to encrypt the file then output encrypted hex file. Is this right?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-24 1:37 AM
Posted on May 24, 2012 at 10:37
That's certainly one approach.
You can use any algorithm you choose, ST has used AES-128 for it's firmwares in the past (ST-Link), and has HW support in the STM32F41x parts, and software libraries for the others. It might be easier just to download source from the web than jump through the hoops ST has erected. I'd probably encapsulate the firmware image in a binary form, with headers and checksums, rather than hex, and wouldn't use VB/Java, but use whatever means/methods you are comfortable with.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
