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()
557 size_t partition_name_len, in load_and_verify_vbmeta() argument
593 if (!avb_validate_utf8((const uint8_t*)partition_name, partition_name_len)) { in load_and_verify_vbmeta()
603 partition_name_len, in load_and_verify_vbmeta()
969 chain_public_key = chain_partition_name + chain_desc.partition_name_len; in load_and_verify_vbmeta()
979 chain_desc.partition_name_len, in load_and_verify_vbmeta()
1093 hashtree_desc.partition_name_len)) { in load_and_verify_vbmeta()
1110 if (hashtree_desc.partition_name_len >= AVB_PART_NAME_MAX_SIZE) { in load_and_verify_vbmeta()
1116 part_name, desc_partition_name, hashtree_desc.partition_name_len); in load_and_verify_vbmeta()
1117 part_name[hashtree_desc.partition_name_len] = '\0'; in load_and_verify_vbmeta()