software_test of the caam module's features

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

software_test of the caam module's features

937 Views
jesuis
Contributor I

Hello everybody, im new in the community,

i need any help : im testing (sw)  the CAAM module on the SABRE i.MX6Dual Lite.

how can i set the different mode of the AESA. and also test the other Accelerators (DESA, AFHA, MDHA).

Thank

0 Kudos
5 Replies

672 Views
Yuri
NXP Employee
NXP Employee

First, please let me know if the examples of the Platform SDK were used ?

Re: En/Decryption of data on iMX6 board


Have a great day,
Yuri

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

672 Views
jesuis
Contributor I

yes, I used the examples of the Platform SDK. i found them at the directory : .sdk\drivers\caam

0 Kudos

672 Views
jesuis
Contributor I

hey Yuri,


please  how do i test the  AES _CBC  mode.

im using the exemple code this directory: 
D:\IMX6SDK\iMX6_Platform_SDK\sdk\drivers\caam.....  and i can run well the  caam_test for AES_ECB.

But when i change the initialyzation line of caam_internal.h : #define ENCRYPT_DESC4 0x8210020D in order to use the AES_CBC mode unfortunately  it does not change these value in the Mode register and does not give out the expected CBC_cipher_test values

Thank you for your answe

0 Kudos

672 Views
Yuri
NXP Employee
NXP Employee

You may apply to Linux Testing imx6 CAAM module in kernel

0 Kudos

672 Views
Wlodek_D_
Senior Contributor II

Hello,

Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.

For details please see general advice Where to post a Discussion?

Thank you for using Freescale Community.

0 Kudos