Lines Matching refs:walk
99 struct skcipher_walk walk; in __ecb_crypt() local
103 err = skcipher_walk_virt(&walk, req, true); in __ecb_crypt()
111 while ((nbytes = walk.nbytes) != 0) { in __ecb_crypt()
112 des_sparc64_ecb_crypt(walk.src.virt.addr, walk.dst.virt.addr, in __ecb_crypt()
114 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb_crypt()
140 struct skcipher_walk walk; in __cbc_crypt() local
144 err = skcipher_walk_virt(&walk, req, true); in __cbc_crypt()
152 while ((nbytes = walk.nbytes) != 0) { in __cbc_crypt()
154 des_sparc64_cbc_encrypt(walk.src.virt.addr, in __cbc_crypt()
155 walk.dst.virt.addr, in __cbc_crypt()
158 walk.iv); in __cbc_crypt()
160 des_sparc64_cbc_decrypt(walk.src.virt.addr, in __cbc_crypt()
161 walk.dst.virt.addr, in __cbc_crypt()
164 walk.iv); in __cbc_crypt()
165 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc_crypt()
248 struct skcipher_walk walk; in __ecb3_crypt() local
253 err = skcipher_walk_virt(&walk, req, true); in __ecb3_crypt()
262 while ((nbytes = walk.nbytes) != 0) { in __ecb3_crypt()
263 des3_ede_sparc64_ecb_crypt(K, walk.src.virt.addr, in __ecb3_crypt()
264 walk.dst.virt.addr, in __ecb3_crypt()
266 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb3_crypt()
294 struct skcipher_walk walk; in __cbc3_crypt() local
299 err = skcipher_walk_virt(&walk, req, true); in __cbc3_crypt()
308 while ((nbytes = walk.nbytes) != 0) { in __cbc3_crypt()
310 des3_ede_sparc64_cbc_encrypt(K, walk.src.virt.addr, in __cbc3_crypt()
311 walk.dst.virt.addr, in __cbc3_crypt()
314 walk.iv); in __cbc3_crypt()
316 des3_ede_sparc64_cbc_decrypt(K, walk.src.virt.addr, in __cbc3_crypt()
317 walk.dst.virt.addr, in __cbc3_crypt()
320 walk.iv); in __cbc3_crypt()
321 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc3_crypt()