Searched refs:hash_size (Results 1 – 10 of 10) sorted by relevance
/aosp12/system/extras/verity/ |
H A D | build_verity_tree_utils.cpp | 24 size_t hash_size, size_t level) { in verity_tree_blocks() argument 26 uint64_t hashes_per_block = div_round_up(block_size, hash_size); in verity_tree_blocks()
|
H A D | build_verity_tree_utils.h | 26 size_t hash_size, size_t level);
|
H A D | hash_tree_builder.cpp | 100 uint64_t input_size, size_t block_size, size_t hash_size) { in CalculateSize() argument 106 verity_tree_blocks(input_size, block_size, hash_size, levels); in CalculateSize()
|
H A D | build_verity_tree_main.cpp | 141 salt.resize(builder.hash_size()); in main()
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | package_test.cpp | 85 uint64_t hash_size = file_content_.size() / 2; in TEST_F() local 87 SHA1(reinterpret_cast<uint8_t*>(file_content_.data()), hash_size, expected_sha.data()); in TEST_F() 94 package->UpdateHashAtOffset(hashers, 0, hash_size); in TEST_F()
|
/aosp12/system/extras/libfec/ |
H A D | fec_verity.cpp | 133 unsigned int hash_size; in get_hash() local 134 EVP_DigestFinal_ex(mdctx, hash, &hash_size); in get_hash() 137 check(hash_size == digest_length_); in get_hash() 213 uint64_t hash_size = verity_get_size(data_blocks * FEC_BLOCKSIZE, &levels, in verify_tree() local 216 check(hash_start < UINT64_MAX - hash_size); in verify_tree() 217 check(hash_start + hash_size <= f->data_size); in verify_tree() 260 check(hash_data_blocks <= hash_size / FEC_BLOCKSIZE); in verify_tree()
|
/aosp12/system/extras/verity/include/verity/ |
H A D | hash_tree_builder.h | 41 static uint64_t CalculateSize(uint64_t input_size, size_t block_size, size_t hash_size); 60 size_t hash_size() const { return hash_size_; } in hash_size() function
|
/aosp12/system/extras/libfec/test/ |
H A D | fec_unittest.cpp | 153 uint64_t hash_size = in TEST_F() local 156 ASSERT_EQ(hashtree_content_.size(), hash_size); in TEST_F() 241 uint64_t hash_size = in TEST_F() local 244 ASSERT_EQ(hashtree_content_.size(), hash_size); in TEST_F() 249 ASSERT_EQ(1024 * 1024 + hash_size, ecc_metadata.start); in TEST_F()
|
/aosp12/system/core/fs_mgr/libfs_avb/tests/ |
H A D | avb_util_test.cpp | 381 EXPECT_EQ(32, vbmeta_header->hash_size); in TEST_F() 406 EXPECT_EQ(32, vbmeta_header->hash_size); in TEST_F() 564 header->hash_size)); in TEST_F() 772 header->hash_size); in TEST_F() 1050 system_header->hash_size); in TEST_F() 1413 ModifyFile(vbmeta_path, authentication_block_offset + header->hash_offset, header->hash_size); in TEST_F()
|
/aosp12/art/runtime/ |
H A D | class_linker.cc | 6394 size_t hash_size, in LinkVirtualHashTable() argument 6398 hash_size_(hash_size), in LinkVirtualHashTable()
|