wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
wps_validate.c File Reference

Wi-Fi Protected Setup - Strict protocol validation routines. More...

#include "utils/includes.h"
#include "utils/common.h"
#include "wps_i.h"
#include "wps.h"

Functions

int wps_validate_beacon (const struct wpabuf *wps_ie)
 
int wps_validate_beacon_probe_resp (const struct wpabuf *wps_ie, int probe, const u8 *addr)
 
int wps_validate_probe_req (const struct wpabuf *wps_ie, const u8 *addr)
 
int wps_validate_assoc_req (const struct wpabuf *wps_ie)
 
int wps_validate_assoc_resp (const struct wpabuf *wps_ie)
 
int wps_validate_m1 (const struct wpabuf *tlvs)
 
int wps_validate_m2 (const struct wpabuf *tlvs)
 
int wps_validate_m2d (const struct wpabuf *tlvs)
 
int wps_validate_m3 (const struct wpabuf *tlvs)
 
int wps_validate_m4 (const struct wpabuf *tlvs)
 
int wps_validate_m4_encr (const struct wpabuf *tlvs, int wps2)
 
int wps_validate_m5 (const struct wpabuf *tlvs)
 
int wps_validate_m5_encr (const struct wpabuf *tlvs, int wps2)
 
int wps_validate_m6 (const struct wpabuf *tlvs)
 
int wps_validate_m6_encr (const struct wpabuf *tlvs, int wps2)
 
int wps_validate_m7 (const struct wpabuf *tlvs)
 
int wps_validate_m7_encr (const struct wpabuf *tlvs, int ap, int wps2)
 
int wps_validate_m8 (const struct wpabuf *tlvs)
 
int wps_validate_m8_encr (const struct wpabuf *tlvs, int ap, int wps2)
 
int wps_validate_wsc_ack (const struct wpabuf *tlvs)
 
int wps_validate_wsc_nack (const struct wpabuf *tlvs)
 
int wps_validate_wsc_done (const struct wpabuf *tlvs)
 
int wps_validate_upnp_set_selected_registrar (const struct wpabuf *tlvs)
 

Detailed Description

Wi-Fi Protected Setup - Strict protocol validation routines.