CAAM in uboot for AES cryptography

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

CAAM in uboot for AES cryptography

829 Views
shitalkumar_sha
Contributor I

Hi Folks,

I am working on secure u-boot on imx6, I wanted to use AES cryptography of CAAM driver, but in 2018 09 uboot source it only provides RSA cryptography.
NXP provides separate SDK for bare-board, I compiled that code with arm-linux-gnueabi tool chain but it gives data abort during loading CAAM bin at uboot console.
Please help me to how to use CAAM on imx6 uboot for AES encryption.
Thanks in advance.

Labels (2)
0 Kudos
1 Reply

621 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

 

 

  You can try using the MFG to load Your bare metal examples.

To load the test via MFG, add the following profile to the ucl2.xml :

 

<LIST name="DWLD_IN_SDP" desc="Download and execute a binary!">

  <CMD state="BootStrap" type="boot" body="BootStrap" file ="sdk_unit_test_caam.bin" >Loading U-boot</CMD>

  <CMD state="BootStrap" type="jump" > Jumping to OS image. </CMD>

</LIST>

 

Also, since all SDK sources are available, it is possible to build code

just for running under U-boot.

 

UBootStandalone < DULG < DENX 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 Kudos