Lines Matching refs:async_req
146 static int qce_setup_regs_ahash(struct crypto_async_request *async_req) in qce_setup_regs_ahash() argument
148 struct ahash_request *req = ahash_request_cast(async_req); in qce_setup_regs_ahash()
149 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm); in qce_setup_regs_ahash()
151 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm); in qce_setup_regs_ahash()
154 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); in qce_setup_regs_ahash()
313 static int qce_setup_regs_skcipher(struct crypto_async_request *async_req) in qce_setup_regs_skcipher() argument
315 struct skcipher_request *req = skcipher_request_cast(async_req); in qce_setup_regs_skcipher()
317 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_setup_regs_skcipher()
419 static int qce_setup_regs_aead(struct crypto_async_request *async_req) in qce_setup_regs_aead() argument
421 struct aead_request *req = aead_request_cast(async_req); in qce_setup_regs_aead()
423 struct qce_aead_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_setup_regs_aead()
543 int qce_start(struct crypto_async_request *async_req, u32 type) in qce_start() argument
548 return qce_setup_regs_skcipher(async_req); in qce_start()
552 return qce_setup_regs_ahash(async_req); in qce_start()
556 return qce_setup_regs_aead(async_req); in qce_start()