LINUX.ORG.RU

История изменений

Исправление kombrig, (текущая версия) :

DES медленнее BlowFish

На моем 9450 кварде результаты

openssl speed des-cbc des-ede3 blowfish
Doing des cbc for 3s on 16 size blocks: 9588334 des cbc's in 2.99s
Doing des cbc for 3s on 64 size blocks: 2504469 des cbc's in 2.99s
Doing des cbc for 3s on 256 size blocks: 635018 des cbc's in 3.00s
Doing des cbc for 3s on 1024 size blocks: 159257 des cbc's in 2.99s
Doing des cbc for 3s on 8192 size blocks: 19940 des cbc's in 3.00s
Doing des ede3 for 3s on 16 size blocks: 3754432 des ede3's in 2.99s
Doing des ede3 for 3s on 64 size blocks: 957077 des ede3's in 2.99s
Doing des ede3 for 3s on 256 size blocks: 240620 des ede3's in 2.99s
Doing des ede3 for 3s on 1024 size blocks: 60182 des ede3's in 3.00s
Doing des ede3 for 3s on 8192 size blocks: 7534 des ede3's in 2.99s
Doing blowfish cbc for 3s on 16 size blocks: 17220544 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 64 size blocks: 4632770 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 256 size blocks: 1174248 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 1024 size blocks: 294384 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 8192 size blocks: 36929 blowfish cbc's in 2.99s
OpenSSL 1.0.1e 11 Feb 2013
built on: Mon May 20 15:41:17 UTC 2013
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx) 
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -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
des cbc          51308.81k    53607.36k    54188.20k    54541.53k    54449.49k
des ede3         20090.61k    20485.93k    20601.58k    20542.12k    20641.65k
blowfish cbc     92150.07k    99162.97k   100537.62k   100483.07k   101178.05k

Исходная версия kombrig, :

DES медленнее BlowFish

openssl speed des-cbc des-ede3 blowfish
Doing des cbc for 3s on 16 size blocks: 9588334 des cbc's in 2.99s
Doing des cbc for 3s on 64 size blocks: 2504469 des cbc's in 2.99s
Doing des cbc for 3s on 256 size blocks: 635018 des cbc's in 3.00s
Doing des cbc for 3s on 1024 size blocks: 159257 des cbc's in 2.99s
Doing des cbc for 3s on 8192 size blocks: 19940 des cbc's in 3.00s
Doing des ede3 for 3s on 16 size blocks: 3754432 des ede3's in 2.99s
Doing des ede3 for 3s on 64 size blocks: 957077 des ede3's in 2.99s
Doing des ede3 for 3s on 256 size blocks: 240620 des ede3's in 2.99s
Doing des ede3 for 3s on 1024 size blocks: 60182 des ede3's in 3.00s
Doing des ede3 for 3s on 8192 size blocks: 7534 des ede3's in 2.99s
Doing blowfish cbc for 3s on 16 size blocks: 17220544 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 64 size blocks: 4632770 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 256 size blocks: 1174248 blowfish cbc's in 2.99s
Doing blowfish cbc for 3s on 1024 size blocks: 294384 blowfish cbc's in 3.00s
Doing blowfish cbc for 3s on 8192 size blocks: 36929 blowfish cbc's in 2.99s
OpenSSL 1.0.1e 11 Feb 2013
built on: Mon May 20 15:41:17 UTC 2013
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx) 
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -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
des cbc          51308.81k    53607.36k    54188.20k    54541.53k    54449.49k
des ede3         20090.61k    20485.93k    20601.58k    20542.12k    20641.65k
blowfish cbc     92150.07k    99162.97k   100537.62k   100483.07k   101178.05k