Searched refs:hashSize (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/MachO/Inputs/ |
| H A D | code-signature-check.py | 56 hashSize: int 76 hashSize: int 98 hashSize: int 122 hashSize: int 149 hashSize: int 241 hash_bytes = bytes(super_blob_mem[hashes_offset:hashes_offset+code_directory.hashSize]) 242 hashes_offset += code_directory.hashSize
|
| /llvm-project-15.0.7/lld/test/MachO/Inputs/ |
| H A D | code-signature-check.py | 56 hashSize: int 76 hashSize: int 98 hashSize: int 122 hashSize: int 149 hashSize: int 241 hash_bytes = bytes(super_blob_mem[hashes_offset:hashes_offset+code_directory.hashSize]) 242 hashes_offset += code_directory.hashSize
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | Writer.cpp | 2962 size_t hashSize = mainPart->buildId->hashSize; in writeBuildId() local 2963 std::unique_ptr<uint8_t[]> buildId(new uint8_t[hashSize]); in writeBuildId() 2964 MutableArrayRef<uint8_t> output(buildId.get(), hashSize); in writeBuildId() 2981 memcpy(dest, BLAKE3::hash<16>(arr).data(), hashSize); in writeBuildId() 2986 memcpy(dest, BLAKE3::hash<20>(arr).data(), hashSize); in writeBuildId() 2990 if (auto ec = llvm::getRandomBytes(buildId.get(), hashSize)) in writeBuildId()
|
| H A D | SyntheticSections.h | 172 const size_t hashSize; 175 size_t getSize() const override { return headerSize + hashSize; } in getSize()
|
| H A D | SyntheticSections.cpp | 328 hashSize(getHashSize()) {} in BuildIdSection() 332 write32(buf + 4, hashSize); // Content size in writeTo() 339 assert(buf.size() == hashSize); in writeBuildId() 340 memcpy(hashBuf, buf.data(), hashSize); in writeBuildId()
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | SyntheticSections.cpp | 60 static_assert(hash.size() == CodeSignatureSection::hashSize, ""); in sha256() 1301 return allHeadersSize + getBlockCount() * hashSize; in getRawSize() 1312 hashes + i * hashSize); in writeHashes() 1352 codeDirectory->hashSize = static_cast<uint8_t>(hashSize); in writeTo()
|
| H A D | SyntheticSections.h | 486 static constexpr size_t hashSize = 256 / 8; variable
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOWriter.cpp | 498 CodeDirectory->hashSize = static_cast<uint8_t>(CodeSignature.HashSize); in writeCodeSignatureData()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 2194 uint8_t hashSize; /* size of each hash in bytes */ member
|