Lines Matching refs:req
53 static int ecb_aes_nx_crypt(struct skcipher_request *req,
56 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
71 to_process = req->cryptlen - processed;
73 rc = nx_build_sg_lists(nx_ctx, NULL, req->dst, req->src,
84 req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP);
93 } while (processed < req->cryptlen);
100 static int ecb_aes_nx_encrypt(struct skcipher_request *req)
102 return ecb_aes_nx_crypt(req, 1);
105 static int ecb_aes_nx_decrypt(struct skcipher_request *req)
107 return ecb_aes_nx_crypt(req, 0);