/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_build.c | 81 wpabuf_put_be16(msg, ATTR_PUBLIC_KEY); in wps_build_public_key() 82 wpabuf_put_be16(msg, wpabuf_len(pubkey)); in wps_build_public_key() 100 wpabuf_put_be16(msg, ATTR_REQUEST_TYPE); in wps_build_req_type() 101 wpabuf_put_be16(msg, 1); in wps_build_req_type() 110 wpabuf_put_be16(msg, ATTR_RESPONSE_TYPE); in wps_build_resp_type() 111 wpabuf_put_be16(msg, 1); in wps_build_resp_type() 120 wpabuf_put_be16(msg, ATTR_CONFIG_METHODS); in wps_build_config_methods() 121 wpabuf_put_be16(msg, 2); in wps_build_config_methods() 122 wpabuf_put_be16(msg, methods); in wps_build_config_methods() 132 wpabuf_put_be16(msg, ATTR_UUID_E); in wps_build_uuid_e() [all …]
|
D | wps_dev_attr.c | 20 wpabuf_put_be16(msg, ATTR_MANUFACTURER); in wps_build_manufacturer() 29 wpabuf_put_be16(msg, 1); in wps_build_manufacturer() 34 wpabuf_put_be16(msg, len); in wps_build_manufacturer() 44 wpabuf_put_be16(msg, ATTR_MODEL_NAME); in wps_build_model_name() 53 wpabuf_put_be16(msg, 1); in wps_build_model_name() 58 wpabuf_put_be16(msg, len); in wps_build_model_name() 68 wpabuf_put_be16(msg, ATTR_MODEL_NUMBER); in wps_build_model_number() 77 wpabuf_put_be16(msg, 1); in wps_build_model_number() 82 wpabuf_put_be16(msg, len); in wps_build_model_number() 92 wpabuf_put_be16(msg, ATTR_SERIAL_NUMBER); in wps_build_serial_number() [all …]
|
D | wps_enrollee.c | 28 wpabuf_put_be16(msg, ATTR_WPS_STATE); in wps_build_wps_state() 29 wpabuf_put_be16(msg, 1); in wps_build_wps_state() 54 wpabuf_put_be16(msg, ATTR_E_HASH1); in wps_build_e_hash() 55 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash() 70 wpabuf_put_be16(msg, ATTR_E_HASH2); in wps_build_e_hash() 71 wpabuf_put_be16(msg, SHA256_MAC_LEN); in wps_build_e_hash() 86 wpabuf_put_be16(msg, ATTR_E_SNONCE1); in wps_build_e_snonce1() 87 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1() 96 wpabuf_put_be16(msg, ATTR_E_SNONCE2); in wps_build_e_snonce2() 97 wpabuf_put_be16(msg, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce2() [all …]
|
D | wps_registrar.c | 481 wpabuf_put_be16(msg, ATTR_WPS_STATE); in wps_build_wps_state() 482 wpabuf_put_be16(msg, 1); in wps_build_wps_state() 518 wpabuf_put_be16(msg, ATTR_AP_SETUP_LOCKED); in wps_build_ap_setup_locked() 519 wpabuf_put_be16(msg, 1); in wps_build_ap_setup_locked() 532 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR); in wps_build_selected_registrar() 533 wpabuf_put_be16(msg, 1); in wps_build_selected_registrar() 548 wpabuf_put_be16(msg, ATTR_DEV_PASSWORD_ID); in wps_build_sel_reg_dev_password_id() 549 wpabuf_put_be16(msg, 2); in wps_build_sel_reg_dev_password_id() 550 wpabuf_put_be16(msg, id); in wps_build_sel_reg_dev_password_id() 608 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR_CONFIG_METHODS); in wps_build_sel_reg_config_methods() [all …]
|
D | wps_er.c | 1467 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR); in wps_er_build_selected_registrar() 1468 wpabuf_put_be16(msg, 1); in wps_er_build_selected_registrar() 1476 wpabuf_put_be16(msg, ATTR_DEV_PASSWORD_ID); in wps_er_build_dev_password_id() 1477 wpabuf_put_be16(msg, 2); in wps_er_build_dev_password_id() 1478 wpabuf_put_be16(msg, dev_passwd_id); in wps_er_build_dev_password_id() 1486 wpabuf_put_be16(msg, ATTR_SELECTED_REGISTRAR_CONFIG_METHODS); in wps_er_build_sel_reg_config_methods() 1487 wpabuf_put_be16(msg, 2); in wps_er_build_sel_reg_config_methods() 1488 wpabuf_put_be16(msg, sel_reg_config_methods); in wps_er_build_sel_reg_config_methods() 1495 wpabuf_put_be16(msg, ATTR_UUID_R); in wps_er_build_uuid_r() 1496 wpabuf_put_be16(msg, WPS_UUID_LEN); in wps_er_build_uuid_r()
|
D | wps_upnp.c | 595 wpabuf_put_be16(msg, ATTR_ENROLLEE_NONCE); in build_fake_wsc_ack() 596 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack() 599 wpabuf_put_be16(msg, ATTR_REGISTRAR_NONCE); in build_fake_wsc_ack() 600 wpabuf_put_be16(msg, WPS_NONCE_LEN); in build_fake_wsc_ack()
|
D | wps_common.c | 745 wpabuf_put_be16(msg, ATTR_SSID); in wps_build_ssid() 746 wpabuf_put_be16(msg, wps->ssid_len); in wps_build_ssid()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 219 wpabuf_put_be16(buf, methods); in p2p_buf_add_device_info() 235 wpabuf_put_be16(buf, ATTR_DEV_NAME); in p2p_buf_add_device_info() 236 wpabuf_put_be16(buf, nlen); in p2p_buf_add_device_info() 546 wpabuf_put_be16(buf, config_methods); in p2p_buf_add_service_info() 714 wpabuf_put_be16(buf, attr); in p2p_add_wps_string() 724 wpabuf_put_be16(buf, 1); in p2p_add_wps_string() 729 wpabuf_put_be16(buf, len); in p2p_add_wps_string() 754 wpabuf_put_be16(buf, ATTR_WPS_STATE); in p2p_build_wps_ie() 755 wpabuf_put_be16(buf, 1); in p2p_build_wps_ie() 763 wpabuf_put_be16(buf, ATTR_DEV_PASSWORD_ID); in p2p_build_wps_ie() [all …]
|
D | p2p_pd.c | 35 wpabuf_put_be16(buf, ATTR_CONFIG_METHODS); in p2p_build_wps_ie_config_methods() 36 wpabuf_put_be16(buf, 2); in p2p_build_wps_ie_config_methods() 37 wpabuf_put_be16(buf, config_methods); in p2p_build_wps_ie_config_methods()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | tncc.c | 1188 wpabuf_put_be16(buf, EAP_TLV_VENDOR_SPECIFIC_TLV); /* TLV Type */ in tncc_build_soh() 1191 wpabuf_put_be16(buf, 0x01); /* TLV Type - SoH TLV */ in tncc_build_soh() 1195 wpabuf_put_be16(buf, EAP_TLV_VENDOR_SPECIFIC_TLV); /* Outer Type */ in tncc_build_soh() 1198 wpabuf_put_be16(buf, ver); /* Inner Type */ in tncc_build_soh() 1204 wpabuf_put_be16(buf, EAP_TLV_VENDOR_SPECIFIC_TLV); in tncc_build_soh() 1205 wpabuf_put_be16(buf, 4 + 24 + 1 + 1); /* Length */ in tncc_build_soh() 1215 wpabuf_put_be16(buf, 0x0002); /* Type */ in tncc_build_soh() 1216 wpabuf_put_be16(buf, 4); /* Length */ in tncc_build_soh() 1219 wpabuf_put_be16(buf, EAP_TLV_VENDOR_SPECIFIC_TLV); in tncc_build_soh() 1239 wpabuf_put_be16(buf, 0); /* spVersionMajor */ in tncc_build_soh() [all …]
|
D | eap_gpsk.c | 339 wpabuf_put_be16(resp, data->id_peer_len); in eap_gpsk_send_gpsk_2() 342 wpabuf_put_be16(resp, data->id_server_len); in eap_gpsk_send_gpsk_2() 357 wpabuf_put_be16(resp, csuite_list_len); in eap_gpsk_send_gpsk_2() 394 wpabuf_put_be16(resp, 0); in eap_gpsk_send_gpsk_2() 647 wpabuf_put_be16(resp, 0); in eap_gpsk_send_gpsk_4()
|
D | eap_peap.c | 215 wpabuf_put_be16(msg, 6); /* Length */ in eap_tlv_build_nak() 217 wpabuf_put_be16(msg, nak_type); /* NAK-Type */ in eap_tlv_build_nak() 331 wpabuf_put_be16(buf, tlv_type); in eap_tlv_add_cryptobinding() 332 wpabuf_put_be16(buf, 56); in eap_tlv_add_cryptobinding() 384 wpabuf_put_be16(msg, 2); /* Length */ in eap_tlv_build_result() 385 wpabuf_put_be16(msg, status); /* Status */ in eap_tlv_build_result()
|
D | ikev2.c | 865 wpabuf_put_be16(msg, 0x800e); /* AF=1, AttrType=14 */ in ikev2_build_sar1() 866 wpabuf_put_be16(msg, 128); /* 128-bit key */ in ikev2_build_sar1() 918 wpabuf_put_be16(msg, data->proposal.dh); /* DH Group # */ in ikev2_build_ker() 1039 wpabuf_put_be16(msg, data->error_type); in ikev2_build_notification() 1048 wpabuf_put_be16(msg, data->proposal.dh); in ikev2_build_notification()
|
D | eap_pax.c | 195 wpabuf_put_be16(resp, EAP_PAX_RAND_LEN); in eap_pax_process_std_1() 200 wpabuf_put_be16(resp, data->cid_len); in eap_pax_process_std_1() 205 wpabuf_put_be16(resp, EAP_PAX_MAC_LEN); in eap_pax_process_std_1()
|
D | eap_pwd.c | 294 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_perform_id_exchange() 1040 wpabuf_put_be16(resp, tot_len); in eap_pwd_process()
|
D | eap_wsc.c | 332 wpabuf_put_be16(resp, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 132 wpabuf_put_be16(req, sm->server_id_len); in eap_gpsk_build_gpsk_1() 135 wpabuf_put_be16(req, in eap_gpsk_build_gpsk_1() 171 wpabuf_put_be16(req, sm->server_id_len); in eap_gpsk_build_gpsk_3() 178 wpabuf_put_be16(req, 0); in eap_gpsk_build_gpsk_3()
|
D | tncs.c | 1179 wpabuf_put_be16(buf, EAP_TLV_VENDOR_SPECIFIC_TLV); /* TLV Type */ in tncs_build_soh_request() 1180 wpabuf_put_be16(buf, 8); /* Length */ in tncs_build_soh_request() 1184 wpabuf_put_be16(buf, 0x02); /* TLV Type - SoH Request TLV */ in tncs_build_soh_request() 1185 wpabuf_put_be16(buf, 0); /* Length */ in tncs_build_soh_request()
|
D | eap_server_peap.c | 410 wpabuf_put_be16(buf, 2); in eap_peap_build_phase2_tlv() 412 wpabuf_put_be16(buf, data->tlv_request == TLV_REQ_SUCCESS ? in eap_peap_build_phase2_tlv() 446 wpabuf_put_be16(buf, tlv_type); in eap_peap_build_phase2_tlv() 447 wpabuf_put_be16(buf, 56); in eap_peap_build_phase2_tlv()
|
D | eap_server_pax.c | 104 wpabuf_put_be16(req, EAP_PAX_RAND_LEN); in eap_pax_build_std_1() 145 wpabuf_put_be16(req, EAP_PAX_MAC_LEN); in eap_pax_build_std_3()
|
D | ikev2.c | 930 wpabuf_put_be16(msg, 0x800e); /* AF=1, AttrType=14 */ in ikev2_build_sai() 931 wpabuf_put_be16(msg, 128); /* 128-bit key */ in ikev2_build_sai() 984 wpabuf_put_be16(msg, data->proposal.dh); /* DH Group # */ in ikev2_build_kei()
|
D | eap_server_pwd.c | 226 wpabuf_put_be16(data->outbuf, data->group_num); in eap_pwd_build_id_req() 515 wpabuf_put_be16(req, totlen); in eap_pwd_build_req()
|
D | eap_server_wsc.c | 216 wpabuf_put_be16(req, wpabuf_len(data->out_buf)); in eap_wsc_build_msg()
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.h | 121 static inline void wpabuf_put_be16(struct wpabuf *buf, u16 data) in wpabuf_put_be16() function
|
/external/wpa_supplicant_8/src/ap/ |
D | fils_hlp.c | 260 wpabuf_put_be16(resp, ETH_P_IP); in fils_dhcp_handler()
|