Searched refs:hash_tree (Results 1 – 2 of 2) sorted by relevance
77 let mut hash_tree = vec![0; tree_size]; in generate_hash_tree() localVariable84 let mut level0 = Cursor::new(&mut hash_tree[cur.start..cur.end]); in generate_hash_tree()100 let cur_and_prev = &mut hash_tree[cur.start..prev.end]; in generate_hash_tree()109 Ok(hash_tree) in generate_hash_tree()
166 let hash_tree = HashTree::from(&mut apk, size, salt, block_size, algorithm)?; in create() localVariable172 merkle_tree_size: hash_tree.tree.len() as u32, in create()174 data: Cursor::new(hash_tree.tree), in create()176 ret.hashing_info.raw_root_hash = hash_tree.root_hash.into_boxed_slice(); in create()