From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abH0C-0003Ai-Iq for qemu-devel@nongnu.org; Wed, 02 Mar 2016 19:20:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abH0B-00071s-L8 for qemu-devel@nongnu.org; Wed, 02 Mar 2016 19:20:24 -0500 References: <1456747261-22032-1-git-send-email-berrange@redhat.com> <1456747261-22032-3-git-send-email-berrange@redhat.com> From: Eric Blake Message-ID: <56D78340.8070507@redhat.com> Date: Wed, 2 Mar 2016 17:20:16 -0700 MIME-Version: 1.0 In-Reply-To: <1456747261-22032-3-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HfbjOujJqO42bTTTJHckFpssxIL3J2fpE" Subject: Re: [Qemu-devel] [PATCH v4 02/26] crypto: add support for PBKDF2 algorithm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Fam Zheng , qemu-block@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HfbjOujJqO42bTTTJHckFpssxIL3J2fpE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/29/2016 05:00 AM, Daniel P. Berrange wrote: > The LUKS data format includes use of PBKDF2 (Password-Based > Key Derivation Function). The Nettle library can provide > an implementation of this, but we don't want code directly > depending on a specific crypto library backend. Introduce > a new include/crypto/pbkdf.h header which defines a QEMU > API for invoking PBKDK2. The initial implementations are > backed by nettle & gcrypt, which are commonly available > with distros shipping GNUTLS. >=20 > The test suite data is taken from the cryptsetup codebase > under the LGPLv2.1+ license. This merely aims to verify > that whatever backend we provide for this function in QEMU > will comply with the spec. >=20 > Signed-off-by: Daniel P. Berrange > --- Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HfbjOujJqO42bTTTJHckFpssxIL3J2fpE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJW14NAAAoJEKeha0olJ0Nqd0oH/1ZMLd4lwZ96qWF1xj8aiOBy PGNRLOxf2GbHagtHptqG6sfrVk1dn+IsBftl99AZBrqvi5Y8062HI5KCPLpD6xXl cphCZKUR2E0t3uyD+/2PFDF9QG3c24f88QtdXq6gIGnDb2GudILKTFNB7tRpDHJ4 vjy+0ggzSha4HCfzWmZrfQcor2JZln/D+0L5vJ5+CbMKJ6LaSYRsH4BYkyc1DBOi +AY7SI0RIBjEWAMQdPOO1ZAnpisrvceOTyDiixhpCB8r0+CmnGyG+APNs2sVIcfU yWzz2vRj54oEEYRClwbvuzfCCM2AmQJTj5xAhSXQyRV+q9cNXNPoyeDVU9RB8BU= =pEhR -----END PGP SIGNATURE----- --HfbjOujJqO42bTTTJHckFpssxIL3J2fpE--