Home
last modified time | relevance | path

Searched refs:num_levels (Results 1 – 4 of 4) sorted by relevance

/fs/verity/
Denable.c80 const int num_levels = params->num_levels; in build_merkle_tree() local
103 for (level = -1; level < num_levels; level++) { in build_merkle_tree()
110 buffers[num_levels].data = root_hash; in build_merkle_tree()
111 buffers[num_levels].is_root_hash = true; in build_merkle_tree()
138 for (level = 0; level < num_levels; level++) { in build_merkle_tree()
165 for (level = 0; level < num_levels; level++) { in build_merkle_tree()
180 if (WARN_ON(buffers[num_levels].filled != params->digest_size)) { in build_merkle_tree()
186 for (level = -1; level < num_levels; level++) in build_merkle_tree()
Dopen.c111 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()
Dfsverity_private.h50 unsigned int num_levels; /* number of levels in Merkle tree */ member
Dverify.c171 for (level = 0; level < params->num_levels; level++) { in verify_data_block()