Lines Matching refs:subreq

373 	struct skcipher_request subreq;  in cts_cbc_encrypt()  local
377 skcipher_request_set_tfm(&subreq, tfm); in cts_cbc_encrypt()
378 skcipher_request_set_callback(&subreq, skcipher_request_flags(req), in cts_cbc_encrypt()
388 skcipher_request_set_crypt(&subreq, req->src, req->dst, in cts_cbc_encrypt()
392 err = cbc_encrypt(&subreq); in cts_cbc_encrypt()
399 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_encrypt()
402 subreq.cryptlen); in cts_cbc_encrypt()
406 skcipher_request_set_crypt(&subreq, src, dst, in cts_cbc_encrypt()
410 err = skcipher_walk_virt(&walk, &subreq, false); in cts_cbc_encrypt()
429 struct skcipher_request subreq; in cts_cbc_decrypt() local
433 skcipher_request_set_tfm(&subreq, tfm); in cts_cbc_decrypt()
434 skcipher_request_set_callback(&subreq, skcipher_request_flags(req), in cts_cbc_decrypt()
444 skcipher_request_set_crypt(&subreq, req->src, req->dst, in cts_cbc_decrypt()
448 err = cbc_decrypt(&subreq); in cts_cbc_decrypt()
455 dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); in cts_cbc_decrypt()
458 subreq.cryptlen); in cts_cbc_decrypt()
462 skcipher_request_set_crypt(&subreq, src, dst, in cts_cbc_decrypt()
466 err = skcipher_walk_virt(&walk, &subreq, false); in cts_cbc_decrypt()
844 struct skcipher_request subreq; in xts_crypt() local
860 skcipher_request_set_tfm(&subreq, tfm); in xts_crypt()
861 skcipher_request_set_callback(&subreq, in xts_crypt()
864 skcipher_request_set_crypt(&subreq, req->src, req->dst, in xts_crypt()
866 req = &subreq; in xts_crypt()
913 err = skcipher_walk_virt(&walk, &subreq, false); in xts_crypt()