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

/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_util_unittest.cc314 const std::string hash_in = "12345678902234567890323456789012"; local
315 SBFullHash hash_out = safe_browsing_util::StringToSBFullHash(hash_in);
317 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash)));
320 EXPECT_EQ(hash_in, hash_final);
H A Dsafe_browsing_util.h209 SBFullHash StringToSBFullHash(const std::string& hash_in);
H A Dsafe_browsing_util.cc490 SBFullHash StringToSBFullHash(const std::string& hash_in) { argument
491 DCHECK_EQ(crypto::kSHA256Length, hash_in.size());
493 memcpy(hash_out.full_hash, hash_in.data(), crypto::kSHA256Length);
/external/ipsec-tools/src/racoon/
H A Dgssapi.c522 gss_buffer_t hash_in = &hash_in_buf, hash_out = &hash_out_buf; local
538 if (gssapi_vm2gssbuf(iph1->hash, hash_in) < 0) {
544 hash_in, NULL, hash_out);
547 maj_stat = gss_release_buffer(&min_stat, hash_in);
550 "release hash_in buffer\n");
555 hash_in->length, hash_out->length);
557 maj_stat = gss_release_buffer(&min_stat, hash_in);
559 gssapi_error(min_stat, LOCATION, "release hash_in buffer\n");
582 gss_buffer_t hash_in = &hashbuf, hash_out = &hash_outbuf; local
599 maj_stat = gss_unwrap(&min_stat, gps->gss_context, hash_in, hash_ou
[all...]

Completed in 76 milliseconds