Home
last modified time | relevance | path

Searched refs:HashResult (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSHA1.cpp261 void SHA1::final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult) { in final() argument
268 HashResult[i] = InternalState.State[i]; in final()
273 HashResult[i] = llvm::byteswap(InternalState.State[i]); in final()
280 std::array<uint32_t, HASH_LENGTH / 4> HashResult; in final() member
283 static_assert(sizeof(HashResult) == sizeof(ReturnResult)); in final()
284 final(HashResult); in final()
H A DSHA256.cpp241 void SHA256::final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult) { in final() argument
248 HashResult[i] = InternalState.State[i]; in final()
253 HashResult[i] = llvm::byteswap(InternalState.State[i]); in final()
260 std::array<uint32_t, HASH_LENGTH / 4> HashResult; in final() member
263 static_assert(sizeof(HashResult) == sizeof(ReturnResult)); in final()
264 final(HashResult); in final()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp228 llvm::MD5::MD5Result HashResult; in createHash() local
229 Hash.final(HashResult); in createHash()
233 std::memcpy(&HashCode, &HashResult, in createHash()
234 std::min(sizeof(HashCode), sizeof(HashResult))); in createHash()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSHA1.h77 void final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult);
H A DSHA256.h84 void final(std::array<uint32_t, HASH_LENGTH / 4> &HashResult);