This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: How to use Cryptodev Driver on a Custom Application

Part Number: AM5728

Hi,

I am developing an application which will use SRTP protocol. Hence, I need AES encryption. I have seen that AM5728 has a Kernel driver named cryptodev and I want to utilize it in my applicaiton.

First, I have used lsmod command and saw that cryptodev was listed. Then, I have tried "openssl speed -evp aes-128-cbc -engine cryptodev" command but the output says "invalid engine "cryptodev"

I have made sure cryptodev was loaded by calling modprobe -r cryptodev and modprobe cryptodev again. I think OpenSSL is not using CryptoDev.

Second, is there an example application source code that utilizes cryptodev? How can I implement this driver into my project?

I am using "ti-processor-sdk-linux-am57xx-evm-06.03.00.106" on AM5728 EVM. OpenSSL version is 1.1.1b  26 Feb 2019.

Thanks for all the responses.