Lines Matching refs:partition_name_len
310 desc_salt = desc_partition_name + hash_desc.partition_name_len; in load_and_verify_hash_partition()
313 if (!avb_validate_utf8(desc_partition_name, hash_desc.partition_name_len)) { in load_and_verify_hash_partition()
324 hash_desc.partition_name_len); in load_and_verify_hash_partition()
332 if (hash_desc.partition_name_len >= AVB_PART_NAME_MAX_SIZE) { in load_and_verify_hash_partition()
337 avb_memcpy(part_name, desc_partition_name, hash_desc.partition_name_len); in load_and_verify_hash_partition()
338 part_name[hash_desc.partition_name_len] = '\0'; in load_and_verify_hash_partition()
352 hash_desc.partition_name_len, in load_and_verify_hash_partition()
566 size_t partition_name_len, in load_and_verify_vbmeta() argument
614 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
624 partition_name_len, in load_and_verify_vbmeta()
1016 chain_public_key = chain_partition_name + chain_desc.partition_name_len; in load_and_verify_vbmeta()
1027 chain_desc.partition_name_len, in load_and_verify_vbmeta()
1141 hashtree_desc.partition_name_len)) { in load_and_verify_vbmeta()
1158 if (hashtree_desc.partition_name_len >= AVB_PART_NAME_MAX_SIZE) { in load_and_verify_vbmeta()
1164 part_name, desc_partition_name, hashtree_desc.partition_name_len); in load_and_verify_vbmeta()
1165 part_name[hashtree_desc.partition_name_len] = '\0'; in load_and_verify_vbmeta()