summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/virtio/Kconfig
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2016-12-15 10:03:16 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 00:13:32 +0200
commitdbaf0624ffa57ae6e7d87a823185ccd9a7852d3c (patch)
treebca0d89ad92a6907449fcddcf0aa4ae60dc5e912 /drivers/crypto/virtio/Kconfig
parent809ecb9bca6a9424ccd392d67e368160f8b76c92 (diff)
downloadop-kernel-dev-dbaf0624ffa57ae6e7d87a823185ccd9a7852d3c.zip
op-kernel-dev-dbaf0624ffa57ae6e7d87a823185ccd9a7852d3c.tar.gz
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>
Diffstat (limited to 'drivers/crypto/virtio/Kconfig')
-rw-r--r--drivers/crypto/virtio/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/crypto/virtio/Kconfig b/drivers/crypto/virtio/Kconfig
new file mode 100644
index 0000000..d80f733
--- /dev/null
+++ b/drivers/crypto/virtio/Kconfig
@@ -0,0 +1,10 @@
+config CRYPTO_DEV_VIRTIO
+ tristate "VirtIO crypto driver"
+ depends on VIRTIO
+ select CRYPTO_AEAD
+ select CRYPTO_AUTHENC
+ select CRYPTO_BLKCIPHER
+ default m
+ help
+ This driver provides support for virtio crypto device. If you
+ choose 'M' here, this module will be called virtio_crypto.
OpenPOWER on IntegriCloud