Encrypting and decrypting file for OTA on Avnet-BCM4343W

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Using the Avnet-BCM4343W module and the WICED 5.0 ​​SDK would like to know if is possible to generate an encrypted ".striped.elf" (with a private key), and use this file to update the firmware by OTA (Over the Air).

Thank you.

0 Likes
1 Solution
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

You can create an encypted file by passing it to tool which takes the

1. application stripped.elf

2.generated keys

as input and generate an encrypted file.

On the device side, you have to incorporate a way to decrypt the encypted file. I am assuming that the keys used for encryption are also being shared somehow witht the client. The application running on the device i.e., OTA_FR should be modified to decrypt the stripped.elf file and save it to flash. 

View solution in original post

1 Reply
PriyaM_16
Moderator
Moderator
Moderator
250 replies posted 100 replies posted 50 replies posted

You can create an encypted file by passing it to tool which takes the

1. application stripped.elf

2.generated keys

as input and generate an encrypted file.

On the device side, you have to incorporate a way to decrypt the encypted file. I am assuming that the keys used for encryption are also being shared somehow witht the client. The application running on the device i.e., OTA_FR should be modified to decrypt the stripped.elf file and save it to flash.