MX23 How to encrypt/decrypt a single file

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

MX23 How to encrypt/decrypt a single file

566 Views
paolomartinetti
Contributor I

Hi everybody,

suppose i have a imx233 based arm system with otp key fuses stored different from zero.

I would like to encrypt OFFLINE (say an Ubuntu system) a file and decrypt it on my board once root file system has been mounted

and the system initialized (say rc.local).

Any idea?

Thanks in Advance

Paolo

Labels (1)
0 Kudos
2 Replies

480 Views
lategoodbye
Senior Contributor I

Hi Paolo,

i'm working on a Mainline Linux driver for otp fuses:

https://github.com/lategoodbye/fsl_ocotp/commit/7c98e19755b69f761885b0e1ceb2c258a7c47ade

It provides a readonly sysfs interface to the otp values. Maybe it is helpful for you.

Regards

Stefan

0 Kudos

480 Views
Yuri
NXP Employee
NXP Employee

  Basically i.MX233 Data Co-Processor may be applied as hardware crypto accelerator,

supporting AES. Please refer to Chapter 16 [Data Co-Processor (DCP)] of the i.MX23
Reference Manual for more details.

http://cache.freescale.com/files/dsp/doc/ref_manual/IMX23RM.pdf

As for Linux  please look at Chapter 20 [Data Co-Processor (DCP) Driver] of the

“mx23_linux.pdf”.

https://www.freescale.com/webapp/Download?colCode=L2.6.31_10.05.00_SDK_SOURCE&appType=license&locati...


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos