Lines Matching refs:req
98 static int crypto_ctr_crypt(struct skcipher_request *req)
100 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
107 err = skcipher_walk_virt(&walk, req, false);
189 static int crypto_rfc3686_crypt(struct skcipher_request *req)
191 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
196 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1);
202 memcpy(iv + CTR_RFC3686_NONCE_SIZE, req->iv, CTR_RFC3686_IV_SIZE);
209 skcipher_request_set_callback(subreq, req->base.flags,
210 req->base.complete, req->base.data);
211 skcipher_request_set_crypt(subreq, req->src, req->dst,
212 req->cryptlen, iv);