linux-stable/drivers/crypto/virtio
Ard Biesheuvel 02d72fbeea crypto: virtio - implement missing support for output IVs
commit 500e6807ce upstream.

In order to allow for CBC to be chained, which is something that the
CTS template relies upon, implementations of CBC need to pass the
IV to be used for subsequent invocations via the IV buffer. This was
not implemented yet for virtio-crypto so implement it now.

Fixes: dbaf0624ff ("crypto: add virtio-crypto driver")
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Gonglei <arei.gonglei@huawei.com>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-17 19:47:04 +01:00
..
Kconfig crypto: virtio - remove dependency on CRYPTO_AUTHENC 2018-03-16 23:35:51 +08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_crypto_algs.c crypto: virtio - implement missing support for output IVs 2020-01-17 19:47:04 +01:00
virtio_crypto_common.h crypto: virtio - Register an algo only if it's supported 2018-07-01 21:00:46 +08:00
virtio_crypto_core.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-15 16:01:47 -07:00
virtio_crypto_mgr.c crypto: virtio - Register an algo only if it's supported 2018-07-01 21:00:46 +08:00