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.