Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/freebsd/contrib/wpa/src/ap/
H A Deap_user_db.c119 os_memcmp(argv[id], user->identity, len) == 0 && in get_wildcard_cb()
133 eap_user_sqlite_get(struct hostapd_data *hapd, const u8 *identity, in eap_user_sqlite_get() argument
148 os_memcpy(id_str, identity, identity_len); in eap_user_sqlite_get()
166 bin_clear_free(hapd->tmp_eap_user.identity, in eap_user_sqlite_get()
172 hapd->tmp_eap_user.identity = os_zalloc(identity_len + 1); in eap_user_sqlite_get()
173 if (hapd->tmp_eap_user.identity == NULL) in eap_user_sqlite_get()
175 os_memcpy(hapd->tmp_eap_user.identity, identity, identity_len); in eap_user_sqlite_get()
212 os_free(user->identity); in eap_user_sqlite_get()
213 user->identity = user->password; in eap_user_sqlite_get()
230 hostapd_get_eap_user(struct hostapd_data *hapd, const u8 *identity, in hostapd_get_eap_user() argument
[all …]
H A Dpmksa_cache_auth.c42 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 Dwpa_supplicant.conf1910 identity="user@example.com"
1924 identity="user@example.com"
1938 identity="user@example.com"
1951 identity="user@example.com"
2013 identity="eap_psk_user@example.com"
2024 identity="user@example.com"
2038 identity="user"
2047 identity="user"
2057 identity="username"
2068 identity="username"
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dhostapd.eap_user_sqlite2 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 Dhostapd.eap_user3 # 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/__cxx03/
H A Dalgorithm48 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/contrib/llvm-project/libcxx/include/
H A Dalgorithm51 template<forward_iterator I, sentinel_for<I> S, class Proj = identity,
55 template<forward_range R, class Proj = identity,
59 template<forward_iterator I, sentinel_for<I> S, class Proj = identity,
63 template<forward_range R, class Proj = identity,
71 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
77 class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
85 template<input_range R, class T, class Proj = identity>
90 template<input_iterator I, sentinel_for<I> S, class Proj = identity,
94 template<input_range R, class Proj = identity,
99 template<input_iterator I, sentinel_for<I> S, class Proj = identity,
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/
H A Dzed_log.c35 const char *identity; member
44 zed_log_init(const char *identity) in zed_log_init() argument
46 if (identity) { in zed_log_init()
47 const char *p = strrchr(identity, '/'); in zed_log_init()
48 _ctx.identity = (p != NULL) ? p + 1 : identity; in zed_log_init()
50 _ctx.identity = NULL; in zed_log_init()
190 openlog(_ctx.identity, LOG_NDELAY | LOG_PID, facility); in zed_log_syslog_open()
/freebsd/crypto/krb5/src/plugins/preauth/pkinit/
H A Dpkinit_identity.c113 opts->identity = NULL; in pkinit_init_identity_opts()
147 if (src_opts->identity != NULL) { in pkinit_dup_identity_opts()
148 newopts->identity = strdup(src_opts->identity); in pkinit_dup_identity_opts()
149 if (newopts->identity == NULL) in pkinit_dup_identity_opts()
219 if (idopts->identity != NULL) in pkinit_fini_identity_opts()
220 free(idopts->identity); in pkinit_fini_identity_opts()
536 if (idopts->identity != NULL) { in pkinit_identity_initialize()
540 idopts->identity); in pkinit_identity_initialize()
685 const char *identity, unsigned long ck_flags, in pkinit_set_deferred_id() argument
695 if (strcmp(ids[i]->identity, identity) == 0) { in pkinit_set_deferred_id()
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_gtc.c131 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 Deap_server_sim.c119 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 Deap_server_identity.c129 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 Deap_server_aka.c159 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 …]
/freebsd/crypto/openssl/doc/man3/
H A DSSL_get_psk_identity.pod5 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 DSSL_CTX_use_psk_identity_hint.pod13 - 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_common/
H A Deap_sim_common.h74 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 Didentity.h45 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/crypto/krb5/src/lib/krb5/krb/
H A Dpreauth_pkinit.c69 data->identities[i]->identity = strdup(key); in get_one_challenge()
70 if (data->identities[i]->identity == NULL) { in get_one_challenge()
132 const char *identity, const char *pin) in krb5_responder_pkinit_set_answer() argument
165 ret = k5_json_object_set(answers, identity, jpin); in krb5_responder_pkinit_set_answer()
169 ret = k5_json_object_set(answers, identity, NULL); in krb5_responder_pkinit_set_answer()
199 free(chl->identities[i]->identity); in krb5_responder_pkinit_challenge_free()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_sim.c161 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 Deap_aka.c143 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 …]
/freebsd/contrib/unbound/dnstap/
H A Ddnstap.c131 if (env->identity != NULL) { in dt_msg_init()
132 dm->d.identity.data = (uint8_t *) env->identity; in dt_msg_init()
133 dm->d.identity.len = (size_t) env->len_identity; in dt_msg_init()
198 free(env->identity); in dt_apply_identity()
199 env->identity = NULL; in dt_apply_identity()
203 free(env->identity); in dt_apply_identity()
207 env->identity = strdup(buf); in dt_apply_identity()
211 env->identity = NULL; in dt_apply_identity()
216 env->identity = strdup(cfg->dnstap_identity); in dt_apply_identity()
218 if (env->identity == NULL) { in dt_apply_identity()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_starts_with.h41 class _Proj1 = identity,
42 class _Proj2 = identity>
66 class _Proj1 = identity,
67 class _Proj2 = identity>
H A Dranges_includes.h43 … class _Proj1 = identity,
44 … class _Proj2 = identity,
66 class _Proj1 = identity,
67 class _Proj2 = identity,
H A Dranges_contains_subrange.h44 class _Proj1 = identity,
45 class _Proj2 = identity>
66 class _Proj1 = identity,
67 class _Proj2 = identity>
H A Dranges_find_end.h44 class _Proj1 = identity,
45 class _Proj2 = identity>
71 class _Proj1 = identity,
72 class _Proj2 = identity>

12345678910>>...14