Lines Matching refs:base

254 	req->base.complete = subreq->base.complete;  in cryptd_skcipher_prepare()
255 req->base.data = subreq->base.data; in cryptd_skcipher_prepare()
286 subreq->base.complete = req->base.complete; in cryptd_skcipher_complete()
287 subreq->base.data = req->base.data; in cryptd_skcipher_complete()
288 req->base.complete = complete; in cryptd_skcipher_complete()
289 req->base.data = req; in cryptd_skcipher_complete()
327 subreq->base.complete = req->base.complete; in cryptd_skcipher_enqueue()
328 subreq->base.data = req->base.data; in cryptd_skcipher_enqueue()
329 req->base.complete = compl; in cryptd_skcipher_enqueue()
330 req->base.data = req; in cryptd_skcipher_enqueue()
332 return cryptd_enqueue_request(queue, &req->base); in cryptd_skcipher_enqueue()
406 err = cryptd_init_instance(skcipher_crypto_instance(inst), &alg->base); in cryptd_create_skcipher()
410 inst->alg.base.cra_flags |= CRYPTO_ALG_ASYNC | in cryptd_create_skcipher()
411 (alg->base.cra_flags & CRYPTO_ALG_INTERNAL); in cryptd_create_skcipher()
417 inst->alg.base.cra_ctxsize = sizeof(struct cryptd_skcipher_ctx); in cryptd_create_skcipher()
497 rctx->complete = req->base.complete; in cryptd_hash_enqueue()
498 rctx->data = req->base.data; in cryptd_hash_enqueue()
499 req->base.complete = compl; in cryptd_hash_enqueue()
500 req->base.data = req; in cryptd_hash_enqueue()
502 return cryptd_enqueue_request(queue, &req->base); in cryptd_hash_enqueue()
510 req->base.complete = rctx->complete; in cryptd_hash_prepare()
511 req->base.data = rctx->data; in cryptd_hash_prepare()
531 req->base.complete = complete; in cryptd_hash_complete()
532 req->base.data = req; in cryptd_hash_complete()
690 err = cryptd_init_instance(ahash_crypto_instance(inst), &alg->base); in cryptd_create_hash()
694 inst->alg.halg.base.cra_flags |= CRYPTO_ALG_ASYNC | in cryptd_create_hash()
695 (alg->base.cra_flags & (CRYPTO_ALG_INTERNAL| in cryptd_create_hash()
699 inst->alg.halg.base.cra_ctxsize = sizeof(struct cryptd_hash_ctx); in cryptd_create_hash()
756 req->base.complete = subreq->base.complete; in cryptd_aead_crypt()
757 req->base.data = subreq->base.data; in cryptd_aead_crypt()
782 subreq->base.complete = req->base.complete; in cryptd_aead_crypt()
783 subreq->base.data = req->base.data; in cryptd_aead_crypt()
784 req->base.complete = compl; in cryptd_aead_crypt()
785 req->base.data = req; in cryptd_aead_crypt()
822 subreq->base.complete = req->base.complete; in cryptd_aead_enqueue()
823 subreq->base.data = req->base.data; in cryptd_aead_enqueue()
824 req->base.complete = compl; in cryptd_aead_enqueue()
825 req->base.data = req; in cryptd_aead_enqueue()
826 return cryptd_enqueue_request(queue, &req->base); in cryptd_aead_enqueue()
899 err = cryptd_init_instance(aead_crypto_instance(inst), &alg->base); in cryptd_create_aead()
903 inst->alg.base.cra_flags |= CRYPTO_ALG_ASYNC | in cryptd_create_aead()
904 (alg->base.cra_flags & CRYPTO_ALG_INTERNAL); in cryptd_create_aead()
905 inst->alg.base.cra_ctxsize = sizeof(struct cryptd_aead_ctx); in cryptd_create_aead()
970 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_skcipher()
978 return container_of(tfm, struct cryptd_skcipher, base); in cryptd_alloc_skcipher()
984 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); in cryptd_skcipher_child()
992 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); in cryptd_skcipher_queued()
1000 struct cryptd_skcipher_ctx *ctx = crypto_skcipher_ctx(&tfm->base); in cryptd_free_skcipher()
1003 crypto_free_skcipher(&tfm->base); in cryptd_free_skcipher()
1020 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_ahash()
1034 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_child()
1049 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_ahash_queued()
1057 struct cryptd_hash_ctx *ctx = crypto_ahash_ctx(&tfm->base); in cryptd_free_ahash()
1060 crypto_free_ahash(&tfm->base); in cryptd_free_ahash()
1077 if (tfm->base.__crt_alg->cra_module != THIS_MODULE) { in cryptd_alloc_aead()
1092 ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_child()
1099 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_aead_queued()
1107 struct cryptd_aead_ctx *ctx = crypto_aead_ctx(&tfm->base); in cryptd_free_aead()
1110 crypto_free_aead(&tfm->base); in cryptd_free_aead()