The core goal of this series was to make the pbkdf2 iteration time configurable. In doing so a number of other improvements were identified, and some updates done to match latest cryptsetup behaviour / recommendations.
Daniel P. Berrange (6): crypto: make PBKDF iterations configurable for LUKS format crypto: clear out buffer after timing pbkdf algorithm crypto: use correct derived key size when timing pbkdf crypto: remove bogus /= 2 for pbkdf iterations crypto: increase default pbkdf2 time for luks to 2 seconds crypto: support more hash algorithms for pbkdf block/crypto.c | 6 +++++ crypto/block-luks.c | 35 ++++++++++++++++++--------- crypto/pbkdf-gcrypt.c | 12 +++++++++- crypto/pbkdf-nettle.c | 61 ++++++++++++++++++++++++++++++++++++++++------- crypto/pbkdf.c | 23 ++++++++++++------ include/crypto/pbkdf.h | 6 ++++- qapi/crypto.json | 6 ++++- tests/test-crypto-pbkdf.c | 54 ++++++++++++++++++++++++++++++++++++++++- 8 files changed, 172 insertions(+), 31 deletions(-) -- 2.7.4