Searched refs:hashSize (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Writer.cpp | 2880 size_t hashSize = mainPart->buildId->hashSize; in writeBuildId() local 2881 std::unique_ptr<uint8_t[]> buildId(new uint8_t[hashSize]); in writeBuildId() 2882 MutableArrayRef<uint8_t> output(buildId.get(), hashSize); in writeBuildId() 2899 memcpy(dest, BLAKE3::hash<16>(arr).data(), hashSize); in writeBuildId() 2904 memcpy(dest, BLAKE3::hash<20>(arr).data(), hashSize); in writeBuildId() 2908 if (auto ec = llvm::getRandomBytes(buildId.get(), hashSize)) in writeBuildId()
|
| H A D | SyntheticSections.h | 158 const size_t hashSize; 161 size_t getSize() const override { return headerSize + hashSize; } in getSize()
|
| H A D | SyntheticSections.cpp | 360 hashSize(getHashSize()) {} in BuildIdSection() 364 write32(buf + 4, hashSize); // Content size in writeTo() 371 assert(buf.size() == hashSize); in writeBuildId() 372 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.cpp | 55 static_assert(hash.size() == CodeSignatureSection::hashSize); in sha256() 1572 return allHeadersSize + getBlockCount() * hashSize; in getRawSize() 1582 hashes + i * hashSize); in writeHashes() 1622 codeDirectory->hashSize = static_cast<uint8_t>(hashSize); in writeTo()
|
| H A D | SyntheticSections.h | 533 static constexpr size_t hashSize = 256 / 8; variable
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstdmt_compress.c | 492 size_t const hashSize = ((size_t)1 << hashLog) * sizeof(ldmEntry_t); in ZSTDMT_serialState_reset() local 506 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset() 515 ZSTD_memset(serialState->ldmState.hashTable, 0, hashSize); in ZSTDMT_serialState_reset()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOWriter.cpp | 499 CodeDirectory->hashSize = static_cast<uint8_t>(CodeSignature.HashSize); in writeCodeSignatureData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 2331 uint8_t hashSize; /* size of each hash in bytes */ member
|