Facing issue while installing SMR#0 for SHE based secure boot

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

Facing issue while installing SMR#0 for SHE based secure boot

1,218件の閲覧回数
AniketPatil
Contributor I

I am using SHE based secure boot. For this purpose, I have loaded BOOT_MAC_KEY to secure NVM and then trying to install the SMR#0 but getting negative response (HSE_SRV_RSP_INVALID_PARA) from HSE.

Following configurations has been done for SMR#0:

hseSmrEntry_t sheSmrEntryConfiguration
configFlagsHSE_SMR_CFG_FLAG_INSTALL_AUTH
pSmrDest0u
checkPeriod0u
pSmrSrcaddress of application (i.e., 0x40_1000)
smrSizeSize of application (i.e., 0x3000)
authKeyHandleGET_KEY_HANDLE(HSE_KEY_CATALOG_ID_NVM, 0, 1)
pInstAuthTagNULL_PTR

authScheme.macScheme.macAlgo

HSE_MAC_ALGO_CMAC
authScheme.macScheme.sch.cmac.cipherAlgoHSE_CIPHER_ALGO_AES
smrDecrypt.decryptKeyHandleHSE_SMR_DECRYPT_KEY_HANDLE_NOT_USED
versionOffsetHSE_SMR_VERSION_NOT_USED

 

hseSmrEntryInstallSrv_tConfiguration
accessModeHSE_ACCESS_MODE_ONE_PASS
entryIndex0u
pSmrEntryaddress of sheSmrEntry
pSmrDatasheSmrEntry.pSmrSrc
smrDataLengthsheSmrEntry.smrSize
pAuthTagNULL_PTR
authTagLength0u

 

controller in use S32K312

can anyone please help me out with this. Thanks in advance

0 件の賞賛
返信
1 返信

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

Hi @AniketPatil 

as I already wrote in parallel ticket, I can see no problem in those parameters. Please try to compare all the details with this SW example which works:

c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Secure_Boot\S32K344_Hse_SHE_SecureBoot_Example\S32K344_Hse_SHE_SecureBoot\src\main.c

Regards,

Lukas

0 件の賞賛
返信