I activated ktls in openssl, and wanted to test if openssl use kernel crypto api
so I run
Code: Select all
openssl speed -evp aes-128-cbc -engine cryptodevCode: Select all
Invalid engine "cryptodev"
808B99864C7F0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../openssl-3.5.5/crypto/dso/dso_dlfcn.c:115:filename(/usr/lib64/engines-3/cryptodev.so): /usr/lib64/engines-3/cryptodev.so: cannot open shared object file: No such file or directory
808B99864C7F0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:../openssl-3.5.5/crypto/dso/dso_lib.c:147:
808B99864C7F0000:error:13000084:engine routines:dynamic_load:dso not found:../openssl-3.5.5/crypto/engine/eng_dyn.c:429:
808B99864C7F0000:error:13000074:engine routines:ENGINE_by_id:no such engine:../openssl-3.5.5/crypto/engine/eng_list.c:470:id=cryptodev
808B99864C7F0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:../openssl-3.5.5/crypto/dso/dso_dlfcn.c:115:filename(libcryptodev.so): libcryptodev.so: cannot open shared object file: No such file or directory
808B99864C7F0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:../openssl-3.5.5/crypto/dso/dso_lib.c:147:
808B99864C7F0000:error:13000084:engine routines:dynamic_load:dso not found:../openssl-3.5.5/crypto/engine/eng_dyn.c:429:Code: Select all
openssl speed -evp aes-128-cbc Code: Select all
openssl speed -evp aes-128-cbc -engine cryptodevCode: Select all
cat /proc/crypto
name : ccm(aes)
driver : ccm_base(ctr-aes-vaes-avx2,cbcmac(aes-aesni))
module : kernel
priority : 450
refcnt : 3
selftest : passed
internal : no
type : aead
async : no
blocksize : 1
ivsize : 16
maxauthsize : 16
geniv : <none>
name : cbcmac(aes)
driver : cbcmac(aes-aesni)
module : kernel
priority : 300
refcnt : 5
selftest : passed
internal : no
type : shash
blocksize : 16
digestsize : 16
<... lot of entries ...>
gcrypt don't have any use flag to use kernel crypto api, all (openssl, gcrypt, veracrypt) have only use flags for sse* and asm..... but I would like to use hardware as much as possible...
thanks and regards

