Searched refs:fallback_req (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/crypto/
H A Dimg-hash.c106 struct ahash_request fallback_req; member in struct:img_hash_request_ctx
487 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); img_hash_init()
488 rctx->fallback_req.base.flags = req->base.flags img_hash_init()
491 return crypto_ahash_init(&rctx->fallback_req); img_hash_init()
551 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); img_hash_update()
552 rctx->fallback_req.base.flags = req->base.flags img_hash_update()
554 rctx->fallback_req.nbytes = req->nbytes; img_hash_update()
555 rctx->fallback_req.src = req->src; img_hash_update()
557 return crypto_ahash_update(&rctx->fallback_req); img_hash_update()
566 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); img_hash_final()
567 rctx->fallback_req.base.flags = req->base.flags img_hash_final()
569 rctx->fallback_req.result = req->result; img_hash_final()
571 return crypto_ahash_final(&rctx->fallback_req); img_hash_final()
580 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); img_hash_finup()
581 rctx->fallback_req.base.flags = req->base.flags img_hash_finup()
583 rctx->fallback_req.nbytes = req->nbytes; img_hash_finup()
584 rctx->fallback_req.src = req->src; img_hash_finup()
585 rctx->fallback_req.result = req->result; img_hash_finup()
587 return crypto_ahash_finup(&rctx->fallback_req); img_hash_finup()
H A Dn2_core.c300 struct ahash_request fallback_req; member in struct:n2_hash_req_ctx
309 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_hash_async_init()
310 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; n2_hash_async_init()
312 return crypto_ahash_init(&rctx->fallback_req); n2_hash_async_init()
321 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_hash_async_update()
322 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; n2_hash_async_update()
323 rctx->fallback_req.nbytes = req->nbytes; n2_hash_async_update()
324 rctx->fallback_req.src = req->src; n2_hash_async_update()
326 return crypto_ahash_update(&rctx->fallback_req); n2_hash_async_update()
335 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_hash_async_final()
336 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; n2_hash_async_final()
337 rctx->fallback_req.result = req->result; n2_hash_async_final()
339 return crypto_ahash_final(&rctx->fallback_req); n2_hash_async_final()
348 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_hash_async_finup()
349 rctx->fallback_req.base.flags = req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP; n2_hash_async_finup()
350 rctx->fallback_req.nbytes = req->nbytes; n2_hash_async_finup()
351 rctx->fallback_req.src = req->src; n2_hash_async_finup()
352 rctx->fallback_req.result = req->result; n2_hash_async_finup()
354 return crypto_ahash_finup(&rctx->fallback_req); n2_hash_async_finup()
526 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_do_async_digest()
527 rctx->fallback_req.base.flags = n2_do_async_digest()
529 rctx->fallback_req.nbytes = req->nbytes; n2_do_async_digest()
530 rctx->fallback_req.src = req->src; n2_do_async_digest()
531 rctx->fallback_req.result = req->result; n2_do_async_digest()
533 return crypto_ahash_digest(&rctx->fallback_req); n2_do_async_digest()
627 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); n2_hmac_async_digest()
628 rctx->fallback_req.base.flags = n2_hmac_async_digest()
630 rctx->fallback_req.nbytes = req->nbytes; n2_hmac_async_digest()
631 rctx->fallback_req.src = req->src; n2_hmac_async_digest()
632 rctx->fallback_req.result = req->result; n2_hmac_async_digest()
634 return crypto_ahash_digest(&rctx->fallback_req); n2_hmac_async_digest()

Completed in 117 milliseconds