Lines Matching refs:subreq

274 	struct skcipher_request subreq;  in cts_cbc_encrypt()  local
278 skcipher_request_set_tfm(&subreq, tfm); in cts_cbc_encrypt()
279 skcipher_request_set_callback(&subreq, skcipher_request_flags(req), in cts_cbc_encrypt()
289 skcipher_request_set_crypt(&subreq, req->src, req->dst, in cts_cbc_encrypt()
293 err = skcipher_walk_virt(&walk, &subreq, false) ?: in cts_cbc_encrypt()
294 cbc_encrypt_walk(&subreq, &walk); in cts_cbc_encrypt()
301 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
304 subreq.cryptlen); in cts_cbc_encrypt()
308 skcipher_request_set_crypt(&subreq, src, dst, in cts_cbc_encrypt()
312 err = skcipher_walk_virt(&walk, &subreq, false); in cts_cbc_encrypt()
332 struct skcipher_request subreq; in cts_cbc_decrypt() local
336 skcipher_request_set_tfm(&subreq, tfm); in cts_cbc_decrypt()
337 skcipher_request_set_callback(&subreq, skcipher_request_flags(req), in cts_cbc_decrypt()
347 skcipher_request_set_crypt(&subreq, req->src, req->dst, in cts_cbc_decrypt()
351 err = skcipher_walk_virt(&walk, &subreq, false) ?: in cts_cbc_decrypt()
352 cbc_decrypt_walk(&subreq, &walk); in cts_cbc_decrypt()
359 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
362 subreq.cryptlen); in cts_cbc_decrypt()
366 skcipher_request_set_crypt(&subreq, src, dst, in cts_cbc_decrypt()
370 err = skcipher_walk_virt(&walk, &subreq, false); in cts_cbc_decrypt()
451 struct skcipher_request subreq; in xts_encrypt() local
466 skcipher_request_set_tfm(&subreq, tfm); in xts_encrypt()
467 skcipher_request_set_callback(&subreq, in xts_encrypt()
470 skcipher_request_set_crypt(&subreq, req->src, req->dst, in xts_encrypt()
473 req = &subreq; in xts_encrypt()
523 struct skcipher_request subreq; in xts_decrypt() local
538 skcipher_request_set_tfm(&subreq, tfm); in xts_decrypt()
539 skcipher_request_set_callback(&subreq, in xts_decrypt()
542 skcipher_request_set_crypt(&subreq, req->src, req->dst, in xts_decrypt()
545 req = &subreq; in xts_decrypt()