Lines Matching refs:fallback_req

306 	struct ahash_request		fallback_req;  member
315 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_init()
316 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_init()
318 return crypto_ahash_init(&rctx->fallback_req); in n2_hash_async_init()
327 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_update()
328 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_update()
329 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_update()
330 rctx->fallback_req.src = req->src; in n2_hash_async_update()
332 return crypto_ahash_update(&rctx->fallback_req); in n2_hash_async_update()
341 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_final()
342 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_final()
343 rctx->fallback_req.result = req->result; in n2_hash_async_final()
345 return crypto_ahash_final(&rctx->fallback_req); in n2_hash_async_final()
354 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hash_async_finup()
355 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; in n2_hash_async_finup()
356 rctx->fallback_req.nbytes = req->nbytes; in n2_hash_async_finup()
357 rctx->fallback_req.src = req->src; in n2_hash_async_finup()
358 rctx->fallback_req.result = req->result; in n2_hash_async_finup()
360 return crypto_ahash_finup(&rctx->fallback_req); in n2_hash_async_finup()
540 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_do_async_digest()
541 rctx->fallback_req.base.flags = in n2_do_async_digest()
543 rctx->fallback_req.nbytes = req->nbytes; in n2_do_async_digest()
544 rctx->fallback_req.src = req->src; in n2_do_async_digest()
545 rctx->fallback_req.result = req->result; in n2_do_async_digest()
547 return crypto_ahash_digest(&rctx->fallback_req); in n2_do_async_digest()
641 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in n2_hmac_async_digest()
642 rctx->fallback_req.base.flags = in n2_hmac_async_digest()
644 rctx->fallback_req.nbytes = req->nbytes; in n2_hmac_async_digest()
645 rctx->fallback_req.src = req->src; in n2_hmac_async_digest()
646 rctx->fallback_req.result = req->result; in n2_hmac_async_digest()
648 return crypto_ahash_digest(&rctx->fallback_req); in n2_hmac_async_digest()