Searched refs:hashSize (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/lld/ELF/ |
| H A D | Writer.cpp | 3054 size_t hashSize = ctx.mainPart->buildId->hashSize; in writeBuildId() local 3055 std::unique_ptr<uint8_t[]> buildId(new uint8_t[hashSize]); in writeBuildId() 3056 MutableArrayRef<uint8_t> output(buildId.get(), hashSize); in writeBuildId() 3073 memcpy(dest, BLAKE3::hash<16>(arr).data(), hashSize); in writeBuildId() 3078 memcpy(dest, BLAKE3::hash<20>(arr).data(), hashSize); in writeBuildId() 3082 if (auto ec = llvm::getRandomBytes(buildId.get(), hashSize)) in writeBuildId()
|
| H A D | SyntheticSections.h | 166 const size_t hashSize; 169 size_t getSize() const override { return headerSize + hashSize; } in getSize()
|
| H A D | SyntheticSections.cpp | 377 hashSize(getHashSize(ctx)) {} in BuildIdSection() 381 write32(ctx, buf + 4, hashSize); // Content size in writeTo() 388 assert(buf.size() == hashSize); in writeBuildId() 389 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()
|
| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | SyntheticSections.cpp | 54 static_assert(hash.size() == CodeSignatureSection::hashSize); in sha256() 1596 return allHeadersSize + getBlockCount() * hashSize; in getRawSize() 1606 hashes + i * hashSize); in writeHashes() 1646 codeDirectory->hashSize = static_cast<uint8_t>(hashSize); in writeTo()
|
| H A D | SyntheticSections.h | 535 static constexpr size_t hashSize = 256 / 8; variable
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstdmt_compress.c | 510 size_t const hashSize = ((size_t)1 << hashLog) * sizeof(ldmEntry_t); in ZSTDMT_serialState_reset() local 524 serialState->ldmState.hashTable = (ldmEntry_t*)ZSTD_customMalloc(hashSize, cMem); in ZSTDMT_serialState_reset() 533 ZSTD_memset(serialState->ldmState.hashTable, 0, hashSize); in ZSTDMT_serialState_reset()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOWriter.cpp | 498 CodeDirectory->hashSize = static_cast<uint8_t>(CodeSignature.HashSize); in writeCodeSignatureData()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 2372 uint8_t hashSize; /* size of each hash in bytes */ member
|