Lines Matching refs:async_req
230 static int qce_setup_regs_ahash(struct crypto_async_request *async_req, in qce_setup_regs_ahash() argument
233 struct ahash_request *req = ahash_request_cast(async_req); in qce_setup_regs_ahash()
234 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm); in qce_setup_regs_ahash()
236 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_setup_regs_ahash()
239 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); in qce_setup_regs_ahash()
315 static int qce_setup_regs_ablkcipher(struct crypto_async_request *async_req, in qce_setup_regs_ablkcipher() argument
318 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in qce_setup_regs_ablkcipher()
320 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_setup_regs_ablkcipher()
321 struct qce_alg_template *tmpl = to_cipher_tmpl(async_req->tfm); in qce_setup_regs_ablkcipher()
396 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen, in qce_start() argument
401 return qce_setup_regs_ablkcipher(async_req, totallen, offset); in qce_start()
403 return qce_setup_regs_ahash(async_req, totallen, offset); in qce_start()