Home
last modified time | relevance | path

Searched refs:peerkey (Results 1 – 20 of 20) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c48 struct wpa_peerkey *peerkey = timeout_ctx; in wpa_supplicant_smk_timeout()
55 struct wpa_peerkey *peerkey) in wpa_supplicant_peerkey_free() argument
57 eloop_cancel_timeout(wpa_supplicant_smk_timeout, sm, peerkey); in wpa_supplicant_peerkey_free()
58 os_free(peerkey); in wpa_supplicant_peerkey_free()
126 int ver, struct wpa_peerkey *peerkey) in wpa_supplicant_send_smk_m3() argument
135 kde_len = peerkey->rsnie_p_len + in wpa_supplicant_send_smk_m3()
153 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3()
160 pos = wpa_add_ie(pos, peerkey->rsnie_p, peerkey->rsnie_p_len); in wpa_supplicant_send_smk_m3()
163 pos = wpa_add_kde(pos, RSN_KEY_DATA_MAC_ADDR, peerkey->addr, ETH_ALEN); in wpa_supplicant_send_smk_m3()
166 wpa_add_kde(pos, RSN_KEY_DATA_NONCE, peerkey->inonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3()
[all …]
Dpeerkey.h40 struct wpa_peerkey *peerkey,
43 void peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey,
55 struct wpa_peerkey *peerkey, in peerkey_verify_eapol_key_mic() argument
63 peerkey_rx_eapol_4way(struct wpa_sm *sm, struct wpa_peerkey *peerkey, in peerkey_rx_eapol_4way() argument
Dwpa.c1965 struct wpa_peerkey *peerkey = NULL; in wpa_sm_rx_eapol() local
2137 for (peerkey = sm->peerkey; peerkey; peerkey = peerkey->next) { in wpa_sm_rx_eapol()
2138 if (os_memcmp(peerkey->addr, src_addr, ETH_ALEN) == 0) in wpa_sm_rx_eapol()
2142 if (!(key_info & WPA_KEY_INFO_SMK_MESSAGE) && peerkey) { in wpa_sm_rx_eapol()
2143 if (!peerkey->initiator && peerkey->replay_counter_set && in wpa_sm_rx_eapol()
2144 os_memcmp(key->replay_counter, peerkey->replay_counter, in wpa_sm_rx_eapol()
2150 } else if (peerkey->initiator) { in wpa_sm_rx_eapol()
2155 if (os_memcmp(_tmp, peerkey->replay_counter, in wpa_sm_rx_eapol()
2166 if (peerkey && peerkey->initiator && (key_info & WPA_KEY_INFO_ACK)) { in wpa_sm_rx_eapol()
2173 if (!peerkey && sm->rx_replay_counter_set && in wpa_sm_rx_eapol()
[all …]
DMakefile21 peerkey.o \
Dwpa_i.h98 struct wpa_peerkey *peerkey; member
/external/boringssl/src/crypto/evp/
Devp_ctx.c149 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_CTX_free()
174 if (ctx->peerkey != NULL) { in EVP_PKEY_CTX_dup()
175 EVP_PKEY_up_ref(ctx->peerkey); in EVP_PKEY_CTX_dup()
176 ret->peerkey = ctx->peerkey; in EVP_PKEY_CTX_dup()
383 EVP_PKEY_free(ctx->peerkey); in EVP_PKEY_derive_set_peer()
384 ctx->peerkey = peer; in EVP_PKEY_derive_set_peer()
389 ctx->peerkey = NULL; in EVP_PKEY_derive_set_peer()
Dp_ec.c149 if (!ctx->pkey || !ctx->peerkey) { in pkey_ec_derive()
162 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); in pkey_ec_derive()
Dinternal.h183 EVP_PKEY *peerkey; member
/external/wpa_supplicant_8/wpa_supplicant/
Dconfig_ssid.h403 int peerkey; member
Dconfig_winreg.c927 INT(peerkey); in wpa_config_write_network()
Dwpas_glue.c1207 conf.peerkey_enabled = ssid->peerkey; in wpa_supplicant_rsn_supp_set_config()
Dconfig_file.c793 INT(peerkey); in wpa_config_write_network()
Dconfig.c2069 { INT_RANGE(peerkey, 0, 1) },
Dwpa_supplicant.c3459 wpa_s->current_ssid->peerkey && in wpa_supplicant_rx_eapol()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_glue.c49 wconf->peerkey = conf->peerkey; in hostapd_wpa_auth_conf()
Dap_config.h338 int peerkey; member
Dwpa_auth.h152 int peerkey; member
Dwpa_auth_ie.c257 if (conf->peerkey) in wpa_write_rsn_ie()
Dwpa_auth.c1183 if (!wpa_auth->conf.peerkey) { in wpa_receive()
/external/wpa_supplicant_8/hostapd/
Dconfig_file.c2594 bss->peerkey = atoi(pos); in hostapd_config_fill()