How to use AES-128 hardware decryption (with CAAM) on iMX6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use AES-128 hardware decryption (with CAAM) on iMX6

2,594 次查看
maksimgunko
Contributor I

Hello! I`m trying to find any information about question: How to use AES-128 hardware decryption (with CAAM) on iMX6. I use Variscite board VAR-SOM-SOLO. I was made bootloader (using SDK) for this board and successfully made it encrypted with HAB technology. It`s load good, without any HAB events. The next my step is make encrypted application (using AES-128 cryptography) and bootloader need to load this application from NAND flash to DDR RAM, quickly decrypt this aplication and start it. I try using software AES-128 algorithm, but it to slow.

So I need any code example (using iMX6 registers) which will show how to decrypt my application with AES-128 hardware CAAM accelerator.

Help me please with this trouble.

Regards.

标签 (1)
0 项奖励
回复
3 回复数

1,910 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  hope the following helps.

https://community.nxp.com/thread/433262 

Have a great day,
Yuri

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

0 项奖励
回复

1,910 次查看
maksimgunko
Contributor I

Hello! Thanks, but this information is not useful for me, becouse I`m not using linux. My application is a project wich use SDK and some RTOS (not linux). I need an example that uses the CAAM registers to decrypt AES-128. Or documentation about CAAM registers to use AES accelerator module.

0 项奖励
回复

1,910 次查看
Yuri
NXP Employee
NXP Employee

Hello,

  We do not have bare metal CAAM examples.

For more details about CAAM using NDA is required.

Regards,

Yuri.

0 项奖励
回复