6 RCSIDH(mschap_h,
"$Id: 6fcc485925772b5ebac5d5d35f1194759eb535b9 $")
8 #define NT_DIGEST_LENGTH 16
9 #define LM_DIGEST_LENGTH 16
13 uint8_t
const *auth_challenge,
14 char const *user_name, uint8_t *challenge );
17 uint8_t
const *nt_hash_hash,
18 uint8_t
const *ntresponse,
19 uint8_t
const *peer_challenge, uint8_t
const *auth_challenge,
22 char const *
name,
char const *value,
size_t len);
int mschap_ntpwdhash(uint8_t *out, char const *password)
Converts Unicode password to 16-byte NT hash with MD4.
void mschap_add_reply(REQUEST *request, unsigned char ident, char const *name, char const *value, size_t len)
void mschap_auth_response(char const *username, uint8_t const *nt_hash_hash, uint8_t const *ntresponse, uint8_t const *peer_challenge, uint8_t const *auth_challenge, char *response)
void mschap_challenge_hash(uint8_t const *peer_challenge, uint8_t const *auth_challenge, char const *user_name, uint8_t *challenge)