Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 2 of 2) sorted by relevance

/system/extras/verity/
Dbuild_verity_tree.cpp23 uint64_t hash_size; member
38 size_t verity_tree_blocks(uint64_t data_size, size_t block_size, size_t hash_size, in verity_tree_blocks() argument
42 int hashes_per_block = div_round_up(block_size, hash_size); in verity_tree_blocks()
103 memcpy(ctx->hashes, ctx->zero_block_hash, ctx->hash_size); in hash_chunk()
104 ctx->hashes += ctx->hash_size; in hash_chunk()
212 size_t hash_size = EVP_MD_size(md); in main() local
213 assert(hash_size * 2 < block_size); in main()
216 salt_size = hash_size; in main()
243 level_blocks = verity_tree_blocks(calculate_size, block_size, hash_size, levels); in main()
287 level_blocks = verity_tree_blocks(len, block_size, hash_size, levels); in main()
[all …]
/system/bt/osi/src/
Dhash_map.c34 size_t hash_size; member
101 return (hash_map->hash_size == 0); in hash_map_is_empty()
106 return hash_map->hash_size; in hash_map_size()
144 hash_map->hash_size++; in hash_map_set()
168 hash_map->hash_size--; in hash_map_erase()