Hi,
I want to use the CAAM secure storage to save data (passwords, keys, ...). I did some reading and I saw in:
iMX6 (CAAM, TrustZone) Hardware Security Blocks Use.
Non Volatile Memory in CAAM (iMX6)
CAAM operation failure with secure memory
that the secure storage access is only via kernel space. How do I get to the secure storage from user space and preform something simple as saving data?
Thanks in advance.
Hello,
You may try using the CAAM secure storage in user space with the same descriptors as kernel does.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Can you supply an example? the only examples (or theory) I found was using the CAAM in user space via AF_ALG or cryptodev (ioctl) but in both there isn't an option to access the secure storage.
Hello,
sorry - no examples.
Regards,
Yuri.
Can you at least point out to the API?