Home
last modified time | relevance | path

Searched refs:file_valid_hash (Results 1 – 6 of 6) sorted by relevance

/external/coreboot/tests/lib/
Dcbfs-verification-test.c130 rdev_chain_mem(&cbd.rdev, &file_valid_hash, sizeof(file_valid_hash))); in test_cbfs_map_valid_hash()
135 &file_valid_hash.attrs_and_data[HASH_ATTR_SIZE]); in test_cbfs_map_valid_hash()
139 assert_ptr_equal(mapping, &file_valid_hash.attrs_and_data[HASH_ATTR_SIZE]); in test_cbfs_map_valid_hash()
144 assert_ptr_equal(mapping, &file_valid_hash.attrs_and_data[HASH_ATTR_SIZE]); in test_cbfs_map_valid_hash()
176 rdev_chain_mem(&cbd.rdev, &file_valid_hash, sizeof(file_valid_hash))); in test_init_boot_device_verify()
179 expect_memory(vb2_digest_extend, buf, &file_valid_hash, in test_init_boot_device_verify()
180 be32_to_cpu(file_valid_hash.header.offset)); in test_init_boot_device_verify()
182 be32_to_cpu(file_valid_hash.header.offset)); in test_init_boot_device_verify()
/external/coreboot/payloads/libpayload/tests/libcbfs/
Dcbfs-verification-test.c195 set_cbfs((uint64_t)&file_valid_hash, sizeof(file_valid_hash)); in test_cbfs_map_valid_hash_impl()
198 (const union cbfs_mdata *)&file_valid_hash, in test_cbfs_map_valid_hash_impl()
199 be32toh(file_valid_hash.header.offset)); in test_cbfs_map_valid_hash_impl()
215 &file_valid_hash.attrs_and_data[HASH_ATTR_SIZE], HASH_ATTR_SIZE); in test_cbfs_map_valid_hash_impl()
220 assert_memory_equal(mapping, &file_valid_hash.attrs_and_data[HASH_ATTR_SIZE], in test_cbfs_map_valid_hash_impl()
/external/coreboot/tests/include/tests/lib/
Dcbfs_util.h104 extern const struct cbfs_test_file file_valid_hash;
/external/coreboot/payloads/libpayload/tests/include/mocks/
Dcbfs_util.h106 extern const struct cbfs_test_file file_valid_hash;
/external/coreboot/tests/mock/
Dcbfs_file_mock.c24 const struct cbfs_test_file file_valid_hash = { variable
/external/coreboot/payloads/libpayload/tests/mocks/
Dcbfs_file_mock.c23 const struct cbfs_test_file file_valid_hash = { variable