Hi,
I'm using a P1021 (SEC3.3.2) with a Linux Kernel 3.18. I have selected the Talitos option in the menuconfig and compiled the cryptodev 1.8.
During the kernel loading I can see that all algorithms are correctly registered.
To check if there is any performance improvement I use openssl compiled to use cryptodev (openssl speed -evp <algorithm>)
With aes-xxx-cbc I can see a significant improvement so I guess it's using the SEC.
The problem comes with all the hasing algorithms performed by the MDEU. With them there are no improvements and the performance is the same without cryptodev.
Is there any other way to check if talitos is working fine? Do I need to use other version of talitos?
Thanks.
解決済! 解決策の投稿を見る。
Both OpenSSL and Cryptodev driver require multiple patches and specific build options to work correctly with SEC. Use the most recent QorIQ SDK that supports your processor (1.9) to build OpenSSL and cryptodev in a known-good
configuration. Refer to SDK 1.9 Manual, Sections 7.4.5, 9.7 for instructions on building and verification. Visit the link below for SDK download links:
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Both OpenSSL and Cryptodev driver require multiple patches and specific build options to work correctly with SEC. Use the most recent QorIQ SDK that supports your processor (1.9) to build OpenSSL and cryptodev in a known-good
configuration. Refer to SDK 1.9 Manual, Sections 7.4.5, 9.7 for instructions on building and verification. Visit the link below for SDK download links:
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Platon,
As you point the problem was with the OpenSSL. Cryptodev is working fine and using talitos (I have tested it using the hashing sha test that is provided with the source code).
The OpenSSL compiling flag -DUSE_CRYPTODEV_DIGESTS was misspelled and thats the explanation of the problem.
Best regards!