Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 27 Jul 2015 01:01:27 +0200
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: PHC: Lyra2 vs yescrypt benchmarks 2

On Sun, Jul 26, 2015 at 10:17:43PM +0200, magnum wrote:
> FWIW we already have a feature in Jumbo where (IIRC) a BENCHMARK_LENGTH 
> of eg. 1000 means actual benchmark 0 and scrambled passwords. It was 
> added for formats that can reject early during crypt_all() so benchmark 
> speeds doesn't get deflated from using test vectors for benchmarking 
> (they would otherwise always take the slow path).
> 
> I think it currently just xor's first character with something - maybe 
> Agnieszka could replace that with her code, and we'd use it in Jumbo.
> 
> The current code has a twist: It un-scrambles the test vectors 
> afterwards. I'm not sure that's needed.

Oh, this sounds good.  I agree it'd be best to have this functionality
merged.

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ