OTFAD1/2_KEY_SEL_LOCK fuses for encrypted XiP with OTFAD

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

OTFAD1/2_KEY_SEL_LOCK fuses for encrypted XiP with OTFAD

Jump to solution
1,276 Views
vishnusudhankj
Contributor III

HI,

By reading i.MX RT1170 Secure Boot Modes (AN13250.pdf) document, Under section 2.4.8, Fuse list for encrypted XiP with OTFAD.

 Shown OTFAD method has 2 OTFAD keys , OTFAD1 Key & OTFAD2 Key as shown in below image ,  

vishnusudhankj_1-1661858271649.png

But in SPT , can able to see only OTFAD KEK & only one scramble key for all region(common for all). Where can i find the details for OTFAD1 key & OTFAD 2 key. What does it refers? kindly suggest.

vishnusudhankj_0-1661858234066.png

Also, is there any performance document available for IEE encryption method?

Labels (1)
0 Kudos
1 Solution
1,261 Views
jay_heng
NXP Employee
NXP Employee

OTFAD1 is used for FlexSPI1

OTFAD2 is used for FlexSPI2.

We can only enable one FlexSPI device once in SPT, the OTFAD configuration is determined by FlexSPI instance, that is why we cannot set both OTFAD1 and OTFAD2 key in SPT at the same time.

View solution in original post

0 Kudos
7 Replies
1,262 Views
jay_heng
NXP Employee
NXP Employee

OTFAD1 is used for FlexSPI1

OTFAD2 is used for FlexSPI2.

We can only enable one FlexSPI device once in SPT, the OTFAD configuration is determined by FlexSPI instance, that is why we cannot set both OTFAD1 and OTFAD2 key in SPT at the same time.

0 Kudos
1,265 Views
vishnusudhankj
Contributor III

Is there any sample MCU IDE sample program available for IEE performance? or any document available for OTFAD vs IEE performance comparison? 

0 Kudos
1,260 Views
jay_heng
NXP Employee
NXP Employee

There is \SDK_2.11.1_MIMXRT1170-EVK\boards\evkmimxrt1170\demo_apps\iee_apc demo.

0 Kudos
1,256 Views
vishnusudhankj
Contributor III

@jay_heng thanks for your support

I need few clarity on the XiP encryption method,

Is it possible where can I refer which method is preferable either otfad or iee?  Which is having better performance? 

 

0 Kudos
1,239 Views
jay_heng
NXP Employee
NXP Employee

IEE and OTFAD are different IP and SoC arch, they have own usage scenario, we should not simply compare them.

For XIP encrypted boot, OTFAD is better than IEE.

0 Kudos
1,212 Views
vishnusudhankj
Contributor III

@jay_heng 

Is it possible . please suggest on what basis OTFAD is better ?

0 Kudos
1,236 Views
vishnusudhankj
Contributor III

Thanks for your support

0 Kudos