Searched refs:hash_desc (Results 1 – 1 of 1) sorted by relevance
81 auto hash_desc = std::make_unique<FsAvbHashDescriptor>(); in GetHashDescriptor() local101 hash_desc.get())) { in GetHashDescriptor()104 if (hash_desc->partition_name_len != partition_name.length()) { in GetHashDescriptor()109 hash_desc->partition_name_len); in GetHashDescriptor()124 hash_desc->partition_name = partition_name; in GetHashDescriptor()126 const uint8_t* desc_salt = desc_partition_name + hash_desc->partition_name_len; in GetHashDescriptor()127 hash_desc->salt = BytesToHex(desc_salt, hash_desc->salt_len); in GetHashDescriptor()129 const uint8_t* desc_digest = desc_salt + hash_desc->salt_len; in GetHashDescriptor()130 hash_desc->digest = BytesToHex(desc_digest, hash_desc->digest_len); in GetHashDescriptor()132 return hash_desc; in GetHashDescriptor()