Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 12 Apr 2015 17:21:36 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: gpg and gpg-opencl benchmarks

On 04/12/2015 02:41 PM, Frank Dittrich wrote:
> man gpg says for --s2k-count:
> 
> 
>        --s2k-count n
>               Specify how many  times  the  passphrase  mangling  is
>               repeated.   This  value  may  range  between  1024 and
>               65011712 inclusive.  The default is inquired from gpg-
>               agent.   Note that not all values in the 1024-65011712
>               range are legal and if an illegal value  is  selected,
>               GnuPG  will round up to the nearest legal value.  This
>               option is only meaningful if --s2k-mode is 3.
> 
> 
> But looking at the real code, I think the description is misleading, and
> your observation that this count represents the number of bytes
> processed through the specific hash algorithm is correct.

With bleeding-jumbo commit 24bc0b53dec316613551b1da078a060cb4ae091b, I
renamed the first tunable cost from "iteration count" to "s2k-count".
The name isn't perfect, but at least googling for "s2k-count" provides
helpful results.

Frank

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.