Home
last modified time | relevance | path

Searched refs:merkle_tree_height (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/
Dbuilder.rs18 build_fsverity_digest, merkle_tree_height, FsverityError, Sha256Hash, SHA256_HASH_SIZE,
127 let level = merkle_tree_height(size_for_equivalent).unwrap(); // safe since n > 0 in calculate_root_hash()
Dverifier.rs20 use super::common::{build_fsverity_digest, merkle_tree_height, FsverityError, SHA256_HASH_SIZE};
82 let max_level = merkle_tree_height(file_size).expect("file should not be empty") as u32;
Dcommon.rs53 pub fn merkle_tree_height(data_size: u64) -> Option<u64> { in merkle_tree_height() function