Hi
I find HSE is not support Crypto_Hse_CertificateParse() Crypto_Hse_CertificateVerify()。How can I use the certificate import function? Is there an example?
thank you!
Hi @cool_boy
The Crypto_KeyElementGet() API is used in the Crypto_CmacCtr_KeyGenBD_S32K344. In this code application code sections are split into the usage of 2 features offered by HSE Firmware:
- Generate/verify CMAC with counter
- Key generation using ECC variant Burmester-Desmedt to compute a shared secret.
The Crypto_KeyElementGet() API is used with a magic number for the CryptoKeyElementId in order to feed pre-configured HSE descriptors to the HSE Firmware. More details about this functionality of the Crypto driver can be found in the User Manual, chapter 'Driver usage and configuration tips', paragraph 'ASR Extension services offered through 'Crypto_KeyElementGet' API'.
B.R.
VaneB