New function gcry_kdf_derive
authorWerner Koch <wk@gnupg.org>
Wed, 9 Mar 2011 16:47:44 +0000 (17:47 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 9 Mar 2011 16:47:44 +0000 (17:47 +0100)
commit9730275d294b4d9cbbb2453541f001c95f5f31a3
tree96175205d2fd2670586b0a024d710cbc1796e51a
parentbf823c5acb713488771c9000242b36ab13649da4
New function gcry_kdf_derive

This allows us to factor the S2k code from gpg and gpg-agent out to
libgcrypt.  Created a bunch of test vectors using a hacked gpg 1.4.

The function also implements PBKDF2; tested against the RFC-6070 test
vectors.
13 files changed:
NEWS
cipher/ChangeLog
cipher/Makefile.am
cipher/kdf.c [new file with mode: 0644]
doc/gcrypt.texi
src/ChangeLog
src/gcrypt.h.in
src/libgcrypt.def
src/libgcrypt.vers
src/visibility.c
src/visibility.h
tests/Makefile.am
tests/t-kdf.c [new file with mode: 0644]