成长值: 342 签到天数: 4739 天 [LV.Master]伴坛终老
|
发表于 2020/6/27 00:37
|
显示全部楼层
|阅读模式
|Google Chrome 83.0.4103.116 |Windows 10
单线程
- openssl speed aes-256-cbc
复制代码Doing aes-256 cbc for 3s on 16 size blocks: 11935570 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 64 size blocks: 3186742 aes-256 cbc's in 2.96s
Doing aes-256 cbc for 3s on 256 size blocks: 809119 aes-256 cbc's in 2.98s
Doing aes-256 cbc for 3s on 1024 size blocks: 484507 aes-256 cbc's in 2.98s
Doing aes-256 cbc for 3s on 8192 size blocks: 60305 aes-256 cbc's in 2.95s
OpenSSL 1.0.1e-fips 11 Feb 2013
built on: Wed Aug 14 16:32:19 UTC 2019
options:bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256 cbc 64516.59k 68902.53k 69508.21k 166488.31k 167463.92k
4线程
- openssl speed aes-256-cbc -multi 4
复制代码
使用cpu硬件aes指令集
- openssl speed -evp aes-256-cbc
复制代码Doing aes-256-cbc for 3s on 16 size blocks: 64623281 aes-256-cbc's in 2.98s
Doing aes-256-cbc for 3s on 64 size blocks: 17231488 aes-256-cbc's in 2.94s
Doing aes-256-cbc for 3s on 256 size blocks: 4414000 aes-256-cbc's in 2.97s
Doing aes-256-cbc for 3s on 1024 size blocks: 1104748 aes-256-cbc's in 2.94s
Doing aes-256-cbc for 3s on 8192 size blocks: 137164 aes-256-cbc's in 2.92s
OpenSSL 1.0.1e-fips 11 Feb 2013
built on: Wed Aug 14 16:32:19 UTC 2019
options:bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256-cbc 346970.64k 375107.22k 380465.99k 384782.98k 384810.78k
同时测试多个算法比对
- openssl speed rsa2048 ecdsap256
复制代码Doing 2048 bits private rsa's for 10s: 17557 2048 bits private RSA's in 7.96s
Doing 2048 bits public rsa's for 10s: 416682 2048 bits public RSA's in 8.44s
Doing 256 bits sign ecdsa's for 10s: 438985 256 bits ECDSA signs in 8.21s
Doing 256 bits verify ecdsa's for 10s: 138183 256 bits ECDSA verify in 8.17s
OpenSSL 1.1.1k 25 Mar 2021
built on: Mon May 3 14:08:40 2021 UTC
options:bn(64,64) rc4(16x,int) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -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 -DZLIB -DNDEBUG
sign verify sign/s verify/s
rsa 2048 bits 0.000453s 0.000020s 2205.7 49369.9
sign verify sign/s verify/s
256 bits ecdsa (nistp256) 0.0000s 0.0001s 53469.5 16913.5
|
评分
-
查看全部评分
|