Skip to main content
Associate
December 11, 2023
Solved

STM32U585 - Enhanced secure key storage example code

  • December 11, 2023
  • 1 reply
  • 1390 views

Hello all,

Can anyone provide example code - Enhanced secure key storage using stm32u585?

 

Thanks in Advance,

Surya S

Best answer by STea

Hello @Surya S and welcome to ST Community,

You can find example code on the Enhanced secure key storage using stm32u585 in the STM32CUBEH5 STM32Cube_FW_U5_V1.3.0\Projects\B-U585I-IOT02A\Examples\CRYP

you can check the CRYP_SAES_SharedKey project which provides an example of using the Secure AES co-processor (SAES) peripheral to share application keys with AES peripheral.

and the CRYP_SAES_WrapKey project which provides an example of using the Secure AES co-processor (SAES) peripheral to wrap application keys using hardware secret key DHUK then use it to encrypt in polling mode.

this examples could also be obtained from Github .

Hope this answers your request .

BR

1 reply

STeaBest answer
ST Employee
December 13, 2023

Hello @Surya S and welcome to ST Community,

You can find example code on the Enhanced secure key storage using stm32u585 in the STM32CUBEH5 STM32Cube_FW_U5_V1.3.0\Projects\B-U585I-IOT02A\Examples\CRYP

you can check the CRYP_SAES_SharedKey project which provides an example of using the Secure AES co-processor (SAES) peripheral to share application keys with AES peripheral.

and the CRYP_SAES_WrapKey project which provides an example of using the Secure AES co-processor (SAES) peripheral to wrap application keys using hardware secret key DHUK then use it to encrypt in polling mode.

this examples could also be obtained from Github .

Hope this answers your request .

BR

In order 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.