Lines Matching refs:levels
243 int levels = 0; in main() local
245 level_blocks = verity_tree_blocks(calculate_size, block_size, hash_size, levels); in main()
246 levels++; in main()
284 int levels = 0; in main() local
289 level_blocks = verity_tree_blocks(len, block_size, hash_size, levels); in main()
290 levels++; in main()
295 unsigned char **verity_tree_levels = new unsigned char *[levels + 1](); in main()
296 size_t *verity_tree_level_blocks = new size_t[levels](); in main()
302 for (int i = levels - 1; i >= 0; i--) { in main()
308 assert(verity_tree_level_blocks[levels - 1] == 1); in main()
316 verity_tree_levels[levels] = root_hash; in main()
332 for (int i = 0; i < levels; i++) { in main()
338 if (i < levels - 1) { in main()