summaryrefslogtreecommitdiff
path: root/crypto/hctr2.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hctr2.c')
-rw-r--r--crypto/hctr2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/hctr2.c b/crypto/hctr2.c
index 7d00a3bcb667..6f4c1884d0e9 100644
--- a/crypto/hctr2.c
+++ b/crypto/hctr2.c
@@ -252,10 +252,9 @@ static int hctr2_finish(struct skcipher_request *req)
return 0;
}
-static void hctr2_xctr_done(struct crypto_async_request *areq,
- int err)
+static void hctr2_xctr_done(void *data, int err)
{
- struct skcipher_request *req = areq->data;
+ struct skcipher_request *req = data;
if (!err)
err = hctr2_finish(req);