summaryrefslogtreecommitdiff
path: root/drivers/crypto/virtio/virtio_crypto_common.h
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2018-01-26 22:15:32 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-15 18:26:52 +0300
commit67189375bb3a28933a6cc93377a0c64134706f15 (patch)
treec23ec1b355df5dbeefcc5dcf1e05b4362036a136 /drivers/crypto/virtio/virtio_crypto_common.h
parentc21c8b8984f29ad23bb7422856ab5331e7e663ea (diff)
downloadlinux-67189375bb3a28933a6cc93377a0c64134706f15.tar.xz
crypto: virtio - convert to new crypto engine API
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/virtio/virtio_crypto_common.h')
-rw-r--r--drivers/crypto/virtio/virtio_crypto_common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/virtio/virtio_crypto_common.h b/drivers/crypto/virtio/virtio_crypto_common.h
index e976539a05d9..72621bd67211 100644
--- a/drivers/crypto/virtio/virtio_crypto_common.h
+++ b/drivers/crypto/virtio/virtio_crypto_common.h
@@ -107,8 +107,7 @@ struct virtio_crypto *virtcrypto_get_dev_node(int node);
int virtcrypto_dev_start(struct virtio_crypto *vcrypto);
void virtcrypto_dev_stop(struct virtio_crypto *vcrypto);
int virtio_crypto_ablkcipher_crypt_req(
- struct crypto_engine *engine,
- struct ablkcipher_request *req);
+ struct crypto_engine *engine, void *vreq);
void
virtcrypto_clear_request(struct virtio_crypto_request *vc_req);