Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc341 SBFullHash hash_out; in TEST() local
342 safe_browsing_util::StringToSBFullHash(hash_in, &hash_out); in TEST()
343 EXPECT_EQ(0x34333231, hash_out.prefix); in TEST()
344 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash))); in TEST()
346 std::string hash_final = safe_browsing_util::SBFullHashToString(hash_out); in TEST()
Dsafe_browsing_util.h322 void StringToSBFullHash(const std::string& hash_in, SBFullHash* hash_out);
323 std::string SBFullHashToString(const SBFullHash& hash_out);
Dsafe_browsing_util.cc522 void StringToSBFullHash(const std::string& hash_in, SBFullHash* hash_out) { in StringToSBFullHash() argument
524 memcpy(hash_out->full_hash, hash_in.data(), crypto::SHA256_LENGTH); in StringToSBFullHash()
/external/ipsec-tools/src/racoon/
Dgssapi.c522 gss_buffer_t hash_in = &hash_in_buf, hash_out = &hash_out_buf; in gssapi_wraphash() local
544 hash_in, NULL, hash_out); in gssapi_wraphash()
555 hash_in->length, hash_out->length); in gssapi_wraphash()
561 if (gssapi_gss2vmbuf(hash_out, &outbuf) < 0) { in gssapi_wraphash()
563 maj_stat = gss_release_buffer(&min_stat, hash_out); in gssapi_wraphash()
569 maj_stat = gss_release_buffer(&min_stat, hash_out); 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()
606 if (gssapi_gss2vmbuf(hash_out, &outbuf) < 0) { in gssapi_unwraphash()
608 maj_stat = gss_release_buffer(&min_stat, hash_out); in gssapi_unwraphash()
[all …]