• Home
  • Raw
  • Download

Lines Matching refs:walk

98 	struct blkcipher_walk walk;  in __ecb_crypt()  local
101 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb_crypt()
102 err = blkcipher_walk_virt(desc, &walk); in __ecb_crypt()
109 while ((nbytes = walk.nbytes)) { in __ecb_crypt()
113 des_sparc64_ecb_crypt((const u64 *)walk.src.virt.addr, in __ecb_crypt()
114 (u64 *) walk.dst.virt.addr, in __ecb_crypt()
118 err = blkcipher_walk_done(desc, &walk, nbytes); in __ecb_crypt()
146 struct blkcipher_walk walk; in cbc_encrypt() local
149 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_encrypt()
150 err = blkcipher_walk_virt(desc, &walk); in cbc_encrypt()
154 while ((nbytes = walk.nbytes)) { in cbc_encrypt()
158 des_sparc64_cbc_encrypt((const u64 *)walk.src.virt.addr, in cbc_encrypt()
159 (u64 *) walk.dst.virt.addr, in cbc_encrypt()
160 block_len, (u64 *) walk.iv); in cbc_encrypt()
163 err = blkcipher_walk_done(desc, &walk, nbytes); in cbc_encrypt()
177 struct blkcipher_walk walk; in cbc_decrypt() local
180 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_decrypt()
181 err = blkcipher_walk_virt(desc, &walk); in cbc_decrypt()
185 while ((nbytes = walk.nbytes)) { in cbc_decrypt()
189 des_sparc64_cbc_decrypt((const u64 *)walk.src.virt.addr, in cbc_decrypt()
190 (u64 *) walk.dst.virt.addr, in cbc_decrypt()
191 block_len, (u64 *) walk.iv); in cbc_decrypt()
194 err = blkcipher_walk_done(desc, &walk, nbytes); in cbc_decrypt()
266 struct blkcipher_walk walk; in __ecb3_crypt() local
270 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb3_crypt()
271 err = blkcipher_walk_virt(desc, &walk); in __ecb3_crypt()
279 while ((nbytes = walk.nbytes)) { in __ecb3_crypt()
283 const u64 *src64 = (const u64 *)walk.src.virt.addr; in __ecb3_crypt()
285 (u64 *) walk.dst.virt.addr, in __ecb3_crypt()
289 err = blkcipher_walk_done(desc, &walk, nbytes); in __ecb3_crypt()
318 struct blkcipher_walk walk; in cbc3_encrypt() local
322 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc3_encrypt()
323 err = blkcipher_walk_virt(desc, &walk); in cbc3_encrypt()
328 while ((nbytes = walk.nbytes)) { in cbc3_encrypt()
332 const u64 *src64 = (const u64 *)walk.src.virt.addr; in cbc3_encrypt()
334 (u64 *) walk.dst.virt.addr, in cbc3_encrypt()
336 (u64 *) walk.iv); in cbc3_encrypt()
339 err = blkcipher_walk_done(desc, &walk, nbytes); in cbc3_encrypt()
354 struct blkcipher_walk walk; in cbc3_decrypt() local
358 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc3_decrypt()
359 err = blkcipher_walk_virt(desc, &walk); in cbc3_decrypt()
364 while ((nbytes = walk.nbytes)) { in cbc3_decrypt()
368 const u64 *src64 = (const u64 *)walk.src.virt.addr; in cbc3_decrypt()
370 (u64 *) walk.dst.virt.addr, in cbc3_decrypt()
372 (u64 *) walk.iv); in cbc3_decrypt()
375 err = blkcipher_walk_done(desc, &walk, nbytes); in cbc3_decrypt()