cancel
Showing results for 
Search instead for 
Did you mean: 

SBSFU and Firmware Encryption

RKher.1
Associate III

I'm currently investigating SBSFU options for STM32 and it seems like the base package incorporates authentication of the firmware based on on digital signatures (ECDSA, edDSA etc.) but does not incorporate firmware encryption. I have an additional requirement to encrypt the firmware prior to flashing it to the device and then decrypting and authenticating the app image prior to execution. Is this possible through the base SBSFU package or does it require a custom extension/implementation? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Bubbles
ST Employee

Hello @RKher.1​ ,

normally the SBSFU example includes firmware encryption using AES.

Check AN5056 again for details. You can normally choose another cryptographic scheme (see figure 15 in the AN) or another cryptographic library.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Bubbles
ST Employee

Hello @RKher.1​ ,

normally the SBSFU example includes firmware encryption using AES.

Check AN5056 again for details. You can normally choose another cryptographic scheme (see figure 15 in the AN) or another cryptographic library.

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

RKher.1
Associate III

Thanks once again @JHOUD​