Functions
wps_enrollee.c File Reference
#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "crypto/sha256.h"
#include "wps_i.h"
#include "wps_dev_attr.h"
Include dependency graph for wps_enrollee.c:

Go to the source code of this file.

Functions

static int wps_build_ap_settings (struct wps_data *wps, struct wpabuf *plain)
static int wps_build_cred_auth_type (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_cred_encr_type (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_cred_mac_addr (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_cred_network_key (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_cred_ssid (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_e_hash (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_e_snonce1 (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_e_snonce2 (struct wps_data *wps, struct wpabuf *msg)
static struct wpabufwps_build_m1 (struct wps_data *wps)
static struct wpabufwps_build_m3 (struct wps_data *wps)
static struct wpabufwps_build_m5 (struct wps_data *wps)
static struct wpabufwps_build_m7 (struct wps_data *wps)
static int wps_build_mac_addr (struct wps_data *wps, struct wpabuf *msg)
static int wps_build_wps_state (struct wps_data *wps, struct wpabuf *msg)
static struct wpabufwps_build_wsc_ack (struct wps_data *wps)
static struct wpabufwps_build_wsc_done (struct wps_data *wps)
static struct wpabufwps_build_wsc_nack (struct wps_data *wps)
struct wpabufwps_enrollee_get_msg (struct wps_data *wps, enum wsc_op_code *op_code)
enum wps_process_res wps_enrollee_process_msg (struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg)
static int wps_process_ap_settings_e (struct wps_data *wps, struct wps_parse_attr *attr, struct wpabuf *attrs)
static int wps_process_cred_e (struct wps_data *wps, const u8 *cred, size_t cred_len)
static int wps_process_creds (struct wps_data *wps, const u8 *cred[], size_t cred_len[], size_t num_cred)
static int wps_process_enrollee_nonce (struct wps_data *wps, const u8 *e_nonce)
static enum wps_process_res wps_process_m2 (struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr)
static enum wps_process_res wps_process_m2d (struct wps_data *wps, struct wps_parse_attr *attr)
static enum wps_process_res wps_process_m4 (struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr)
static enum wps_process_res wps_process_m6 (struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr)
static enum wps_process_res wps_process_m8 (struct wps_data *wps, const struct wpabuf *msg, struct wps_parse_attr *attr)
static int wps_process_pubkey (struct wps_data *wps, const u8 *pk, size_t pk_len)
static int wps_process_r_hash1 (struct wps_data *wps, const u8 *r_hash1)
static int wps_process_r_hash2 (struct wps_data *wps, const u8 *r_hash2)
static int wps_process_r_snonce1 (struct wps_data *wps, const u8 *r_snonce1)
static int wps_process_r_snonce2 (struct wps_data *wps, const u8 *r_snonce2)
static int wps_process_registrar_nonce (struct wps_data *wps, const u8 *r_nonce)
static int wps_process_uuid_r (struct wps_data *wps, const u8 *uuid_r)
static enum wps_process_res wps_process_wsc_ack (struct wps_data *wps, const struct wpabuf *msg)
static enum wps_process_res wps_process_wsc_msg (struct wps_data *wps, const struct wpabuf *msg)
static enum wps_process_res wps_process_wsc_nack (struct wps_data *wps, const struct wpabuf *msg)

Function Documentation

static int wps_build_ap_settings ( struct wps_data wps,
struct wpabuf plain 
) [static]

Definition at line 273 of file wps_enrollee.c.

static int wps_build_cred_auth_type ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 233 of file wps_enrollee.c.

static int wps_build_cred_encr_type ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 243 of file wps_enrollee.c.

static int wps_build_cred_mac_addr ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 263 of file wps_enrollee.c.

static int wps_build_cred_network_key ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 253 of file wps_enrollee.c.

static int wps_build_cred_ssid ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 223 of file wps_enrollee.c.

static int wps_build_e_hash ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 50 of file wps_enrollee.c.

static int wps_build_e_snonce1 ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 98 of file wps_enrollee.c.

static int wps_build_e_snonce2 ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 108 of file wps_enrollee.c.

static struct wpabuf* wps_build_m1 ( struct wps_data wps) [static, read]

Definition at line 119 of file wps_enrollee.c.

static struct wpabuf* wps_build_m3 ( struct wps_data wps) [static, read]

Definition at line 159 of file wps_enrollee.c.

static struct wpabuf* wps_build_m5 ( struct wps_data wps) [static, read]

Definition at line 189 of file wps_enrollee.c.

static struct wpabuf* wps_build_m7 ( struct wps_data wps) [static, read]

Definition at line 290 of file wps_enrollee.c.

static int wps_build_mac_addr ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 24 of file wps_enrollee.c.

static int wps_build_wps_state ( struct wps_data wps,
struct wpabuf msg 
) [static]

Definition at line 34 of file wps_enrollee.c.

static struct wpabuf* wps_build_wsc_ack ( struct wps_data wps) [static, read]

Definition at line 363 of file wps_enrollee.c.

static struct wpabuf* wps_build_wsc_done ( struct wps_data wps) [static, read]

Definition at line 335 of file wps_enrollee.c.

static struct wpabuf* wps_build_wsc_nack ( struct wps_data wps) [static, read]

Definition at line 385 of file wps_enrollee.c.

struct wpabuf* wps_enrollee_get_msg ( struct wps_data wps,
enum wsc_op_code op_code 
) [read]

Definition at line 408 of file wps_enrollee.c.

enum wps_process_res wps_enrollee_process_msg ( struct wps_data wps,
enum wsc_op_code  op_code,
const struct wpabuf msg 
)

Definition at line 1203 of file wps_enrollee.c.

static int wps_process_ap_settings_e ( struct wps_data wps,
struct wps_parse_attr attr,
struct wpabuf attrs 
) [static]

Definition at line 722 of file wps_enrollee.c.

static int wps_process_cred_e ( struct wps_data wps,
const u8 *  cred,
size_t  cred_len 
) [static]

Definition at line 659 of file wps_enrollee.c.

static int wps_process_creds ( struct wps_data wps,
const u8 *  cred[],
size_t  cred_len[],
size_t  num_cred 
) [static]

Definition at line 699 of file wps_enrollee.c.

static int wps_process_enrollee_nonce ( struct wps_data wps,
const u8 *  e_nonce 
) [static]

Definition at line 484 of file wps_enrollee.c.

static enum wps_process_res wps_process_m2 ( struct wps_data wps,
const struct wpabuf msg,
struct wps_parse_attr attr 
) [static]

Definition at line 762 of file wps_enrollee.c.

static enum wps_process_res wps_process_m2d ( struct wps_data wps,
struct wps_parse_attr attr 
) [static]

Definition at line 798 of file wps_enrollee.c.

static enum wps_process_res wps_process_m4 ( struct wps_data wps,
const struct wpabuf msg,
struct wps_parse_attr attr 
) [static]

Definition at line 853 of file wps_enrollee.c.

static enum wps_process_res wps_process_m6 ( struct wps_data wps,
const struct wpabuf msg,
struct wps_parse_attr attr 
) [static]

Definition at line 902 of file wps_enrollee.c.

static enum wps_process_res wps_process_m8 ( struct wps_data wps,
const struct wpabuf msg,
struct wps_parse_attr attr 
) [static]

Definition at line 949 of file wps_enrollee.c.

static int wps_process_pubkey ( struct wps_data wps,
const u8 *  pk,
size_t  pk_len 
) [static]

Definition at line 514 of file wps_enrollee.c.

static int wps_process_r_hash1 ( struct wps_data wps,
const u8 *  r_hash1 
) [static]

Definition at line 551 of file wps_enrollee.c.

static int wps_process_r_hash2 ( struct wps_data wps,
const u8 *  r_hash2 
) [static]

Definition at line 565 of file wps_enrollee.c.

static int wps_process_r_snonce1 ( struct wps_data wps,
const u8 *  r_snonce1 
) [static]

Definition at line 579 of file wps_enrollee.c.

static int wps_process_r_snonce2 ( struct wps_data wps,
const u8 *  r_snonce2 
) [static]

Definition at line 619 of file wps_enrollee.c.

static int wps_process_registrar_nonce ( struct wps_data wps,
const u8 *  r_nonce 
) [static]

Definition at line 469 of file wps_enrollee.c.

static int wps_process_uuid_r ( struct wps_data wps,
const u8 *  uuid_r 
) [static]

Definition at line 500 of file wps_enrollee.c.

static enum wps_process_res wps_process_wsc_ack ( struct wps_data wps,
const struct wpabuf msg 
) [static]

Definition at line 1072 of file wps_enrollee.c.

static enum wps_process_res wps_process_wsc_msg ( struct wps_data wps,
const struct wpabuf msg 
) [static]

Definition at line 998 of file wps_enrollee.c.

static enum wps_process_res wps_process_wsc_nack ( struct wps_data wps,
const struct wpabuf msg 
) [static]

Definition at line 1124 of file wps_enrollee.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:25