Skip to main content
RKher.1
Associate II
November 9, 2021
Solved

SBSFU and Firmware Encryption

  • November 9, 2021
  • 2 replies
  • 1100 views

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!

This topic has been closed for replies.
Best answer by Bubbles

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

2 replies

Bubbles
BubblesBest answer
ST Employee
November 10, 2021

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
RKher.1Author
Associate II
November 10, 2021

Thanks once again @JHOUD​