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.

openssl - invalid engine "cryptodev"

Hi

I am trying to use cryptodev engine using openssl in OMAP4460. When I run the application I get the following error :

/ # openssl speed -evp aes-128-cbc -engine cryptodev
invalid engine "cryptodev"

3069236400:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libcryptodev.so): /lib/engines/libcryptodev.so: cannot open shared object file: No such file or directory

I have used the latest openssl from github to run this experiment. There is no libcryptodev.so after compiling the package. 

Does anyone know why this is happening?

  • Hello Anees,

    There is a requirement that OpenSSL loads the "crypto-engines" after entered in the chroot environment.

    I would suggest to follow the steps described in this link - http://processors.wiki.ti.com/index.php/OMAP_WLAN_build_instructions_on_any_SDK

    After build of OpenSSL, you must update the paths to new OpenSSL files.

    What OS do you run on your OMAP4460 board?

    Best regards,

    Yanko