Home
last modified time | relevance | path

Searched refs:pkex (Results 1 - 8 of 8) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_pkex.c29 static struct wpabuf * dpp_pkex_build_exchange_req(struct dpp_pkex *pkex, in dpp_pkex_build_exchange_req() argument
38 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req()
44 Qi = dpp_pkex_derive_Qi(curve, v2 ? NULL : pkex->own_mac, pkex->code, in dpp_pkex_build_exchange_req()
45 pkex->identifier, &ec); in dpp_pkex_build_exchange_req()
56 pkex->x = dpp_set_keypair(&tmp_curve, in dpp_pkex_build_exchange_req()
60 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req()
63 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req()
65 if (!pkex->x) in dpp_pkex_build_exchange_req()
69 X = crypto_ec_key_get_public_key(pkex in dpp_pkex_build_exchange_req()
165 dpp_pkex_fail(struct dpp_pkex *pkex, const char *txt) dpp_pkex_fail() argument
176 struct dpp_pkex *pkex; dpp_pkex_init() local
213 dpp_pkex_build_exchange_resp(struct dpp_pkex *pkex, enum dpp_status_error status, const u8 *Nx, const u8 *Ny) dpp_pkex_build_exchange_resp() argument
350 struct dpp_pkex *pkex = NULL; dpp_pkex_rx_exchange_req() local
578 dpp_pkex_build_commit_reveal_req(struct dpp_pkex *pkex, const struct wpabuf *A_pub, const u8 *u) dpp_pkex_build_commit_reveal_req() argument
690 dpp_pkex_rx_exchange_resp(struct dpp_pkex *pkex, const u8 *peer_mac, const u8 *buf, size_t buflen) dpp_pkex_rx_exchange_resp() argument
897 dpp_pkex_build_commit_reveal_resp(struct dpp_pkex *pkex, const struct wpabuf *B_pub, const u8 *v) dpp_pkex_build_commit_reveal_resp() argument
1009 dpp_pkex_rx_commit_reveal_req(struct dpp_pkex *pkex, const u8 *hdr, const u8 *buf, size_t buflen) dpp_pkex_rx_commit_reveal_req() argument
1191 dpp_pkex_rx_commit_reveal_resp(struct dpp_pkex *pkex, const u8 *hdr, const u8 *buf, size_t buflen) dpp_pkex_rx_commit_reveal_resp() argument
1334 dpp_pkex_finish(struct dpp_global *dpp, struct dpp_pkex *pkex, const u8 *peer, unsigned int freq) dpp_pkex_finish() argument
1360 dpp_pkex_free(struct dpp_pkex *pkex) dpp_pkex_free() argument
[all...]
H A Ddpp.h616 struct wpabuf * dpp_pkex_rx_exchange_resp(struct dpp_pkex *pkex,
619 struct wpabuf * dpp_pkex_rx_commit_reveal_req(struct dpp_pkex *pkex,
622 int dpp_pkex_rx_commit_reveal_resp(struct dpp_pkex *pkex, const u8 *hdr,
624 void dpp_pkex_free(struct dpp_pkex *pkex);
654 dpp_pkex_finish(struct dpp_global *dpp, struct dpp_pkex *pkex, const u8 *peer,
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Ddpp_supplicant.c1480 struct dpp_pkex *pkex) in wpas_dpp_pkex_next_channel()
1482 if (pkex->freq == 2437) in wpas_dpp_pkex_next_channel()
1483 pkex->freq = 5745; in wpas_dpp_pkex_next_channel()
1484 else if (pkex->freq == 5745) in wpas_dpp_pkex_next_channel()
1485 pkex->freq = 5220; in wpas_dpp_pkex_next_channel()
1486 else if (pkex->freq == 5220) in wpas_dpp_pkex_next_channel()
1487 pkex->freq = 60480; in wpas_dpp_pkex_next_channel()
1491 if (wpas_dpp_allow_ir(wpa_s, pkex->freq) == 1) { in wpas_dpp_pkex_next_channel()
1493 pkex->freq); in wpas_dpp_pkex_next_channel()
1498 return wpas_dpp_pkex_next_channel(wpa_s, pkex); in wpas_dpp_pkex_next_channel()
1479 wpas_dpp_pkex_next_channel(struct wpa_supplicant *wpa_s, struct dpp_pkex *pkex) wpas_dpp_pkex_next_channel() argument
1505 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_pkex_retry_timeout() local
1542 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_tx_pkex_status() local
1696 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_rx_pkex_commit_reveal_req() local
1744 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_rx_pkex_commit_reveal_resp() local
2169 struct dpp_pkex *pkex; wpas_dpp_pkex_add() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Ddpp.c6895 static struct wpabuf * dpp_pkex_build_exchange_req(struct dpp_pkex *pkex) in dpp_pkex_build_exchange_req() argument
6906 const struct dpp_curve_params *curve = pkex->own_bi->curve; in dpp_pkex_build_exchange_req()
6914 Qi = dpp_pkex_derive_Qi(curve, pkex->own_mac, pkex->code, in dpp_pkex_build_exchange_req()
6915 pkex->identifier, bnctx, &group); in dpp_pkex_build_exchange_req()
6926 pkex->x = dpp_set_keypair(&tmp_curve, in dpp_pkex_build_exchange_req()
6930 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req()
6933 pkex->x = dpp_gen_keypair(curve); in dpp_pkex_build_exchange_req()
6935 if (!pkex->x) in dpp_pkex_build_exchange_req()
6939 X_ec = EVP_PKEY_get1_EC_KEY(pkex in dpp_pkex_build_exchange_req()
7032 dpp_pkex_fail(struct dpp_pkex *pkex, const char *txt) dpp_pkex_fail() argument
7043 struct dpp_pkex *pkex; dpp_pkex_init() local
7079 dpp_pkex_build_exchange_resp(struct dpp_pkex *pkex, enum dpp_status_error status, const BIGNUM *Nx, const BIGNUM *Ny) dpp_pkex_build_exchange_resp() argument
7264 struct dpp_pkex *pkex = NULL; dpp_pkex_rx_exchange_req() local
7483 dpp_pkex_build_commit_reveal_req(struct dpp_pkex *pkex, const struct wpabuf *A_pub, const u8 *u) dpp_pkex_build_commit_reveal_req() argument
7595 dpp_pkex_rx_exchange_resp(struct dpp_pkex *pkex, const u8 *peer_mac, const u8 *buf, size_t buflen) dpp_pkex_rx_exchange_resp() argument
7784 dpp_pkex_build_commit_reveal_resp(struct dpp_pkex *pkex, const struct wpabuf *B_pub, const u8 *v) dpp_pkex_build_commit_reveal_resp() argument
7896 dpp_pkex_rx_commit_reveal_req(struct dpp_pkex *pkex, const u8 *hdr, const u8 *buf, size_t buflen) dpp_pkex_rx_commit_reveal_req() argument
8061 dpp_pkex_rx_commit_reveal_resp(struct dpp_pkex *pkex, const u8 *hdr, const u8 *buf, size_t buflen) dpp_pkex_rx_commit_reveal_resp() argument
8194 dpp_pkex_free(struct dpp_pkex *pkex) dpp_pkex_free() argument
8518 dpp_pkex_finish(struct dpp_global *dpp, struct dpp_pkex *pkex, const u8 *peer, unsigned int freq) dpp_pkex_finish() argument
[all...]
H A Ddpp.h473 struct wpabuf * dpp_pkex_rx_exchange_resp(struct dpp_pkex *pkex,
476 struct wpabuf * dpp_pkex_rx_commit_reveal_req(struct dpp_pkex *pkex,
479 int dpp_pkex_rx_commit_reveal_resp(struct dpp_pkex *pkex, const u8 *hdr,
481 void dpp_pkex_free(struct dpp_pkex *pkex);
505 dpp_pkex_finish(struct dpp_global *dpp, struct dpp_pkex *pkex, const u8 *peer,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Ddpp_supplicant.c2545 struct dpp_pkex *pkex) in wpas_dpp_pkex_next_channel()
2547 if (pkex->freq == 2437) in wpas_dpp_pkex_next_channel()
2548 pkex->freq = 5745; in wpas_dpp_pkex_next_channel()
2549 else if (pkex->freq == 5745) in wpas_dpp_pkex_next_channel()
2550 pkex->freq = 5220; in wpas_dpp_pkex_next_channel()
2551 else if (pkex->freq == 5220) in wpas_dpp_pkex_next_channel()
2552 pkex->freq = 60480; in wpas_dpp_pkex_next_channel()
2556 if (wpas_dpp_allow_ir(wpa_s, pkex->freq) == 1) { in wpas_dpp_pkex_next_channel()
2558 pkex->freq); in wpas_dpp_pkex_next_channel()
2563 return wpas_dpp_pkex_next_channel(wpa_s, pkex); in wpas_dpp_pkex_next_channel()
2544 wpas_dpp_pkex_next_channel(struct wpa_supplicant *wpa_s, struct dpp_pkex *pkex) wpas_dpp_pkex_next_channel() argument
2570 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_pkex_retry_timeout() local
2609 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_tx_pkex_status() local
2764 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_rx_pkex_commit_reveal_req() local
2812 struct dpp_pkex *pkex = wpa_s->dpp_pkex; wpas_dpp_rx_pkex_commit_reveal_resp() local
3325 struct dpp_pkex *pkex; wpas_dpp_pkex_add() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Ddpp_hostapd.c1243 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_req() local
1249 if (!pkex || pkex->initiator || !pkex->exchange_done) { in hostapd_dpp_rx_pkex_commit_reveal_req()
1254 msg = dpp_pkex_rx_commit_reveal_req(pkex, hdr, buf, len); in hostapd_dpp_rx_pkex_commit_reveal_req()
1278 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_req()
1292 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_resp() local
1298 if (!pkex || !pkex->initiator || !pkex in hostapd_dpp_rx_pkex_commit_reveal_resp()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Ddpp_hostapd.c1816 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_req() local
1822 if (!pkex || pkex->initiator || !pkex->exchange_done) { in hostapd_dpp_rx_pkex_commit_reveal_req()
1827 msg = dpp_pkex_rx_commit_reveal_req(pkex, hdr, buf, len); in hostapd_dpp_rx_pkex_commit_reveal_req()
1851 bi = dpp_pkex_finish(hapd->iface->interfaces->dpp, pkex, src, freq); in hostapd_dpp_rx_pkex_commit_reveal_req()
1865 struct dpp_pkex *pkex = hapd->dpp_pkex; in hostapd_dpp_rx_pkex_commit_reveal_resp() local
1871 if (!pkex || !pkex->initiator || !pkex in hostapd_dpp_rx_pkex_commit_reveal_resp()
[all...]

Completed in 23 milliseconds