We meet an error executing below command.
Could you help to give us some hint to fix it. Thanks!
~ # openssl speed -engine afalg aes-128-cbc
invalid engine "afalg"
3069345792:error:2506406A:DSO support routines:dlfcn_bind_func:could not bind to the requested symbol name:crypto/dso/dso_dlfcn.c:178:symname(bind_engine): /usr/local/lib/engines-1.1/afalg.so: undefined symbol: bind_engine
3069345792:error:2506C06A:DSO support routines:DSO_bind_func:could not bind to the requested symbol name:crypto/dso/dso_lib.c:185:
3069345792:error:260B6068:engine routines:dynamic_load:DSO failure:crypto/engine/eng_dyn.c:427:
3069345792:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:339:id=afalg
3069345792:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:113:filename(libafalg.so): libafalg.so: cannot open shared object file: No such file or directory
3069345792:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:161:
3069345792:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414:
Doing aes-128 cbc for 3s on 16 size blocks: 1142458 aes-128 cbc's in 1.39s
Doing aes-128 cbc for 3s on 64 size blocks: 316027 aes-128 cbc's in 1.40s
Doing aes-128 cbc for 3s on 256 size blocks: 81248 aes-128 cbc's in 1.40s
Doing aes-128 cbc for 3s on 1024 size blocks: 20001 aes-128 cbc's in 1.37s
Doing aes-128 cbc for 3s on 8192 size blocks: 2576 aes-128 cbc's in 1.41s
Doing aes-128 cbc for 3s on 16384 size blocks: 1277 aes-128 cbc's in 1.40s
OpenSSL 1.1.0i 14 Aug 2018
built on: reproducible build, date unspecified
options:bn(64,32) rc4(char) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: arm-linux-gnueabihf-gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR=""/usr/local/ssl"" -DENGINESDIR=""/usr/local/lib/engines-1.1""
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 13150.60k 14446.95k 14856.78k 14949.65k 14966.38k 14944.55k
We meet an error executing below command.
Could you help to give us some hint to fix it. Thanks!
~ # openssl speed -engine afalg aes-128-cbc
invalid engine "afalg"
3069345792:error:2506406A:DSO support routines:dlfcn_bind_func:could not bind to the requested symbol name:crypto/dso/dso_dlfcn.c:178:symname(bind_engine): /usr/local/lib/engines-1.1/afalg.so: undefined symbol: bind_engine
3069345792:error:2506C06A:DSO support routines:DSO_bind_func:could not bind to the requested symbol name:crypto/dso/dso_lib.c:185:
3069345792:error:260B6068:engine routines:dynamic_load:DSO failure:crypto/engine/eng_dyn.c:427:
3069345792:error:2606A074:engine routines:ENGINE_by_id:no such engine:crypto/engine/eng_list.c:339:id=afalg
3069345792:error:25066067:DSO support routines:dlfcn_load:could not load the shared library:crypto/dso/dso_dlfcn.c:113:filename(libafalg.so): libafalg.so: cannot open shared object file: No such file or directory
3069345792:error:25070067:DSO support routines:DSO_load:could not load the shared library:crypto/dso/dso_lib.c:161:
3069345792:error:260B6084:engine routines:dynamic_load:dso not found:crypto/engine/eng_dyn.c:414:
Doing aes-128 cbc for 3s on 16 size blocks: 1142458 aes-128 cbc's in 1.39s
Doing aes-128 cbc for 3s on 64 size blocks: 316027 aes-128 cbc's in 1.40s
Doing aes-128 cbc for 3s on 256 size blocks: 81248 aes-128 cbc's in 1.40s
Doing aes-128 cbc for 3s on 1024 size blocks: 20001 aes-128 cbc's in 1.37s
Doing aes-128 cbc for 3s on 8192 size blocks: 2576 aes-128 cbc's in 1.41s
Doing aes-128 cbc for 3s on 16384 size blocks: 1277 aes-128 cbc's in 1.40s
OpenSSL 1.1.0i 14 Aug 2018
built on: reproducible build, date unspecified
options:bn(64,32) rc4(char) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: arm-linux-gnueabihf-gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSLDIR=""/usr/local/ssl"" -DENGINESDIR=""/usr/local/lib/engines-1.1""
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 13150.60k 14446.95k 14856.78k 14949.65k 14966.38k 14944.55k