Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
Dpeerkey.c53 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 …]
Dpeerkey.h47 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
Dwpa.c1439 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 …]
Dwpa_i.h91 struct wpa_peerkey *peerkey; member
/external/wpa_supplicant/
Dwpa.c224 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 …]
Dconfig_ssid.h815 int peerkey; member
Dwpa_i.h134 struct wpa_peerkey *peerkey; member
Dconfig_file.c633 INT(peerkey); in wpa_config_write_network()
Dconfig_winreg.c783 INT(peerkey); in wpa_config_write_network()
Dconfig.c1203 { INT_RANGE(peerkey, 0, 1) },
/external/openssl/crypto/evp/
Dpmeth_lib.c179 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()
Dpmeth_fn.c335 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()
Devp_locl.h275 EVP_PKEY *peerkey; member
/external/openssl/crypto/dh/
Ddh_pmeth.c207 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/
Dec_pmeth.c175 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/
Dconfig_ssid.h301 int peerkey; member
Dwpas_glue.c631 conf.peerkey_enabled = ssid->peerkey; in wpa_supplicant_rsn_supp_set_config()
DAndroid.mk644 OBJS_h += hostapd/peerkey.c
973 OBJS += src/rsn_supp/peerkey.c
DMakefile621 OBJS_h += ../hostapd/peerkey.o
950 OBJS += ../src/rsn_supp/peerkey.o
Dconfig_winreg.c879 INT(peerkey); in wpa_config_write_network()
Dconfig_file.c808 INT(peerkey); in wpa_config_write_network()
Dconfig.c1409 { INT_RANGE(peerkey, 0, 1) },