How can I generate the OTFAD Key blob by myself?

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

How can I generate the OTFAD Key blob by myself?

Jump to solution
486 Views
Vinos
Contributor III

Hello,I've implemented the SBL project,and run through OTFAD XIP successfully.

But it's tedious to transfer a program binary to an encrypted image,the original image needs to add RSA and OTFAD Key Blob field using imgtool.py.And then encrypt the image using image_enc.exe.

So I wrote a script to do these things,but I don't know how can I generate the OTFAD Key blob through the OTFAD parameters by myself.I currently get the OTFAD Key blob through MCUXpresso Secure Provisioning.

Is there any code to achieve this?

Thanks

0 Kudos
Reply
1 Solution
468 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @Vinos ,

Please refer to AN13250, section 4.6.3.".... The output is an encrypted application with the OTFAD key blob stored at the 0 offset...."

AN13250 has software pacakge.

Regards,

Jing

View solution in original post

0 Kudos
Reply
1 Reply
469 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi @Vinos ,

Please refer to AN13250, section 4.6.3.".... The output is an encrypted application with the OTFAD key blob stored at the 0 offset...."

AN13250 has software pacakge.

Regards,

Jing

0 Kudos
Reply