Modify crypto_hse.c file

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

Modify crypto_hse.c file

1,016件の閲覧回数
shravani
Contributor II

Hi

I wanted to implement service for changing LC. The API for this service is not available in RTD S32K3_RTD_2_0_0_D2203_ASR_REL_4_4_REV_0000_20220331. To implement this API can we modify crypto_hse.c file? I wanted to use Crypto_Hse_SendMsg API which is static so I can not use it outside the file.

I modified crypto_hse.c file for service hseCrypto_Hse_SetAttrSrv_t. but I am getting HSE_SRV_RSP_INVALID_PARAM as response.

Your help is highly appreciated. Thanks
*

0 件の賞賛
返信
3 返答(返信)

987件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @shravani 

The Lifecycle should be advanced using HSE_SECURE_LIFECYCLE_ATTR_ID (refer to HSE Service API Reference Manual for more details of hseAttrSecureLifecycle_t). For more details, refer to the HSE Demo Application or S32K3 MCUs for General Purpose HSE Demo Examples.

 

B.R.

VaneB

0 件の賞賛
返信

966件の閲覧回数
shravani
Contributor II

Hi @VaneB ,

I am referring the same example suggested by you. but I am using RTD based application. In the library files for RTD, code for advancing LC is not defined so I am editing crypto_hse.c file. but I am getting error as INVALID_PARAM.

0 件の賞賛
返信

948件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @shravani 

I am afraid we do not support the modification to the RTD drivers and we do not guarantee the functionality of it. The information provided before is what we provide for this implementation.

Sorry for the inconvenience.

0 件の賞賛
返信