Home
last modified time | relevance | path

Searched refs:hash_in (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc340 const std::string hash_in = "12345678902234567890323456789012"; in TEST() local
342 safe_browsing_util::StringToSBFullHash(hash_in, &hash_out); in TEST()
344 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash))); in TEST()
347 EXPECT_EQ(hash_in, hash_final); in TEST()
Dsafe_browsing_util.cc522 void StringToSBFullHash(const std::string& hash_in, SBFullHash* hash_out) { in StringToSBFullHash() argument
523 DCHECK_EQ(static_cast<size_t>(crypto::SHA256_LENGTH), hash_in.size()); in StringToSBFullHash()
524 memcpy(hash_out->full_hash, hash_in.data(), crypto::SHA256_LENGTH); in StringToSBFullHash()
Dsafe_browsing_util.h322 void StringToSBFullHash(const std::string& hash_in, SBFullHash* hash_out);
/external/ipsec-tools/src/racoon/
Dgssapi.c522 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()