Home
last modified time | relevance | path

Searched refs:my_hash (Results 1 – 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_newg.c148 vchar_t *my_hash = NULL;
166 my_hash = isakmp_prf(iph1->skeyid_a, buf, iph1);
168 if (my_hash == NULL)
172 plogdump(LLV_DEBUG, my_hash->v, my_hash->l);
179 result = memcmp(my_hash->v, r_hash, my_hash->l);
180 vfree(my_hash);
Disakmp_quick.c494 vchar_t *my_hash = NULL; local
502 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, hbuf);
503 if (my_hash == NULL)
506 result = memcmp(my_hash->v, r_hash, my_hash->l);
507 vfree(my_hash);
767 vchar_t *my_hash = NULL; local
776 my_hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, notify);
778 if (my_hash == NULL)
781 result = memcmp(my_hash->v, r_hash, my_hash->l);
782 vfree(my_hash);
[all …]
Doakley.c1246 vchar_t *my_hash = NULL; local
1294 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1298 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1300 my_hash = oakley_ph1hash_base_i(iph1, VALIDATE);
1307 if (my_hash == NULL)
1310 result = memcmp(my_hash->v, r_hash, my_hash->l);
1311 vfree(my_hash);
1483 my_hash = oakley_ph1hash_common(iph1, VALIDATE);
1487 my_hash = oakley_ph1hash_base_r(iph1, VALIDATE);
1489 my_hash = oakley_ph1hash_base_i(iph1, VALIDATE);
[all …]
/external/rust/crates/unicode-normalization/src/
Dperfect_hash.rs16 fn my_hash(key: u32, salt: u32, n: usize) -> usize { in my_hash() function
43 let s = salt[my_hash(x, 0, salt.len())] as u32; in mph_lookup()
44 let key_val = kv[my_hash(x, s, salt.len())]; in mph_lookup()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/
Dindex_tuple.pass.cpp27 struct my_hash struct
34 unordered_map<tuple<int,int>, size_t, my_hash> m; in main() argument
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/unord/unord.map/unord.map.elem/
Dindex_tuple.pass.cpp25 struct my_hash { struct
30 std::unordered_map<std::tuple<int, int>, std::size_t, my_hash> m; in main() argument
/external/libcxx/test/std/containers/container.node/
Dnode_handle.pass.cpp35 template <class T> struct my_hash struct
39 my_hash() = default; argument
84 std::hash<int>, my_hash<int>, std::equal_to<int>,
91 my_hash<Static>, std::hash<Static>, my_equal<Static>,
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/container.node/
Dnode_handle.pass.cpp33 template <class T> struct my_hash struct
37 my_hash() = default; argument
82 std::hash<int>, my_hash<int>, std::equal_to<int>,
89 my_hash<Static>, std::hash<Static>, my_equal<Static>,
/external/libchrome/crypto/
Dp224_spake.cc214 const uint8_t* my_hash = is_server_ ? server_hash : client_hash; in ProcessMessage() local
218 std::string(reinterpret_cast<const char*>(my_hash), kSHA256Length); in ProcessMessage()
/external/rust/crates/unicode-normalization/scripts/
Dunicode.py523 def my_hash(x, salt, n): function
535 h = my_hash(key, 0, n)
551 rehashes = [my_hash(key, salt, n) for key in buckets[h]]
558 rehash = my_hash(key, salt, n)
/external/cronet/crypto/
Dp224_spake.cc296 const uint8_t* my_hash = is_server_ ? server_hash : client_hash; in ProcessMessage() local
300 std::string(reinterpret_cast<const char*>(my_hash), kSHA256Length); in ProcessMessage()