Support for P2020processor Cryptodev

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Support for P2020processor Cryptodev

Jump to solution
1,720 Views
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

Labels (1)
1 Solution
1,299 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
1,300 Views
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,299 Views
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 Kudos
Reply