Hi, I'm investigating how to use SEC as OpenSSL engine.
LSDK 19.06 manual explains Secure Object Library but it seems to use libtomcrypt in OPTEE to execute cryptographic operations rather than SEC.
So, please show me how to use SEC as cryptographic engine from OpenSSL.
My board is FRWY-LS1046A.
Solved! Go to Solution.
I want to use CAAM via Cryptoki not cryptodev.
However, "220.127.116.11Hardware Offloading with OpenSSL" explains the way to use CAAM via cryptodev.
Secure Object Library, which is explained in chapter 6.5 can be used by Cryptoki but cryptographic operations are executed with not CAAM but libtomcrypt in OPTEE.
I examined OPTEE source code and found it does not have patches to use CAAM.
So, It seems that there is no way to use CAAM via Cryptoki in LSDK19.06.
Here is my question.
- Can I get a CAAM driver for OPTEE ?
- If not, to use CAAM via Cryptoki, is it need to implement an alternative openssl engine, which uses cryptodev?