# kldstat Id Refs Address Size Name 1 1 0xffffffff80200000 2ddcbe8 kernel # openssl engine -c (rdrand) Intel RDRAND engine [RAND] (dynamic) Dynamic engine loading support # openssl speed -evp aes-256-cbc Doing aes-256-cbc for 3s on 16 size blocks: 50805305 aes-256-cbc's in 2.99s Doing aes-256-cbc for 3s on 64 size blocks: 15822632 aes-256-cbc's in 3.09s Doing aes-256-cbc for 3s on 256 size blocks: 4020235 aes-256-cbc's in 3.08s Doing aes-256-cbc for 3s on 1024 size blocks: 985700 aes-256-cbc's in 3.01s Doing aes-256-cbc for 3s on 8192 size blocks: 127519 aes-256-cbc's in 3.09s OpenSSL 1.0.2o-freebsd 27 Mar 2018 built on: date not available options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: clang The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-cbc 271669.10k 327320.71k 334352.95k 335578.36k 337660.01k # kldload aesni # kldstat Id Refs Address Size Name 1 4 0xffffffff80200000 2ddcbe8 kernel 2 1 0xffffffff83219000 72b8 aesni.ko # openssl engine -c (rdrand) Intel RDRAND engine [RAND] (dynamic) Dynamic engine loading support # openssl speed -evp aes-256-cbc Doing aes-256-cbc for 3s on 16 size blocks: 52013011 aes-256-cbc's in 3.08s Doing aes-256-cbc for 3s on 64 size blocks: 15890310 aes-256-cbc's in 3.10s Doing aes-256-cbc for 3s on 256 size blocks: 4042600 aes-256-cbc's in 3.10s Doing aes-256-cbc for 3s on 1024 size blocks: 1016158 aes-256-cbc's in 3.09s Doing aes-256-cbc for 3s on 8192 size blocks: 127015 aes-256-cbc's in 3.10s OpenSSL 1.0.2o-freebsd 27 Mar 2018 built on: date not available options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: clang The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-cbc 270362.05k 327892.74k 333672.33k 336338.03k 335478.29k # kldload cryptodev # kldstat Id Refs Address Size Name 1 8 0xffffffff80200000 2ddcbe8 kernel 2 1 0xffffffff83219000 72b8 aesni.ko 3 1 0xffffffff83221000 2ed0 cryptodev.ko # openssl engine -c (cryptodev) BSD cryptodev engine [RSA, DSA, DH, AES-128-CBC, AES-192-CBC, AES-256-CBC] (rdrand) Intel RDRAND engine [RAND] (dynamic) Dynamic engine loading support # openssl speed -evp aes-256-cbc Doing aes-256-cbc for 3s on 16 size blocks: 1075208 aes-256-cbc's in 0.44s Doing aes-256-cbc for 3s on 64 size blocks: 1018516 aes-256-cbc's in 0.52s Doing aes-256-cbc for 3s on 256 size blocks: 857184 aes-256-cbc's in 0.42s Doing aes-256-cbc for 3s on 1024 size blocks: 515434 aes-256-cbc's in 0.24s Doing aes-256-cbc for 3s on 8192 size blocks: 110078 aes-256-cbc's in 0.07s OpenSSL 1.0.2o-freebsd 27 Mar 2018 built on: date not available options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) compiler: clang The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-256-cbc 39321.89k 124532.58k 520151.95k 2179321.46k 12825016.55k # exit