Support for P2020processor Cryptodev

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

Support for P2020processor Cryptodev

跳至解决方案
1,719 次查看
papaiahgovinda
Contributor II

Dear Support Team,

We have already enabled cryptodev in kernel configuration.

But after booting that kernel image we were unable to locate any "cryptodev".

Like other devices  cryptodev is not present if we use the command cat /proc/devices Even the RDB does not have the cryptodev module.

So, can please help us regarding this.

Thanks & regards,

Dhiraj

标签 (1)
1 解答
1,298 次查看
bpe
NXP Employee
NXP Employee

I'm not sure what you meant with "enabled cryptodev in kernel configuration". Cryptodev module is a separate package

named 'cryptodev-linux'. Build the package and proceed as described here:

Building OpenSSL with hardware offloading support

Linux cryptodev does not register itself within procfs, you will not see it anywhere under /proc/ therefore.

It, however, creates a /dev/crypto node.

If you meant Linux native crypto API driver for P2020 SEC (Talitos driver), study the document at the link

below on how to enable and test it:

SEC Device Driver User Manual

Note, cryptodev works on top of Talitos, so you will need Talitos anyway.


Have a great day,
Platon

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

在原帖中查看解决方案

2 回复数
1,299 次查看
bpe
NXP Employee
NXP Employee

I'm not sure what you meant with "enabled cryptodev in kernel configuration". Cryptodev module is a separate package

named 'cryptodev-linux'. Build the package and proceed as described here:

Building OpenSSL with hardware offloading support

Linux cryptodev does not register itself within procfs, you will not see it anywhere under /proc/ therefore.

It, however, creates a /dev/crypto node.

If you meant Linux native crypto API driver for P2020 SEC (Talitos driver), study the document at the link

below on how to enable and test it:

SEC Device Driver User Manual

Note, cryptodev works on top of Talitos, so you will need Talitos anyway.


Have a great day,
Platon

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

1,298 次查看
papaiahgovinda
Contributor II

Dear Platon,

Thank you very much your support.

We tried earlier same way described there but we tried

bitbake fsl-image-minimal

instead of bitbake fsl-image-core.

and whenever we tried to insert that cyptodev module it was showing syntax error.

Now according to the link sent by you, we followed the instruction and It is working fine. 

Module is loded succesfully.

With warm regards,

Dhiraj

0 项奖励
回复