lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 14 Jan 2014 23:20:28 -0800
From: Andy Lutomirski <luto@...capital.net>
To: discussions <discussions@...sword-hashing.net>
Subject: Re: [PHC] A must read...

On Jan 14, 2014 11:14 PM, "Solar Designer" <solar@...nwall.com> wrote:
>
> On Tue, Jan 14, 2014 at 09:20:16PM -0500, Bill Cox wrote:
> > On Tue, Jan 14, 2014 at 5:31 PM, Andy Lutomirski <luto@...capital.net>
wrote:
> > > On Tue, Jan 14, 2014 at 2:28 PM, Bill Cox > Out of curiosity, have
you tried MultHash(hash, v[addr], prevV, v[addr
> > > - C]) where C is something like L2 cache size?  It might help to have
> > > even more taps.
> >
> > That's funny because my previous hash function was exactly that,
> > though C was 1.  It did help, and was the version that "passed" the
> > DieHarder tests.  I'd be curious to understand your feeling for why
> > that would work better.  I discovered it through trial and error.
>
> I guess Andy suggested this as an easy way to make some use of L2 cache
> for defense, not as a way to improve randomness.

Yes.  No idea how well it works on modern CPUs -- it probably depends
heavily on the cache replacement algorithm and how many loads can be
pending.

>
> Alexander

Content of type "text/html" skipped

Powered by blists - more mailing lists