]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: add virtio-crypto driver
authorGonglei <arei.gonglei@huawei.com>
Thu, 15 Dec 2016 02:03:16 +0000 (10:03 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:32 +0000 (00:13 +0200)
commitdbaf0624ffa57ae6e7d87a823185ccd9a7852d3c
treebca0d89ad92a6907449fcddcf0aa4ae60dc5e912
parent809ecb9bca6a9424ccd392d67e368160f8b76c92
crypto: add virtio-crypto driver

This patch introduces virtio-crypto driver for Linux Kernel.

The virtio crypto device is a virtual cryptography device
as well as a kind of virtual hardware accelerator for
virtual machines. The encryption anddecryption requests
are placed in the data queue and are ultimately handled by
thebackend crypto accelerators. The second queue is the
control queue used to create or destroy sessions for
symmetric algorithms and will control some advanced features
in the future. The virtio crypto device provides the following
cryptoservices: CIPHER, MAC, HASH, and AEAD.

For more information about virtio-crypto device, please see:
  http://qemu-project.org/Features/VirtioCrypto

CC: Michael S. Tsirkin <mst@redhat.com>
CC: Cornelia Huck <cornelia.huck@de.ibm.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Herbert Xu <herbert@gondor.apana.org.au>
CC: Halil Pasic <pasic@linux.vnet.ibm.com>
CC: David S. Miller <davem@davemloft.net>
CC: Zeng Xin <xin.zeng@intel.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
12 files changed:
MAINTAINERS
drivers/crypto/Kconfig
drivers/crypto/Makefile
drivers/crypto/virtio/Kconfig [new file with mode: 0644]
drivers/crypto/virtio/Makefile [new file with mode: 0644]
drivers/crypto/virtio/virtio_crypto_algs.c [new file with mode: 0644]
drivers/crypto/virtio/virtio_crypto_common.h [new file with mode: 0644]
drivers/crypto/virtio/virtio_crypto_core.c [new file with mode: 0644]
drivers/crypto/virtio/virtio_crypto_mgr.c [new file with mode: 0644]
include/uapi/linux/Kbuild
include/uapi/linux/virtio_crypto.h [new file with mode: 0644]
include/uapi/linux/virtio_ids.h