[tahoe-dev] HKDF implementation in C

Nils Durner ndurner at googlemail.com
Mon Aug 9 17:29:21 UTC 2010


Hi Yu Xue,

Zooko told me that you've created an independent implementation of HKDF
in Python. I have done the same thing in C:
    Source: https://gnunet.org/svn/gnunet/src/util/crypto_hkdf.c
    Unit test: https://gnunet.org/svn/gnunet/src/util/test_crypto_hkdf.c

We should compare results of our implementations to verify correctness
beyond the test vectors given in the RFC, maybe by utilizing the concept
proposed by Niels Ferguson for testing AES:
http://blogs.msdn.com/b/si_team/archive/2006/05/19/aes-test-vectors.aspx

Either way, you're welcome to use (and dual relicense) my source in
Tahoe LAFS as you like.


Regards,

Nils


More information about the tahoe-dev mailing list