Go to the documentation of this file.
72 #define CHAP_HEADERLEN 4
78 #define CHAP_DIGEST_MD5 5
79 #define MD5_SIGNATURE_SIZE 16
80 #define CHAP_MICROSOFT 0x80
81 #define MS_CHAP_RESPONSE_LEN 49
83 #define CHAP_CHALLENGE 1
84 #define CHAP_RESPONSE 2
85 #define CHAP_SUCCESS 3
86 #define CHAP_FAILURE 4
91 #define MIN_CHALLENGE_LENGTH 32
92 #define MAX_CHALLENGE_LENGTH 64
93 #define MAX_RESPONSE_LENGTH 64
125 #define CHAPCS_INITIAL 0
126 #define CHAPCS_CLOSED 1
127 #define CHAPCS_PENDING 2
128 #define CHAPCS_LISTEN 3
129 #define CHAPCS_RESPONSE 4
130 #define CHAPCS_OPEN 5
135 #define CHAPSS_INITIAL 0
136 #define CHAPSS_CLOSED 1
137 #define CHAPSS_PENDING 2
138 #define CHAPSS_INITIAL_CHAL 3
139 #define CHAPSS_OPEN 4
140 #define CHAPSS_RECHALLENGE 5
141 #define CHAPSS_BADAUTH 6