Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150405173433.GA8618@openwall.com>
Date: Sun, 5 Apr 2015 20:34:33 +0300
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: gpg and gpg-opencl benchmarks

On Sun, Apr 05, 2015 at 07:16:24PM +0200, Frank Dittrich wrote:
> yes you are right, thanks for noticing.
> 
> I just took my_salt->count and reported it as iteration count.
> But in gpg_fmt_plug.c we have
> 
> 532:		n = cur_salt->count / bs;
> 533-		while (n-- > 0) {
> 534-			SHA1_Update(&ctx, keybuf, bs);
> 535-		}
[...]

Does this mean that our test vectors used for benchmarking don't
correspond to GnuPG's default s2k count of 65536?  Or does it mean that
GnuPG's default s2k count of 65536 corresponds to this many bytes
processed through SHA-1, rather than to this many iterations of SHA-1?

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.