| /freebsd-9-stable/contrib/cvs/src/ |
| D | login.c | 110 char *password = NULL; local 151 password = p + 1; 205 password = p + 1; 211 return password; 290 char *password = NULL; local 325 password = password_entry_parseline (cvsroot_canonical, 1, line, 327 if (password != NULL) 345 if (password != NULL) 348 p = strchr (password, '\n'); 351 password = xstrdup (password); [all …]
|
| /freebsd-9-stable/crypto/openssl/doc/ssl/ |
| D | SSL_CTX_set_default_passwd_cb.pod | 18 SSL_CTX_set_default_passwd_cb() sets the default password callback called 22 will be provided to the password callback on invocation. 25 password to be used during decryption. On invocation a pointer to B<userdata> 26 is provided. The pem_passwd_cb must write the password into the provided buffer 27 B<buf> which is of size B<size>. The actual length of the password must 34 When loading or storing private keys, a password might be supplied to 35 protect the private key. The way this password can be supplied may depend 37 to have pem_passwd_cb() handle the password dialog interactively. If several 38 keys have to be handled, it can be practical to ask for the password once, 40 password could be stored into the B<userdata> storage and the [all …]
|
| /freebsd-9-stable/crypto/heimdal/lib/hx509/ |
| D | lock.c | 44 struct _hx509_password password; member 88 hx509_lock_add_password(hx509_lock lock, const char *password) in hx509_lock_add_password() argument 93 s = strdup(password); in hx509_lock_add_password() 97 d = realloc(lock->password.val, in hx509_lock_add_password() 98 (lock->password.len + 1) * sizeof(lock->password.val[0])); in hx509_lock_add_password() 103 lock->password.val = d; in hx509_lock_add_password() 104 lock->password.val[lock->password.len] = s; in hx509_lock_add_password() 105 lock->password.len++; in hx509_lock_add_password() 113 return &lock->password; in _hx509_lock_get_passwords() 126 for (i = 0; i < lock->password.len; i++) in hx509_lock_reset_passwords() [all …]
|
| /freebsd-9-stable/contrib/pam_modules/pam_passwdqc/ |
| D | README | 1 pam_passwdqc is a simple password strength checking module for 2 PAM-aware password changing programs, such as passwd(1). In addition 7 This module should be stacked before your usual password changing 8 module (such as pam_unix or pam_pwdb) in the password management group 9 (the "password" lines in /etc/pam.d/passwd or /etc/pam.conf). The 10 password changing module should then be told to use the provided new 11 authentication token (new password) rather than request it from the 13 password changing module lacks the "use_authtok" option or its prompts 15 for the old password as well, with "ask_oldauthtok". In that case the 16 option to use with the password changing module is "use_first_pass". [all …]
|
| /freebsd-9-stable/crypto/openssl/doc/apps/ |
| D | passwd.pod | 5 passwd - compute password hashes 19 {I<password>} 23 The B<passwd> command computes the hash of a password typed at 24 run-time or the hash of each password in a list. The password list is 27 The Unix standard algorithm B<crypt> and the MD5-based BSD password 40 Use the MD5 based BSD password algorithm B<1>. 49 When reading a password from the terminal, this implies B<-noverify>. 61 Don't verify when reading a password from the terminal. 69 In the output list, prepend the cleartext password and a TAB character 70 to each password hash. [all …]
|
| /freebsd-9-stable/crypto/heimdal/lib/kadm5/ |
| D | sample_passwd_check.c | 51 krb5_data *password) in check_length() argument 57 if(password->length < min_length) in check_length() 71 krb5_data *password) in check_cracklib() argument 73 char *s = malloc(password->length + 1); in check_cracklib() 80 memcpy(s, password->data, password->length); in check_cracklib() 81 s[password->length] = '\0'; in check_cracklib() 83 memset(s, 0, password->length); in check_cracklib()
|
| /freebsd-9-stable/crypto/openssh/ |
| D | auth-passwd.c | 81 auth_password(Authctxt *authctxt, const char *password) in auth_password() argument 93 if (*password == '\0' && options.permit_empty_passwd == 0) in auth_password() 98 int ret = auth_krb5_password(authctxt, password); in auth_password() 106 HANDLE hToken = cygwin_logon_user(pw, password); in auth_password() 116 return (sshpam_auth_passwd(authctxt, password) && ok); in auth_password() 125 result = sys_auth_passwd(authctxt, password); in auth_password() 167 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument 174 (char *)password); in sys_auth_passwd() 192 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument 201 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd() [all …]
|
| D | auth2-passwd.c | 52 char *password, *newpass; in userauth_passwd() local 58 password = packet_get_string(&len); in userauth_passwd() 69 else if (PRIVSEP(auth_password(authctxt, password)) == 1) in userauth_passwd() 71 explicit_bzero(password, len); in userauth_passwd() 72 free(password); in userauth_passwd()
|
| /freebsd-9-stable/contrib/wpa/src/eap_peer/ |
| D | mschapv2.c | 43 const u8 *password, size_t password_len, in mschapv2_derive_response() argument 71 password, password_len); in mschapv2_derive_response() 74 password, nt_response); in mschapv2_derive_response() 76 password, peer_challenge, auth_challenge, in mschapv2_derive_response() 80 password, password_len); in mschapv2_derive_response() 83 password, password_len, nt_response); in mschapv2_derive_response() 84 generate_authenticator_response(password, password_len, in mschapv2_derive_response() 96 if (hash_nt_password_hash(password, password_hash_hash)) in mschapv2_derive_response() 99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response()
|
| D | eap_leap.c | 70 const u8 *pos, *challenge, *identity, *password; in eap_leap_process_request() local 78 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_request() 79 if (identity == NULL || password == NULL) in eap_leap_process_request() 124 challenge_response(challenge, password, rpos); in eap_leap_process_request() 126 nt_challenge_response(challenge, password, password_len, rpos); in eap_leap_process_request() 193 const u8 *pos, *password; in eap_leap_process_response() local 201 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_response() 202 if (password == NULL) in eap_leap_process_response() 236 if (hash_nt_password_hash(password, pw_hash_hash)) { in eap_leap_process_response() 241 if (nt_password_hash(password, password_len, pw_hash) || in eap_leap_process_response() [all …]
|
| D | eap_otp.c | 39 const u8 *pos, *password; in eap_otp_process() local 51 password = eap_get_config_otp(sm, &password_len); in eap_otp_process() 52 if (password) in eap_otp_process() 55 password = eap_get_config_password(sm, &password_len); in eap_otp_process() 59 if (password == NULL) { in eap_otp_process() 76 wpabuf_put_data(resp, password, password_len); in eap_otp_process() 78 password, password_len); in eap_otp_process()
|
| /freebsd-9-stable/crypto/heimdal/lib/hdb/ |
| D | ext.c | 279 if (db->hdb_master_key_set && ext->data.u.password.mkvno) { in hdb_entry_get_password() 282 key = _hdb_find_master_key(ext->data.u.password.mkvno, in hdb_entry_get_password() 287 *ext->data.u.password.mkvno); in hdb_entry_get_password() 292 ext->data.u.password.password.data, in hdb_entry_get_password() 293 ext->data.u.password.password.length, in hdb_entry_get_password() 296 ret = der_copy_octet_string(&ext->data.u.password.password, &pw); in hdb_entry_get_password() 351 &ext.data.u.password.password); in hdb_entry_set_password() 355 ext.data.u.password.mkvno = in hdb_entry_set_password() 356 malloc(sizeof(*ext.data.u.password.mkvno)); in hdb_entry_set_password() 357 if (ext.data.u.password.mkvno == NULL) { in hdb_entry_set_password() [all …]
|
| /freebsd-9-stable/contrib/wpa/hostapd/ |
| 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 6 # NtPasswordHash (16-byte MD4 hash of the unicode presentation of the password 8 # that the plaintext password does not need to be included in the user file. 20 # password option. 22 # password. 49 # plaintext password while TTLS-MSCHAP and TTLS-MSCHAPV2 can use NT password 53 "user" MD5 "password" 56 "DOMAIN\user" MSCHAPV2 "password" 57 "gtc user" GTC "password" [all …]
|
| D | nt_password_hash.c | 25 char *password, buf[64], *pos; in main() local 28 password = argv[1]; in main() 43 password = buf; in main() 46 if (nt_password_hash((u8 *) password, strlen(password), password_hash)) in main()
|
| /freebsd-9-stable/crypto/openssh/openbsd-compat/ |
| D | xcrypt.c | 66 xcrypt(const char *password, const char *salt) in xcrypt() argument 72 crypted = md5_crypt(password, salt); in xcrypt() 74 crypted = crypt(password, salt); in xcrypt() 77 crypted = bigcrypt(password, salt); in xcrypt() 79 crypted = crypt(password, salt); in xcrypt() 81 crypted = bigcrypt(password, salt); in xcrypt() 83 crypted = crypt(password, salt); in xcrypt()
|
| /freebsd-9-stable/contrib/wpa/wpa_supplicant/ |
| D | wpa_supplicant.conf | 612 password="foobar" 627 password="foobar" 640 password="foobar" 699 password=06b4be19da289f475aa46a33cb793029 726 password="foobar" 735 password="foobar" 745 password="password" 756 password="password" 817 password="foobar" 865 password="foobar"
|
| /freebsd-9-stable/crypto/heimdal/lib/krb5/ |
| D | get_in_tkt_pw.c | 46 const char *password = (const char *)keyseed; in krb5_password_key_proc() local 54 if (password == NULL) { in krb5_password_key_proc() 60 password = buf; in krb5_password_key_proc() 62 ret = krb5_string_to_key_salt (context, type, password, salt, *key); in krb5_password_key_proc() 73 const char *password, in krb5_get_in_tkt_with_password() argument 84 password, in krb5_get_in_tkt_with_password()
|
| D | verify_user.c | 152 const char *password, in verify_user_opt_int() argument 169 password, in verify_user_opt_int() 188 const char *password, in krb5_verify_user_opt() argument 211 ret = verify_user_opt_int(context, principal, password, opt); in krb5_verify_user_opt() 217 ret = verify_user_opt_int(context, principal, password, opt); in krb5_verify_user_opt() 227 const char *password, in krb5_verify_user() argument 239 return krb5_verify_user_opt(context, principal, password, &opt); in krb5_verify_user() 251 const char *password, in krb5_verify_user_lrealm() argument 264 return krb5_verify_user_opt(context, principal, password, &opt); in krb5_verify_user_lrealm()
|
| /freebsd-9-stable/crypto/heimdal/kadmin/ |
| D | cpw.c | 42 char *password; member 84 set_password (krb5_principal principal, char *password) in set_password() argument 89 if(password == NULL) { in set_password() 101 password = pwbuf; in set_password() 104 ret = kadm5_chpass_principal(kadm_handle, principal, password); in set_password() 131 return set_password (principal, e->password); in do_cpw_entry() 145 data.password = opt->password_string; in cpw_entry() 153 if (data.password) in cpw_entry()
|
| D | ank.c | 72 char *password, in add_one_principal() argument 122 password = pwbuf; in add_one_principal() 125 password = pwbuf; in add_one_principal() 126 } else if(password == NULL) { in add_one_principal() 140 password = pwbuf; in add_one_principal() 143 ret = kadm5_create_principal(kadm_handle, &princ, mask, password); in add_one_principal() 183 printf ("added %s with password \"%s\"\n", princ_name, password); in add_one_principal() 191 if (password != NULL) in add_one_principal() 192 memset (password, 0, strlen(password)); in add_one_principal()
|
| D | server.c | 50 char *password, *expression; in kadmind_dispatch() local 121 ret = krb5_ret_string(sp, &password); in kadmind_dispatch() 133 memset(password, 0, strlen(password)); in kadmind_dispatch() 134 free(password); in kadmind_dispatch() 138 mask, password); in kadmind_dispatch() 140 memset(password, 0, strlen(password)); in kadmind_dispatch() 141 free(password); in kadmind_dispatch() 211 ret = krb5_ret_string(sp, &password); in kadmind_dispatch() 235 pwd_data.data = password; in kadmind_dispatch() 236 pwd_data.length = strlen(password); in kadmind_dispatch() [all …]
|
| /freebsd-9-stable/lib/libncp/ |
| D | ncpl_conn.c | 103 if (li->password) { in ncp_li_setpassword() 104 bzero(li->password, strlen(li->password)); in ncp_li_setpassword() 105 free(li->password); in ncp_li_setpassword() 108 li->password = strdup(passwd); in ncp_li_setpassword() 109 if (li->password == NULL) in ncp_li_setpassword() 112 li->password = NULL; in ncp_li_setpassword() 128 li->password = NULL; in ncp_li_init() 154 if (li->password) in ncp_li_done() 155 free(li->password); in ncp_li_done() 172 error = ncp_login(connHandle, li->user, li->objtype, li->password); in ncp_li_login() [all …]
|
| /freebsd-9-stable/sys/netncp/ |
| D | ncp_mod.c | 116 li.password = li.user = NULL; in sncp_connect() 176 ncp_mod_login(struct ncp_conn *conn, char *user, int objtype, char *password, in ncp_mod_login() argument 186 conn->li.password = ncp_str_dup(password); in ncp_mod_login() 187 if (conn->li.password == NULL) { in ncp_mod_login() 193 ncp_str_upper(conn->li.password); in ncp_mod_login() 202 if (conn->li.password) { in ncp_mod_login() 203 free(conn->li.password, M_NCPDATA); in ncp_mod_login() 204 conn->li.password = NULL; in ncp_mod_login() 294 la.password, td, td->td_ucred); in ncp_conn_handler() 391 char *user = NULL, *password = NULL; in sncp_conn_scan() local [all …]
|
| /freebsd-9-stable/usr.sbin/bsdconfig/share/ |
| D | mustberoot.subr | 44 # Number of tries a user gets to enter his/her password before we log the 55 # allowed because no password is required to become `root' when already `root' 56 # and therefore, any value entered as password will work. 63 # otherwise a non-existent user is treated like an invalid password. 143 # Check sudo(8) access before prompting for password. 148 # sudo(8) access denied. Prompt for their password. 162 local password nfailures=0 retval 165 password=$( $DIALOG \ 171 --password --inputbox "$prompt" \ 179 f_die $retval "$password" [all …]
|
| /freebsd-9-stable/usr.sbin/bsdconfig/password/share/ |
| D | password.subr | 27 # $FreeBSD: stable/9/usr.sbin/bsdconfig/password/share/password.subr 263791 2014-03-27 03:20:47Z dt… 33 f_dprintf "%s: loading includes..." password/password.subr 36 BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="040.password" 43 # Prompt the user to enter a password (twice). If the user does not cancel or 44 # press ESC, the $pw_password environment variable will hold the password. 107 # Check for password mismatch 122 f_dprintf "%s: Successfully loaded." password/password.subr
|