Lines Matching refs:rctx
272 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_complete() local
276 rctx->complete(&req->base, err); in cryptd_skcipher_complete()
287 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_encrypt() local
305 req->base.complete = rctx->complete; in cryptd_skcipher_encrypt()
315 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_decrypt() local
333 req->base.complete = rctx->complete; in cryptd_skcipher_decrypt()
342 struct cryptd_skcipher_request_ctx *rctx = skcipher_request_ctx(req); in cryptd_skcipher_enqueue() local
347 rctx->complete = req->base.complete; in cryptd_skcipher_enqueue()
508 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_enqueue() local
513 rctx->complete = req->base.complete; in cryptd_hash_enqueue()
523 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_complete() local
527 rctx->complete(&req->base, err); in cryptd_hash_complete()
539 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_init() local
540 struct shash_desc *desc = &rctx->desc; in cryptd_hash_init()
549 req->base.complete = rctx->complete; in cryptd_hash_init()
563 struct cryptd_hash_request_ctx *rctx; in cryptd_hash_update() local
565 rctx = ahash_request_ctx(req); in cryptd_hash_update()
570 err = shash_ahash_update(req, &rctx->desc); in cryptd_hash_update()
572 req->base.complete = rctx->complete; in cryptd_hash_update()
586 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_final() local
591 err = crypto_shash_final(&rctx->desc, req->result); in cryptd_hash_final()
593 req->base.complete = rctx->complete; in cryptd_hash_final()
607 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_finup() local
612 err = shash_ahash_finup(req, &rctx->desc); in cryptd_hash_finup()
614 req->base.complete = rctx->complete; in cryptd_hash_finup()
630 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_digest() local
631 struct shash_desc *desc = &rctx->desc; in cryptd_hash_digest()
640 req->base.complete = rctx->complete; in cryptd_hash_digest()
653 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_export() local
655 return crypto_shash_export(&rctx->desc, out); in cryptd_hash_export()
757 struct cryptd_aead_request_ctx *rctx; in cryptd_aead_crypt() local
763 rctx = aead_request_ctx(req); in cryptd_aead_crypt()
764 compl = rctx->complete; in cryptd_aead_crypt()
808 struct cryptd_aead_request_ctx *rctx = aead_request_ctx(req); in cryptd_aead_enqueue() local
812 rctx->complete = req->base.complete; in cryptd_aead_enqueue()
1048 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_shash_desc() local
1049 return &rctx->desc; in cryptd_shash_desc()