diff options
author | Lei He | 2022-10-08 10:50:30 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-11-02 11:56:32 +0100 |
commit | 39fff6f3e8b3dd4f1708f8bdde0a51adbe63188a (patch) | |
tree | 8a3dcc89e11a963c6ab35448ff2cb223eacfd759 /include | |
parent | crypto: Support export akcipher to pkcs8 (diff) | |
download | qemu-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 'include')
-rw-r--r-- | include/sysemu/cryptodev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/cryptodev.h b/include/sysemu/cryptodev.h index 32e9f4cf8a..cf9b3f07fe 100644 --- a/include/sysemu/cryptodev.h +++ b/include/sysemu/cryptodev.h @@ -219,6 +219,7 @@ typedef enum CryptoDevBackendOptionsType { CRYPTODEV_BACKEND_TYPE_NONE = 0, CRYPTODEV_BACKEND_TYPE_BUILTIN = 1, CRYPTODEV_BACKEND_TYPE_VHOST_USER = 2, + CRYPTODEV_BACKEND_TYPE_LKCF = 3, CRYPTODEV_BACKEND_TYPE__MAX, } CryptoDevBackendOptionsType; |