From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeTSi-00085Z-8U for qemu-devel@nongnu.org; Fri, 11 Mar 2016 15:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeTSh-00012z-8w for qemu-devel@nongnu.org; Fri, 11 Mar 2016 15:15:04 -0500 References: <1456747261-22032-1-git-send-email-berrange@redhat.com> <1456747261-22032-11-git-send-email-berrange@redhat.com> From: Eric Blake Message-ID: <56E3273E.5020407@redhat.com> Date: Fri, 11 Mar 2016 13:14:54 -0700 MIME-Version: 1.0 In-Reply-To: <1456747261-22032-11-git-send-email-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="E8SpQMP2v3lmcjVCAhlJ5uTokwtIxCVI6" Subject: Re: [Qemu-devel] [PATCH v4 10/26] crypto: refactor code for dealing with AES cipher 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) --E8SpQMP2v3lmcjVCAhlJ5uTokwtIxCVI6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/29/2016 05:00 AM, Daniel P. Berrange wrote: > The built-in and nettle cipher backends for AES maintain > two separate AES contexts, one for encryption and one for > decryption. This is going to be inconvenient for the future > code dealing with XTS, so wrap them up in a single struct > so there is just one pointer to pass around for both > encryptin and decryption. s/encryptin/encryption/ >=20 > Signed-off-by: Daniel P. Berrange > --- > crypto/cipher-builtin.c | 126 ++++++++++++++++++++++++++++++----------= -------- > crypto/cipher-nettle.c | 57 +++++++++++----------- > 2 files changed, 109 insertions(+), 74 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --E8SpQMP2v3lmcjVCAhlJ5uTokwtIxCVI6 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/ iQEcBAEBCAAGBQJW4yc/AAoJEKeha0olJ0NqfRsIAIPNCKQ1/vl6xbPrBlaqnMt7 XrcSfLH48xXJ4A8EMunD0IuRIJK0IjOuGkgj0K4GGVQV9S2ypy7KBPAmdP0M9C7v 3sTczR1VjMLfL0LPqHw36zlgmPVkm1atLwuTHpJX3gvv33baWLwOJuv8+V6KuIk3 EpBMSKjJ89Sy3fpUjpJ3m12HvJNFw0TeVmZVwlBYBF/W+Gl0VWSTeXhlykt4k2oh C//eyxvHWZ9Vmm9f40yWuhOu2aL9QjCv/u1nrJHvElP6iQnayWJLrRPmh0v4r3LW Vt4/2RkFxKIY4U5ve5hgWVkuNVjpJhRYuUPtwDcdwplGtzj6ziCvssGH6CW40/0= =Iv0G -----END PGP SIGNATURE----- --E8SpQMP2v3lmcjVCAhlJ5uTokwtIxCVI6--