Lines Matching refs:rctx

208 	struct cryptd_blkcipher_request_ctx *rctx;  in cryptd_blkcipher_crypt()  local
211 rctx = ablkcipher_request_ctx(req); in cryptd_blkcipher_crypt()
222 req->base.complete = rctx->complete; in cryptd_blkcipher_crypt()
226 rctx->complete(&req->base, err); in cryptd_blkcipher_crypt()
251 struct cryptd_blkcipher_request_ctx *rctx = ablkcipher_request_ctx(req); in cryptd_blkcipher_enqueue() local
256 rctx->complete = req->base.complete; in cryptd_blkcipher_enqueue()
448 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_enqueue() local
453 rctx->complete = req->base.complete; in cryptd_hash_enqueue()
464 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_init() local
465 struct shash_desc *desc = &rctx->desc; in cryptd_hash_init()
475 req->base.complete = rctx->complete; in cryptd_hash_init()
479 rctx->complete(&req->base, err); in cryptd_hash_init()
491 struct cryptd_hash_request_ctx *rctx; in cryptd_hash_update() local
493 rctx = ahash_request_ctx(req); in cryptd_hash_update()
498 err = shash_ahash_update(req, &rctx->desc); in cryptd_hash_update()
500 req->base.complete = rctx->complete; in cryptd_hash_update()
504 rctx->complete(&req->base, err); in cryptd_hash_update()
516 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_final() local
521 err = crypto_shash_final(&rctx->desc, req->result); in cryptd_hash_final()
523 req->base.complete = rctx->complete; in cryptd_hash_final()
527 rctx->complete(&req->base, err); in cryptd_hash_final()
539 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_finup() local
544 err = shash_ahash_finup(req, &rctx->desc); in cryptd_hash_finup()
546 req->base.complete = rctx->complete; in cryptd_hash_finup()
550 rctx->complete(&req->base, err); in cryptd_hash_finup()
564 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_digest() local
565 struct shash_desc *desc = &rctx->desc; in cryptd_hash_digest()
575 req->base.complete = rctx->complete; in cryptd_hash_digest()
579 rctx->complete(&req->base, err); in cryptd_hash_digest()
590 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_export() local
592 return crypto_shash_export(&rctx->desc, out); in cryptd_hash_export()
597 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_import() local
599 return crypto_shash_import(&rctx->desc, in); in cryptd_hash_import()
689 struct cryptd_aead_request_ctx *rctx; in cryptd_aead_crypt() local
692 rctx = aead_request_ctx(req); in cryptd_aead_crypt()
693 compl = rctx->complete; in cryptd_aead_crypt()
728 struct cryptd_aead_request_ctx *rctx = aead_request_ctx(req); in cryptd_aead_enqueue() local
732 rctx->complete = req->base.complete; in cryptd_aead_enqueue()
950 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_shash_desc() local
951 return &rctx->desc; in cryptd_shash_desc()