Lines Matching refs:rctx
209 struct cryptd_blkcipher_request_ctx *rctx; in cryptd_blkcipher_crypt() local
212 rctx = ablkcipher_request_ctx(req); in cryptd_blkcipher_crypt()
223 req->base.complete = rctx->complete; in cryptd_blkcipher_crypt()
227 rctx->complete(&req->base, err); in cryptd_blkcipher_crypt()
252 struct cryptd_blkcipher_request_ctx *rctx = ablkcipher_request_ctx(req); in cryptd_blkcipher_enqueue() local
257 rctx->complete = req->base.complete; in cryptd_blkcipher_enqueue()
439 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_enqueue() local
444 rctx->complete = req->base.complete; in cryptd_hash_enqueue()
455 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_init() local
456 struct shash_desc *desc = &rctx->desc; in cryptd_hash_init()
466 req->base.complete = rctx->complete; in cryptd_hash_init()
470 rctx->complete(&req->base, err); in cryptd_hash_init()
482 struct cryptd_hash_request_ctx *rctx; in cryptd_hash_update() local
484 rctx = ahash_request_ctx(req); in cryptd_hash_update()
489 err = shash_ahash_update(req, &rctx->desc); in cryptd_hash_update()
491 req->base.complete = rctx->complete; in cryptd_hash_update()
495 rctx->complete(&req->base, err); in cryptd_hash_update()
507 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_final() local
512 err = crypto_shash_final(&rctx->desc, req->result); in cryptd_hash_final()
514 req->base.complete = rctx->complete; in cryptd_hash_final()
518 rctx->complete(&req->base, err); in cryptd_hash_final()
530 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_finup() local
535 err = shash_ahash_finup(req, &rctx->desc); in cryptd_hash_finup()
537 req->base.complete = rctx->complete; in cryptd_hash_finup()
541 rctx->complete(&req->base, err); in cryptd_hash_finup()
555 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_digest() local
556 struct shash_desc *desc = &rctx->desc; in cryptd_hash_digest()
566 req->base.complete = rctx->complete; in cryptd_hash_digest()
570 rctx->complete(&req->base, err); in cryptd_hash_digest()
581 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_export() local
583 return crypto_shash_export(&rctx->desc, out); in cryptd_hash_export()
588 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_hash_import() local
590 return crypto_shash_import(&rctx->desc, in); in cryptd_hash_import()
662 struct cryptd_aead_request_ctx *rctx; in cryptd_aead_crypt() local
663 rctx = aead_request_ctx(req); in cryptd_aead_crypt()
669 req->base.complete = rctx->complete; in cryptd_aead_crypt()
672 rctx->complete(&req->base, err); in cryptd_aead_crypt()
699 struct cryptd_aead_request_ctx *rctx = aead_request_ctx(req); in cryptd_aead_enqueue() local
703 rctx->complete = req->base.complete; in cryptd_aead_enqueue()
920 struct cryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in cryptd_shash_desc() local
921 return &rctx->desc; in cryptd_shash_desc()