crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services
authorZeng, Xin <xin.zeng@intel.com>
Fri, 23 Jun 2017 15:31:19 +0000 (11:31 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:50:51 +0000 (17:50 +0800)
commitd31e712302c7d5ea47bdb5c1108ed1e33bf8681d
tree406ec11b112210ce34a11c874052d42c91ba90e4
parent41cdf7a45389e01991ee31e3301ed83cb3e3f7dc
crypto: virtio - Refacotor virtio_crypto driver for new virito crypto services

In current virtio crypto device driver, some common data structures and
implementations that should be used by other virtio crypto algorithms
(e.g. asymmetric crypto algorithms) introduce symmetric crypto algorithms
specific implementations.
This patch refactors these pieces of code so that they can be reused by
other virtio crypto algorithms.

Acked-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/virtio/virtio_crypto_algs.c
drivers/crypto/virtio/virtio_crypto_common.h
drivers/crypto/virtio/virtio_crypto_core.c