Source
272
272
273
273
return crypto_skcipher_decrypt(skreq);
274
274
}
275
275
276
276
static void authenc_esn_verify_ahash_done(struct crypto_async_request *areq,
277
277
int err)
278
278
{
279
279
struct aead_request *req = areq->data;
280
280
281
281
err = err ?: crypto_authenc_esn_decrypt_tail(req, 0);
282
-
aead_request_complete(req, err);
282
+
authenc_esn_request_complete(req, err);
283
283
}
284
284
285
285
static int crypto_authenc_esn_decrypt(struct aead_request *req)
286
286
{
287
287
struct crypto_aead *authenc_esn = crypto_aead_reqtfm(req);
288
288
struct authenc_esn_request_ctx *areq_ctx = aead_request_ctx(req);
289
289
struct crypto_authenc_esn_ctx *ctx = crypto_aead_ctx(authenc_esn);
290
290
struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff);
291
291
unsigned int authsize = crypto_aead_authsize(authenc_esn);
292
292
struct crypto_ahash *auth = ctx->auth;