Lines Matching refs:htobe32
50 h.key_num_bits = htobe32(n32); in TEST_F()
52 h.n0inv = htobe32(n32); in TEST_F()
76 h.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR); in TEST_F()
77 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR); in TEST_F()
101 h.version_minor = htobe32(AVB_FOOTER_VERSION_MINOR + 1); in TEST_F()
111 bad.version_major = htobe32(AVB_FOOTER_VERSION_MAJOR + 1); in TEST_F()
126 h.kernel_cmdline_length = htobe32(40); in TEST_F()
129 h.flags = htobe32(n32); in TEST_F()
149 bad.kernel_cmdline_length = htobe32(41); in TEST_F()
165 h.partition_name_len = htobe32(10); in TEST_F()
166 h.salt_len = htobe32(10); in TEST_F()
167 h.root_digest_len = htobe32(10); in TEST_F()
172 h.dm_verity_version = htobe32(n32); in TEST_F()
180 h.data_block_size = htobe32(n32); in TEST_F()
182 h.hash_block_size = htobe32(n32); in TEST_F()
184 h.fec_num_roots = htobe32(n32); in TEST_F()
228 bad.partition_name_len = htobe32(30); in TEST_F()
233 bad.salt_len = htobe32(30); in TEST_F()
238 bad.root_digest_len = htobe32(30); in TEST_F()
252 h.partition_name_len = htobe32(10); in TEST_F()
253 h.salt_len = htobe32(10); in TEST_F()
254 h.digest_len = htobe32(10); in TEST_F()
271 bad.partition_name_len = htobe32(30); in TEST_F()
276 bad.salt_len = htobe32(30); in TEST_F()
281 bad.digest_len = htobe32(30); in TEST_F()
295 h.rollback_index_location = htobe32(42); in TEST_F()
296 h.partition_name_len = htobe32(16); in TEST_F()
297 h.public_key_len = htobe32(17); in TEST_F()
314 bad.rollback_index_location = htobe32(0); in TEST_F()
319 bad.partition_name_len = htobe32(24); in TEST_F()
324 bad.public_key_len = htobe32(25); in TEST_F()
516 TEST_F(UtilTest, htobe32) { in TEST_F() argument
517 EXPECT_EQ(avb_htobe32(0x12345678), htobe32(0x12345678)); in TEST_F()