| /freebsd-10-stable/contrib/wpa/src/eap_peer/ |
| D | eap_otp.c | 34 size_t password_len, len; in eap_otp_process() local 45 password = eap_get_config_otp(sm, &password_len); in eap_otp_process() 49 password = eap_get_config_password(sm, &password_len); in eap_otp_process() 66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len, in eap_otp_process() 70 wpabuf_put_data(resp, password, password_len); in eap_otp_process() 72 password, password_len); in eap_otp_process()
|
| D | mschapv2.c | 37 const u8 *password, size_t password_len, in mschapv2_derive_response() argument 65 password, password_len); in mschapv2_derive_response() 76 password, password_len); in mschapv2_derive_response() 79 password, password_len, in mschapv2_derive_response() 81 generate_authenticator_response(password, password_len, in mschapv2_derive_response() 99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response()
|
| D | eap_leap.c | 67 size_t identity_len, password_len, len; in eap_leap_process_request() local 73 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_request() 121 nt_challenge_response(challenge, password, password_len, rpos); in eap_leap_process_request() 191 size_t password_len, len; in eap_leap_process_response() local 196 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_response() 236 if (nt_password_hash(password, password_len, pw_hash) || in eap_leap_process_response() 275 size_t password_len; in eap_leap_process() local 278 password = eap_get_config_password(sm, &password_len); in eap_leap_process() 335 size_t elen[5], password_len; in eap_leap_getKey() local 341 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_getKey() [all …]
|
| D | eap_gtc.c | 51 size_t password_len, identity_len, len, plen; in eap_gtc_process() local 77 password = eap_get_config_otp(sm, &password_len); in eap_gtc_process() 81 password = eap_get_config_password(sm, &password_len); in eap_gtc_process() 98 plen = password_len; in eap_gtc_process() 113 wpabuf_put_data(resp, password, password_len); in eap_gtc_process()
|
| D | eap_ttls.c | 408 size_t identity_len, password_len; in eap_ttls_phase2_request_mschapv2() local 414 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_ttls_phase2_request_mschapv2() 463 password_len, pwhash, challenge, in eap_ttls_phase2_request_mschapv2() 507 size_t identity_len, password_len; in eap_ttls_phase2_request_mschap() local 513 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_ttls_phase2_request_mschap() 557 nt_challenge_response(challenge, password, password_len, in eap_ttls_phase2_request_mschap() 560 password, password_len); in eap_ttls_phase2_request_mschap() 590 size_t identity_len, password_len; in eap_ttls_phase2_request_pap() local 595 password = eap_get_config_password(sm, &password_len); in eap_ttls_phase2_request_pap() 599 msg = wpabuf_alloc(identity_len + password_len + 100); in eap_ttls_phase2_request_pap() [all …]
|
| D | eap_md5.c | 36 size_t len, challenge_len, password_len; in eap_md5_process() local 38 password = eap_get_config_password(sm, &password_len); in eap_md5_process() 89 if (chap_md5(id, password, password_len, challenge, challenge_len, in eap_md5_process()
|
| D | eap_mschapv2.c | 156 size_t identity_len, password_len; in eap_mschapv2_challenge_reply() local 163 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_mschapv2_challenge_reply() 208 password_len, pwhash, auth_challenge, in eap_mschapv2_challenge_reply() 311 config->password_len = 16; in eap_mschapv2_password_changed() 320 config->password_len = config->new_password_len; in eap_mschapv2_password_changed() 505 size_t username_len, password_len, new_password_len; in eap_mschapv2_change_password() local 512 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_mschapv2_change_password() 545 password, password_len, cp->encr_password)) in eap_mschapv2_change_password() 560 password, password_len, cp->encr_hash); in eap_mschapv2_change_password()
|
| D | eap_ikev2.c | 62 size_t identity_len, password_len; in eap_ikev2_init() local 87 password = eap_get_config_password(sm, &password_len); in eap_ikev2_init() 89 data->ikev2.shared_secret = os_malloc(password_len); in eap_ikev2_init() 92 os_memcpy(data->ikev2.shared_secret, password, password_len); in eap_ikev2_init() 93 data->ikev2.shared_secret_len = password_len; in eap_ikev2_init()
|
| D | eap_pwd.c | 26 size_t password_len; member 83 size_t identity_len, password_len; in eap_pwd_init() local 85 password = eap_get_config_password(sm, &password_len); in eap_pwd_init() 118 if ((data->password = os_malloc(password_len)) == NULL) { in eap_pwd_init() 125 os_memcpy(data->password, password, password_len); in eap_pwd_init() 126 data->password_len = password_len; in eap_pwd_init() 235 data->password, data->password_len, in eap_pwd_perform_id_exchange()
|
| D | eap_gpsk.c | 82 size_t identity_len, password_len; in eap_gpsk_init() local 84 password = eap_get_config_password(sm, &password_len); in eap_gpsk_init() 106 data->psk = os_malloc(password_len); in eap_gpsk_init() 111 os_memcpy(data->psk, password, password_len); in eap_gpsk_init() 112 data->psk_len = password_len; in eap_gpsk_init()
|
| D | mschapv2.h | 19 const u8 *password, size_t password_len,
|
| D | eap_config.h | 70 size_t password_len; member
|
| D | eap_psk.c | 36 size_t identity_len, password_len; in eap_psk_init() local 38 password = eap_get_config_password(sm, &password_len); in eap_psk_init() 39 if (!password || password_len != 16) { in eap_psk_init()
|
| D | eap_sake.c | 72 size_t identity_len, password_len; in eap_sake_init() local 74 password = eap_get_config_password(sm, &password_len); in eap_sake_init() 75 if (!password || password_len != 2 * EAP_SAKE_ROOT_SECRET_LEN) { in eap_sake_init()
|
| D | eap_pax.c | 51 size_t identity_len, password_len; in eap_pax_init() local 54 password = eap_get_config_password(sm, &password_len); in eap_pax_init() 61 if (password_len != EAP_PAX_AK_LEN) { in eap_pax_init()
|
| /freebsd-10-stable/contrib/wpa/src/crypto/ |
| D | ms_funcs.c | 109 int nt_password_hash(const u8 *password, size_t password_len, in nt_password_hash() argument 116 if (utf8_to_ucs2(password, password_len, buf, max_len, &len) < 0) in nt_password_hash() 170 const u8 *password, size_t password_len, in generate_nt_response() argument 179 if (nt_password_hash(password, password_len, password_hash)) in generate_nt_response() 284 int generate_authenticator_response(const u8 *password, size_t password_len, in generate_authenticator_response() argument 291 if (nt_password_hash(password, password_len, password_hash)) in generate_authenticator_response() 308 size_t password_len, u8 *response) in nt_challenge_response() argument 311 if (nt_password_hash(password, password_len, password_hash)) in nt_challenge_response() 430 const u8 *password, size_t password_len, in encrypt_pw_block_with_password_hash() argument 438 if (utf8_to_ucs2(password, password_len, pw_block, 512, &ucs2_len) < 0) in encrypt_pw_block_with_password_hash() [all …]
|
| D | ms_funcs.h | 14 const u8 *password, size_t password_len, 21 int generate_authenticator_response(const u8 *password, size_t password_len, 32 size_t password_len, u8 *response); 36 int nt_password_hash(const u8 *password, size_t password_len, 45 const u8 *password, size_t password_len,
|
| /freebsd-10-stable/contrib/wpa/src/ap/ |
| D | eap_user_db.c | 87 user->password_len = os_strlen(argv[i]); in get_user_cb() 118 (user->password == NULL || len > user->password_len)) { in get_wildcard_cb() 120 user->password_len = os_strlen(argv[id]); in get_wildcard_cb() 197 user->identity_len = user->password_len; in eap_user_sqlite_get() 199 user->password_len = 0; in eap_user_sqlite_get() 235 wsc_registrar.password_len = conf->ap_pin ? in hostapd_get_eap_user()
|
| D | authsrv.c | 73 user->password = os_malloc(eap_user->password_len); in hostapd_radius_get_eap_user() 77 eap_user->password_len); in hostapd_radius_get_eap_user() 78 user->password_len = eap_user->password_len; in hostapd_radius_get_eap_user()
|
| /freebsd-10-stable/contrib/wpa/src/eap_server/ |
| D | eap_server_ttls.c | 232 size_t password_len = dlen; in eap_ttls_avp_parse() local 233 while (password_len > 0 && in eap_ttls_avp_parse() 234 password[password_len - 1] == '\0') { in eap_ttls_avp_parse() 235 password_len--; in eap_ttls_avp_parse() 239 password, password_len); in eap_ttls_avp_parse() 241 parse->user_password_len = password_len; in eap_ttls_avp_parse() 511 if (sm->user->password_len != user_password_len || in eap_ttls_process_phase2_pap() 529 size_t password_len) in eap_ttls_process_phase2_chap() argument 535 password_len != 1 + EAP_TTLS_CHAP_PASSWORD_LEN) { in eap_ttls_process_phase2_chap() 539 (unsigned long) password_len); in eap_ttls_process_phase2_chap() [all …]
|
| D | eap_server_pwd.c | 26 size_t password_len; member 85 sm->user->password_len == 0) { in eap_pwd_init() 104 data->password = os_malloc(sm->user->password_len); in eap_pwd_init() 112 data->password_len = sm->user->password_len; in eap_pwd_init() 113 os_memcpy(data->password, sm->user->password, data->password_len); in eap_pwd_init() 604 data->password, data->password_len, in eap_pwd_process_id_resp()
|
| D | eap.h | 30 size_t password_len; member
|
| D | eap_server_md5.c | 122 if (chap_md5(id, sm->user->password, sm->user->password_len, in eap_md5_process()
|
| /freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/ |
| D | crypto.c | 269 apr_size_t password_len, assembled_len = 0; in svn_crypto__encrypt_password() local 318 password_len = strlen(password); in svn_crypto__encrypt_password() 319 assembled_len = RANDOM_PREFIX_LEN + password_len; in svn_crypto__encrypt_password() 324 memcpy(assembled + RANDOM_PREFIX_LEN, password, password_len); in svn_crypto__encrypt_password() 335 memcpy(assembled + RANDOM_PREFIX_LEN, password, password_len); in svn_crypto__encrypt_password() 336 *(assembled + RANDOM_PREFIX_LEN + password_len) = '\0'; in svn_crypto__encrypt_password() 337 memcpy(assembled + RANDOM_PREFIX_LEN + password_len + 1, in svn_crypto__encrypt_password()
|
| /freebsd-10-stable/contrib/wpa/src/eap_common/ |
| D | eap_pwd_common.c | 89 u8 *password, int password_len, in compute_password_element() argument 183 eap_pwd_h_update(hash, password, password_len); in compute_password_element()
|