Query Regarding Temporary and Permanent Key Storage in HSE

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

Query Regarding Temporary and Permanent Key Storage in HSE

1,032 Views
ashwini2024
Contributor II

Dear NXP Support,

I am currently working with HSE on the S32G3 bsp42 platform and have some questions regarding key storage in RAM and NVM key slots:

  1. How can I store keys in RAM key slots for temporary use? Are there specific HSE flags or configurations required for this?
  2. How do I store keys in non-volatile memory (NVM) for permanent storage? Are there any special considerations or steps to ensure keys persist across resets?
  3. Is there a way to move keys from RAM key slots to NVM key slots dynamically?
  4. How can I check the availability of RAM and NVM key slots on my platform?
  5. Are there any best practices or recommended strategies for allocating key slots efficiently?
  6. What are the exact HSE commands or APIs needed for:
    • Storing a key in a RAM key slot
    • Storing a key in an NVM key slot
    • Retrieving key slot information (available/free slots)
    • Moving keys between slots (if possible)

I appreciate your guidance on this.

0 Kudos
Reply
3 Replies

980 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

Thanks for your reply.

The PDF file I mentioned could be found once installed the HSE FW, it is located under the doc directory from the HSE FW installation path.

 

BR

Chenyin

0 Kudos
Reply

1,011 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @ashwini2024 

Thanks for your post, since you are working with BSP42, let me take HSE FW0.2.0.51 for example.

1&2: The hseImportKeySrv_t  service could be used to store keys for both RAM key slot and NVM key slot. 

3. From my understanding, there is no such HSE service

4. The hseGetKeyInfoSrv_t service could be help to get the key information.

5. It is user specific for allocating them, I do not find formal document for introducing it, there is a NXP_HSE_FW_Key_Storage_Calculator.xlsx under HSE_DEMOAPP, which could help validating the memory usage during work.

6. All services that supported by the HSE are in details listed in chapter2.3 of HSE Service API Reference Manual , which could be found from your HSE FW installation path, I suggest reading it for details.

 

BR

Chenyin

0 Kudos
Reply

999 Views
ashwini2024
Contributor II
Hello Chenyin_h ,

Thank you for your reply.
If u have the pdf of this all informations or links - send it to me.
0 Kudos
Reply