Home
last modified time | relevance | path

Searched refs:Sha1 (Results 1 – 25 of 30) sorted by relevance

12

/external/deqp/framework/delibs/decpp/
DdeSha1.cpp29 Sha1 Sha1::parse (const std::string& str) in parse()
36 return Sha1(hash); in parse()
39 Sha1 Sha1::compute (size_t size, const void* data) in compute()
44 return Sha1(hash); in compute()
57 Sha1 Sha1Stream::finalize (void) in finalize()
62 return Sha1(hash); in finalize()
DdeSha1.hpp36 class Sha1 class
39 Sha1 (const deSha1& hash) : m_hash(hash) {} in Sha1() function in de::Sha1
41 static Sha1 parse (const std::string& str);
42 static Sha1 compute (size_t size, const void* data);
44 …bool operator== (const Sha1& other) const { return deSha1_equal(&m_hash, &other.m_hash) == DE_TRU… in operator ==()
45 bool operator!= (const Sha1& other) const { return !(*this == other); } in operator !=()
56 Sha1 finalize (void);
/external/rust/crates/uuid/src/
Dv5.rs22 let mut hash = sha1::Sha1::new(); in new_v5()
35 .set_version(Version::Sha1); in new_v5()
135 assert_eq!(uuid.get_version(), Some(Version::Sha1)); in test_get_version()
154 assert_eq!(uuid.get_version(), Some(Version::Sha1)); in test_new()
Dlib.rs242 Sha1, enumerator
330 5 => Some(Version::Sha1), in get_version()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerCorpus.h31 uint8_t Sha1[kSHA1NumBytes]; // Checksum. member
230 ComputeSHA1(U.data(), U.size(), II.Sha1); in AddToCorpus()
231 auto Sha1Str = Sha1ToString(II.Sha1); in AddToCorpus()
274 Printf("%s sz=%zd ", Sha1ToString(II->Sha1).c_str(), II->U.size()); in PrintCorpus()
286 Hashes.erase(Sha1ToString(II->Sha1)); in Replace()
288 ComputeSHA1(U.data(), U.size(), II->Sha1); in Replace()
289 Hashes.insert(Sha1ToString(II->Sha1)); in Replace()
324 Sha1ToString(II.Sha1).c_str(), II.U.size(), in PrintStats()
343 RemoveFile(DirPlusFile(OutputCorpus, Sha1ToString(II.Sha1))); in DeleteFile()
DFuzzerLoop.cpp475 std::string Sha1 = Sha1ToString(II->Sha1); in WriteEdgeToMutationGraphFile() local
481 OutputString.append(Sha1); in WriteEdgeToMutationGraphFile()
486 std::string BaseSha1 = Sha1ToString(BaseII->Sha1); in WriteEdgeToMutationGraphFile()
490 OutputString.append(Sha1); in WriteEdgeToMutationGraphFile()
531 WriteFeatureSetToFile(Options.FeaturesDir, Sha1ToString(NewII->Sha1), in RunOne()
541 auto OldFeaturesFile = Sha1ToString(II->Sha1); in RunOne()
544 Sha1ToString(II->Sha1)); in RunOne()
713 memcpy(BaseSha1, II.Sha1, sizeof(BaseSha1)); in MutateAndTestOne()
DFuzzerSHA1.h26 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]);
DFuzzerSHA1.cpp210 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]) { in Sha1ToString()
213 SS << std::hex << std::setfill('0') << std::setw(2) << (unsigned)Sha1[i]; in Sha1ToString()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerCorpus.h31 uint8_t Sha1[kSHA1NumBytes]; // Checksum. member
230 ComputeSHA1(U.data(), U.size(), II.Sha1); in AddToCorpus()
231 auto Sha1Str = Sha1ToString(II.Sha1); in AddToCorpus()
274 Printf("%s sz=%zd ", Sha1ToString(II->Sha1).c_str(), II->U.size()); in PrintCorpus()
286 Hashes.erase(Sha1ToString(II->Sha1)); in Replace()
288 ComputeSHA1(U.data(), U.size(), II->Sha1); in Replace()
289 Hashes.insert(Sha1ToString(II->Sha1)); in Replace()
324 Sha1ToString(II.Sha1).c_str(), II.U.size(), in PrintStats()
343 RemoveFile(DirPlusFile(OutputCorpus, Sha1ToString(II.Sha1))); in DeleteFile()
DFuzzerLoop.cpp475 std::string Sha1 = Sha1ToString(II->Sha1); in WriteEdgeToMutationGraphFile() local
481 OutputString.append(Sha1); in WriteEdgeToMutationGraphFile()
486 std::string BaseSha1 = Sha1ToString(BaseII->Sha1); in WriteEdgeToMutationGraphFile()
490 OutputString.append(Sha1); in WriteEdgeToMutationGraphFile()
531 WriteFeatureSetToFile(Options.FeaturesDir, Sha1ToString(NewII->Sha1), in RunOne()
541 auto OldFeaturesFile = Sha1ToString(II->Sha1); in RunOne()
544 Sha1ToString(II->Sha1)); in RunOne()
713 memcpy(BaseSha1, II.Sha1, sizeof(BaseSha1)); in MutateAndTestOne()
DFuzzerSHA1.h26 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]);
DFuzzerSHA1.cpp210 std::string Sha1ToString(const uint8_t Sha1[kSHA1NumBytes]) { in Sha1ToString()
213 SS << std::hex << std::setfill('0') << std::setw(2) << (unsigned)Sha1[i]; in Sha1ToString()
/external/okio/okio/src/jvmTest/java/okio/
DMessageDigestConsistencyTest.kt21 import okio.internal.Sha1
36 test("SHA-1") { Sha1() } in sha1()
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DHashingSink.kt21 import okio.internal.Sha1
71 actual fun sha1(sink: Sink) = HashingSink(sink, Sha1())
DHashingSource.kt21 import okio.internal.Sha1
75 actual fun sha1(source: Source) = HashingSource(source, Sha1())
DByteString.kt22 import okio.internal.Sha1
77 actual fun sha1() = digest(Sha1()) in utf8()
DBuffer.kt21 import okio.internal.Sha1 in <lambda>()
262 actual fun sha1() = digest(Sha1()) in <lambda>()
/external/elfutils/tests/debuginfod-debs/
Dhithere_1.0-1.dsc11 Checksums-Sha1:
/external/okio/okio/src/hashFunctions/kotlin/okio/internal/
DHmac.kt43 create(key, hashFunction = Sha1(), blockLength = 64) in sha1()
DSha1.kt20 internal class Sha1 : HashFunction { class
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptHash.h92 # define IF_IMPLEMENTED_SHA1(op) op(SHA1, Sha1)
/external/llvm-project/lld/ELF/
DConfig.h41 enum class BuildIdKind { None, Fast, Md5, Sha1, Hexstring, Uuid }; enumerator
DDriver.cpp777 return {BuildIdKind::Sha1, {}}; in getBuildId()
DWriter.cpp3012 case BuildIdKind::Sha1: in writeBuildId()
DSyntheticSections.cpp281 case BuildIdKind::Sha1: in getHashSize()

12