Lines Matching refs:sg_in
85 struct scatterlist sg_in[4]; member
529 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_lmk_gen()
679 sg = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_tcw_gen()
978 sg2 = crypt_get_sg_data(cc, dmreq->sg_in); in crypt_iv_elephant()
1320 sg_init_table(dmreq->sg_in, 4); in crypt_convert_block_aead()
1321 sg_set_buf(&dmreq->sg_in[0], sector, sizeof(uint64_t)); in crypt_convert_block_aead()
1322 sg_set_buf(&dmreq->sg_in[1], org_iv, cc->iv_size); in crypt_convert_block_aead()
1323 sg_set_page(&dmreq->sg_in[2], bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_aead()
1324 sg_set_buf(&dmreq->sg_in[3], tag, cc->integrity_tag_size); in crypt_convert_block_aead()
1350 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead()
1357 aead_request_set_crypt(req, dmreq->sg_in, dmreq->sg_out, in crypt_convert_block_aead()
1384 struct scatterlist *sg_in, *sg_out; in crypt_convert_block_skcipher() local
1410 sg_in = &dmreq->sg_in[0]; in crypt_convert_block_skcipher()
1413 sg_init_table(sg_in, 1); in crypt_convert_block_skcipher()
1414 sg_set_page(sg_in, bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_skcipher()
1429 sg_in = sg_out; in crypt_convert_block_skcipher()
1438 skcipher_request_set_crypt(req, sg_in, sg_out, cc->sector_size, iv); in crypt_convert_block_skcipher()