2394329_en-US

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

2394329_en-US

2394329_en-US

HSE return "HSE_SRV_RSP_INVALID_PARAM" when request for HMAC verify job

Hello Nxp team,

I have use case to use HMAC verify job. After triggering the job crypto driver throw DET and the response from HSE is "HSE_SRV_RSP_INVALID_PARAM".

I am not able to understand what wrong with my current configuration. could you please check attached config zip file? 

Need support to resolve issue.

Thanks,

Aditya

Re: HSE return "HSE_SRV_RSP_INVALID_PARAM" when request for HMAC verify job

Hi @lukaszadrapa ,

Details:

Device: S32K311

HSE FW: HSE_FW_S32K311_0_2_55_0

RTD: SW32K3_S32M27x_RTD_R21-11_6.0.0_QLP01

Thanks,

Aditya

Re: HSE return "HSE_SRV_RSP_INVALID_PARAM" when request for HMAC verify job

Hi @WagdeoA 

Could you confirm which device, which RTD and which HSE firmware version you have?

Regards,

Lukas

Re: HSE return "HSE_SRV_RSP_INVALID_PARAM" when request for HMAC verify job

Hi @WagdeoA 


There’s no problem in your configuration.

It works on my side. But one possible issue could be the length of tag (secondaryInputLength).

This can be found in function Crypto_Ipw_HmacVerify:

lukaszadrapa_0-1784036699903.png


If redirection is disabled, it’s necessary to provide the length of tag in bits, not in bytes. Isn’t this the problem?


Regards,

Lukas

Re: HSE return "HSE_SRV_RSP_INVALID_PARAM" when request for HMAC verify jobHi Lukas,

Sorry for late reply.
Yes, with length of tag in bits. It works at myside as well.

Thank you!

Best Regards,
Aditya
Tags (1)
No ratings
Version history
Last update:
2 weeks ago
Updated by: