HSE NVM AES key usage issue

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

HSE NVM AES key usage issue

463 Views
DamonH
Contributor I

Hi, 

I have a porbram of HSE NVM AES key usage.

Here is my test flow,

1. Import AES Key 0

2. Import Public Key(Curve ID : ECC_SEC_SECP256R1)

3. Import AES Key 1

4. Use AES Key 0 & 1 to encrypt test pattern

AES Key 0 encrypt service response HSE_SRV_RSP_OK

AES Key 1 encrypt service response HSE_SRV_RSP_NOT_ALLOWED

AES Key 0 & 1 use same keyelement setting

Looks like point is 'import ecc pub key', but I'm not sure why this happended?

And I switch import timing of these AES keys, result is same.

Encrypt service by the AES key(witch is import after ecc pub key)will response HSE_SRV_RSP_NOT_ALLOWED.

 

MCU : S32K324

RTD version:RTD S32K3XX 2.0.0.202203311410

HSE FW version: s32k3x4_hse_fw_0.5.0_2.1.0_pb220625

 

DamonH_3-1691999883453.png

DamonH_1-1691998805117.pngDamonH_2-1691998822521.png

Tags (3)
0 Kudos
Reply
0 Replies