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:
(1) The main purpose of this example is to show the steps required to properly configure the HSE to show the functionality of the session key services. It formats the keys and then generates the ECC key pair. Then import the ECC keys, compute the DH Shared Secret and derive key using SP800_108 KDF. Finally, it extracts from the derived key material 2 keys, a 192-bits AES and a 256-bit AES, and then encrypts and decrypt using AES GCM using both keys.
(2) The main purpose of this example is to an import symmetric key and AES GMAC generate keys.
Best regards,
Julián