/hostap-latest/src/common/ |
D | dpp_tcp.c | 138 int dpp_relay_add_controller(struct dpp_global *dpp, in dpp_relay_add_controller() argument 144 if (!dpp) in dpp_relay_add_controller() 151 ctrl->global = dpp; in dpp_relay_add_controller() 160 dl_list_add(&dpp->controllers, &ctrl->list); in dpp_relay_add_controller() 166 dpp_relay_controller_get(struct dpp_global *dpp, const u8 *pkhash) in dpp_relay_controller_get() argument 170 if (!dpp) in dpp_relay_controller_get() 173 dl_list_for_each(ctrl, &dpp->controllers, struct dpp_relay_controller, in dpp_relay_controller_get() 184 dpp_relay_controller_get_ctx(struct dpp_global *dpp, void *cb_ctx) in dpp_relay_controller_get_ctx() argument 188 if (!dpp) in dpp_relay_controller_get_ctx() 191 dl_list_for_each(ctrl, &dpp->controllers, struct dpp_relay_controller, in dpp_relay_controller_get_ctx() [all …]
|
D | dpp.h | 586 dpp_alloc_auth(struct dpp_global *dpp, void *msg_ctx); 588 struct dpp_authentication * dpp_auth_init(struct dpp_global *dpp, void *msg_ctx, 596 dpp_auth_req_rx(struct dpp_global *dpp, void *msg_ctx, u8 dpp_allowed_roles, 616 void dpp_controller_pkex_add(struct dpp_global *dpp, 619 bool dpp_controller_is_own_pkex_req(struct dpp_global *dpp, 720 struct dpp_bootstrap_info * dpp_add_qr_code(struct dpp_global *dpp, 722 struct dpp_bootstrap_info * dpp_add_nfc_uri(struct dpp_global *dpp, 724 int dpp_bootstrap_gen(struct dpp_global *dpp, const char *cmd); 726 dpp_bootstrap_get_id(struct dpp_global *dpp, unsigned int id); 727 int dpp_bootstrap_remove(struct dpp_global *dpp, const char *id); [all …]
|
D | dpp.c | 769 dpp_alloc_auth(struct dpp_global *dpp, void *msg_ctx) in dpp_alloc_auth() argument 776 auth->global = dpp; in dpp_alloc_auth() 1369 dpp_configurator_get_id(struct dpp_global *dpp, unsigned int id) in dpp_configurator_get_id() argument 1373 if (!dpp) in dpp_configurator_get_id() 1376 dl_list_for_each(conf, &dpp->configurator, in dpp_configurator_get_id() 3091 int dpp = 0, psk = 0, sae = 0, dot1x = 0; in dpp_akm_from_str() local 3113 dpp = 1; in dpp_akm_from_str() 3130 if (dpp && psk && sae) in dpp_akm_from_str() 3132 if (dpp && sae) in dpp_akm_from_str() 3134 if (dpp) in dpp_akm_from_str() [all …]
|
D | dpp_i.h | 43 unsigned int dpp_next_id(struct dpp_global *dpp); 164 void dpp_tcp_init_flush(struct dpp_global *dpp); 165 void dpp_relay_flush_controllers(struct dpp_global *dpp);
|
D | dpp_reconfig.c | 238 dpp_reconfig_init(struct dpp_global *dpp, void *msg_ctx, in dpp_reconfig_init() argument 292 auth = dpp_alloc_auth(dpp, msg_ctx); in dpp_reconfig_init() 438 dpp_reconfig_auth_req_rx(struct dpp_global *dpp, void *msg_ctx, in dpp_reconfig_auth_req_rx() argument 520 auth = dpp_alloc_auth(dpp, msg_ctx); in dpp_reconfig_auth_req_rx()
|
D | dpp_auth.c | 668 dpp_auth_req_rx(struct dpp_global *dpp, void *msg_ctx, u8 dpp_allowed_roles, in dpp_auth_req_rx() argument 709 auth = dpp_alloc_auth(dpp, msg_ctx); in dpp_auth_req_rx() 1161 struct dpp_authentication * dpp_auth_init(struct dpp_global *dpp, void *msg_ctx, in dpp_auth_init() argument 1178 auth = dpp_alloc_auth(dpp, msg_ctx); in dpp_auth_init()
|
D | dpp_pkex.c | 1343 dpp_pkex_finish(struct dpp_global *dpp, struct dpp_pkex *pkex, const u8 *peer, in dpp_pkex_finish() argument 1351 bi->id = dpp_next_id(dpp); in dpp_pkex_finish() 1369 dl_list_add(&dpp->bootstrap, &bi->list); in dpp_pkex_finish()
|
/hostap-latest/tests/fuzzing/dpp-uri/ |
D | dpp-uri.c | 18 struct dpp_global *dpp; in LLVMFuzzerTestOneInput() local 36 dpp = dpp_global_init(&config); in LLVMFuzzerTestOneInput() 37 if (!dpp) in LLVMFuzzerTestOneInput() 40 bi = dpp_add_qr_code(dpp, uri); in LLVMFuzzerTestOneInput() 41 if (bi && dpp_bootstrap_info(dpp, bi->id, buf, sizeof(buf)) > 0) in LLVMFuzzerTestOneInput() 43 dpp_global_deinit(dpp); in LLVMFuzzerTestOneInput()
|
D | Makefile | 1 all: dpp-uri 23 OBJS += $(SRC)/common/dpp.o 31 OBJS += dpp-uri.o 39 dpp-uri: $(OBJS) $(LIBS) 43 rm -f dpp-uri *~ *.o *.d ../*~ ../*.o ../*.d
|
D | .gitignore | 1 dpp-uri
|
/hostap-latest/src/ap/ |
D | dpp_hostapd.c | 61 bi = dpp_add_qr_code(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_qr_code() 80 dpp_controller_new_qr_code(hapd->iface->interfaces->dpp, bi); in hostapd_dpp_qr_code() 97 bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, cmd); in hostapd_dpp_nfc_uri() 114 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_req() 122 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_req() 145 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, atoi(pos)); in hostapd_dpp_nfc_handover_sel() 153 peer_bi = dpp_add_nfc_uri(hapd->iface->interfaces->dpp, pos); in hostapd_dpp_nfc_handover_sel() 320 own_bi = dpp_bootstrap_get_id(hapd->iface->interfaces->dpp, in hostapd_dpp_pkex_done() 350 auth = dpp_auth_init(hapd->iface->interfaces->dpp, hapd->msg_ctx, in hostapd_dpp_pkex_done() 363 return dpp_tcp_auth(hapd->iface->interfaces->dpp, conn, auth, in hostapd_dpp_pkex_done() [all …]
|
D | gas_serv.h | 78 int dpp; /* whether this is a DPP Config Response */ member
|
D | gas_serv.c | 1558 di->dpp = 1; in gas_serv_req_dpp_processing() 1606 int dpp = 0; in gas_serv_rx_gas_initial_req() local 1640 dpp = 1; in gas_serv_rx_gas_initial_req() 1684 if (dpp) { in gas_serv_rx_gas_initial_req() 1785 if (dialog->dpp) { in gas_serv_rx_gas_comeback_req() 1821 if (dialog->dpp) in gas_serv_rx_gas_comeback_req()
|
D | hostapd.h | 79 struct dpp_global *dpp; member
|
/hostap-latest/wpa_supplicant/ |
D | dpp_supplicant.c | 80 bi = dpp_add_qr_code(wpa_s->dpp, cmd); in wpas_dpp_qr_code() 101 dpp_controller_new_qr_code(wpa_s->dpp, bi); in wpas_dpp_qr_code() 118 bi = dpp_add_nfc_uri(wpa_s->dpp, cmd); in wpas_dpp_nfc_uri() 135 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_req() 144 peer_bi = dpp_add_nfc_uri(wpa_s->dpp, pos); in wpas_dpp_nfc_handover_req() 167 own_bi = dpp_bootstrap_get_id(wpa_s->dpp, atoi(pos)); in wpas_dpp_nfc_handover_sel() 176 peer_bi = dpp_add_nfc_uri(wpa_s->dpp, pos); in wpas_dpp_nfc_handover_sel() 309 !dpp_tcp_conn_status_requested(wpa_s->dpp)) in wpas_dpp_conn_status_result_timeout() 386 !dpp_tcp_conn_status_requested(wpa_s->dpp)) in wpas_dpp_send_conn_status_result() 398 dpp_tcp_send_conn_status(wpa_s->dpp, result, in wpas_dpp_send_conn_status_result() [all …]
|
D | README-DPP | 128 Send provisioning request to Enrollee. (conf is ap-dpp if Enrollee is an 129 AP. conf is sta-dpp if Enrollee is a client) 130 > dpp_auth_init peer=<qr-code-id> conf=<ap-dpp|sta-dpp> ssid=<SSID hexdump> configurator=<configura… 168 > dpp_configurator_sign conf=<ap-dpp|sta-dpp> configurator=<configurator-id> ssid=<SSID hexdump>
|
D | ctrl_iface.c | 681 dpp_controller_set_params(wpa_s->dpp, value); in wpa_supplicant_ctrl_iface_set() 13406 res = dpp_bootstrap_gen(wpa_s->dpp, buf + 18); in wpa_supplicant_ctrl_iface_process() 13415 if (dpp_bootstrap_remove(wpa_s->dpp, buf + 21) < 0) in wpa_supplicant_ctrl_iface_process() 13420 uri = dpp_bootstrap_get_uri(wpa_s->dpp, atoi(buf + 22)); in wpa_supplicant_ctrl_iface_process() 13429 reply_len = dpp_bootstrap_info(wpa_s->dpp, atoi(buf + 19), in wpa_supplicant_ctrl_iface_process() 13432 if (dpp_bootstrap_set(wpa_s->dpp, atoi(buf + 18), in wpa_supplicant_ctrl_iface_process() 13447 res = dpp_configurator_add(wpa_s->dpp, buf + 20); in wpa_supplicant_ctrl_iface_process() 13456 if (dpp_configurator_set(wpa_s->dpp, buf + 20) < 0) in wpa_supplicant_ctrl_iface_process() 13459 if (dpp_configurator_remove(wpa_s->dpp, buf + 24) < 0) in wpa_supplicant_ctrl_iface_process() 13465 reply_len = dpp_configurator_get_key_id(wpa_s->dpp, in wpa_supplicant_ctrl_iface_process() [all …]
|
D | wpa_supplicant_i.h | 1477 struct dpp_global *dpp; member
|
D | wpa_supplicant.c | 750 dpp_global_deinit(wpa_s->dpp); in wpa_supplicant_cleanup() 751 wpa_s->dpp = NULL; in wpa_supplicant_cleanup()
|
/hostap-latest/tests/hwsim/ |
D | .gitignore | 2 dpp-ca.py
|
/hostap-latest/hostapd/ |
D | main.c | 806 interfaces.dpp = dpp_global_init(&dpp_conf); in main() 807 if (!interfaces.dpp) in main() 1045 dpp_global_deinit(interfaces.dpp); in main()
|
D | ctrl_iface.c | 1291 dpp_controller_set_params(hapd->iface->interfaces->dpp, value); in hostapd_ctrl_iface_set() 4440 res = dpp_bootstrap_gen(hapd->iface->interfaces->dpp, buf + 18); in hostapd_ctrl_iface_receive_process() 4449 if (dpp_bootstrap_remove(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4455 uri = dpp_bootstrap_get_uri(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4465 reply_len = dpp_bootstrap_info(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4469 if (dpp_bootstrap_set(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4483 res = dpp_configurator_add(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4493 if (dpp_configurator_set(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4497 if (dpp_configurator_remove(hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() 4505 hapd->iface->interfaces->dpp, in hostapd_ctrl_iface_receive_process() [all …]
|
/hostap-latest/tests/hwsim/vm/ |
D | example-vm-setup.txt | 85 ln -s ~/sigma_dut/dpp-ca.py
|