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: Mon, 10 Mar 2014 10:42:13 -0400
From: Bill Cox <>
Subject: Re: [PHC] Upgrade HKDF to HKDF2?

Thanks for point out the bugs... I meant to compress the data with a
call to the hash function every loop, rather than overwriting the
previous run.  I'd correct the code and repost, but...

On Mon, Mar 10, 2014 at 9:22 AM, Jeremi Gosney <> wrote:
> Anyway, I don't think this problem really worth solving, especially when
> the prototype specifies `const void *in, size_t inlen'. I don't see a
> real need for any sort of constant time buffer copies.

This seems to be the consensus opinion, and that's what I really
needed to know.  Short of the password padding issues, the other
limitations in HKDF aren't severe enough to warrant any changes,
especially when I'm allowed to call memcpy on the password.

I've cloned the official HKDF reference source code from  Does anyone want to share the
code for adding a Blake2 version to this code base?


Powered by blists - more mailing lists