Hi,
I am using the HSE for s32K and able to perform AES-128 encryption and SHA hashing successfully. Currently, I am storing the keys in RAM, which is only for testing purposes. I would now like to implement proper key management. Specifically, I want to know whether the HSE can automatically generate keys, or if we are required to hard-code them as global variables—similar to how we use RAM keys and call the M1, M2, and M3 for storing in ECU.I have searched for examples using the HSE_IP layer (Non-AUTOSAR), but could not find any clear examples or documentation related to key management. Could you please provide a clear and understandable example for key management using the HSE_IP layer? That would be very helpful.
Thank you
Solved! Go to Solution.
Hi @kerti1,
From the S32K3 product page, you can download the HSE Demo Examples, which contains various projects.
Inside the SW package, you can find the Key Management demos, which include Session Keys (1) and NVM Key update (2).
I can share the main objective from each example:
Hi @kerti1,
From the S32K3 product page, you can download the HSE Demo Examples, which contains various projects.
Inside the SW package, you can find the Key Management demos, which include Session Keys (1) and NVM Key update (2).
I can share the main objective from each example: