iMX8 Inline Encryption Engine

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

iMX8 Inline Encryption Engine

201 Views
reinerseifried
Contributor I

How can I configure the IEE to encrypt/decrypt DDR content on the fly on the i.MX8QXP MEK board? I couldn't find any information in the MEK BSP.

What is the best practice? Is this configured in the Device Tree? Or at the U-Boot level via a special iee command? Is there maybe an application note about it?

Any advice is welcome.

 

0 Kudos
Reply
2 Replies

117 Views
reinerseifried
Contributor I

Hi Manuel,

I probably expressed myself incorrectly. I did not mean “disk encryption,” but rather DDR in the sense of Double Data Rate Random Access Memory, also known as DRAM. There is even an erratum, ERR010909, for the controller, which literally states: “IEE operation is limited to DRAM, OCRAM and FlexSPI memory space only.” This IEE function is exactly what we want to apply to DRAM.

Best regards,

Reiner

0 Kudos
Reply

150 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello, @reinerseifried 

I hope you are doing very well.

We have not Documentation to share, but it should be enough enabling the: 

config BLK_INLINE_ENCRYPTION = y.

 

Please take a look to the inline-encryption.rst.

 

Best regards,

Salas.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2297439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX8%20Inline%20Encryption%20Engine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297439%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHow%20can%20I%20configure%20the%20IEE%20to%20encrypt%2Fdecrypt%20DDR%20content%20on%20the%20fly%20on%20the%20i.MX8QXP%20MEK%20board%3F%20I%20couldn't%20find%20any%20information%20in%20the%20MEK%20BSP.%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat%20is%20the%20best%20practice%3F%3C%2FSTRONG%3E%3CSPAN%3E%20Is%20this%20configured%20in%20the%20Device%20Tree%3F%20Or%20at%20the%20U-Boot%20level%20via%20a%20special%20%3C%2FSPAN%3Eiee%3CSPAN%3E%20command%3F%20Is%20there%20maybe%20an%20application%20note%20about%20it%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAny%20advice%20is%20welcome.%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2297600%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8%20Inline%20Encryption%20Engine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2297600%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F96204%22%20target%3D%22_blank%22%3E%40reinerseifried%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20are%20doing%20very%20well.%3C%2FP%3E%0A%3CP%3EWe%20have%20not%20Documentation%20to%20share%2C%20but%20it%20should%20be%20enough%20enabling%20the%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Econfig%20BLK_INLINE_ENCRYPTION%20%3D%20y.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EPlease%20take%20a%20look%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx%2Fblob%2Fdf24f9428e38740256a410b983003a478e72a7c0%2FDocumentation%2Fblock%2Finline-encryption.rst%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Einline-encryption.rst%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESalas.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2298153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20iMX8%20Inline%20Encryption%20Engine%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2298153%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Manuel%2C%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20probably%20expressed%20myself%20incorrectly.%20I%20did%20not%20mean%20%E2%80%9Cdisk%20encryption%2C%E2%80%9D%20but%20rather%20DDR%20in%20the%20sense%20of%20%3C%2FSPAN%3E%3CSTRONG%3EDouble%20Data%20Rate%20Random%20Access%20Memory%3C%2FSTRONG%3E%3CSPAN%3E%2C%20also%20known%20as%20%3C%2FSPAN%3E%3CSTRONG%3EDRAM%3C%2FSTRONG%3E%3CSPAN%3E.%20There%20is%20even%20an%20erratum%2C%20%3C%2FSPAN%3E%3CSTRONG%3EERR010909%3C%2FSTRONG%3E%3CSPAN%3E%2C%20for%20the%20controller%2C%20which%20literally%20states%3A%20%3C%2FSPAN%3E%3CEM%3E%E2%80%9CIEE%20operation%20is%20limited%20to%20DRAM%2C%20OCRAM%20and%20FlexSPI%20memory%20space%20only.%E2%80%9D%3C%2FEM%3E%3CSPAN%3E%20This%20%3C%2FSPAN%3E%3CSTRONG%3EIEE%20function%20is%20exactly%20what%20we%20want%20to%20apply%20to%20DRAM%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EReiner%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E