Searched refs:num_levels (Results 1 – 4 of 4) sorted by relevance
79 const int num_levels = params->num_levels; in build_merkle_tree() local102 for (level = -1; level < num_levels; level++) { in build_merkle_tree()109 buffers[num_levels].data = root_hash; in build_merkle_tree()110 buffers[num_levels].is_root_hash = true; in build_merkle_tree()137 for (level = 0; level < num_levels; level++) { in build_merkle_tree()164 for (level = 0; level < num_levels; level++) { in build_merkle_tree()179 if (WARN_ON(buffers[num_levels].filled != params->digest_size)) { in build_merkle_tree()185 for (level = -1; level < num_levels; level++) in build_merkle_tree()
111 if (params->num_levels >= FS_VERITY_MAX_LEVELS) { in fsverity_init_merkle_tree_params()118 blocks_in_level[params->num_levels++] = blocks; in fsverity_init_merkle_tree_params()123 for (level = (int)params->num_levels - 1; level >= 0; level--) { in fsverity_init_merkle_tree_params()
50 unsigned int num_levels; /* number of levels in Merkle tree */ member
171 for (level = 0; level < params->num_levels; level++) { in verify_data_block()