Searched refs:lastn (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/crypto/ |
D | cts.c | 107 int lastn; in cts_cbc_encrypt() local 110 lastn = req->cryptlen - offset; in cts_cbc_encrypt() 116 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_encrypt() 118 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_encrypt() 189 int lastn; in cts_cbc_decrypt() local 192 lastn = req->cryptlen - offset; in cts_cbc_decrypt() 202 scatterwalk_map_and_copy(d, req->src, offset, lastn, 0); in cts_cbc_decrypt() 205 crypto_xor(d + bsize, d, lastn); in cts_cbc_decrypt() 208 memcpy(d + lastn, d + bsize + lastn, bsize - lastn); in cts_cbc_decrypt() 211 scatterwalk_map_and_copy(d, sg, 0, bsize + lastn, 1); in cts_cbc_decrypt()
|