Lines Matching refs:req
34 struct ahash_request req; member
59 err = af_alg_wait_for_completion(crypto_ahash_init(&ctx->req), in hash_sendmsg()
82 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, NULL, in hash_sendmsg()
86 crypto_ahash_update(&ctx->req), in hash_sendmsg()
104 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_sendmsg()
105 err = af_alg_wait_for_completion(crypto_ahash_final(&ctx->req), in hash_sendmsg()
130 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); in hash_sendpage()
134 err = crypto_ahash_finup(&ctx->req); in hash_sendpage()
136 err = crypto_ahash_digest(&ctx->req); in hash_sendpage()
139 err = crypto_ahash_init(&ctx->req); in hash_sendpage()
145 err = crypto_ahash_update(&ctx->req); in hash_sendpage()
166 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg()
177 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_recvmsg()
178 err = af_alg_wait_for_completion(crypto_ahash_final(&ctx->req), in hash_recvmsg()
197 struct ahash_request *req = &ctx->req; in hash_accept() local
198 char state[crypto_ahash_statesize(crypto_ahash_reqtfm(req)) ? : 1]; in hash_accept()
204 err = crypto_ahash_export(req, state); in hash_accept()
217 err = crypto_ahash_import(&ctx2->req, state); in hash_accept()
401 crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req))); in hash_sock_destruct()
433 ahash_request_set_tfm(&ctx->req, hash); in hash_accept_parent_nokey()
434 ahash_request_set_callback(&ctx->req, CRYPTO_TFM_REQ_MAY_BACKLOG, in hash_accept_parent_nokey()