Lines Matching refs:walk
513 struct crypto_hash_walk walk; in n2_do_async_digest() local
536 nbytes = crypto_hash_walk_first(req, &walk); in n2_do_async_digest()
555 ent->src_addr = __pa(walk.data); in n2_do_async_digest()
563 nbytes = crypto_hash_walk_done(&walk, 0); 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()
672 struct ablkcipher_walk walk; member
711 struct ablkcipher_walk walk; member
876 struct ablkcipher_walk *walk = &rctx->walk; in n2_compute_chunks() local
883 ablkcipher_walk_init(walk, req->dst, req->src, req->nbytes); in n2_compute_chunks()
884 err = ablkcipher_walk_phys(req, walk); in n2_compute_chunks()
901 while ((nbytes = walk->nbytes) != 0) { in n2_compute_chunks()
906 src_paddr = (page_to_phys(walk->src.page) + in n2_compute_chunks()
907 walk->src.offset); in n2_compute_chunks()
908 dest_paddr = (page_to_phys(walk->dst.page) + in n2_compute_chunks()
909 walk->dst.offset); in n2_compute_chunks()
911 this_len = cipher_descriptor_len(nbytes, walk->blocksize); in n2_compute_chunks()
942 err = ablkcipher_walk_done(req, walk, nbytes - this_len); in n2_compute_chunks()
960 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); in n2_chunk_complete()
962 ablkcipher_walk_complete(&rctx->walk); in n2_chunk_complete()
1046 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1053 iv_paddr = c->dest_final - rctx->walk.blocksize; in n2_do_chaining()
1063 iv_paddr = __pa(rctx->walk.iv); in n2_do_chaining()
1067 rctx->walk.blocksize); in n2_do_chaining()
1074 rctx->walk.blocksize); in n2_do_chaining()
1077 rctx->walk.blocksize); in n2_do_chaining()