Home
last modified time | relevance | path

Searched refs:r_hash (Results 1 – 12 of 12) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_newg.c147 char *r_hash;
174 r_hash = (char *)hash + sizeof(*hash);
177 plogdump(LLV_DEBUG, r_hash, ntohs(hash->h.len) - sizeof(*hash)));
179 result = memcmp(my_hash->v, r_hash, my_hash->l);
Disakmp_quick.c493 char *r_hash; local
497 r_hash = (char *)hash + sizeof(*hash);
500 plogdump(LLV_DEBUG, r_hash, ntohs(hash->h.len) - sizeof(*hash));
506 result = memcmp(my_hash->v, r_hash, my_hash->l);
766 char *r_hash; local
771 r_hash = (char *)hash + sizeof(*hash);
774 plogdump(LLV_DEBUG, r_hash, ntohs(hash->h.len) - sizeof(*hash));
781 result = memcmp(my_hash->v, r_hash, my_hash->l);
1041 char *r_hash; local
1045 r_hash = (caddr_t)hash + sizeof(*hash);
[all …]
Doakley.c1267 char *r_hash; local
1285 r_hash = (caddr_t)(iph1->pl_hash + 1);
1288 plogdump(LLV_DEBUG, r_hash,
1310 result = memcmp(my_hash->v, r_hash, my_hash->l);
/external/jemalloc_new/include/jemalloc/internal/
Dckh.h96 void ckh_string_hash(const void *key, size_t r_hash[2]);
98 void ckh_pointer_hash(const void *key, size_t r_hash[2]);
Dhash.h303 hash(const void *key, size_t len, const uint32_t seed, size_t r_hash[2]) { in hash()
307 hash_x64_128(key, (int)len, seed, (uint64_t *)r_hash); in hash()
312 r_hash[0] = (size_t)hashes[0]; in hash()
313 r_hash[1] = (size_t)hashes[1]; in hash()
/external/ethtool/
Dfec_8xx.c39 uint32_t r_hash; /* Rx hash register */ member
78 DUMP_REG(f, r_hash); in fec_8xx_dump_regs()
/external/jemalloc_new/src/
Dckh.c542 ckh_string_hash(const void *key, size_t r_hash[2]) { in ckh_string_hash()
543 hash(key, strlen((const char *)key), 0x94122f33U, r_hash); in ckh_string_hash()
555 ckh_pointer_hash(const void *key, size_t r_hash[2]) { in ckh_pointer_hash()
563 hash(&u.i, sizeof(u.i), 0xd983396eU, r_hash); in ckh_pointer_hash()
Dprof.c1869 prof_bt_hash(const void *key, size_t r_hash[2]) { in prof_bt_hash()
1874 hash(bt->vec, bt->len * sizeof(void *), 0x94122f33U, r_hash); in prof_bt_hash()
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c3346 const u8 *r_hash) in wpas_dpp_pb_pkex_init() argument
3379 os_memcpy(wpa_s->dpp_pb_resp_hash, r_hash, SHA256_MAC_LEN); in wpas_dpp_pb_pkex_init()
3424 const u8 *r_hash; in wpas_dpp_rx_pb_presence_announcement() local
3436 r_hash = dpp_get_attr(buf, len, DPP_ATTR_R_BOOTSTRAP_KEY_HASH, in wpas_dpp_rx_pb_presence_announcement()
3438 if (!r_hash || r_hash_len != SHA256_MAC_LEN) { in wpas_dpp_rx_pb_presence_announcement()
3444 r_hash, r_hash_len); in wpas_dpp_rx_pb_presence_announcement()
3449 os_memcmp(r_hash, info->hash, SHA256_MAC_LEN) != 0) in wpas_dpp_rx_pb_presence_announcement()
3493 os_memcpy(info->hash, r_hash, SHA256_MAC_LEN); in wpas_dpp_rx_pb_presence_announcement()
3539 wpa_s->dpp_pb_bi, r_hash, wpa_s->dpp_pb_c_nonce, in wpas_dpp_rx_pb_presence_announcement()
3559 wpas_dpp_pb_pkex_init(wpa_s, freq, src, r_hash); in wpas_dpp_rx_pb_presence_announcement()
[all …]
/external/wpa_supplicant_8/src/ap/
Ddpp_hostapd.c2401 const u8 *r_hash) in hostapd_dpp_pb_pkex_init() argument
2428 os_memcpy(ifaces->dpp_pb_resp_hash, r_hash, SHA256_MAC_LEN); in hostapd_dpp_pb_pkex_init()
2560 const u8 *r_hash; in hostapd_dpp_rx_pb_presence_announcement() local
2575 r_hash = dpp_get_attr(buf, len, DPP_ATTR_R_BOOTSTRAP_KEY_HASH, in hostapd_dpp_rx_pb_presence_announcement()
2577 if (!r_hash || r_hash_len != SHA256_MAC_LEN) { in hostapd_dpp_rx_pb_presence_announcement()
2583 r_hash, r_hash_len); in hostapd_dpp_rx_pb_presence_announcement()
2588 os_memcmp(r_hash, info->hash, SHA256_MAC_LEN) != 0) in hostapd_dpp_rx_pb_presence_announcement()
2632 os_memcpy(info->hash, r_hash, SHA256_MAC_LEN); in hostapd_dpp_rx_pb_presence_announcement()
2678 ifaces->dpp_pb_bi, r_hash, ifaces->dpp_pb_c_nonce, in hostapd_dpp_rx_pb_presence_announcement()
2698 hostapd_dpp_pb_pkex_init(hapd, freq, src, r_hash); in hostapd_dpp_rx_pb_presence_announcement()
/external/wpa_supplicant_8/src/common/
Ddpp_crypto.c687 struct wpabuf *r_hash) in dpp_check_pubkey_match() argument
695 if (wpabuf_len(r_hash) != SHA256_MAC_LEN) in dpp_check_pubkey_match()
708 if (os_memcmp(hash, wpabuf_head(r_hash), SHA256_MAC_LEN) != 0) { in dpp_check_pubkey_match()
Ddpp.c5108 const u8 *r_hash = bi->pubkey_hash_chirp; in dpp_build_pb_announcement() local
5125 os_memcpy(test_hash, r_hash, SHA256_MAC_LEN); in dpp_build_pb_announcement()
5127 r_hash = test_hash; in dpp_build_pb_announcement()
5132 dpp_build_attr_r_bootstrap_key_hash(msg, r_hash); in dpp_build_pb_announcement()