测试AES-128-CFB单个核心吞吐速度
root@debian:~# openssl speed -evp aes-128-cfbDoing aes-128-cfb for 3s on 16 size blocks: 72754373 aes-128-cfb's in 2.89sDoing aes-128-cfb for 3s on 64 size blocks: 20729457 aes-128-cfb's in 2.92sDoing aes-128-cfb for 3s on 256 size blocks: 5372988 aes-128-cfb's in 2.93sDoing aes-128-cfb for 3s on 1024 size blocks: 1345849 aes-128-cfb's in 2.91sDoing aes-128-cfb for 3s on 8192 size blocks: 172155 aes-128-cfb's in 2.95sDoing aes-128-cfb for 3s on 16384 size blocks: 84548 aes-128-cfb's in 2.94sOpenSSL 1.1.1n 15 Mar built on: Sun Feb 5 21:23:17 UTCoptions:bn(64,64) rc4(16x,int) des(int) aes(partial) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -ffile-prefix-map=/build/openssl-8bYUb4/openssl-1.1.1n=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2The 'numbers' are in 1000s of bytes per second processed.type 16 bytes64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytesaes-128-cfb402792.38k 454344.26k 469448.78k 473590.85k 478065.68k 471168.17k
列出所有支持的加密算法
root@debian:~# openssl enc -listSupported ciphers:-aes-128-cbc-aes-128-cfb-aes-128-cfb1 -aes-128-cfb8 -aes-128-ctr-aes-128-ecb -aes-128-ofb-aes-192-cbc-aes-192-cfb -aes-192-cfb1 -aes-192-cfb8 -aes-192-ctr -aes-192-ecb-aes-192-ofb-aes-256-cbc -aes-256-cfb-aes-256-cfb1 -aes-256-cfb8 -aes-256-ctr-aes-256-ecb-aes-256-ofb -aes128-aes128-wrap-aes192 -aes192-wrap-aes256-aes256-wrap -aria-128-cbc -aria-128-cfb -aria-128-cfb1 -aria-128-cfb8 -aria-128-ctr -aria-128-ecb -aria-128-ofb -aria-192-cbc -aria-192-cfb -aria-192-cfb1 -aria-192-cfb8 -aria-192-ctr -aria-192-ecb -aria-192-ofb -aria-256-cbc -aria-256-cfb -aria-256-cfb1 -aria-256-cfb8 -aria-256-ctr -aria-256-ecb -aria-256-ofb -aria128 -aria192 -aria256 -bf -bf-cbc-bf-cfb -bf-ecb-bf-ofb-blowfish -camellia-128-cbc-camellia-128-cfb-camellia-128-cfb1 -camellia-128-cfb8 -camellia-128-ctr-camellia-128-ecb -camellia-128-ofb-camellia-192-cbc-camellia-192-cfb -camellia-192-cfb1 -camellia-192-cfb8 -camellia-192-ctr -camellia-192-ecb-camellia-192-ofb-camellia-256-cbc -camellia-256-cfb-camellia-256-cfb1 -camellia-256-cfb8 -camellia-256-ctr-camellia-256-ecb-camellia-256-ofb -camellia128-camellia192-camellia256 -cast -cast-cbc -cast5-cbc-cast5-cfb -cast5-ecb -cast5-ofb-chacha20 -des -des-cbc -des-cfb -des-cfb1 -des-cfb8 -des-ecb -des-ede -des-ede-cbc -des-ede-cfb-des-ede-ecb-des-ede-ofb -des-ede3 -des-ede3-cbc -des-ede3-cfb -des-ede3-cfb1 -des-ede3-cfb8 -des-ede3-ecb -des-ede3-ofb -des-ofb -des3 -des3-wrap -desx -desx-cbc -id-aes128-wrap -id-aes128-wrap-pad -id-aes192-wrap -id-aes192-wrap-pad -id-aes256-wrap -id-aes256-wrap-pad -id-smime-alg-CMS3DESwrap -rc2 -rc2-128 -rc2-40-rc2-40-cbc-rc2-64 -rc2-64-cbc-rc2-cbc -rc2-cfb -rc2-ecb -rc2-ofb -rc4 -rc4-40-seed -seed-cbc -seed-cfb -seed-ecb -seed-ofb -sm4 -sm4-cbc -sm4-cfb -sm4-ctr -sm4-ecb -sm4-ofb
DMIT-HK/AES-256-CFB吞吐性能
root@DMIT-9MevWGVmMF:~# openssl speed -evp aes-256-cfbDoing aes-256-cfb for 3s on 16 size blocks: 96950632 aes-256-cfb's in 2.90sDoing aes-256-cfb for 3s on 64 size blocks: 26882147 aes-256-cfb's in 2.91sDoing aes-256-cfb for 3s on 256 size blocks: 7120360 aes-256-cfb's in 2.91sDoing aes-256-cfb for 3s on 1024 size blocks: 189 aes-256-cfb's in 2.93sDoing aes-256-cfb for 3s on 8192 size blocks: 226060 aes-256-cfb's in 2.89sDoing aes-256-cfb for 3s on 16384 size blocks: 112840 aes-256-cfb's in 2.90sOpenSSL 1.1.1 11 Sep built on: Wed Mar 9 12:13:40 UTCoptions:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-vxXVMf/openssl-1.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2The 'numbers' are in 1000s of bytes per second processed.type 16 bytes64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytesaes-256-cfb534900.04k 591222.48k 626395.93k 636137.81k 640790.15k 637507.09k
DMIT-HK/AES-256-GCM吞吐性能
root@DMIT-9MevWGVmMF:~# openssl speed -evp aes-256-gcmDoing aes-256-gcm for 3s on 16 size blocks: 73333832 aes-256-gcm's in 2.93sDoing aes-256-gcm for 3s on 64 size blocks: 50739389 aes-256-gcm's in 2.88sDoing aes-256-gcm for 3s on 256 size blocks: 23624440 aes-256-gcm's in 2.90sDoing aes-256-gcm for 3s on 1024 size blocks: 7840104 aes-256-gcm's in 2.89sDoing aes-256-gcm for 3s on 8192 size blocks: 1192144 aes-256-gcm's in 2.89sDoing aes-256-gcm for 3s on 16384 size blocks: 603383 aes-256-gcm's in 2.94sOpenSSL 1.1.1 11 Sep built on: Wed Mar 9 12:13:40 UTCoptions:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-vxXVMf/openssl-1.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2The 'numbers' are in 1000s of bytes per second processed.type 16 bytes64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytesaes-256-gcm400457.79k 1127541.98k 2085467.81k 2777946.88k 3379253.86k 3362526.21k
DMIT-HK/AES-128-GCM吞吐性能
root@DMIT-9MevWGVmMF:~# openssl speed -evp aes-128-gcmDoing aes-128-gcm for 3s on 16 size blocks: 84844097 aes-128-gcm's in 2.89sDoing aes-128-gcm for 3s on 64 size blocks: 49552653 aes-128-gcm's in 2.73sDoing aes-128-gcm for 3s on 256 size blocks: 24961698 aes-128-gcm's in 2.91sDoing aes-128-gcm for 3s on 1024 size blocks: 8407798 aes-128-gcm's in 2.90sDoing aes-128-gcm for 3s on 8192 size blocks: 1257902 aes-128-gcm's in 2.87sDoing aes-128-gcm for 3s on 16384 size blocks: 652911 aes-128-gcm's in 2.91sOpenSSL 1.1.1 11 Sep built on: Wed Mar 9 12:13:40 UTCoptions:bn(64,64) rc4(8x,int) des(int) aes(partial) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-vxXVMf/openssl-1.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2The 'numbers' are in 1000s of bytes per second processed.type 16 bytes64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytesaes-128-gcm469725.10k 1161673.92k 2195943.19k 2968822.47k 3590499.37k 3676045.99k