/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
H A D | wps_attr_process.c | 145 const u8 *encr_type) 147 if (encr_type == NULL) { 153 cred->encr_type = WPA_GET_BE16(encr_type); 155 cred->encr_type); 182 (cred->encr_type == WPS_ENCR_NONE)) { 295 wps_process_cred_encr_type(cred, attr->encr_type) || 322 wps_process_cred_encr_type(cred, attr->encr_type) || 144 wps_process_cred_encr_type(struct wps_credential *cred, const u8 *encr_type) argument
|
H A D | wps_i.h | 79 * encr_type - Available encryption types 81 u16 encr_type; member in struct:wps_data 136 const u8 *encr_type; /* 2 octets */ member in struct:wps_parse_attr
|
H A D | wps_registrar.c | 1032 cred->encr_type); 1035 wpabuf_put_be16(msg, cred->encr_type); 1108 if (wps->encr_type & WPS_ENCR_AES) 1109 wps->encr_type = WPS_ENCR_AES; 1110 else if (wps->encr_type & WPS_ENCR_TKIP) 1111 wps->encr_type = WPS_ENCR_TKIP; 1118 if (wps->encr_type & WPS_ENCR_WEP) 1119 wps->encr_type = WPS_ENCR_WEP; 1120 else if (wps->encr_type & WPS_ENCR_NONE) 1121 wps->encr_type [all...] |
H A D | wps.h | 41 * @encr_type: Encryption Type (WPS_ENCR_NONE, .. flags) 54 u16 encr_type; member in struct:wps_credential
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_attr_process.c | 139 const u8 *encr_type) 141 if (encr_type == NULL) { 147 cred->encr_type = WPA_GET_BE16(encr_type); 149 cred->encr_type); 175 cred->encr_type == WPS_ENCR_NONE) { 296 wps_process_cred_encr_type(cred, attr->encr_type) || 321 wps_process_cred_encr_type(cred, attr->encr_type) || 138 wps_process_cred_encr_type(struct wps_credential *cred, const u8 *encr_type) argument
|
H A D | wps_enrollee.c | 277 u16 encr_type = wps->wps->encr_types; local 281 if (encr_type & WPS_ENCR_AES) 282 encr_type = WPS_ENCR_AES; 283 else if (encr_type & WPS_ENCR_TKIP) 284 encr_type = WPS_ENCR_TKIP; 286 if (encr_type & WPS_ENCR_WEP) 287 encr_type = WPS_ENCR_WEP; 288 else if (encr_type & WPS_ENCR_NONE) 289 encr_type = WPS_ENCR_NONE; 292 wpa_printf(MSG_DEBUG, "WPS: * Encryption Type (0x%x)", encr_type); [all...] |
H A D | wps_attr_parse.h | 46 const u8 *encr_type; /* 2 octets */ member in struct:wps_parse_attr
|
H A D | wps_registrar.c | 1461 cred->encr_type); 1464 wpabuf_put_be16(msg, cred->encr_type); 1563 if (wps->encr_type & WPS_ENCR_AES) 1564 wps->encr_type = WPS_ENCR_AES; 1565 else if (wps->encr_type & WPS_ENCR_TKIP) 1566 wps->encr_type = WPS_ENCR_TKIP; 1573 if (wps->encr_type & WPS_ENCR_WEP) 1574 wps->encr_type = WPS_ENCR_WEP; 1575 else if (wps->encr_type & WPS_ENCR_NONE) 1576 wps->encr_type [all...] |
H A D | wps_validate.c | 986 const u8 *encr_type, int mandatory) 996 if (((encr_type == NULL || WPA_GET_BE16(encr_type) != WPS_ENCR_WEP) && 1042 wps_validate_encr_type(attr.encr_type, 1) || 1045 attr.encr_type, 1) || 1741 wps_validate_encr_type(attr.encr_type, !ap) || 1744 attr.encr_type, !ap) || 1813 wps_validate_encr_type(attr.encr_type, ap) || 985 wps_validate_network_key(const u8 *key, size_t key_len, const u8 *encr_type, int mandatory) argument
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_attr_process.c | 139 const u8 *encr_type) 141 if (encr_type == NULL) { 147 cred->encr_type = WPA_GET_BE16(encr_type); 149 cred->encr_type); 175 cred->encr_type == WPS_ENCR_NONE) { 296 wps_process_cred_encr_type(cred, attr->encr_type) || 321 wps_process_cred_encr_type(cred, attr->encr_type) || 138 wps_process_cred_encr_type(struct wps_credential *cred, const u8 *encr_type) argument
|
H A D | wps_enrollee.c | 277 u16 encr_type = wps->wps->encr_types; local 281 if (encr_type & WPS_ENCR_AES) 282 encr_type = WPS_ENCR_AES; 283 else if (encr_type & WPS_ENCR_TKIP) 284 encr_type = WPS_ENCR_TKIP; 286 if (encr_type & WPS_ENCR_WEP) 287 encr_type = WPS_ENCR_WEP; 288 else if (encr_type & WPS_ENCR_NONE) 289 encr_type = WPS_ENCR_NONE; 292 wpa_printf(MSG_DEBUG, "WPS: * Encryption Type (0x%x)", encr_type); [all...] |
H A D | wps_attr_parse.h | 46 const u8 *encr_type; /* 2 octets */ member in struct:wps_parse_attr
|
H A D | wps_registrar.c | 1461 cred->encr_type); 1464 wpabuf_put_be16(msg, cred->encr_type); 1563 if (wps->encr_type & WPS_ENCR_AES) 1564 wps->encr_type = WPS_ENCR_AES; 1565 else if (wps->encr_type & WPS_ENCR_TKIP) 1566 wps->encr_type = WPS_ENCR_TKIP; 1573 if (wps->encr_type & WPS_ENCR_WEP) 1574 wps->encr_type = WPS_ENCR_WEP; 1575 else if (wps->encr_type & WPS_ENCR_NONE) 1576 wps->encr_type [all...] |
H A D | wps_validate.c | 986 const u8 *encr_type, int mandatory) 996 if (((encr_type == NULL || WPA_GET_BE16(encr_type) != WPS_ENCR_WEP) && 1042 wps_validate_encr_type(attr.encr_type, 1) || 1045 attr.encr_type, 1) || 1741 wps_validate_encr_type(attr.encr_type, !ap) || 1744 attr.encr_type, !ap) || 1813 wps_validate_encr_type(attr.encr_type, ap) || 985 wps_validate_network_key(const u8 *key, size_t key_len, const u8 *encr_type, int mandatory) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_attr_process.c | 139 const u8 *encr_type) 141 if (encr_type == NULL) { 147 cred->encr_type = WPA_GET_BE16(encr_type); 149 cred->encr_type); 175 cred->encr_type == WPS_ENCR_NONE) { 296 wps_process_cred_encr_type(cred, attr->encr_type) || 321 wps_process_cred_encr_type(cred, attr->encr_type) || 138 wps_process_cred_encr_type(struct wps_credential *cred, const u8 *encr_type) argument
|
H A D | wps_enrollee.c | 277 u16 encr_type = wps->wps->encr_types; local 281 if (encr_type & WPS_ENCR_AES) 282 encr_type = WPS_ENCR_AES; 283 else if (encr_type & WPS_ENCR_TKIP) 284 encr_type = WPS_ENCR_TKIP; 286 if (encr_type & WPS_ENCR_WEP) 287 encr_type = WPS_ENCR_WEP; 288 else if (encr_type & WPS_ENCR_NONE) 289 encr_type = WPS_ENCR_NONE; 292 wpa_printf(MSG_DEBUG, "WPS: * Encryption Type (0x%x)", encr_type); [all...] |
H A D | wps_attr_parse.h | 46 const u8 *encr_type; /* 2 octets */ member in struct:wps_parse_attr
|
H A D | wps_registrar.c | 1461 cred->encr_type); 1464 wpabuf_put_be16(msg, cred->encr_type); 1563 if (wps->encr_type & WPS_ENCR_AES) 1564 wps->encr_type = WPS_ENCR_AES; 1565 else if (wps->encr_type & WPS_ENCR_TKIP) 1566 wps->encr_type = WPS_ENCR_TKIP; 1573 if (wps->encr_type & WPS_ENCR_WEP) 1574 wps->encr_type = WPS_ENCR_WEP; 1575 else if (wps->encr_type & WPS_ENCR_NONE) 1576 wps->encr_type [all...] |
H A D | wps_validate.c | 986 const u8 *encr_type, int mandatory) 996 if (((encr_type == NULL || WPA_GET_BE16(encr_type) != WPS_ENCR_WEP) && 1042 wps_validate_encr_type(attr.encr_type, 1) || 1045 attr.encr_type, 1) || 1741 wps_validate_encr_type(attr.encr_type, !ap) || 1744 attr.encr_type, !ap) || 1813 wps_validate_encr_type(attr.encr_type, ap) || 985 wps_validate_network_key(const u8 *key, size_t key_len, const u8 *encr_type, int mandatory) argument
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_wsc.c | 100 cred->encr_type = WPS_ENCR_NONE; 102 cred->encr_type = WPS_ENCR_WEP; 104 cred->encr_type = WPS_ENCR_TKIP; 106 cred->encr_type = WPS_ENCR_AES;
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_wsc.c | 100 cred->encr_type = WPS_ENCR_NONE; 102 cred->encr_type = WPS_ENCR_WEP; 104 cred->encr_type = WPS_ENCR_TKIP; 106 cred->encr_type = WPS_ENCR_AES;
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_wsc.c | 100 cred->encr_type = WPS_ENCR_NONE; 102 cred->encr_type = WPS_ENCR_WEP; 104 cred->encr_type = WPS_ENCR_TKIP; 106 cred->encr_type = WPS_ENCR_AES;
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wps_hostapd.c | 302 wpa_printf(MSG_DEBUG, "WPS: Encryption Type 0x%x", cred->encr_type); 328 hapd->wps->encr_types = cred->encr_type; 415 if (cred->encr_type & WPS_ENCR_AES) { 419 if (cred->encr_type & WPS_ENCR_TKIP) { 450 if (cred->encr_type & WPS_ENCR_WEP && cred->key_idx <= 4) { 1510 cred.encr_type = WPS_ENCR_NONE; 1512 cred.encr_type = WPS_ENCR_WEP; 1514 cred.encr_type = WPS_ENCR_TKIP; 1516 cred.encr_type = WPS_ENCR_AES; 1520 cred.encr_type [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | wps_hostapd.c | 302 wpa_printf(MSG_DEBUG, "WPS: Encryption Type 0x%x", cred->encr_type); 328 hapd->wps->encr_types = cred->encr_type; 415 if (cred->encr_type & WPS_ENCR_AES) { 419 if (cred->encr_type & WPS_ENCR_TKIP) { 450 if (cred->encr_type & WPS_ENCR_WEP && cred->key_idx <= 4) { 1510 cred.encr_type = WPS_ENCR_NONE; 1512 cred.encr_type = WPS_ENCR_WEP; 1514 cred.encr_type = WPS_ENCR_TKIP; 1516 cred.encr_type = WPS_ENCR_AES; 1520 cred.encr_type [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wps_hostapd.c | 302 wpa_printf(MSG_DEBUG, "WPS: Encryption Type 0x%x", cred->encr_type); 328 hapd->wps->encr_types = cred->encr_type; 415 if (cred->encr_type & WPS_ENCR_AES) { 419 if (cred->encr_type & WPS_ENCR_TKIP) { 450 if (cred->encr_type & WPS_ENCR_WEP && cred->key_idx <= 4) { 1510 cred.encr_type = WPS_ENCR_NONE; 1512 cred.encr_type = WPS_ENCR_WEP; 1514 cred.encr_type = WPS_ENCR_TKIP; 1516 cred.encr_type = WPS_ENCR_AES; 1520 cred.encr_type [all...] |