Searched refs:hashSize (Results 1 – 3 of 3) sorted by relevance
2702 size_t hashSize = mainPart->buildId->hashSize; in writeBuildId() local2703 std::vector<uint8_t> buildId(hashSize); in writeBuildId()2714 memcpy(dest, MD5::hash(arr).data(), hashSize); in writeBuildId()2719 memcpy(dest, SHA1::hash(arr).data(), hashSize); in writeBuildId()2723 if (auto ec = llvm::getRandomBytes(buildId.data(), hashSize)) in writeBuildId()
167 const size_t hashSize;170 size_t getSize() const override { return headerSize + hashSize; } in getSize()
324 hashSize(getHashSize()) {} in BuildIdSection()328 write32(buf + 4, hashSize); // Content size in writeTo()335 assert(buf.size() == hashSize); in writeBuildId()336 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()