Defines | Functions
mschapv2.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MSCHAPV2_AUTH_RESPONSE_LEN   20
#define MSCHAPV2_CHAL_LEN   16
#define MSCHAPV2_MASTER_KEY_LEN   16
#define MSCHAPV2_NT_RESPONSE_LEN   24

Functions

int mschapv2_derive_response (const u8 *username, size_t username_len, const u8 *password, size_t password_len, int pwhash, const u8 *auth_challenge, const u8 *peer_challenge, u8 *nt_response, u8 *auth_response, u8 *master_key)
const u8 * mschapv2_remove_domain (const u8 *username, size_t *len)
int mschapv2_verify_auth_response (const u8 *auth_response, const u8 *buf, size_t buf_len)

Define Documentation

#define MSCHAPV2_AUTH_RESPONSE_LEN   20

Definition at line 20 of file mschapv2.h.

#define MSCHAPV2_CHAL_LEN   16

Definition at line 18 of file mschapv2.h.

#define MSCHAPV2_MASTER_KEY_LEN   16

Definition at line 21 of file mschapv2.h.

#define MSCHAPV2_NT_RESPONSE_LEN   24

Definition at line 19 of file mschapv2.h.


Function Documentation

int mschapv2_derive_response ( const u8 *  username,
size_t  username_len,
const u8 *  password,
size_t  password_len,
int  pwhash,
const u8 *  auth_challenge,
const u8 *  peer_challenge,
u8 *  nt_response,
u8 *  auth_response,
u8 *  master_key 
)

Definition at line 42 of file mschapv2.c.

const u8* mschapv2_remove_domain ( const u8 *  username,
size_t *  len 
)

Definition at line 21 of file mschapv2.c.

int mschapv2_verify_auth_response ( const u8 *  auth_response,
const u8 *  buf,
size_t  buf_len 
)

Definition at line 111 of file mschapv2.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:34:39