Searched refs:hash_desc (Results 1 – 1 of 1) sorted by relevance
133 auto hash_desc = std::make_unique<FsAvbHashDescriptor>(); in GetHashDescriptor() local153 hash_desc.get())) { in GetHashDescriptor()156 if (hash_desc->partition_name_len != partition_name.length()) { in GetHashDescriptor()161 hash_desc->partition_name_len); in GetHashDescriptor()176 hash_desc->partition_name = partition_name; in GetHashDescriptor()178 const uint8_t* desc_salt = desc_partition_name + hash_desc->partition_name_len; in GetHashDescriptor()179 hash_desc->salt = BytesToHex(desc_salt, hash_desc->salt_len); in GetHashDescriptor()181 const uint8_t* desc_digest = desc_salt + hash_desc->salt_len; in GetHashDescriptor()182 hash_desc->digest = BytesToHex(desc_digest, hash_desc->digest_len); in GetHashDescriptor()184 return hash_desc; in GetHashDescriptor()