Lines Matching defs:async_req
147 static int qce_setup_regs_ahash(struct crypto_async_request *async_req)
149 struct ahash_request *req = ahash_request_cast(async_req);
150 struct crypto_ahash *ahash = __crypto_ahash_cast(async_req->tfm);
152 struct qce_alg_template *tmpl = to_ahash_tmpl(async_req->tfm);
155 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm);
314 static int qce_setup_regs_skcipher(struct crypto_async_request *async_req)
316 struct skcipher_request *req = skcipher_request_cast(async_req);
318 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm);
420 static int qce_setup_regs_aead(struct crypto_async_request *async_req)
422 struct aead_request *req = aead_request_cast(async_req);
424 struct qce_aead_ctx *ctx = crypto_tfm_ctx(async_req->tfm);
544 int qce_start(struct crypto_async_request *async_req, u32 type)
549 return qce_setup_regs_skcipher(async_req);
553 return qce_setup_regs_ahash(async_req);
557 return qce_setup_regs_aead(async_req);