Hi all,
I'm little bit discomforted about this question because it seem to be simple question but I haven't found a correct answer:
- on Frescale iMX6 comunity.
- on Riotboard FAQ.
- Into Fresscale Security Reference Manual for iMX6 [...] Families applications Processors. (IMX6DQ6SDLSRM)
- ...
To sum up :
I've bought an element14 SABRELITE and a RIoTboard . Both board have an Freescale iMX6 processor embedded.
One has an iMX6quad and the other has an iMX6solo.
Each board have a Cryptographic Acceleration and Assurance Module (CAAM) which allow to perform fast cryptographic process.
In first time, to test the efficiency of this module I just want to perform a simple AES encryption process.
I would like to make a C code program which use the CAAM to perform fast AES computation.
In this code I want :
- Load my plaintext in specific CAAM data register.
- Load a Key in CAAM key register
- Run the cryptographic process
- Read the Ciphered in specific output register.
In the documentation that I've read (in particular the IMX6DQ6SDLSRM), I understand they are many Security management registers and security mode
that I have to set up in order to be able to access to some registers addresses.
But the documentation is very a Low level documentation and it don't explain "How make a Software application exploiting CAAM".
It's for this reason that I ask here.
Please has Anyone could help me ?
Has anyone had a code example ?
Do you know right documentation / C library / kernel, OS, setting ... ?
Fabien.


