Home | History | Annotate | Download | only in wps

Lines Matching refs:wps

16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator,
24 wpa_printf(MSG_DEBUG, "WPS: No Authenticator attribute "
29 if (wps->last_msg == NULL) {
30 wpa_printf(MSG_DEBUG, "WPS: Last message not available for "
38 addr[0] = wpabuf_head(wps->last_msg);
39 len[0] = wpabuf_len(wps->last_msg);
42 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash);
45 wpa_printf(MSG_DEBUG, "WPS: Incorrect Authenticator");
53 int wps_process_key_wrap_auth(struct wps_data *wps, struct wpabuf *msg,
61 wpa_printf(MSG_DEBUG, "WPS: No KWA in decrypted attribute");
68 wpa_printf(MSG_DEBUG, "WPS: KWA not in the end of the "
73 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash);
75 wpa_printf(MSG_DEBUG, "WPS: Invalid KWA");
87 wpa_printf(MSG_DEBUG, "WPS: Credential did not include "
92 wpa_printf(MSG_DEBUG, "WPS: Network Index: %d", *idx);
102 wpa_printf(MSG_DEBUG, "WPS: Credential did not include SSID");
111 wpa_hexdump_ascii(MSG_DEBUG, "WPS: SSID", ssid, ssid_len);
125 wpa_printf(MSG_DEBUG, "WPS: Credential did not include "
131 wpa_printf(MSG_DEBUG, "WPS: Authentication Type: 0x%x",
142 wpa_printf(MSG_DEBUG, "WPS: Credential did not include "
148 wpa_printf(MSG_DEBUG, "WPS: Encryption Type: 0x%x",
161 wpa_printf(MSG_DEBUG, "WPS: Network Key Index: %d", *key_idx);
172 wpa_printf(MSG_DEBUG, "WPS: Credential did not include "
176 wpa_printf(MSG_DEBUG, "WPS: Workaround - Allow "
184 wpa_hexdump_key(MSG_DEBUG, "WPS: Network Key", key, key_len);
198 wpa_printf(MSG_DEBUG, "WPS: Credential did not include "
203 wpa_printf(MSG_DEBUG, "WPS: MAC Address " MACSTR, MAC2STR(mac_addr));
216 wpa_hexdump(MSG_DEBUG, "WPS: EAP Type", eap_type, eap_type_len);
229 wpa_hexdump_ascii(MSG_DEBUG, "WPS: EAP Identity",
242 wpa_printf(MSG_DEBUG, "WPS: Key Provided Automatically: %d",
255 wpa_printf(MSG_DEBUG, "WPS: 802.1X Enabled: %d", *dot1x_enabled);
268 wpa_printf(MSG_DEBUG, "WPS: AP Channel: %u", cred->ap_channel);
280 wpa_printf(MSG_INFO, "WPS: WPA/WPA2-Personal passphrase uses "
282 wpa_hexdump_ascii_key(MSG_INFO, "WPS: Network Key",
291 wpa_printf(MSG_DEBUG, "WPS: Workaround - remove NULL "
303 wpa_printf(MSG_DEBUG, "WPS: Process Credential");
330 wpa_printf(MSG_DEBUG, "WPS: Processing AP Settings");