HSE how to use CertificateParse and CertificateVerify function

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

HSE how to use CertificateParse and CertificateVerify function

472 Views
cool_boy
Contributor II

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!

Tags (1)
0 Kudos
Reply
1 Reply

461 Views
VaneB
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply