diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-08 06:58:44 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 11:35:14 +0100 |
commit | 255e48eb17684157336bd6dd98d22c1b2d9e3f43 (patch) | |
tree | be544df2392141ee0377b775ddd146b2dfdf45a3 /crypto/adiantum.c | |
parent | crypto: talitos - Use request_complete helpers (diff) | |
download | linux-255e48eb17684157336bd6dd98d22c1b2d9e3f43.tar.xz linux-255e48eb17684157336bd6dd98d22c1b2d9e3f43.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/adiantum.c')
-rw-r--r-- | crypto/adiantum.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/adiantum.c b/crypto/adiantum.c index 84450130cb6b..c33ba22a6638 100644 --- a/crypto/adiantum.c +++ b/crypto/adiantum.c @@ -308,10 +308,9 @@ static int adiantum_finish(struct skcipher_request *req) return 0; } -static void adiantum_streamcipher_done(struct crypto_async_request *areq, - int err) +static void adiantum_streamcipher_done(void *data, int err) { - struct skcipher_request *req = areq->data; + struct skcipher_request *req = data; if (!err) err = adiantum_finish(req); |