[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH for-2.9 v1 1/7] qapi: crypto: add defination about H
From: |
Longpeng(Mike) |
Subject: |
[Qemu-devel] [PATCH for-2.9 v1 1/7] qapi: crypto: add defination about HMAC algorithms |
Date: |
Mon, 12 Dec 2016 15:27:13 +0800 |
This patch introduce HMAC algorithms relevant defination, they will
be used by the following patch.
Signed-off-by: Longpeng(Mike) <address@hidden>
---
qapi/crypto.json | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/qapi/crypto.json b/qapi/crypto.json
index f4fd93b..e63862a 100644
--- a/qapi/crypto.json
+++ b/qapi/crypto.json
@@ -55,6 +55,23 @@
##
+# @QCryptoHmacAlgorithm:
+#
+# The supported algorithms for hash-based message authentication code
+#
+# @md5: HMAC-MD5
+# @sha1: HMAC-SHA1
+# @sha256: HMAC-SHA256
+# @sha512: HMAC-SHA512
+#
+# Since 2.9
+##
+{ 'enum': 'QCryptoHmacAlgorithm',
+ 'prefix': 'QCRYPTO_HMAC_ALG',
+ 'data': ['md5', 'sha1', 'sha256', 'sha512']}
+
+
+##
# @QCryptoCipherAlgorithm:
#
# The supported algorithms for content encryption ciphers
--
1.8.3.1
- [Qemu-devel] [PATCH for-2.9 v1 0/7] crypto: add HMAC algorithms support, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 1/7] qapi: crypto: add defination about HMAC algorithms,
Longpeng(Mike) <=
- [Qemu-devel] [PATCH for-2.9 v1 6/7] crypto: support HMAC algorithms based on nettle, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 5/7] crypto: support HMAC algorithms based on glibc, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 4/7] crypto: support HMAC algorithms based on libgcrypt, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 3/7] configure: add CONFIG_GCRYPT_SUPPORT_HMAC item, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 2/7] crypto: add HMAC algorithms framework, Longpeng(Mike), 2016/12/12
- [Qemu-devel] [PATCH for-2.9 v1 7/7] crypto: add HMAC algorithms testcases, Longpeng(Mike), 2016/12/12
- Re: [Qemu-devel] [PATCH for-2.9 v1 0/7] crypto: add HMAC algorithms support, no-reply, 2016/12/12