s32k3 where does adkp_master defined?

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

s32k3 where does adkp_master defined?

Jump to solution
2,084 Views
victory
Contributor V

Hi NXP,

   in S32K3, doc says the ADKP saved in NVM in origin  or with uid diversified. but in demo example, the function  HSE_ProgramAdkp() just use HSE_APP_DEBUG_KEY_ATTR_ID to write the key.

my question is , what does ADKP_MASTER defined and how to config it?

PixPin_2024-08-23_19-02-52.pngPixPin_2024-08-23_19-02-52.png 

0 Kudos
Reply
1 Solution
2,051 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @victory 

ADKP_MASTER selects the method to provisioning ADKP: diversified with the device’s UID or written “as is” in secure NVM. Refer to sections 2.6.1.4.4 (Provisioning a device-dependent ADKP) and 2.6.1.4.5 (Secure ADKP Provisioning) of the HSE_B Firmware Reference Manual, Rev. 2.3. 

If you are loking to configure ADKP with UID diversification option, you must set ADKP_MASTER before programming ADKP (HSE_APP_DEBUG_KEY_ATTR_ID). TS32K3 will automatically perform the UID diversification operation when programming ADKP.

 

BR, VaneB

View solution in original post

0 Kudos
Reply
1 Reply
2,052 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @victory 

ADKP_MASTER selects the method to provisioning ADKP: diversified with the device’s UID or written “as is” in secure NVM. Refer to sections 2.6.1.4.4 (Provisioning a device-dependent ADKP) and 2.6.1.4.5 (Secure ADKP Provisioning) of the HSE_B Firmware Reference Manual, Rev. 2.3. 

If you are loking to configure ADKP with UID diversification option, you must set ADKP_MASTER before programming ADKP (HSE_APP_DEBUG_KEY_ATTR_ID). TS32K3 will automatically perform the UID diversification operation when programming ADKP.

 

BR, VaneB

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1939215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Es32k3%20where%20does%20adkp_master%20defined%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1939215%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3Bin%20S32K3%2C%20doc%20says%20the%20ADKP%20saved%20in%20NVM%20in%20origin%26nbsp%3B%20or%20with%20uid%20diversified.%20but%20in%20demo%20example%2C%20the%20function%26nbsp%3B%26nbsp%3B%3CSPAN%3EHSE_ProgramAdkp()%20just%20use%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EHSE_APP_DEBUG_KEY_ATTR_ID%20to%20write%20the%20key.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%3Emy%20question%20is%20%2C%20what%20does%20ADKP_MASTER%20defined%20and%20how%20to%20config%20it%3F%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PixPin_2024-08-23_19-02-52.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PixPin_2024-08-23_19-02-52.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F295008iD952B71ABD20BF55%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PixPin_2024-08-23_19-02-52.png%22%20alt%3D%22PixPin_2024-08-23_19-02-52.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EPixPin_2024-08-23_19-02-52.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1939397%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20s32k3%20where%20does%20adkp_master%20defined%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1939397%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F234378%22%20target%3D%22_blank%22%3E%40victory%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EADKP_MASTER%20selects%26nbsp%3Bthe%20method%20to%20provisioning%20ADKP%3A%20diversified%20with%20the%20device%E2%80%99s%20UID%20or%26nbsp%3Bwritten%20%E2%80%9Cas%20is%E2%80%9D%20in%20secure%20NVM.%20Refer%20to%20sections%26nbsp%3B2.6.1.4.4%20(Provisioning%20a%20device-dependent%20ADKP)%20and%202.6.1.4.5%20(Secure%20ADKP%20Provisioning)%20of%20the%26nbsp%3BHSE_B%20Firmware%20Reference%20Manual%2C%26nbsp%3BRev.%202.3.%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20loking%20to%26nbsp%3Bconfigure%20ADKP%20with%20UID%20diversification%20option%2C%20you%20must%20set%26nbsp%3BADKP_MASTER%20before%20programming%20ADKP%20(HSE_APP_DEBUG_KEY_ATTR_ID).%20TS32K3%20will%20automatically%20perform%20the%20UID%20diversification%20operation%20when%20programming%20ADKP.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E