/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | peerkey.c | 53 struct wpa_peerkey *peerkey = timeout_ctx; in wpa_supplicant_smk_timeout() 60 struct wpa_peerkey *peerkey) in wpa_supplicant_peerkey_free() argument 62 eloop_cancel_timeout(wpa_supplicant_smk_timeout, sm, peerkey); in wpa_supplicant_peerkey_free() 63 os_free(peerkey); in wpa_supplicant_peerkey_free() 130 int ver, struct wpa_peerkey *peerkey) in wpa_supplicant_send_smk_m3() argument 139 kde_len = peerkey->rsnie_p_len + in wpa_supplicant_send_smk_m3() 157 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() 163 pos = wpa_add_ie(pos, peerkey->rsnie_p, peerkey->rsnie_p_len); in wpa_supplicant_send_smk_m3() 166 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, peerkey->addr, ETH_ALEN); in wpa_supplicant_send_smk_m3() 169 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() [all …]
|
D | peerkey.h | 47 struct wpa_peerkey *peerkey, 50 void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, 61 struct wpa_peerkey *peerkey, in peerkey_verify_eapol_key_mic() argument 69 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, in peerkey_rx_eapol_4way() argument
|
D | wpa.c | 1439 struct wpa_peerkey *peerkey = NULL; in wpa_sm_rx_eapol() local 1546 for (peerkey = sm->peerkey; peerkey; peerkey = peerkey->next) { in wpa_sm_rx_eapol() 1547 if (os_memcmp(peerkey->addr, src_addr, ETH_ALEN) == 0) in wpa_sm_rx_eapol() 1551 if (!(key_info & WPA_KEY_INFO_SMK_MESSAGE) && peerkey) { in wpa_sm_rx_eapol() 1552 if (!peerkey->initiator && peerkey->replay_counter_set && in wpa_sm_rx_eapol() 1553 os_memcmp(key->replay_counter, peerkey->replay_counter, in wpa_sm_rx_eapol() 1559 } else if (peerkey->initiator) { in wpa_sm_rx_eapol() 1564 if (os_memcmp(_tmp, peerkey->replay_counter, in wpa_sm_rx_eapol() 1574 if (peerkey && peerkey->initiator && (key_info & WPA_KEY_INFO_ACK)) { in wpa_sm_rx_eapol() 1580 if (!peerkey && sm->rx_replay_counter_set && in wpa_sm_rx_eapol() [all …]
|
D | wpa_i.h | 91 struct wpa_peerkey *peerkey; member
|
/external/wpa_supplicant/ |
D | wpa.c | 224 struct wpa_peerkey *peerkey); 1049 struct wpa_peerkey *peerkey; in wpa_sm_stkstart() local 1053 ssid == NULL || !ssid->peerkey) in wpa_sm_stkstart() 1076 peerkey = os_malloc(sizeof(*peerkey)); in wpa_sm_stkstart() 1077 if (peerkey == NULL) in wpa_sm_stkstart() 1079 os_memset(peerkey, 0, sizeof(*peerkey)); in wpa_sm_stkstart() 1080 peerkey->initiator = 1; in wpa_sm_stkstart() 1081 os_memcpy(peerkey->addr, peer, ETH_ALEN); in wpa_sm_stkstart() 1088 hdr = (struct rsn_ie_hdr *) peerkey->rsnie_i; in wpa_sm_stkstart() 1112 hdr->len = (pos - peerkey->rsnie_i) - 2; in wpa_sm_stkstart() [all …]
|
D | config_ssid.h | 815 int peerkey; member
|
D | wpa_i.h | 134 struct wpa_peerkey *peerkey; member
|
D | config_file.c | 633 INT(peerkey); in wpa_config_write_network()
|
D | config_winreg.c | 783 INT(peerkey); in wpa_config_write_network()
|
D | config.c | 1203 { INT_RANGE(peerkey, 0, 1) },
|
/external/openssl/crypto/evp/ |
D | pmeth_lib.c | 179 ret->peerkey = NULL; in int_ctx_new() 279 if (pctx->peerkey) in EVP_PKEY_CTX_dup() 280 CRYPTO_add(&pctx->peerkey->references,1,CRYPTO_LOCK_EVP_PKEY); in EVP_PKEY_CTX_dup() 282 rctx->peerkey = pctx->peerkey; in EVP_PKEY_CTX_dup() 318 if (ctx->peerkey) in EVP_PKEY_CTX_free() 319 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_CTX_free() 413 return ctx->peerkey; in EVP_PKEY_CTX_get0_peerkey()
|
D | pmeth_fn.c | 335 if (ctx->peerkey) in EVP_PKEY_derive_set_peer() 336 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_derive_set_peer() 337 ctx->peerkey = peer; in EVP_PKEY_derive_set_peer() 343 ctx->peerkey = NULL; in EVP_PKEY_derive_set_peer()
|
D | evp_locl.h | 275 EVP_PKEY *peerkey; member
|
/external/openssl/crypto/dh/ |
D | dh_pmeth.c | 207 if (!ctx->pkey || !ctx->peerkey) in pkey_dh_derive() 212 ret = DH_compute_key(key, ctx->peerkey->pkey.dh->pub_key, in pkey_dh_derive()
|
/external/openssl/crypto/ec/ |
D | ec_pmeth.c | 175 if (!ctx->pkey || !ctx->peerkey) in pkey_ec_derive() 189 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | config_ssid.h | 301 int peerkey; member
|
D | wpas_glue.c | 631 conf.peerkey_enabled = ssid->peerkey; in wpa_supplicant_rsn_supp_set_config()
|
D | Android.mk | 644 OBJS_h += hostapd/peerkey.c 973 OBJS += src/rsn_supp/peerkey.c
|
D | Makefile | 621 OBJS_h += ../hostapd/peerkey.o 950 OBJS += ../src/rsn_supp/peerkey.o
|
D | config_winreg.c | 879 INT(peerkey); in wpa_config_write_network()
|
D | config_file.c | 808 INT(peerkey); in wpa_config_write_network()
|
D | config.c | 1409 { INT_RANGE(peerkey, 0, 1) },
|