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