Lines Matching refs:walk
27 struct skcipher_walk walk; in crypto_ctr_encrypt_walk() local
34 err = skcipher_walk_virt(&walk, req, false); in crypto_ctr_encrypt_walk()
36 while (walk.nbytes > 0) { in crypto_ctr_encrypt_walk()
37 u8 *dst = walk.dst.virt.addr; in crypto_ctr_encrypt_walk()
38 u8 *src = walk.src.virt.addr; in crypto_ctr_encrypt_walk()
39 int nbytes = walk.nbytes; in crypto_ctr_encrypt_walk()
42 if (nbytes < walk.total) { in crypto_ctr_encrypt_walk()
43 tail = walk.nbytes & (blocksize - 1); in crypto_ctr_encrypt_walk()
50 fn(tfm, walk.iv, buf); in crypto_ctr_encrypt_walk()
53 crypto_inc(walk.iv, blocksize); in crypto_ctr_encrypt_walk()
60 err = skcipher_walk_done(&walk, tail); in crypto_ctr_encrypt_walk()