Lines Matching refs:walk
526 struct crypto_hash_walk walk; in n2_do_async_digest() local
549 nbytes = crypto_hash_walk_first(req, &walk); in n2_do_async_digest()
568 ent->src_addr = __pa(walk.data); in n2_do_async_digest()
576 nbytes = crypto_hash_walk_done(&walk, 0); in n2_do_async_digest()
581 ent->src_addr = __pa(walk.data); in n2_do_async_digest()
589 nbytes = crypto_hash_walk_done(&walk, 0); in n2_do_async_digest()
684 struct skcipher_walk walk; member
723 struct skcipher_walk walk; member
851 struct skcipher_walk *walk = &rctx->walk; in n2_compute_chunks() local
858 err = skcipher_walk_async(walk, req); in n2_compute_chunks()
875 while ((nbytes = walk->nbytes) != 0) { in n2_compute_chunks()
880 src_paddr = (page_to_phys(walk->src.phys.page) + in n2_compute_chunks()
881 walk->src.phys.offset); in n2_compute_chunks()
882 dest_paddr = (page_to_phys(walk->dst.phys.page) + in n2_compute_chunks()
883 walk->dst.phys.offset); in n2_compute_chunks()
885 this_len = skcipher_descriptor_len(nbytes, walk->blocksize); in n2_compute_chunks()
916 err = skcipher_walk_done(walk, nbytes - this_len); in n2_compute_chunks()
934 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); in n2_chunk_complete()
1019 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1026 iv_paddr = c->dest_final - rctx->walk.blocksize; in n2_do_chaining()
1036 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1040 rctx->walk.blocksize); in n2_do_chaining()
1047 rctx->walk.blocksize); in n2_do_chaining()
1050 rctx->walk.blocksize); in n2_do_chaining()