Lines Matching refs:token
116 const char *token, *last = NULL; in eap_ttls_init() local
118 while ((token = cstr_token(config->phase2, " \t", &last))) { in eap_ttls_init()
119 if (os_strncmp(token, "auth=", 5) != 0) in eap_ttls_init()
121 token += 5; in eap_ttls_init()
123 if (last - token == 8 && in eap_ttls_init()
124 os_strncmp(token, "MSCHAPV2", 8) == 0) { in eap_ttls_init()
127 } else if (last - token == 6 && in eap_ttls_init()
128 os_strncmp(token, "MSCHAP", 6) == 0) { in eap_ttls_init()
131 } else if (last - token == 3 && in eap_ttls_init()
132 os_strncmp(token, "PAP", 3) == 0) { in eap_ttls_init()
135 } else if (last - token == 4 && in eap_ttls_init()
136 os_strncmp(token, "CHAP", 4) == 0) { in eap_ttls_init()
142 token); in eap_ttls_init()