STATUS_ERROR on CSEC_DRV_LoadPlainKey

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

STATUS_ERROR on CSEC_DRV_LoadPlainKey

1,740件の閲覧回数
jmanchado
Contributor I

I am debugging the example csec_keyconfig_s32k116 to understand how CSEc and AES 128 encryption works.
But I am seeing that CSEC_DRV_LoadPlainKey() function always returns STATUS_ERROR.
Regardless of whether it is call by setAuthKey(), loadKey() or eraseKeys().
 
And I can never get to the code section where the CSEC_DRV_EncryptECB() function is used to understand it.

 

The only part of the example code I have modified is the define to erase the keys. Could someone guide me on what is happening?

 

Thanks in advance

ラベル(1)
タグ(1)
2 返答(返信)

1,674件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Juan,

did you follow sections 13.4.29 and 13.4.30 in this manual?

c:\NXP\S32DS_ARM_v2.2\S32DS\software\S32SDK_S32K1xx_RTM_3.0.0\doc\S32SDK_S32K116_UserManual.pdf

pastedImage_1.png

Did you run this example too?

Regards,

Lukas

1,674件の閲覧回数
jmanchado
Contributor I

Thanks lukaszadrapa‌, Now I have the example working,

Regards

0 件の賞賛
返信