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

Wi-Fi Protected Setup - attribute building. More...

#include "includes.h"
#include "common.h"
#include "crypto/aes_wrap.h"
#include "crypto/crypto.h"
#include "crypto/dh_group5.h"
#include "crypto/sha256.h"
#include "crypto/random.h"
#include "common/ieee802_11_defs.h"
#include "wps_i.h"

Functions

int wps_build_public_key (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_req_type (struct wpabuf *msg, enum wps_request_type type)
 
int wps_build_resp_type (struct wpabuf *msg, enum wps_response_type type)
 
int wps_build_config_methods (struct wpabuf *msg, u16 methods)
 
int wps_build_uuid_e (struct wpabuf *msg, const u8 *uuid)
 
int wps_build_dev_password_id (struct wpabuf *msg, u16 id)
 
int wps_build_config_error (struct wpabuf *msg, u16 err)
 
int wps_build_authenticator (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_version (struct wpabuf *msg)
 
int wps_build_wfa_ext (struct wpabuf *msg, int req_to_enroll, const u8 *auth_macs, size_t auth_macs_count)
 
int wps_build_msg_type (struct wpabuf *msg, enum wps_msg_type msg_type)
 
int wps_build_enrollee_nonce (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_registrar_nonce (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_auth_type_flags (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_encr_type_flags (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_conn_type_flags (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_assoc_state (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_key_wrap_auth (struct wps_data *wps, struct wpabuf *msg)
 
int wps_build_encr_settings (struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain)
 
struct wpabufwps_ie_encapsulate (struct wpabuf *data)
 
int wps_build_mac_addr (struct wpabuf *msg, const u8 *addr)
 
int wps_build_rf_bands_attr (struct wpabuf *msg, u8 rf_bands)
 
int wps_build_ap_channel (struct wpabuf *msg, u16 ap_channel)
 

Detailed Description

Wi-Fi Protected Setup - attribute building.