Lines Matching refs:req
34 struct ahash_request req; member
54 err = crypto_ahash_init(&ctx->req); in hash_sendmsg()
76 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, NULL, in hash_sendmsg()
80 crypto_ahash_update(&ctx->req), in hash_sendmsg()
98 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_sendmsg()
99 err = af_alg_wait_for_completion(crypto_ahash_final(&ctx->req), in hash_sendmsg()
121 ahash_request_set_crypt(&ctx->req, ctx->sgl.sg, ctx->result, size); in hash_sendpage()
125 err = crypto_ahash_finup(&ctx->req); in hash_sendpage()
127 err = crypto_ahash_digest(&ctx->req); in hash_sendpage()
130 err = crypto_ahash_init(&ctx->req); in hash_sendpage()
135 err = crypto_ahash_update(&ctx->req); in hash_sendpage()
156 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg()
169 ahash_request_set_crypt(&ctx->req, NULL, ctx->result, 0); in hash_recvmsg()
170 err = af_alg_wait_for_completion(crypto_ahash_final(&ctx->req), in hash_recvmsg()
189 struct ahash_request *req = &ctx->req; in hash_accept() local
190 char state[crypto_ahash_statesize(crypto_ahash_reqtfm(req))]; in hash_accept()
196 err = crypto_ahash_export(req, state); in hash_accept()
209 err = crypto_ahash_import(&ctx2->req, state); in hash_accept()
261 crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req))); in hash_sock_destruct()
291 ahash_request_set_tfm(&ctx->req, private); in hash_accept_parent()
292 ahash_request_set_callback(&ctx->req, CRYPTO_TFM_REQ_MAY_BACKLOG, in hash_accept_parent()