eap_sim.c File Reference

WPA Supplicant / EAP-SIM (draft-haverinen-pppext-eap-sim-13.txt). More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "common.h"
#include "eap_i.h"
#include "wpa_supplicant.h"
#include "config_ssid.h"
#include "crypto.h"
#include "pcsc_funcs.h"
#include "eap_sim_common.h"

Include dependency graph for eap_sim.c:

Go to the source code of this file.

Defines

#define EAP_SIM_VERSION   1
#define EAP_SIM_SUBTYPE_START   10
#define EAP_SIM_SUBTYPE_CHALLENGE   11
#define EAP_SIM_SUBTYPE_NOTIFICATION   12
#define EAP_SIM_SUBTYPE_REAUTHENTICATION   13
#define EAP_SIM_SUBTYPE_CLIENT_ERROR   14
#define EAP_SIM_UNABLE_TO_PROCESS_PACKET   0
#define EAP_SIM_UNSUPPORTED_VERSION   1
#define EAP_SIM_INSUFFICIENT_NUM_OF_CHAL   2
#define EAP_SIM_RAND_NOT_FRESH   3
#define KC_LEN   8
#define SRES_LEN   4
#define EAP_SIM_MAX_FAST_REAUTHS   1000
#define CLEAR_PSEUDONYM   0x01
#define CLEAR_REAUTH_ID   0x02
#define CLEAR_EAP_ID   0x04

Variables

const struct eap_method eap_method_sim


Detailed Description

WPA Supplicant / EAP-SIM (draft-haverinen-pppext-eap-sim-13.txt).

Copyright
Copyright (c) 2004-2005, Jouni Malinen <[email protected]>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file eap_sim.c.


Variable Documentation

const struct eap_method eap_method_sim
 

Initial value:

{
        .method = EAP_TYPE_SIM,
        .name = "SIM",
        .init = eap_sim_init,
        .deinit = eap_sim_deinit,
        .process = eap_sim_process,
        .isKeyAvailable = eap_sim_isKeyAvailable,
        .getKey = eap_sim_getKey,
        .has_reauth_data = eap_sim_has_reauth_data,
        .deinit_for_reauth = eap_sim_deinit_for_reauth,
        .init_for_reauth = eap_sim_init_for_reauth,
        .get_identity = eap_sim_get_identity,
}

Definition at line 1006 of file eap_sim.c.


Generated on Sat May 6 21:15:44 2006 for wpa_supplicant by  doxygen 1.4.2