Lines Matching refs:walk
50 struct blkcipher_walk walk; in __speck128_xts_crypt() local
54 blkcipher_walk_init(&walk, dst, src, nbytes); in __speck128_xts_crypt()
55 err = blkcipher_walk_virt_block(desc, &walk, SPECK_NEON_CHUNK_SIZE); in __speck128_xts_crypt()
57 crypto_speck128_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck128_xts_crypt()
59 while (walk.nbytes > 0) { in __speck128_xts_crypt()
60 unsigned int nbytes = walk.nbytes; in __speck128_xts_crypt()
61 u8 *dst = walk.dst.virt.addr; in __speck128_xts_crypt()
62 const u8 *src = walk.src.virt.addr; in __speck128_xts_crypt()
89 err = blkcipher_walk_done(desc, &walk, nbytes); in __speck128_xts_crypt()
161 struct blkcipher_walk walk; in __speck64_xts_crypt() local
165 blkcipher_walk_init(&walk, dst, src, nbytes); in __speck64_xts_crypt()
166 err = blkcipher_walk_virt_block(desc, &walk, SPECK_NEON_CHUNK_SIZE); in __speck64_xts_crypt()
168 crypto_speck64_encrypt(&ctx->tweak_key, (u8 *)&tweak, walk.iv); in __speck64_xts_crypt()
170 while (walk.nbytes > 0) { in __speck64_xts_crypt()
171 unsigned int nbytes = walk.nbytes; in __speck64_xts_crypt()
172 u8 *dst = walk.dst.virt.addr; in __speck64_xts_crypt()
173 const u8 *src = walk.src.virt.addr; in __speck64_xts_crypt()
201 err = blkcipher_walk_done(desc, &walk, nbytes); in __speck64_xts_crypt()