How to use SEC as OpenSSL engine.

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use SEC as OpenSSL engine.

Jump to solution
837 Views
pomepome11
Contributor III

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.

thanks.

Labels (1)
Tags (2)
0 Kudos
1 Solution
659 Views
pomepome11
Contributor III

Oh, I found LSDK manual "9.1.1.3 Hardware Offloading with OpenSSL".

I'll read it.

View solution in original post

0 Kudos
3 Replies
660 Views
pomepome11
Contributor III

Oh, I found LSDK manual "9.1.1.3 Hardware Offloading with OpenSSL".

I'll read it.

0 Kudos
659 Views
pomepome11
Contributor III

I want to use CAAM via Cryptoki not cryptodev.

However, "9.1.1.3Hardware 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?

0 Kudos
659 Views
pomepome11
Contributor III

This title does not follow which I want ask currently.
So, I will close this thread, and repost the case.

0 Kudos