From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2zK-0006yw-2v for qemu-devel@nongnu.org; Mon, 21 Dec 2015 11:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB2zG-0007dZ-2O for qemu-devel@nongnu.org; Mon, 21 Dec 2015 11:07:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2zF-0007dU-Sm for qemu-devel@nongnu.org; Mon, 21 Dec 2015 11:07:01 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 89B34C0A5249 for ; Mon, 21 Dec 2015 16:07:01 +0000 (UTC) From: "Daniel P. Berrange" Date: Mon, 21 Dec 2015 16:06:48 +0000 Message-Id: <1450714014-16849-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] Misc enhancements to crypto APIs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Markus Armbruster This is a small series of misc enhancements to the crypto APIs. A couple of helper methods are added for getting data sizes, some enums are converted to use QAPI schema and a couple of minor bugs are squashed Daniel P. Berrange (6): crypto: add ability to query the cipher key, block & IV lens crypto: add ability to query hash digest len crypto: move QCryptoHashAlgorithm enum definition into QAPI crypto: move QCryptoCipherAlgorithm/Mode enum definitions into QAPI crypto: ensure qapi/crypto.json is listed in qapi-modules crypto: fix transposed arguments in cipher error message Makefile | 3 ++- crypto/cipher.c | 54 +++++++++++++++++++++++++++++++++++++++++++--- crypto/hash.c | 17 ++++++++++++++- include/crypto/cipher.h | 54 +++++++++++++++++++++++++++++++++------------- include/crypto/hash.h | 20 ++++++++++------- qapi/crypto.json | 45 ++++++++++++++++++++++++++++++++++++++ tests/test-crypto-cipher.c | 10 +++++++++ tests/test-crypto-hash.c | 5 +++++ 8 files changed, 180 insertions(+), 28 deletions(-) -- 2.5.0