/third_party/python/Python/ |
D | hamt.c | 615 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_clone_without() local 616 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_clone_without() 619 for (i = 0; i < key_idx; i++) { in hamt_node_bitmap_clone_without() 730 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local 731 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() 735 PyObject *key_or_null = self->b_array[key_idx]; in hamt_node_bitmap_assoc() 814 Py_SETREF(ret->b_array[key_idx], NULL); in hamt_node_bitmap_assoc() 923 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local 924 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc() 939 for (i = 0; i < key_idx; i++) { in hamt_node_bitmap_assoc() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_attr_process.c | 156 const u8 *key_idx) in wps_process_cred_network_key_idx() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_attr_process.c | 156 const u8 *key_idx) in wps_process_cred_network_key_idx() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
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() argument 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() 388 wk.ik_keyix = key_idx; in bsd_set_key() 390 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key() [all …]
|
D | driver_wext.h | 56 const u8 *addr, int key_idx,
|
D | driver_openbsd.c | 73 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
|
D | driver_privsep.c | 210 int key_idx, int set_tx, in wpa_driver_privsep_set_key() argument 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()
|
D | driver_atheros.c | 473 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 480 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 487 wk.idk_keyix = key_idx; 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() argument 511 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 514 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 570 wk.ik_keyix = key_idx; in atheros_set_key() 584 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
|
D | driver_ndis.c | 903 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() argument 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() argument 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 968 int key_idx, int set_tx, in wpa_driver_ndis_set_key() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
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() argument 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() 388 wk.ik_keyix = key_idx; in bsd_set_key() 390 wk.ik_keyix = key_idx == 0 ? IEEE80211_KEYIX_NONE : in bsd_set_key() [all …]
|
D | driver_wext.h | 56 const u8 *addr, int key_idx,
|
D | driver_openbsd.c | 73 const unsigned char *addr, int key_idx, int set_tx, const u8 *seq, in wpa_driver_openbsd_set_key() argument
|
D | driver_privsep.c | 210 int key_idx, int set_tx, in wpa_driver_privsep_set_key() argument 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()
|
D | driver_atheros.c | 473 atheros_del_key(void *priv, const u8 *addr, int key_idx) in atheros_del_key() argument 480 __func__, ether_sprintf(addr), key_idx); in atheros_del_key() 487 wk.idk_keyix = key_idx; 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() argument 511 return atheros_del_key(drv, addr, key_idx); in atheros_set_key() 514 __func__, alg, ether_sprintf(addr), key_idx); in atheros_set_key() 570 wk.ik_keyix = key_idx; in atheros_set_key() 584 __func__, ether_sprintf(wk.ik_macaddr), key_idx, in atheros_set_key()
|
D | driver_ndis.c | 903 int key_idx, const u8 *addr, in wpa_driver_ndis_remove_key() argument 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() argument 946 wep->KeyIndex = key_idx; in wpa_driver_ndis_add_wep() 968 int key_idx, int set_tx, in wpa_driver_ndis_set_key() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | privsep_commands.h | 79 int key_idx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | privsep_commands.h | 79 int key_idx; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wpas_glue.c | 493 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 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()
|
D | driver_i.h | 153 int key_idx, int set_tx, in wpa_drv_set_key() argument 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()
|
D | ibss_rsn.c | 140 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wpas_glue.c | 493 const u8 *addr, int key_idx, int set_tx, in wpa_supplicant_set_key() argument 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()
|
D | driver_i.h | 153 int key_idx, int set_tx, in wpa_drv_set_key() argument 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()
|
D | ibss_rsn.c | 140 const u8 *addr, int key_idx, int set_tx, in supp_set_key() argument 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
D | wpa_i.h | 198 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument 203 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
D | wpa_i.h | 198 const u8 *addr, int key_idx, int set_tx, in wpa_sm_set_key() argument 203 return sm->ctx->set_key(sm->ctx->ctx, alg, addr, key_idx, set_tx, in wpa_sm_set_key()
|