Lines Matching refs:walk

60 	int (*skcipher_walk_init)(struct skcipher_walk *walk,
73 struct scatter_walk walk; in crypto_aegis128_aesni_process_ad() local
77 scatterwalk_start(&walk, sg_src); in crypto_aegis128_aesni_process_ad()
79 unsigned int size = scatterwalk_clamp(&walk, assoclen); in crypto_aegis128_aesni_process_ad()
81 void *mapped = scatterwalk_map(&walk); in crypto_aegis128_aesni_process_ad()
107 scatterwalk_advance(&walk, size); in crypto_aegis128_aesni_process_ad()
108 scatterwalk_done(&walk, 0, assoclen); in crypto_aegis128_aesni_process_ad()
118 struct aegis_state *state, struct skcipher_walk *walk, in crypto_aegis128_aesni_process_crypt() argument
121 while (walk->nbytes >= AEGIS128_BLOCK_SIZE) { in crypto_aegis128_aesni_process_crypt()
123 round_down(walk->nbytes, AEGIS128_BLOCK_SIZE), in crypto_aegis128_aesni_process_crypt()
124 walk->src.virt.addr, walk->dst.virt.addr); in crypto_aegis128_aesni_process_crypt()
125 skcipher_walk_done(walk, walk->nbytes % AEGIS128_BLOCK_SIZE); in crypto_aegis128_aesni_process_crypt()
128 if (walk->nbytes) { in crypto_aegis128_aesni_process_crypt()
129 ops->crypt_tail(state, walk->nbytes, walk->src.virt.addr, in crypto_aegis128_aesni_process_crypt()
130 walk->dst.virt.addr); in crypto_aegis128_aesni_process_crypt()
131 skcipher_walk_done(walk, 0); in crypto_aegis128_aesni_process_crypt()
172 struct skcipher_walk walk; in crypto_aegis128_aesni_crypt() local
175 ops->skcipher_walk_init(&walk, req, true); in crypto_aegis128_aesni_crypt()
181 crypto_aegis128_aesni_process_crypt(&state, &walk, ops); in crypto_aegis128_aesni_crypt()