/third_party/python/Python/ |
H A D | hamt.c | 605 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_clone_without() local 606 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_clone_without() 609 for (i = 0; i < key_idx; i++) { in hamt_node_bitmap_clone_without() 720 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local 721 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() 725 PyObject *key_or_null = self->b_array[key_idx]; in hamt_node_bitmap_assoc() 804 Py_SETREF(ret->b_array[key_idx], NULL); in hamt_node_bitmap_assoc() 913 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local 914 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() 929 for (i = 0; i < key_idx; in hamt_node_bitmap_assoc() 967 uint32_t key_idx = 2 * idx; hamt_node_bitmap_without() local 1103 uint32_t key_idx; hamt_node_bitmap_find() local 1327 Py_ssize_t key_idx = -1; hamt_node_collision_assoc() local 1443 Py_ssize_t key_idx = -1; hamt_node_collision_without() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_attr_process.c | 156 const u8 *key_idx) in wps_process_cred_network_key_idx() 158 if (key_idx == NULL) in wps_process_cred_network_key_idx() 161 wpa_printf(MSG_DEBUG, "WPS: Network Key Index: %d", *key_idx); in wps_process_cred_network_key_idx() 162 cred->key_idx = *key_idx; in wps_process_cred_network_key_idx() 155 wps_process_cred_network_key_idx(struct wps_credential *cred, const u8 *key_idx) wps_process_cred_network_key_idx() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_attr_process.c | 157 const u8 *key_idx) in wps_process_cred_network_key_idx() 159 if (key_idx == NULL) in wps_process_cred_network_key_idx() 162 wpa_printf(MSG_EXCESSIVE, "WPS: Network Key Index: %d", *key_idx); in wps_process_cred_network_key_idx() 163 cred->key_idx = *key_idx; in wps_process_cred_network_key_idx() 156 wps_process_cred_network_key_idx(struct wps_credential *cred, const u8 *key_idx) wps_process_cred_network_key_idx() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | driver_i.h | 154 int key_idx, int set_tx, in wpa_drv_set_key() 169 params.key_idx = key_idx; in wpa_drv_set_key() 185 if (key_idx == 1 && (key_flag & KEY_FLAG_PAIRWISE)) in wpa_drv_set_key() 187 else if (key_idx >= 0 && key_idx <= 5) in wpa_drv_set_key() 188 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key() 209 const u8 *addr, int key_idx, int set_tx, in wpa_drv_set_wapi_key() 221 params.key_idx = key_idx; in wpa_drv_set_wapi_key() 149 wpa_drv_set_key(struct wpa_supplicant *wpa_s, int link_id, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_drv_set_key() argument 208 wpa_drv_set_wapi_key(struct wpa_supplicant *wpa_s, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_drv_set_wapi_key() argument [all...] |
H A D | ibss_rsn.c | 150 const u8 *addr, int key_idx, int set_tx, in supp_set_key() 156 wpa_printf(MSG_DEBUG, "SUPP: %s(alg=%d addr=" MACSTR_SEC " key_idx=%d " in supp_set_key() 158 __func__, alg, MAC2STR_SEC(addr), key_idx, set_tx); in supp_set_key() 162 if (key_idx == 0) { in supp_set_key() 182 alg, addr, key_idx, in supp_set_key() 334 " key_idx=%d)", in auth_set_key() 337 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d key_idx=%d)", in auth_set_key() 145 supp_set_key(void *ctx, int link_id, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) supp_set_key() argument
|
H A D | wpas_glue.c | 535 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() 541 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 546 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 557 wpa_s->last_tk_key_idx = key_idx; in wpa_supplicant_set_key() 567 alg, addr, key_idx, set_tx, seq, seq_len, in wpa_supplicant_set_key() 530 wpa_supplicant_set_key(void *_wpa_s, int link_id, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_supplicant_set_key() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_bsd.c | 265 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument 271 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key() 272 wk.idk_keyix = key_idx; in bsd_del_key() 321 int key_idx = params->key_idx; in bsd_set_key() local 328 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%p key_idx=%d set_tx=%d " in bsd_set_key() 329 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key() 335 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key() 338 return bsd_del_key(priv, addr, key_idx); in bsd_set_key() [all...] |
H A D | driver_privsep.c | 215 int key_idx = params->key_idx; in wpa_driver_privsep_set_key() local 222 wpa_printf(MSG_DEBUG, "%s: priv=%p alg=%d key_idx=%d set_tx=%d", in wpa_driver_privsep_set_key() 223 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 231 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key()
|
H A D | driver_atheros.c | 467 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 473 wpa_printf(MSG_DEBUG, "%s: addr=%s key_idx=%d", in atheros_del_key() 474 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 481 wk.idk_keyix = key_idx; in atheros_del_key() 487 " key_idx %d)", __func__, ether_sprintf(addr), in atheros_del_key() 488 key_idx); in atheros_del_key() 503 int key_idx = params->key_idx; in atheros_set_key() local 509 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 511 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%s key_idx in atheros_set_key() [all...] |
H A D | driver_ndis.c | 903 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() 913 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key() 921 index = key_idx; in wpa_driver_ndis_remove_key() 934 int pairwise, int key_idx, int set_tx, in wpa_driver_ndis_add_wep() 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 968 int key_idx, int set_tx, in wpa_driver_ndis_set_key() 990 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid, in wpa_driver_ndis_set_key() 995 return wpa_driver_ndis_add_wep(drv, pairwise, key_idx, set_tx, in wpa_driver_ndis_set_key() 1006 nkey->KeyIndex = key_idx; in wpa_driver_ndis_set_key() 1042 params->key_idx, param in wpa_driver_ndis_set_key_wrapper() 902 wpa_driver_ndis_remove_key(struct wpa_driver_ndis_data *drv, int key_idx, const u8 *addr, const u8 *bssid, int pairwise) wpa_driver_ndis_remove_key() argument 933 wpa_driver_ndis_add_wep(struct wpa_driver_ndis_data *drv, int pairwise, int key_idx, int set_tx, const u8 *key, size_t key_len) wpa_driver_ndis_add_wep() argument 966 wpa_driver_ndis_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_ndis_set_key() argument [all...] |
H A D | driver_wext.c | 1717 const u8 *addr, int key_idx, in wpa_driver_wext_set_key_ext() 1739 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key_ext() 1828 int key_idx = params->key_idx; in wpa_driver_wext_set_key() local 1835 wpa_printf(MSG_DEBUG, "%s: alg=%d key_idx=%d set_tx=%d seq_len=%lu " in wpa_driver_wext_set_key() 1837 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1840 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1858 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1874 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1716 wpa_driver_wext_set_key_ext(void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_driver_wext_set_key_ext() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_bsd.c | 267 bsd_del_key(void *priv, const u8 *addr, int key_idx) in bsd_del_key() argument 273 wpa_printf(MSG_DEBUG, "%s: key_idx=%d", __func__, key_idx); in bsd_del_key() 274 wk.idk_keyix = key_idx; in bsd_del_key() 335 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in bsd_set_key() 343 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%p key_idx=%d set_tx=%d " in bsd_set_key() 344 "seq_len=%zu key_len=%zu", __func__, alg, addr, key_idx, in bsd_set_key() 350 return bsd_del_key(priv, NULL, key_idx); in bsd_set_key() 353 return bsd_del_key(priv, addr, key_idx); in bsd_set_key() 378 wk.ik_keyix = key_idx; in bsd_set_key() 334 bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) bsd_set_key() argument [all...] |
H A D | driver_wext.h | 56 const u8 *addr, int key_idx,
|
H A D | driver_atheros.c | 473 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 479 wpa_printf(MSG_DEBUG, "%s: addr=%s key_idx=%d", in atheros_del_key() 480 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 487 wk.idk_keyix = key_idx; in atheros_del_key() 493 " key_idx %d)", __func__, ether_sprintf(addr), in atheros_del_key() 494 key_idx); in atheros_del_key() 502 const u8 *addr, int key_idx, int set_tx, const u8 *seq, in atheros_set_key() 511 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 513 wpa_printf(MSG_DEBUG, "%s: alg=%d addr=%s key_idx=%d", in atheros_set_key() 514 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 501 atheros_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) atheros_set_key() argument [all...] |
H A D | driver_privsep.c | 210 int key_idx, int set_tx, in wpa_driver_privsep_set_key() 217 wpa_printf(MSG_DEBUG, "%s: priv=%p alg=%d key_idx=%d set_tx=%d", in wpa_driver_privsep_set_key() 218 __func__, priv, alg, key_idx, set_tx); in wpa_driver_privsep_set_key() 226 cmd.key_idx = key_idx; in wpa_driver_privsep_set_key() 208 wpa_driver_privsep_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_privsep_set_key() argument
|
H A D | driver_openbsd.c | 73 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() 72 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_openbsd_set_key() argument
|
H A D | driver_ndis.c | 903 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() 913 rkey.KeyIndex = key_idx; in wpa_driver_ndis_remove_key() 921 index = key_idx; in wpa_driver_ndis_remove_key() 934 int pairwise, int key_idx, int set_tx, in wpa_driver_ndis_add_wep() 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 968 int key_idx, int set_tx, in wpa_driver_ndis_set_key() 990 return wpa_driver_ndis_remove_key(drv, key_idx, addr, bssid, in wpa_driver_ndis_set_key() 995 return wpa_driver_ndis_add_wep(drv, pairwise, key_idx, set_tx, in wpa_driver_ndis_set_key() 1006 nkey->KeyIndex = key_idx; in wpa_driver_ndis_set_key() 902 wpa_driver_ndis_remove_key(struct wpa_driver_ndis_data *drv, int key_idx, const u8 *addr, const u8 *bssid, int pairwise) wpa_driver_ndis_remove_key() argument 933 wpa_driver_ndis_add_wep(struct wpa_driver_ndis_data *drv, int pairwise, int key_idx, int set_tx, const u8 *key, size_t key_len) wpa_driver_ndis_add_wep() argument 966 wpa_driver_ndis_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_ndis_set_key() argument
|
H A D | driver_wext.c | 1712 const u8 *addr, int key_idx, in wpa_driver_wext_set_key_ext() 1733 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key_ext() 1813 * @key_idx: key index (0..3), usually 0 for unicast keys 1832 const u8 *addr, int key_idx, in wpa_driver_wext_set_key() 1840 wpa_printf(MSG_DEBUG, "%s: alg=%d key_idx=%d set_tx=%d seq_len=%lu " in wpa_driver_wext_set_key() 1842 __FUNCTION__, alg, key_idx, set_tx, in wpa_driver_wext_set_key() 1845 ret = wpa_driver_wext_set_key_ext(drv, alg, addr, key_idx, set_tx, in wpa_driver_wext_set_key() 1863 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1879 iwr.u.encoding.flags = key_idx + 1; in wpa_driver_wext_set_key() 1711 wpa_driver_wext_set_key_ext(void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_wext_set_key_ext() argument 1831 wpa_driver_wext_set_key(const char *ifname, void *priv, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_driver_wext_set_key() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
H A D | wpa_i.h | 250 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() 257 return sm->ctx->set_key(sm->ctx->ctx, link_id, alg, addr, key_idx, set_tx, in wpa_sm_set_key() 259 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key() 246 wpa_sm_set_key(struct wpa_sm *sm, int link_id, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len, enum key_flag key_flag) wpa_sm_set_key() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | privsep_commands.h | 79 int key_idx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | privsep_commands.h | 79 int key_idx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ibss_rsn.c | 140 const u8 *addr, int key_idx, int set_tx, in supp_set_key() 146 wpa_printf(MSG_DEBUG, "SUPP: %s(alg=%d addr=" MACSTR " key_idx=%d " in supp_set_key() 148 __func__, alg, MAC2STR(addr), key_idx, set_tx); in supp_set_key() 152 if (key_idx == 0) { in supp_set_key() 168 return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx, in supp_set_key() 307 " key_idx=%d)", in auth_set_key() 310 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d key_idx=%d)", in auth_set_key() 139 supp_set_key(void *ctx, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) supp_set_key() argument
|
H A D | driver_i.h | 153 int key_idx, int set_tx, in wpa_drv_set_key() 158 if (key_idx >= 0 && key_idx <= 6) in wpa_drv_set_key() 159 wpa_s->keys_cleared &= ~BIT(key_idx); in wpa_drv_set_key() 165 alg, addr, key_idx, set_tx, in wpa_drv_set_key() 151 wpa_drv_set_key(struct wpa_supplicant *wpa_s, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_drv_set_key() argument
|
H A D | wpas_glue.c | 493 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() 498 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) { in wpa_supplicant_set_key() 503 if (key_idx > 0 && addr && is_broadcast_ether_addr(addr) && in wpa_supplicant_set_key() 513 wpa_s->last_tk_key_idx = key_idx; in wpa_supplicant_set_key() 519 return wpa_drv_set_key(wpa_s, alg, addr, key_idx, set_tx, seq, seq_len, in wpa_supplicant_set_key() 492 wpa_supplicant_set_key(void *_wpa_s, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_supplicant_set_key() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa_i.h | 198 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() 203 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key() 197 wpa_sm_set_key(struct wpa_sm *sm, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) wpa_sm_set_key() argument
|