Merge tag 'for-6.6-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[platform/kernel/linux-rpi.git] / crypto / ccm.c
index 30dbae7..a945312 100644 (file)
@@ -224,9 +224,9 @@ out:
        return err;
 }
 
-static void crypto_ccm_encrypt_done(struct crypto_async_request *areq, int err)
+static void crypto_ccm_encrypt_done(void *data, int err)
 {
-       struct aead_request *req = areq->data;
+       struct aead_request *req = data;
        struct crypto_aead *aead = crypto_aead_reqtfm(req);
        struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req);
        u8 *odata = pctx->odata;
@@ -320,10 +320,9 @@ static int crypto_ccm_encrypt(struct aead_request *req)
        return err;
 }
 
-static void crypto_ccm_decrypt_done(struct crypto_async_request *areq,
-                                  int err)
+static void crypto_ccm_decrypt_done(void *data, int err)
 {
-       struct aead_request *req = areq->data;
+       struct aead_request *req = data;
        struct crypto_ccm_req_priv_ctx *pctx = crypto_ccm_reqctx(req);
        struct crypto_aead *aead = crypto_aead_reqtfm(req);
        unsigned int authsize = crypto_aead_authsize(aead);