All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/7] crypto: misc tweaks & improvements to pbkdf code
@ 2016-09-12 14:13 Daniel P. Berrange
  2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 1/7] crypto: use uint64_t for pbkdf iteration count parameters Daniel P. Berrange
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Daniel P. Berrange @ 2016-09-12 14:13 UTC (permalink / raw)
  To: qemu-devel

This is an update of

  v1: https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg01841.html

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.

Changed in v2:

 - Switch pbkdf APIs to use uint64_t for iteration count
 - Fix detection of iteration count overflow (Eric)
 - Misc typos (Eric)
 - Use correct syntax for qapi 'since' annotation
 - Use g_new instead of g_new0 (Eric)

Daniel P. Berrange (7):
  crypto: use uint64_t for pbkdf iteration count parameters
  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       | 78 +++++++++++++++++++++++++++++++++--------------
 crypto/pbkdf-gcrypt.c     | 21 +++++++++++--
 crypto/pbkdf-nettle.c     | 71 ++++++++++++++++++++++++++++++++++++------
 crypto/pbkdf-stub.c       |  2 +-
 crypto/pbkdf.c            | 35 +++++++++++----------
 include/crypto/pbkdf.h    | 16 ++++++----
 qapi/crypto.json          |  6 +++-
 tests/test-crypto-pbkdf.c | 54 +++++++++++++++++++++++++++++++-
 9 files changed, 229 insertions(+), 60 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2016-09-13 10:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-12 14:13 [Qemu-devel] [PATCH v2 0/7] crypto: misc tweaks & improvements to pbkdf code Daniel P. Berrange
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 1/7] crypto: use uint64_t for pbkdf iteration count parameters Daniel P. Berrange
2016-09-12 15:35   ` Eric Blake
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 2/7] crypto: make PBKDF iterations configurable for LUKS format Daniel P. Berrange
2016-09-12 15:38   ` Eric Blake
2016-09-13 10:37     ` Daniel P. Berrange
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 3/7] crypto: clear out buffer after timing pbkdf algorithm Daniel P. Berrange
2016-09-12 15:39   ` Eric Blake
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 4/7] crypto: use correct derived key size when timing pbkdf Daniel P. Berrange
2016-09-12 15:41   ` Eric Blake
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 5/7] crypto: remove bogus /= 2 for pbkdf iterations Daniel P. Berrange
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 6/7] crypto: increase default pbkdf2 time for luks to 2 seconds Daniel P. Berrange
2016-09-12 14:13 ` [Qemu-devel] [PATCH v2 7/7] crypto: support more hash algorithms for pbkdf Daniel P. Berrange
2016-09-12 15:55   ` Eric Blake
2016-09-12 15:50 ` [Qemu-devel] [PATCH v2 0/7] crypto: misc tweaks & improvements to pbkdf code no-reply

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.