crypto: nitrox - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2023-01-31 16:02:17 +08:00
parent b34a641672
commit ea2fbe3b1a
1 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ static void nitrox_aead_callback(void *arg, int err)
err = -EINVAL;
}
areq->base.complete(&areq->base, err);
aead_request_complete(areq, err);
}
static inline bool nitrox_aes_gcm_assoclen_supported(unsigned int assoclen)
@ -434,7 +434,7 @@ static void nitrox_rfc4106_callback(void *arg, int err)
err = -EINVAL;
}
areq->base.complete(&areq->base, err);
aead_request_complete(areq, err);
}
static int nitrox_rfc4106_enc(struct aead_request *areq)