Home
last modified time | relevance | path

Searched refs:fallback_req (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c85 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_init()
86 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_init()
89 return crypto_ahash_init(&rctx->fallback_req); in rk_ahash_init()
98 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_update()
99 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_update()
101 rctx->fallback_req.nbytes = req->nbytes; in rk_ahash_update()
102 rctx->fallback_req.src = req->src; in rk_ahash_update()
104 return crypto_ahash_update(&rctx->fallback_req); in rk_ahash_update()
113 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback_tfm); in rk_ahash_final()
114 rctx->fallback_req.base.flags = req->base.flags & in rk_ahash_final()
[all …]
Drk3288_crypto.h239 struct ahash_request fallback_req; member
/drivers/crypto/
Dimg-hash.c103 struct ahash_request fallback_req; member
487 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
488 rctx->fallback_req.base.flags = req->base.flags in img_hash_init()
491 return crypto_ahash_init(&rctx->fallback_req); in img_hash_init()
551 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
552 rctx->fallback_req.base.flags = req->base.flags in img_hash_update()
554 rctx->fallback_req.nbytes = req->nbytes; in img_hash_update()
555 rctx->fallback_req.src = req->src; in img_hash_update()
557 return crypto_ahash_update(&rctx->fallback_req); in img_hash_update()
566 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
[all …]
Dn2_core.c306 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()
[all …]