Lines Matching refs:htobe32
52 h.key_num_bits = htobe32(n32); in TEST_F()
54 h.n0inv = htobe32(n32); in TEST_F()
78 h.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR); in TEST_F()
79 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR); in TEST_F()
103 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR + 1); in TEST_F()
113 bad.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR + 1); in TEST_F()
128 h.kernel_cmdline_length = htobe32(40); in TEST_F()
131 h.flags = htobe32(n32); in TEST_F()
151 bad.kernel_cmdline_length = htobe32(41); in TEST_F()
167 h.partition_name_len = htobe32(10); in TEST_F()
168 h.salt_len = htobe32(10); in TEST_F()
169 h.root_digest_len = htobe32(10); in TEST_F()
174 h.dm_verity_version = htobe32(n32); in TEST_F()
182 h.data_block_size = htobe32(n32); in TEST_F()
184 h.hash_block_size = htobe32(n32); in TEST_F()
186 h.fec_num_roots = htobe32(n32); in TEST_F()
230 bad.partition_name_len = htobe32(30); in TEST_F()
235 bad.salt_len = htobe32(30); in TEST_F()
240 bad.root_digest_len = htobe32(30); in TEST_F()
254 h.partition_name_len = htobe32(10); in TEST_F()
255 h.salt_len = htobe32(10); in TEST_F()
256 h.digest_len = htobe32(10); in TEST_F()
273 bad.partition_name_len = htobe32(30); in TEST_F()
278 bad.salt_len = htobe32(30); in TEST_F()
283 bad.digest_len = htobe32(30); in TEST_F()
297 h.rollback_index_location = htobe32(42); in TEST_F()
298 h.partition_name_len = htobe32(16); in TEST_F()
299 h.public_key_len = htobe32(17); in TEST_F()
316 bad.rollback_index_location = htobe32(0); in TEST_F()
321 bad.partition_name_len = htobe32(24); in TEST_F()
326 bad.public_key_len = htobe32(25); in TEST_F()
518 TEST_F(UtilTest, htobe32) { in TEST_F() argument
519 EXPECT_EQ(avb_htobe32(0x12345678), htobe32(0x12345678)); in TEST_F()