AnsweredAssumed Answered

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

Question asked by Maksim Gunko on Jun 8, 2017
Latest reply on Jun 9, 2017 by Yuri Muhin

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.