Searched refs:hash_in (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_util_unittest.cc | 314 const std::string hash_in = "12345678902234567890323456789012"; in TEST() local 315 SBFullHash hash_out = safe_browsing_util::StringToSBFullHash(hash_in); in TEST() 317 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash))); in TEST() 320 EXPECT_EQ(hash_in, hash_final); in TEST()
|
D | safe_browsing_util.cc | 508 SBFullHash StringToSBFullHash(const std::string& hash_in) { in StringToSBFullHash() argument 509 DCHECK_EQ(crypto::kSHA256Length, hash_in.size()); in StringToSBFullHash() 511 memcpy(hash_out.full_hash, hash_in.data(), crypto::kSHA256Length); in StringToSBFullHash()
|
D | safe_browsing_util.h | 224 SBFullHash StringToSBFullHash(const std::string& hash_in);
|
/external/ipsec-tools/src/racoon/ |
D | gssapi.c | 522 gss_buffer_t hash_in = &hash_in_buf, hash_out = &hash_out_buf; in gssapi_wraphash() local 538 if (gssapi_vm2gssbuf(iph1->hash, hash_in) < 0) { in gssapi_wraphash() 544 hash_in, NULL, hash_out); in gssapi_wraphash() 547 maj_stat = gss_release_buffer(&min_stat, hash_in); in gssapi_wraphash() 555 hash_in->length, hash_out->length); in gssapi_wraphash() 557 maj_stat = gss_release_buffer(&min_stat, hash_in); in gssapi_wraphash() 582 gss_buffer_t hash_in = &hashbuf, hash_out = &hash_outbuf; in gssapi_unwraphash() local 599 maj_stat = gss_unwrap(&min_stat, gps->gss_context, hash_in, hash_out, in gssapi_unwraphash()
|