HomeSort by: relevance | last modified time | path
    Searched refs:Sha1 (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerSHA1.h 1 //===- FuzzerSHA1.h - Internal header for the SHA1 utils --------*- C++ -* ===//
9 // SHA1 utils.
21 // Private copy of SHA1 implementation.
24 // Computes SHA1 hash of 'Len' bytes in 'Data', writes kSHA1NumBytes to 'Out'.
27 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]);
FuzzerCorpus.h 30 uint8_t Sha1[kSHA1NumBytes]; // Checksum.
103 ComputeSHA1(U.data(), U.size(), II.Sha1);
104 auto Sha1Str = Sha1ToString(II.Sha1);
146 Printf("%s sz=%zd ", Sha1ToString(II->Sha1).c_str(), II->U.size());
158 Hashes.erase(Sha1ToString(II->Sha1));
160 ComputeSHA1(U.data(), U.size(), II->Sha1);
161 Hashes.insert(Sha1ToString(II->Sha1));
186 Sha1ToString(II.Sha1).c_str(), II.U.size(),
205 RemoveFile(DirPlusFile(OutputCorpus, Sha1ToString(II.Sha1)));
FuzzerSHA1.cpp 1 //===- FuzzerSHA1.h - Private copy of the SHA1 implementation ---*- C++ -* ===//
10 // (http://oauth.googlecode.com/svn/code/c/liboauth/src/sha1.c)
14 // lib/Fuzzer can not use SHA1 implementation from openssl because
16 // For the same reason we do not want to depend on SHA1 from LLVM tree.
209 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]) {
212 SS << std::hex << std::setfill('0') << std::setw(2) << (unsigned)Sha1[i];
FuzzerLoop.cpp 679 memcpy(BaseSha1, II.Sha1, sizeof(BaseSha1));

Completed in 14 milliseconds