/freebsd/contrib/wpa/src/ap/ |
H A D | eap_user_db.c | 121 os_memcmp(argv[id], user->identity, len) == 0 && in get_wildcard_cb() 135 eap_user_sqlite_get(struct hostapd_data *hapd, const u8 *identity, in eap_user_sqlite_get() argument 150 os_memcpy(id_str, identity, identity_len); in eap_user_sqlite_get() 168 bin_clear_free(hapd->tmp_eap_user.identity, in eap_user_sqlite_get() 174 hapd->tmp_eap_user.identity = os_zalloc(identity_len + 1); in eap_user_sqlite_get() 175 if (hapd->tmp_eap_user.identity == NULL) in eap_user_sqlite_get() 177 os_memcpy(hapd->tmp_eap_user.identity, identity, identity_len); in eap_user_sqlite_get() 214 os_free(user->identity); in eap_user_sqlite_get() 215 user->identity = user->password; in eap_user_sqlite_get() 232 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity, in hostapd_get_eap_user() argument [all …]
|
H A D | pmksa_cache_auth.c | 42 os_free(entry->identity); in _pmksa_cache_free_entry() 152 if (eapol->identity) { in pmksa_cache_from_eapol_data() 153 entry->identity = os_malloc(eapol->identity_len); in pmksa_cache_from_eapol_data() 154 if (entry->identity) { in pmksa_cache_from_eapol_data() 156 os_memcpy(entry->identity, eapol->identity, in pmksa_cache_from_eapol_data() 190 if (entry->identity) { in pmksa_cache_to_eapol_data() 191 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 192 eapol->identity = os_malloc(entry->identity_len); in pmksa_cache_to_eapol_data() 193 if (eapol->identity) { in pmksa_cache_to_eapol_data() 195 os_memcpy(eapol->identity, entry->identity, in pmksa_cache_to_eapol_data() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wpa_supplicant.conf | 1814 identity="user@example.com" 1828 identity="user@example.com" 1842 identity="user@example.com" 1855 identity="user@example.com" 1917 identity="eap_psk_user@example.com" 1928 identity="user@example.com" 1942 identity="user" 1951 identity="user" 1961 identity="username" 1972 identity="username" [all …]
|
/freebsd/contrib/wpa/hostapd/ |
H A D | hostapd.eap_user_sqlite | 2 identity TEXT PRIMARY KEY, 11 identity TEXT PRIMARY KEY, 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',… 18 INSERT INTO wildcards(identity,methods) VALUES ('','TTLS,TLS'); 19 INSERT INTO wildcards(identity,methods) VALUES ('0','AKA'); 31 identity TEXT 36 identity TEXT,
|
H A D | hostapd.eap_user | 3 # Each line must contain an identity, EAP method(s), and an optional password 4 # separated with whitespace (space or tab). The identity and password must be 14 # identity can be used in the unencrypted phase 1 and the real user identity 25 # * can be used as a wildcard to match any user identity. The main purposes for 26 # this are to set anonymous phase 1 identity for EAP-PEAP and EAP-TTLS and to 41 # version based on the Phase 1 identity. Without this flag, the EAP 71 # Default to EAP-SIM and EAP-AKA based on fixed identity prefixes 94 # Default to EAP-SIM and EAP-AKA based on fixed identity prefixes in phase 2
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | algorithm | 48 template<forward_iterator I, sentinel_for<I> S, class Proj = identity, 52 template<forward_range R, class Proj = identity, 56 template<forward_iterator I, sentinel_for<I> S, class Proj = identity, 60 template<forward_range R, class Proj = identity, 68 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity> 74 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity> 82 template<input_range R, class T, class Proj = identity> 87 template<input_iterator I, sentinel_for<I> S, class Proj = identity, 91 template<input_range R, class Proj = identity, 96 template<input_iterator I, sentinel_for<I> S, class Proj = identity, [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_log.c | 31 const char *identity; member 40 zed_log_init(const char *identity) in zed_log_init() argument 42 if (identity) { in zed_log_init() 43 const char *p = strrchr(identity, '/'); in zed_log_init() 44 _ctx.identity = (p != NULL) ? p + 1 : identity; in zed_log_init() 46 _ctx.identity = NULL; in zed_log_init() 186 openlog(_ctx.identity, LOG_NDELAY | LOG_PID, facility); in zed_log_syslog_open()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_get_psk_identity.pod | 5 SSL_get_psk_identity, SSL_get_psk_identity_hint - get PSK client identity and hint 16 SSL_get_psk_identity_hint() is used to retrieve the PSK identity hint 19 identity used during the connection setup. 24 If non-B<NULL>, SSL_get_psk_identity_hint() returns the PSK identity 25 hint and SSL_get_psk_identity() returns the PSK identity. Both are 27 no PSK identity hint was used during the connection setup.
|
H A D | SSL_CTX_use_psk_identity_hint.pod | 13 - set PSK identity hint to use 20 const unsigned char *identity, 30 const char *identity, 47 an identity in B<identity> of length B<identity_len>. The callback function 60 to set the given B<NUL>-terminated PSK identity hint B<hint> for SSL context 62 identity hint B<hint> for the SSL connection object B<ssl>. If B<hint> is 65 In the case where PSK identity hint is B<NULL>, the server does not send the 71 is to validate the received PSK identity and to fetch the pre-shared key used 75 identity sent by the client in parameter B<identity>, and a buffer B<psk> of 105 PSK identity was not found. An "unknown_psk_identity" alert message [all …]
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_gtc.c | 131 if (sm->identity && sm->require_identity_match && in eap_gtc_process() 133 os_memcmp(pos, sm->identity, sm->identity_len))) { in eap_gtc_process() 138 sm->identity, sm->identity_len); in eap_gtc_process() 142 os_free(sm->identity); in eap_gtc_process() 144 sm->identity = os_memdup(pos, sm->identity_len); in eap_gtc_process() 145 if (sm->identity == NULL) { in eap_gtc_process() 151 if (eap_user_get(sm, sm->identity, sm->identity_len, 1) != 0) { in eap_gtc_process() 155 sm->identity, sm->identity_len); in eap_gtc_process()
|
H A D | eap_server_sim.c | 119 username = sim_get_username(sm->identity, sm->identity_len); in eap_sim_build_start() 148 } else if (sm->identity && sm->identity_len > 0 && in eap_sim_build_start() 149 sm->identity[0] == EAP_SIM_REAUTH_ID_PREFIX) { in eap_sim_build_start() 288 eap_sim_derive_keys_reauth(data->counter, sm->identity, in eap_sim_build_reauth() 453 const u8 *identity; in eap_sim_process_start() local 470 (!attr->identity || attr->identity_len == 0)) in eap_sim_process_start() 477 if (!attr->identity || attr->identity_len == 0) { in eap_sim_process_start() 486 os_free(sm->identity); in eap_sim_process_start() 487 sm->identity = new_identity; in eap_sim_process_start() 488 os_memcpy(sm->identity, attr->identity, attr->identity_len); in eap_sim_process_start() [all …]
|
H A D | eap_server_identity.c | 129 if (sm->identity) in eap_identity_process() 131 os_free(sm->identity); in eap_identity_process() 132 sm->identity = os_malloc(len ? len : 1); in eap_identity_process() 133 if (sm->identity == NULL) { in eap_identity_process() 136 os_memcpy(sm->identity, pos, len); in eap_identity_process()
|
H A D | eap_server_aka.c | 159 const u8 *identity = sm->identity; in eap_aka_check_identity() local 163 identity = (const u8 *) sm->sim_aka_permanent; in eap_aka_check_identity() 169 username = sim_get_username(identity, identity_len); in eap_aka_check_identity() 411 } else if (sm->identity && sm->identity_len > 0 && in eap_aka_build_identity() 412 (sm->identity[0] == EAP_AKA_REAUTH_ID_PREFIX || in eap_aka_build_identity() 413 sm->identity[0] == EAP_AKA_PRIME_REAUTH_ID_PREFIX)) { in eap_aka_build_identity() 603 sm->identity, in eap_aka_build_reauth() 610 eap_sim_derive_keys_reauth(data->counter, sm->identity, in eap_aka_build_reauth() 777 sm->identity, sm->identity_len); in eap_aka_determine_identity() 779 username = sim_get_username(sm->identity, sm->identity_len); in eap_aka_determine_identity() [all …]
|
H A D | eap_server_fast.c | 61 u8 *identity; /* from PAC-Opaque */ member 131 u8 *identity = NULL; in eap_fast_session_ticket_cb() local 218 identity = pos; in eap_fast_session_ticket_cb() 234 if (identity) { in eap_fast_session_ticket_cb() 236 "PAC-Opaque", identity, identity_len); in eap_fast_session_ticket_cb() 237 os_free(data->identity); in eap_fast_session_ticket_cb() 238 data->identity = os_malloc(identity_len); in eap_fast_session_ticket_cb() 239 if (data->identity) { in eap_fast_session_ticket_cb() 240 os_memcpy(data->identity, identity, identity_len); in eap_fast_session_ticket_cb() 509 os_free(data->identity); in eap_fast_reset() [all …]
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_sim_common.h | 74 void eap_sim_derive_mk(const u8 *identity, size_t identity_len, 78 void eap_aka_derive_mk(const u8 *identity, size_t identity_len, 83 const u8 *identity, size_t identity_len, 92 void eap_aka_prime_derive_keys(const u8 *identity, size_t identity_len, 96 const u8 *identity, size_t identity_len, 108 static inline void eap_aka_prime_derive_keys(const u8 *identity, in eap_aka_prime_derive_keys() argument 117 const u8 *identity, in eap_aka_prime_derive_keys_reauth() argument 186 const u8 *nonce_mt, *identity, *res, *auts; member
|
/freebsd/contrib/llvm-project/libcxx/include/__functional/ |
H A D | identity.h | 45 struct identity { 55 struct __is_identity<identity> : true_type {}; 57 struct __is_identity<reference_wrapper<identity> > : true_type {}; 59 struct __is_identity<reference_wrapper<const identity> > : true_type {};
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_sim.c | 161 if (sm->identity) { in eap_sim_init() 164 data->mk_identity = os_memdup(sm->identity, sm->identity_len); in eap_sim_init() 434 const u8 *identity = NULL; in eap_sim_learn_ids() local 445 identity = eap_get_config_identity(sm, &identity_len); in eap_sim_learn_ids() 446 if (identity) { in eap_sim_learn_ids() 447 for (realm = identity, realm_len = identity_len; in eap_sim_learn_ids() 515 const u8 *identity, size_t identity_len, in eap_sim_encrypt_identity() argument 523 identity, identity_len); in eap_sim_encrypt_identity() 525 imsi_buf = wpabuf_alloc_copy(identity, identity_len); in eap_sim_encrypt_identity() 565 const u8 *identity = NULL; in eap_sim_response_start() local [all …]
|
H A D | eap_aka.c | 143 if (sm->identity) { in eap_aka_init() 146 data->mk_identity = os_memdup(sm->identity, sm->identity_len); in eap_aka_init() 408 const u8 *identity = NULL; in eap_aka_learn_ids() local 419 identity = eap_get_config_identity(sm, &identity_len); in eap_aka_learn_ids() 420 if (identity) { in eap_aka_learn_ids() 421 for (realm = identity, realm_len = identity_len; in eap_aka_learn_ids() 647 const u8 *identity, size_t identity_len, in eap_aka_encrypt_identity() argument 655 identity, identity_len); in eap_aka_encrypt_identity() 657 imsi_buf = wpabuf_alloc_copy(identity, identity_len); in eap_aka_encrypt_identity() 698 const u8 *identity = NULL; in eap_aka_response_identity() local [all …]
|
H A D | eap_leap.c | 65 const u8 *pos, *challenge, *identity, *password; in eap_leap_process_request() local 72 identity = eap_get_config_identity(sm, &identity_len); in eap_leap_process_request() 74 if (identity == NULL || password == NULL) in eap_leap_process_request() 129 wpabuf_put_data(resp, identity, identity_len); in eap_leap_process_request() 144 const u8 *identity; in eap_leap_process_success() local 149 identity = eap_get_config_identity(sm, &identity_len); in eap_leap_process_success() 150 if (identity == NULL) in eap_leap_process_success() 179 wpabuf_put_data(resp, identity, identity_len); in eap_leap_process_success()
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | ranges_starts_with.h | 42 class _Proj1 = identity, 43 class _Proj2 = identity> 67 class _Proj1 = identity, 68 class _Proj2 = identity>
|
H A D | ranges_includes.h | 45 … class _Proj1 = identity, 46 … class _Proj2 = identity, 68 class _Proj1 = identity, 69 class _Proj2 = identity,
|
H A D | ranges_find_end.h | 45 class _Proj1 = identity, 46 class _Proj2 = identity> 72 class _Proj1 = identity, 73 class _Proj2 = identity>
|
H A D | ranges_contains_subrange.h | 45 class _Proj1 = identity, 46 class _Proj2 = identity> 67 class _Proj1 = identity, 68 class _Proj2 = identity>
|
H A D | ranges_transform.h | 16 #include <__functional/identity.h> 91 class _Proj = identity> in operator() 98 template <input_range _Range, weakly_incrementable _OutIter, copy_constructible _Func, class _Proj = identity> in operator() 111 class _Proj1 = identity, 112 class _Proj2 = identity> in operator() 139 class _Proj1 = identity, 140 class _Proj2 = identity>
|
H A D | ranges_set_difference.h | 17 #include <__functional/identity.h> 54 class _Proj1 = identity, in operator() 55 class _Proj2 = identity> in operator() 75 class _Proj1 = identity, 76 class _Proj2 = identity> in operator()
|