openssl cryptodev engine on imx8mp

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

openssl cryptodev engine on imx8mp

跳至解决方案
487 次查看
greeran
Contributor III

hi all

i am working on the imx8mp. i would like to secure my private keys and be able to use openssl without exposing the private key to userspace. i read that its possible with cryptodev openssl engine. i built the BSP with yocto and added the cryptodev-linux cryptodev-module.

i am able to modprobe cryptodev

but when i test for engines (openssl engine) i do not see the cryptodev engine.

those the imx8mp support cryptodev openssl engine and if it does then how to i add it to my openssl.

i am building yocto krikstone  5.15.71

thanks

标记 (3)
0 项奖励
1 解答
456 次查看
greeran
Contributor III
hi
i found my mistake. i needed to add the openssl-engines to the image-install
thanks

在原帖中查看解决方案

0 项奖励
3 回复数
468 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @greeran 

You need to follow up the Linux User guide as the chapter 10 security where you will find how to deploy it into rootfs using Yocto.

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

 

Regards

Harvey

0 项奖励
459 次查看
greeran
Contributor III
thanks for the reply
i did what the user guide recommended but with not success.
i had to add the packageconfig =" cryptodev-linux" (something that was missing in the guide.
i added cryptodev-module openssl-bin to the image install.
i see the cryptodev module in my bsp but i do not see the engines-3 directory from the openssl. i see it in the sysroot-destdir but its not installed in the image rootfs.
could you point me what i am missing
thansk
0 项奖励
457 次查看
greeran
Contributor III
hi
i found my mistake. i needed to add the openssl-engines to the image-install
thanks
0 项奖励