summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorLei He2022-10-08 10:50:30 +0200
committerMichael S. Tsirkin2022-11-02 11:56:32 +0100
commit39fff6f3e8b3dd4f1708f8bdde0a51adbe63188a (patch)
tree8a3dcc89e11a963c6ab35448ff2cb223eacfd759 /qapi
parentcrypto: Support export akcipher to pkcs8 (diff)
downloadqemu-39fff6f3e8b3dd4f1708f8bdde0a51adbe63188a.tar.gz
qemu-39fff6f3e8b3dd4f1708f8bdde0a51adbe63188a.tar.xz
qemu-39fff6f3e8b3dd4f1708f8bdde0a51adbe63188a.zip
cryptodev: Add a lkcf-backend for cryptodev
cryptodev: Added a new type of backend named lkcf-backend for cryptodev. This backend upload asymmetric keys to linux kernel, and let kernel do the accelerations if possible. The lkcf stands for Linux Kernel Cryptography Framework. Signed-off-by: lei he <helei.sig11@bytedance.com> Message-Id: <20221008085030.70212-5-helei.sig11@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/qom.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/qapi/qom.json b/qapi/qom.json
index 87fcad2423..d2e0244e57 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -876,6 +876,7 @@
'colo-compare',
'cryptodev-backend',
'cryptodev-backend-builtin',
+ 'cryptodev-backend-lkcf',
{ 'name': 'cryptodev-vhost-user',
'if': 'CONFIG_VHOST_CRYPTO' },
'dbus-vmstate',
@@ -944,6 +945,7 @@
'colo-compare': 'ColoCompareProperties',
'cryptodev-backend': 'CryptodevBackendProperties',
'cryptodev-backend-builtin': 'CryptodevBackendProperties',
+ 'cryptodev-backend-lkcf': 'CryptodevBackendProperties',
'cryptodev-vhost-user': { 'type': 'CryptodevVhostUserProperties',
'if': 'CONFIG_VHOST_CRYPTO' },
'dbus-vmstate': 'DBusVMStateProperties',