Lines Matching refs:walk
525 struct crypto_hash_walk walk; in n2_do_async_digest() local
548 nbytes = crypto_hash_walk_first(req, &walk); in n2_do_async_digest()
567 ent->src_addr = __pa(walk.data); in n2_do_async_digest()
575 nbytes = crypto_hash_walk_done(&walk, 0); in n2_do_async_digest()
580 ent->src_addr = __pa(walk.data); in n2_do_async_digest()
588 nbytes = crypto_hash_walk_done(&walk, 0); in n2_do_async_digest()
683 struct skcipher_walk walk; member
722 struct skcipher_walk walk; member
850 struct skcipher_walk *walk = &rctx->walk; in n2_compute_chunks() local
857 err = skcipher_walk_async(walk, req); in n2_compute_chunks()
874 while ((nbytes = walk->nbytes) != 0) { in n2_compute_chunks()
879 src_paddr = (page_to_phys(walk->src.phys.page) + in n2_compute_chunks()
880 walk->src.phys.offset); in n2_compute_chunks()
881 dest_paddr = (page_to_phys(walk->dst.phys.page) + in n2_compute_chunks()
882 walk->dst.phys.offset); in n2_compute_chunks()
884 this_len = skcipher_descriptor_len(nbytes, walk->blocksize); in n2_compute_chunks()
915 err = skcipher_walk_done(walk, nbytes - this_len); in n2_compute_chunks()
933 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); in n2_chunk_complete()
1018 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1025 iv_paddr = c->dest_final - rctx->walk.blocksize; in n2_do_chaining()
1035 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1039 rctx->walk.blocksize); in n2_do_chaining()
1046 rctx->walk.blocksize); in n2_do_chaining()
1049 rctx->walk.blocksize); in n2_do_chaining()