Home
last modified time | relevance | path

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

/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 …]
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_util_unittest.cc315 SBFullHash hash_out = safe_browsing_util::StringToSBFullHash(hash_in); in TEST() local
316 EXPECT_EQ(0x34333231U, hash_out.prefix); in TEST()
317 EXPECT_EQ(0, memcmp(hash_in.data(), hash_out.full_hash, sizeof(SBFullHash))); in TEST()
319 std::string hash_final = safe_browsing_util::SBFullHashToString(hash_out); in TEST()
Dsafe_browsing_util.cc510 SBFullHash hash_out; in StringToSBFullHash() local
511 memcpy(hash_out.full_hash, hash_in.data(), crypto::kSHA256Length); in StringToSBFullHash()
512 return hash_out; in StringToSBFullHash()
Dsafe_browsing_util.h225 std::string SBFullHashToString(const SBFullHash& hash_out);