HSE - Symmetric Encryption not possible

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HSE - Symmetric Encryption not possible

Jump to solution
485 Views
jthelemann
Contributor II

Hello everybody,

currently I am working with the HSE-B on a S32K344. I want to use the "HSE_SRV_ID_SYM_CIPHER" service in order to perform an AES-CTR encryption/decryption of data in flash memory. When calling the corresponding HSE Service, I always get the error code "HSE_SRV_RSP_NOT_ALLOWED". I already read the HSE Firmware Reference Manual in order to identify the problem, but I cannot figure it out.

I attached picture of following things:

  • Definition of the NVM key attributes (inclusive symmetric key)
  • Definition of the corresponding HSE Service 
  • Function call of the corresponding HSE Service

Hope you can help to get rid of this problem.

Thanks!

0 Kudos
Reply
1 Solution
1 Reply