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.

Linux/TMDX654IDKEVM: How to enable and test crypto HW acceleration under Linux

Part Number: TMDX654IDKEVM

Tool/software: Linux

Hi,

I am using the TMDX654IDKEVM with the PROCESSOR-SDK-LINUX-AM65X v05.02. I would like to test the ECC performance (especially ECDSA) using the HW accelerator. I tried to benchmark via 'openssl speed ecdsap224 -engine cryptodev' and compare it to the results without the cryptodev engine. However, I get basically the same results. How do I know if the test really runs with the HW accelerator? Is crypto HW acceleration accessible via cryptodev at all?

Regards,
Joern

  • Hi Joren,

    PKA is not accelerated with the HW accelerator yet. In Processor SDK Linux v5.02 for AM654x, only some of the aes and sham algorithms are accelerated.

    lb@dev:crypto$ grep '.cra_name = "' sa2ul.c
                            .cra_name = "cbc(aes)",
                            .cra_name = "ecb(aes)",
                            .cra_name = "cbc(des3_ede)",
                            .cra_name = "ecb(des3_ede)",
                                    .cra_name = "authenc(hmac(sha1),cbc(aes))",
                                    .cra_name = "authenc(hmac(sha256),cbc(aes))",