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

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

Completed in 49 milliseconds