root@OPNsense:~ # /usr/bin/openssl engine -t -c(dynamic) Dynamic engine loading support [ unavailable ]root@OPNsense:~ #
root@OPNsense:~ # openssl speed -evp aes-128-cbcDoing aes-128-cbc for 3s on 16 size blocks: 279716 aes-128-cbc's in 1.24sDoing aes-128-cbc for 3s on 64 size blocks: 157987 aes-128-cbc's in 2.62sDoing aes-128-cbc for 3s on 256 size blocks: 38782 aes-128-cbc's in 2.50sDoing aes-128-cbc for 3s on 1024 size blocks: 2072 aes-128-cbc's in 0.28sDoing aes-128-cbc for 3s on 8192 size blocks: 1704 aes-128-cbc's in 1.82sOpenSSL 1.0.1s-freebsd 1 Mar 2016built on: date not availableoptions:bn(64,32) rc4(8x,mmx) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)compiler: clangThe 'numbers' are in 1000s of bytes per second processed.type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytesaes-128-cbc 3602.88k 3863.37k 3971.28k 7543.92k 7668.56kroot@OPNsense:~ #
Wegen LibreSSL vielleicht? Cryptodev haben die Entwickler da entfernt, es bleibt also nur OpenSSL.
root@OPNsense:~ # /usr/local/bin/openssl engine -t -c(cryptodev) BSD cryptodev engine [RSA, DSA, DH, AES-128-CBC, AES-192-CBC, AES-256-CBC] [ available ](dynamic) Dynamic engine loading support [ unavailable ](padlock) VIA PadLock (no-RNG, ACE) [AES-128-ECB, AES-128-CBC, AES-128-CFB, AES-128-OFB, AES-192-ECB, AES-192-CBC, AES-192-CFB, AES-192-OFB, AES-256-ECB, AES-256-CBC, AES-256-CFB, AES-256-OFB] [ available ]root@OPNsense:~ #
root@OPNsense:~ # /usr/local/bin/openssl speed -elapsed -evp aes-128-cbc -engine padlockengine "padlock" set.You have chosen to measure elapsed time instead of user CPU time.Doing aes-128-cbc for 3s on 16 size blocks: 4727151 aes-128-cbc's in 3.02sDoing aes-128-cbc for 3s on 64 size blocks: 3901366 aes-128-cbc's in 3.00sDoing aes-128-cbc for 3s on 256 size blocks: 2275710 aes-128-cbc's in 3.00sDoing aes-128-cbc for 3s on 1024 size blocks: 854923 aes-128-cbc's in 3.00sDoing aes-128-cbc for 3s on 8192 size blocks: 124891 aes-128-cbc's in 3.00sOpenSSL 1.0.2j 26 Sep 2016built on: reproducible build, date unspecifiedoptions:bn(64,32) md2(int) rc4(8x,mmx) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)compiler: cc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -O3 -fomit-frame-pointer -Wall -O2 -pipe -fstack-protector -fno-strict-aliasing -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASMThe 'numbers' are in 1000s of bytes per second processed.type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytesaes-128-cbc 25016.03k 83229.14k 194193.92k 291813.72k 341035.69kroot@OPNsense:~ #