summaryrefslogtreecommitdiff
path: root/crypto/seqiv.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-02-08 13:58:44 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 18:35:14 +0800
commita4631368d0d1973c450a6a0f34aec6efde0fc6c9 (patch)
tree78cb3b1ecbc1138a5da43ad848b6f01d6772571a /crypto/seqiv.c
parent988ef87536d48fb2cf8f6f233e4e44d848bcd599 (diff)
downloadlinux-crypto-a4631368d0d1973c450a6a0f34aec6efde0fc6c9.tar.gz
linux-crypto-a4631368d0d1973c450a6a0f34aec6efde0fc6c9.zip
crypto: api - Use data directly in completion function
This patch does the final flag day conversion of all completion functions which are now all contained in the Crypto API. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/seqiv.c')
-rw-r--r--crypto/seqiv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/seqiv.c b/crypto/seqiv.c
index b1bcfe53..17e11d51 100644
--- a/crypto/seqiv.c
+++ b/crypto/seqiv.c
@@ -36,10 +36,9 @@ out:
kfree_sensitive(subreq->iv);
}
-static void seqiv_aead_encrypt_complete(struct crypto_async_request *base,
- int err)
+static void seqiv_aead_encrypt_complete(void *data, int err)
{
- struct aead_request *req = base->data;
+ struct aead_request *req = data;
seqiv_aead_encrypt_complete2(req, err);
aead_request_complete(req, err);