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.

[参考译文] PROCESSOR-SDK-AM62X:无效的引擎"devcrypto"

Guru**** 2482225 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1450073/processor-sdk-am62x-invalid-engine-devcrypto

器件型号:PROCESSOR-SDK-AM62X

工具与软件:

我们有同样的问题  

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1305761/processor-sdk-am62x-cryptodev-hardware-accelerator-does-not-take-effect?keyMatch=cryptodev&tisearch=universal_search

。  

https://software-dl.ti.com/processor-sdk-linux/esd/AM335X/09_01_00_001/exports/docs/linux/Foundational_Components /内核/ Kernel_Drivers / Crypto.html

来解决该问题。

没有成功。 如何解决。 使用无 SDK、使用 Yocto Kirkstone

root@beagtae:~# openssl speed -evp aes-128-cbc -engine devcrypto
Invalid engine "devcrypto"
2030F7B6:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../openssl-3.0.14/crypto/dso/dso_dlfcn.c:118:filename(/usr/lib/engines-3/devcrypto.so): /usr/lib/engines-3/devcrypto.so: cannot open shared object file: No such file or directory
2030F7B6:error:12800067:DSO support routines:DSO_load:could not load the shared library:../openssl-3.0.14/crypto/dso/dso_lib.c:152:
2030F7B6:error:13000084:engine routines:dynamic_load:dso not found:../openssl-3.0.14/crypto/engine/eng_dyn.c:442:
2030F7B6:error:13000074:engine routines:ENGINE_by_id:no such engine:../openssl-3.0.14/crypto/engine/eng_list.c:433:id=devcrypto
2030F7B6:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../openssl-3.0.14/crypto/dso/dso_dlfcn.c:118:filename(libdevcrypto.so): libdevcrypto.so: cannot open shared object file: No such file or directory
2030F7B6:error:12800067:DSO support routines:DSO_load:could not load the shared library:../openssl-3.0.14/crypto/dso/dso_lib.c:152:
2030F7B6:error:13000084:engine routines:dynamic_load:dso not found:../openssl-3.0.14/crypto/engine/eng_dyn.c:442:
Doing AES-128-CBC for 3s on 16 size blocks: 4298544 AES-128-CBC's in 3.00s
Doing AES-128-CBC for 3s on 64 size blocks: 1484106 AES-128-CBC's in 3.00s
Doing AES-128-CBC for 3s on 256 size blocks: 413602 AES-128-CBC's in 2.99s
Doing AES-128-CBC for 3s on 1024 size blocks: 106466 AES-128-CBC's in 3.00s
Doing AES-128-CBC for 3s on 8192 size blocks: 13422 AES-128-CBC's in 3.00s
Doing AES-128-CBC for 3s on 16384 size blocks: 6673 AES-128-CBC's in 2.98s
version: 3.0.14
built on: Tue Jun  4 14:27:20 2024 UTC
options: bn(64,32)
compiler: arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=                      -fdebug-prefix-map=                      -fdebug-prefix-map=                      -fdebug-prefix-map=  -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG
CPUINFO: OPENSSL_armcap=0x1
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
AES-128-CBC      22925.57k    31660.93k    35412.08k    36340.39k    36651.01k    36688.06k
hat Kontextmenü