Hardware Acceleration with OpenSSL

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Hardware Acceleration with OpenSSL

ソリューションへジャンプ
4,577件の閲覧回数
nickbaker
Contributor I

I am currently developing on a LS1021 and I am testing the encryption performance. How can I tell if my OpenSSL code is using S/W or the hardware acceleration?

Thank you.

タグ(3)
0 件の賞賛
返信
1 解決策
3,326件の閲覧回数
bpe
NXP Employee
NXP Employee

If SEC is involved, you should see various related statistic counters growing. Check this page for details:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-70AB1917-E7BD-45DB-924C-7...

More details on enabling HW crypto offload for OpenSSL can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-FD8EAB86-C554-4D24-9B50-F...


Have a great day,
Platon

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

元の投稿で解決策を見る

2 返答(返信)
3,327件の閲覧回数
bpe
NXP Employee
NXP Employee

If SEC is involved, you should see various related statistic counters growing. Check this page for details:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-70AB1917-E7BD-45DB-924C-7...

More details on enabling HW crypto offload for OpenSSL can be found here:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-FD8EAB86-C554-4D24-9B50-F...


Have a great day,
Platon

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

3,326件の閲覧回数
nickbaker
Contributor I

Thank you for the answer it was very helpful. I would just like to clarify one thing. In the first link it says "If the number of interrupts fired increment, then the hardware is being used to do the crypto." Is this always true?

I only ask because I was running two commands to test and both times I saw the interrupts increasing. The commands were:

openssl speed -evp aes-128-cbc

openssl speed -evp aes-128-cbc -engine cryptodev
Perhaps openssl is always using the hardware acceleration when possible which I would like, but I just want to make sure I have a proper understanding.

Thank you

0 件の賞賛
返信