I am currently being developed based on LS1021A-IoT.
I have a difficulty with respect to Security engine.
I try to change the api using security engine instead using S/W openssl.
It applied as follows, but there is little change in speed.
root@OpenWrt:/# modprobe cryptodev
[ ] cryptodev: driver 1.8 loaded
root@OpenWrt:/# openssl engine
(cryptodev) BSD cryptodev engine
(dynamic) Dynamic engine loading support
What went wrong? Or seek advice.
Enabling cryptodev driver alone does not offload crypto jobs to the
hardware. You should also enable the hardware (CAAM in your case)
driver. Suggestions:
1. Use NXP QorIQ SDK:
2. Follow the SDK documentation:
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
P{font-size:14px; line-height:16em; margin-left:0; margin-top:0;
margin-right:0; margin-bottom:0; font-family:맑은 고딕;}
Dear bpe
I thank you for your quick reply
My situation is the same
root@OpenWrt:/# modprobe cryptodev
cryptodev: driver 18 loaded
root@OpenWrt:/# openssl version
OpenSSL 101g 7 Apr 2014
root@OpenWrt:/# openssl engine
(cryptodev) BSD cryptodev engine
(dynamic) Dynamic engine loading support
root@OpenWrt:/# modprobe tcrypt
modprobe: FATAL: Module tcrypt not found
root@OpenWrt:/# grep tls /proc/crypto
name :
tls10(hmac(sha1),cbc(aes))
driver : tls10-hmac-sha1-cbc-aes-caam
root@OpenWrt:/# cat /proc/interrupts | grep -i qman
root@OpenWrt:/#
root@OpenWrt:/# cat /proc/interrupts | grep jr
135:
2
0 GIC 135 1710000jr
136:
8
0 GIC 136 1720000jr
137:
0
0 GIC 137 1730000jr
138:
0
0 GIC 138 1740000jr
How can I check the CAAM features on LS1021A-IoT platforms?
How can I use the Security engine acceleration with OpenSSL, cryptodev,
CAAM?
My company is a company that specializes in the development api
Perhaps, is there any sample application that can use CAAM features?
regards,
Tecue Lee
JEENWOO R&D Manager