Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Apr 2012 03:36:31 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: RAR OpenCL committed to git

magnum -

On Wed, Apr 04, 2012 at 03:11:53AM +0400, Solar Designer wrote:
> user@...l:~/john/magnum-jumbo/src$ ../run/john -te -fo=rar
> No protocol specified
> No protocol specified
> OpenCL platform 0: NVIDIA CUDA, 1 device(s).
> Using device 0: GeForce GTX 570
> Max local work size 576, best multiple 32
> Local work size (LWS) 512, Keys per crypt (KPC) 8192
> AES-NI engine not available
> Benchmarking: RAR3 (6 characters) [OpenCL]... (8xOMP) DONE
> Raw:    2269 c/s real, 2079 c/s virtual

Apparently, AES-NI works despite of the "AES-NI engine not available"
message.  Apparently, with your version of OpenSSL you had to use the
"aesni" engine, but on 1.0.1 it is sufficient to use EVP.

Speeds with AES-NI:

$ openssl speed -evp aes-128-cbc
Doing aes-128-cbc for 3s on 16 size blocks: 105131558 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 29323014 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 8591685 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 2249630 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 284439 aes-128-cbc's in 3.00s
OpenSSL 1.0.1 14 Mar 2012
built on: Sat Mar 24 05:43:59 UTC 2012
options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx) 
compiler: cc -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 -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -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
aes-128-cbc     560701.64k   625557.63k   733157.12k   767873.71k   776708.10k

Speeds without AES-NI:

$ openssl speed aes-128-cbc
Doing aes-128 cbc for 3s on 16 size blocks: 20099230 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 5484874 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 1414306 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 862347 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 109472 aes-128 cbc's in 3.00s
OpenSSL 1.0.1 14 Mar 2012
built on: Sat Mar 24 05:43:59 UTC 2012
options:bn(64,64) rc4(8x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx) 
compiler: cc -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 -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -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
aes-128 cbc     107195.89k   117010.65k   120687.45k   294347.78k   298931.54k

This is on the overclocked FX-8120.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.