Lines Matching refs:async_req
142 static int qce_setup_regs_ahash(struct crypto_async_request *async_req, in qce_setup_regs_ahash() argument
145 struct ahash_request *req = ahash_request_cast(async_req); in qce_setup_regs_ahash()
146 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm); in qce_setup_regs_ahash()
148 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_setup_regs_ahash()
151 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); in qce_setup_regs_ahash()
308 static int qce_setup_regs_skcipher(struct crypto_async_request *async_req, in qce_setup_regs_skcipher() argument
311 struct skcipher_request *req = skcipher_request_cast(async_req); in qce_setup_regs_skcipher()
313 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_setup_regs_skcipher()
390 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen, in qce_start() argument
396 return qce_setup_regs_skcipher(async_req, totallen, offset); in qce_start()
400 return qce_setup_regs_ahash(async_req, totallen, offset); in qce_start()