secure flash on s32k58

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

secure flash on s32k58

412 Views
bryan_hong
Senior Contributor I

dear nxp

Is secure flash supported on s32k358 ?

If so, Could you provide example for secure flash on s32k358 ?

Thanks,
Bryan

Tags (1)
0 Kudos
Reply
3 Replies

244 Views
bryan_hong
Senior Contributor I

dear Lukas

 

Can we request technical support from NXP for securely operating an externally mounted flash?

 

Thanks,
Bryan

0 Kudos
Reply

349 Views
bryan_hong
Senior Contributor I

dear Lukas

Thanks for your reply~

Is there example source code for HSE? It seems that HSE has the capability to generate and import keys, so it would be helpful to have example code and related references

Thanks,
Bryan

0 Kudos
Reply

386 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @bryan_hong 

 

There’s no secure flash which could be used by user. When HSE firmware is installed, certain flash areas are allocated exclusively for HSE resources. These areas are sometimes called as secure flash but users can’t access it, it’s hidden for user.

Users can import keys to HSE. These are stored to secure flash by HSE. This mechanism is dedicated to keys only, it is not recommended to use it for own data. This was already discussed here:

https://community.nxp.com/t5/S32K/Store-User-Specific-value-in-the-secure-NVM/m-p/1856763/highlight/...

 

As mentioned, usual approach is to encrypt data by a key stored in HSE and also use SMR services for verification of that area.

 

Regards,

Lukas

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2347930%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Esecure%20flash%20on%20s32k58%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2347930%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Edear%20nxp%3C%2FP%3E%3CP%3EIs%20secure%20flash%20supported%20on%20s32k358%20%3F%3C%2FP%3E%3CP%3EIf%20so%2C%20Could%20you%20provide%20example%20for%20secure%20flash%20on%20s32k358%20%3F%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EBryan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348760%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20secure%20flash%20on%20s32k58%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348760%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Edear%20Lukas%3C%2FP%3E%3CP%3EThanks%20for%20your%20reply~%3C%2FP%3E%3CP%3EIs%20there%20example%20source%20code%20for%20HSE%3F%20It%20seems%20that%20HSE%20has%20the%20capability%20to%20generate%20and%20import%20keys%2C%20so%20it%20would%20be%20helpful%20to%20have%20example%20code%20and%20related%20references%3C%2FP%3E%3CP%3EThanks%2C%3CBR%20%2F%3EBryan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20secure%20flash%20on%20s32k58%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348106%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%2F107445%22%20target%3D%22_blank%22%3E%40bryan_hong%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThere%E2%80%99s%20no%20secure%20flash%20which%20could%20be%20used%20by%20user.%20When%20HSE%20firmware%20is%20installed%2C%20certain%20flash%20areas%20are%20allocated%20exclusively%20for%20HSE%20resources.%20These%20areas%20are%20sometimes%20called%20as%20secure%20flash%20but%20users%20can%E2%80%99t%20access%20it%2C%20it%E2%80%99s%20hidden%20for%20user.%3C%2FP%3E%0A%3CP%3EUsers%20can%20import%20keys%20to%20HSE.%20These%20are%20stored%20to%20secure%20flash%20by%20HSE.%20This%20mechanism%20is%20dedicated%20to%20keys%20only%2C%20it%20is%20not%20recommended%20to%20use%20it%20for%20own%20data.%20This%20was%20already%20discussed%20here%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FStore-User-Specific-value-in-the-secure-NVM%2Fm-p%2F1856763%2Fhighlight%2Ftrue%23M34785%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FStore-User-Specific-value-in-the-secure-NVM%2Fm-p%2F1856763%2Fhighlight%2Ftrue%23M34785%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAs%20mentioned%2C%20usual%20approach%20is%20to%20encrypt%20data%20by%20a%20key%20stored%20in%20HSE%20and%20also%20use%20SMR%20services%20for%20verification%20of%20that%20area.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2349954%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20secure%20flash%20on%20s32k58%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2349954%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Edear%20Lukas%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ECan%20we%20request%20technical%20support%20from%20NXP%20for%20securely%20operating%20an%20externally%20mounted%20flash%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThanks%2C%3CBR%20%2F%3EBryan%3C%2FP%3E%3C%2FLINGO-BODY%3E