/external/avb/libavb/ |
avb_chain_partition_descriptor.c | 44 dest->partition_name_len = avb_be32toh(dest->partition_name_len); 54 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
|
avb_hash_descriptor.c | 44 dest->partition_name_len = avb_be32toh(dest->partition_name_len); 51 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
|
avb_chain_partition_descriptor.h | 44 * Following this struct are |partition_name_len| bytes of the 54 uint32_t partition_name_len; member in struct:AvbChainPartitionDescriptor
|
avb_hash_descriptor.h | 53 * Following this struct are |partition_name_len| bytes of the 68 uint32_t partition_name_len; member in struct:AvbHashDescriptor
|
avb_hashtree_descriptor.c | 52 dest->partition_name_len = avb_be32toh(dest->partition_name_len); 59 if (!avb_safe_add_to(&expected_size, dest->partition_name_len) ||
|
avb_hashtree_descriptor.h | 55 * Following this struct are |partition_name_len| bytes of the 78 uint32_t partition_name_len; member in struct:AvbHashtreeDescriptor
|
avb_slot_verify.c | 209 desc_salt = desc_partition_name + hash_desc.partition_name_len; 212 if (!avb_validate_utf8(desc_partition_name, hash_desc.partition_name_len)) { 223 hash_desc.partition_name_len); 231 if (hash_desc.partition_name_len >= AVB_PART_NAME_MAX_SIZE) { 236 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); 237 part_name[hash_desc.partition_name_len] = '\0'; 251 hash_desc.partition_name_len, 467 size_t partition_name_len, 503 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { 513 partition_name_len, [all...] |
/external/avb/test/ |
avb_util_unittest.cc | 166 h.partition_name_len = htobe32(10); 218 EXPECT_EQ(10UL, s.partition_name_len); 229 bad.partition_name_len = htobe32(30); 253 h.partition_name_len = htobe32(10); 261 EXPECT_EQ(10UL, s.partition_name_len); 272 bad.partition_name_len = htobe32(30); 297 h.partition_name_len = htobe32(16); 305 EXPECT_EQ(16UL, s.partition_name_len); 320 bad.partition_name_len = htobe32(24);
|
avbtool_unittest.cc | 577 EXPECT_EQ(6UL, d.partition_name_len); 585 d.partition_name_len)); 586 o += d.partition_name_len; [all...] |
avb_slot_verify_unittest.cc | [all...] |
/system/core/fs_mgr/ |
fs_mgr_avb.cpp | 449 if (out_hashtree_desc->partition_name_len != partition_name.length()) { 454 out_hashtree_desc->partition_name_len); 467 const uint8_t* desc_salt = desc_partition_name + out_hashtree_desc->partition_name_len;
|
/system/update_engine/common/ |
utils.cc | 481 size_t partition_name_len = string::npos; local 493 partition_name_len = last_nondigit_pos - prev_nondigit_pos; 511 partition_name_len); [all...] |
/external/avb/ |
avbtool | [all...] |