"HSE_SRV_RSP_GENERAL_ERROR" when request RSAES PKCSv1.5 encryption with RSA public key in RAM

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

"HSE_SRV_RSP_GENERAL_ERROR" when request RSAES PKCSv1.5 encryption with RSA public key in RAM

ソリューションへジャンプ
990件の閲覧回数
AquariusXo
Contributor II

Hi Team

 

I tried request an RSA encryption action on HSE_B module in S32K312. But response an Error code from MU

Some details as below:

  • Ver of HSE: HSE_0_2_1_0
  • Algorithm: RSAES PKCSv1.5
  • RSA public key stored in RAM and imported before request encryption.
  • Data wait for encrypt is a HASH which calculated by SHA256.

AquariusXo_0-1705052798750.png

Any hint to this error code?

Thank you.

 

 

0 件の賞賛
返信
1 解決策
955件の閲覧回数
DanNguyenDuy
NXP Employee
NXP Employee

Hello @AquariusXo,

There are some potentials that can cause the HSE_SRV_RSP_GENERAL_ERROR as:

1. Use wrong key slot.
2. Use key has size is bigger than "Max key length in bits" of key slot.
 
Best regards,
Dan

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
683件の閲覧回数
AquariusXo
Contributor II

Thank you @DanNguyenDuy , the cipher method refer to a RAM key slot and the issue is gone when we re-provide the RAM key.

956件の閲覧回数
DanNguyenDuy
NXP Employee
NXP Employee

Hello @AquariusXo,

There are some potentials that can cause the HSE_SRV_RSP_GENERAL_ERROR as:

1. Use wrong key slot.
2. Use key has size is bigger than "Max key length in bits" of key slot.
 
Best regards,
Dan
0 件の賞賛
返信
987件の閲覧回数
AquariusXo
Contributor II

The Crypto driver is taken from MCAL package with version "nxp_S32K3xx-2.0.1_Aut03"

0 件の賞賛
返信