Home
last modified time | relevance | path

Searched full:phase2 (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/contrib/wpa/src/ap/
H A Deap_user_db.c136 size_t identity_len, int phase2) in eap_user_sqlite_get() argument
173 hapd->tmp_eap_user.phase2 = phase2; in eap_user_sqlite_get()
188 "SELECT * FROM users WHERE identity='%s' AND phase2=%d;", in eap_user_sqlite_get()
189 id_str, phase2); in eap_user_sqlite_get()
202 if (user == NULL && !phase2) { in eap_user_sqlite_get()
233 size_t identity_len, int phase2) in hostapd_get_eap_user() argument
262 if (!phase2 && user->identity == NULL) { in hostapd_get_eap_user()
267 if (user->phase2 == !!phase2 && user->wildcard_prefix && in hostapd_get_eap_user()
275 if (user->phase2 == !!phase2 && in hostapd_get_eap_user()
285 phase2); in hostapd_get_eap_user()
/freebsd/contrib/wpa/hostapd/
H A Dhostapd.eap_user_sqlite6 phase2 INTEGER,
15 INSERT INTO users(identity,methods,password,phase2) VALUES ('user','TTLS-MSCHAPV2','password',1);
16 INSERT INTO users(identity,methods,password,phase2) VALUES ('DOMAIN\mschapv2 user','TTLS-MSCHAPV2',…
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c152 eap_tls_params_flags(params, config->phase2); in eap_tls_params_from_conf2()
167 struct eap_peer_config *config, int phase2) in eap_tls_params_from_conf() argument
212 if (phase2 && sm->use_machine_cred) { in eap_tls_params_from_conf()
215 } else if (phase2) { in eap_tls_params_from_conf()
216 wpa_printf(MSG_DEBUG, "TLS: using phase2 config options"); in eap_tls_params_from_conf()
245 if (!phase2) in eap_tls_params_from_conf()
321 data->phase2 = sm->init_phase2; in eap_peer_tls_ssl_init()
324 if (eap_tls_params_from_conf(sm, data, &params, config, data->phase2) < in eap_peer_tls_ssl_init()
332 if (data->phase2) { in eap_peer_tls_ssl_init()
1096 * @prefix: 'phase2' configuration prefix, e.g., "auth="
[all …]
H A Deap_ttls.c115 if (config && config->phase2) { in eap_ttls_init()
118 while ((token = cstr_token(config->phase2, " \t", &last))) { in eap_ttls_init()
141 "EAP-TTLS: Unsupported Phase2 type '%s'", in eap_ttls_init()
149 "EAP-TTLS: Only one Phase2 type can be specified"); in eap_ttls_init()
157 if (os_strstr(config->phase2, "autheap=")) { in eap_ttls_init()
169 wpa_printf(MSG_DEBUG, "EAP-TTLS: Phase2 type: %s", selected); in eap_ttls_init()
719 * notification, so assume that Phase2 succeeds. */ in eap_ttls_phase2_request_mschap()
774 * so assume that Phase2 succeeds. */ in eap_ttls_phase2_request_pap()
854 * notification, so assume that Phase2 succeeds. */ in eap_ttls_phase2_request_chap()
1182 wpa_printf(MSG_INFO, "EAP-TTLS: Phase2 Request " in eap_ttls_process_phase2_eap()
[all …]
H A Deap_tls_common.h52 * phase2 - Whether this TLS connection is used in EAP phase 2 (tunnel)
54 int phase2; member
H A Deap_config.h498 * phase2 - Phase2 (inner authentication with TLS tunnel) parameters
505 char *phase2; member
508 * machine_phase2 - Phase2 parameters for machine credentials
510 * See phase2 for more details.
H A Deap_mschapv2.c92 int phase2; member
135 data->phase2 = sm->init_phase2; in eap_mschapv2_init()
480 config && config->phase2 && in eap_mschapv2_failure_txt()
481 os_strstr(config->phase2, "mschapv2_retry=0")) { in eap_mschapv2_failure_txt()
/freebsd/tools/regression/net80211/tkip/
H A Dtest_tkip.c55 Phase2 00 20 01 4c fe 67 be d2 7c 86 7b 1b f8 02 8b 1c
129 const u_int8_t *phase2; member
254 * Verify: phase1, phase2, frame length, frame contents. in runtest()
262 } else if (memcmp(ctx->tx_rc4key, t->phase2, t->phase2_len)) { in runtest()
263 printf("FAIL: encrypt phase2 botch\n"); in runtest()
265 t->phase2, t->phase2_len); in runtest()
286 * Check reason for failure: phase1, phase2, frame data (ICV). in runtest()
292 } else if (memcmp(ctx->rx_rc4key, t->phase2, t->phase2_len)) { in runtest()
293 printf("FAIL: decrypt phase2 botch\n"); in runtest()
295 t->phase2, t->phase2_len); in runtest()
/freebsd/usr.sbin/wpa/wpa_supplicant/
H A Dwpa_supplicant.conf.5377 .It Va phase2
378 phase2: Phase2 (inner authentication with TLS tunnel) parameters
519 phase2="auth=MSCHAPV2"
538 phase2="auth=MD5"
570 phase2="auth=MSCHAPV2"
/freebsd/sys/contrib/device-tree/Bindings/watchdog/
H A Drealtek,otto-wdt.yaml48 - const: phase2
86 interrupt-names = "phase1", "phase2";
/freebsd/contrib/wpa/src/eap_server/
H A Deap_tls_common.h42 * phase2 - Whether this TLS connection is used in EAP phase 2 (tunnel)
44 int phase2; member
H A Deap_server_ttls.c487 "starting Phase2"); in eap_ttls_buildReq()
864 wpa_printf(MSG_DEBUG, "EAP-TTLS/EAP: %s - Phase2 not " in eap_ttls_process_phase2_eap_response()
874 wpa_hexdump(MSG_DEBUG, "EAP-TTLS/EAP: Phase2 type Nak'ed; " in eap_ttls_process_phase2_eap_response()
903 wpa_printf(MSG_DEBUG, "EAP-TTLS/EAP: Phase2 check() asked to " in eap_ttls_process_phase2_eap_response()
911 wpa_printf(MSG_DEBUG, "EAP-TTLS/EAP: Phase2 method is in " in eap_ttls_process_phase2_eap_response()
921 wpa_printf(MSG_DEBUG, "EAP-TTLS/EAP: Phase2 method failed"); in eap_ttls_process_phase2_eap_response()
929 wpa_hexdump_ascii(MSG_DEBUG, "EAP_TTLS: Phase2 " in eap_ttls_process_phase2_eap_response()
1073 wpa_printf(MSG_DEBUG, "EAP-TTLS: Phase2 Identity not " in eap_ttls_process_phase2()
1251 wpa_hexdump_ascii(MSG_DEBUG, "EAP-TTLS: Phase2 Identity not found in the user database", in eap_ttls_process()
1258 "EAP-TTLS: Resuming previous session - skip Phase2"); in eap_ttls_process()
H A Deap_server_peap.c563 "starting Phase2"); in eap_peap_buildReq()
981 wpa_printf(MSG_DEBUG, "EAP-PEAP: %s - Phase2 not " in eap_peap_process_phase2_response()
991 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Phase2 type Nak'ed; " in eap_peap_process_phase2_response()
1016 wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase2 check() asked to " in eap_peap_process_phase2_response()
1024 wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase2 method is in " in eap_peap_process_phase2_response()
1034 wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase2 method failed"); in eap_peap_process_phase2_response()
1047 wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase2 getKey " in eap_peap_process_phase2_response()
1061 wpa_hexdump_ascii(MSG_DEBUG, "EAP_PEAP: Phase2 " in eap_peap_process_phase2_response()
1326 wpa_hexdump_ascii(MSG_DEBUG, "EAP-PEAP: Phase2 Identity not found in the user database", in eap_peap_process()
1333 "EAP-PEAP: Resuming previous session - skip Phase2"); in eap_peap_process()
H A Deap_server_tls.c25 int phase2; member
89 data->phase2 = sm->init_phase2; in eap_tls_init()
216 data->phase2) < 0) in eap_tls_buildReq()
H A Deap_server_fast.c544 wpa_printf(MSG_DEBUG, "EAP-FAST: Phase1 done, starting Phase2"); in eap_fast_phase1_done()
978 wpa_printf(MSG_DEBUG, "EAP-FAST: %s - Phase2 not " in eap_fast_process_phase2_response()
988 wpa_hexdump(MSG_DEBUG, "EAP-FAST: Phase2 type Nak'ed; " in eap_fast_process_phase2_response()
1022 wpa_printf(MSG_DEBUG, "EAP-FAST: Phase2 check() asked to " in eap_fast_process_phase2_response()
1034 wpa_printf(MSG_DEBUG, "EAP-FAST: Phase2 method failed"); in eap_fast_process_phase2_response()
1044 wpa_hexdump_ascii(MSG_DEBUG, "EAP-FAST: Phase2 " in eap_fast_process_phase2_response()
1419 wpa_printf(MSG_DEBUG, "EAP-FAST: Phase2 method is in " in eap_fast_process_phase2()
1493 "Phase2 Identity not found " in eap_fast_process_phase2_start()
H A Deap.h36 int phase2; member
100 int phase2, struct eap_user *user);
/freebsd/contrib/wpa/src/radius/
H A Dradius_server.h66 * @phase2: Whether this is for Phase 2 identity
76 int phase2, struct eap_user *user);
/freebsd/contrib/wpa/wpa_supplicant/examples/
H A Dieee8021x.conf9 phase2="auth=MSCHAPV2"
/freebsd/contrib/wpa/wpa_supplicant/
H A DREADME-HS20253 # phase2: Pre-configure Phase 2 (inner authentication) parameters
351 # phase2="auth=MSCHAPV2"
549 EAP-TTLSv0 Phase2 method=PAP
666 phase2="auth=MSCHAPV2"
683 phase2: Credential/UsernamePassword/EAPMethod or NAI Realm list
H A Dinterworking.c1601 if (cred->phase2) { in interworking_set_eap_params()
1602 os_free(ssid->eap.phase2); in interworking_set_eap_params()
1603 ssid->eap.phase2 = os_strdup(cred->phase2); in interworking_set_eap_params()
1888 if (wpa_config_set(ssid, "phase2", buf, 0) < 0) in interworking_connect()
1894 if (wpa_config_set(ssid, "phase2", "\"auth=PAP\"", 0) < in interworking_connect()
1899 if (wpa_config_set(ssid, "phase2", "\"auth=CHAP\"", 0) in interworking_connect()
1904 if (wpa_config_set(ssid, "phase2", "\"auth=MSCHAP\"", in interworking_connect()
1909 if (wpa_config_set(ssid, "phase2", "\"auth=MSCHAPV2\"", in interworking_connect()
1915 if (wpa_config_set(ssid, "phase2", "\"auth=MSCHAPV2\"", in interworking_connect()
1935 if (wpa_config_set(ssid, "phase2", buf, 0) < 0) in interworking_connect()
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwind-seh.cpp206 bool phase2 = (state & (_UA_SEARCH_PHASE|_UA_CLEANUP_PHASE)) == _UA_CLEANUP_PHASE; in __libunwind_seh_personality() local
231 return phase2 ? _URC_INSTALL_CONTEXT : _URC_HANDLER_FOUND; in __libunwind_seh_personality()
233 return phase2 ? _URC_FATAL_PHASE2_ERROR : _URC_FATAL_PHASE1_ERROR; in __libunwind_seh_personality()
369 /// When \c _Unwind_RaiseException() is in phase2, it hands control
H A DUnwind-EHABI.cpp86 // perform phase1 or phase2 unwinding. in ProcessDescriptors()
138 // phase2. in ProcessDescriptors()
586 // phase2. To continue unwindingly correctly, replace VRS[15] with the in unwind_phase2()
587 // IP of the frame that the previous run of phase2 installed the context in unwind_phase2()
649 "stop here, but now in phase2 it did not stop here"); in unwind_phase2()
843 /// When _Unwind_RaiseException() is in phase2, it hands control
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/
H A Dwpa_supplicant.conf.sgml96 phase2="auth=MSCHAPV2"
118 phase2="auth=MD5"
/freebsd/contrib/wpa/src/eapol_auth/
H A Deapol_auth_sm.h52 int phase2, struct eap_user *user);
/freebsd/contrib/llvm-project/libunwind/include/
H A Dunwind_itanium.h29 uintptr_t private_2; // holds sp that phase1 found for phase2 to use

123