Home
last modified time | relevance | path

Searched refs:password (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/freebsd-12-stable/crypto/heimdal/lib/krb5/
Dsalt-des.c54 char password[8+1]; /* crypt is limited to 8 chars anyway */ in krb5_DES_AFS3_CMU_string_to_key() local
61 password[i] = c ? c : 'X'; in krb5_DES_AFS3_CMU_string_to_key()
63 password[8] = '\0'; in krb5_DES_AFS3_CMU_string_to_key()
65 memcpy(key, crypt(password, "p1") + 2, sizeof(DES_cblock)); in krb5_DES_AFS3_CMU_string_to_key()
86 char password[512]; in krb5_DES_AFS3_Transarc_string_to_key() local
89 memcpy(password, pw.data, min(pw.length, sizeof(password))); in krb5_DES_AFS3_Transarc_string_to_key()
90 if(pw.length < sizeof(password)) { in krb5_DES_AFS3_Transarc_string_to_key()
91 int len = min(cell.length, sizeof(password) - pw.length); in krb5_DES_AFS3_Transarc_string_to_key()
94 memcpy(password + pw.length, cell.data, len); in krb5_DES_AFS3_Transarc_string_to_key()
96 password[i] = tolower((unsigned char)password[i]); in krb5_DES_AFS3_Transarc_string_to_key()
[all …]
Dsalt-des3.c40 krb5_data password, in DES3_string_to_key() argument
51 len = password.length + salt.saltvalue.length; in DES3_string_to_key()
57 memcpy(str, password.data, password.length); in DES3_string_to_key()
58 memcpy(str + password.length, salt.saltvalue.data, salt.saltvalue.length); in DES3_string_to_key()
105 krb5_data password, in DES3_string_to_key_derived() argument
111 size_t len = password.length + salt.saltvalue.length; in DES3_string_to_key_derived()
119 memcpy(s, password.data, password.length); in DES3_string_to_key_derived()
120 memcpy(s + password.length, salt.saltvalue.data, salt.saltvalue.length); in DES3_string_to_key_derived()
Dsalt.c136 krb5_data password, in krb5_string_to_key_data() argument
146 ret = krb5_string_to_key_data_salt(context, enctype, password, salt, key); in krb5_string_to_key_data()
154 const char *password, in krb5_string_to_key() argument
159 pw.data = rk_UNCONST(password); in krb5_string_to_key()
160 pw.length = strlen(password); in krb5_string_to_key()
167 krb5_data password, in krb5_string_to_key_data_salt() argument
173 return krb5_string_to_key_data_salt_opaque(context, enctype, password, in krb5_string_to_key_data_salt()
186 krb5_data password, in krb5_string_to_key_data_salt_opaque() argument
201 return (*st->string_to_key)(context, enctype, password, in krb5_string_to_key_data_salt_opaque()
218 const char *password, in krb5_string_to_key_salt() argument
[all …]
/freebsd-12-stable/contrib/apr/passwd/
Dapr_getpass.c96 static char password[MAX_STRING_LEN]; in get_password() local
99 fgets((char *) &password, sizeof(password), stdin); in get_password()
101 return (char *) &password; in get_password()
119 static char password[128]; in get_password()
135 password[--n] = '\0'; in get_password()
143 password[--n] = '\0'; in get_password()
160 else if ((n < sizeof(password) - 1) && !apr_iscntrl(ch)) { in get_password()
161 password[n++] = ch; in get_password()
170 password[n] = '\0'; in get_password()
171 return password; in get_password()
[all …]
/freebsd-12-stable/crypto/heimdal/lib/hx509/
Dlock.c43 struct _hx509_password password; member
87 hx509_lock_add_password(hx509_lock lock, const char *password) in hx509_lock_add_password() argument
92 s = strdup(password); in hx509_lock_add_password()
96 d = realloc(lock->password.val, in hx509_lock_add_password()
97 (lock->password.len + 1) * sizeof(lock->password.val[0])); in hx509_lock_add_password()
102 lock->password.val = d; in hx509_lock_add_password()
103 lock->password.val[lock->password.len] = s; in hx509_lock_add_password()
104 lock->password.len++; in hx509_lock_add_password()
112 return &lock->password; in _hx509_lock_get_passwords()
125 for (i = 0; i < lock->password.len; i++) in hx509_lock_reset_passwords()
[all …]
/freebsd-12-stable/contrib/pam_modules/pam_passwdqc/
DREADME1 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-12-stable/crypto/openssl/doc/man3/
DSSL_CTX_set_default_passwd_cb.pod27 SSL_CTX_set_default_passwd_cb() sets the default password callback called
31 which will be provided to the password callback on invocation.
33 SSL_CTX_get_default_passwd_cb() returns a function pointer to the password
45 The password callback, which must be provided by the application, hands back the
46 password to be used during decryption.
48 is provided. The function must store the password into the provided buffer
49 B<buf> which is of size B<size>. The actual length of the password must
57 When loading or storing private keys, a password might be supplied to
58 protect the private key. The way this password can be supplied may depend
60 to have the callback handle the password dialog interactively. If several
[all …]
/freebsd-12-stable/crypto/openssh/
Dauth-passwd.c77 auth_password(struct ssh *ssh, const char *password) in auth_password() argument
86 if (strlen(password) > MAX_PASSWORD_LEN) in auth_password()
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(ssh, password); in auth_password()
167 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd() argument
174 (char *)password); in sys_auth_passwd()
192 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd() argument
[all …]
Dauth2-passwd.c54 char *password = NULL; in userauth_passwd() local
60 (r = sshpkt_get_cstring(ssh, &password, &len)) != 0 || in userauth_passwd()
63 freezero(password, len); in userauth_passwd()
69 else if (PRIVSEP(auth_password(ssh, password)) == 1) in userauth_passwd()
71 freezero(password, len); in userauth_passwd()
/freebsd-12-stable/crypto/heimdal/lib/kadm5/
Dsample_passwd_check.c51 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-12-stable/contrib/wpa/src/eap_peer/
Dmschapv2.c37 const u8 *password, size_t password_len, in mschapv2_derive_response() argument
65 password, password_len); in mschapv2_derive_response()
68 password, nt_response) || in mschapv2_derive_response()
70 password, peer_challenge, auth_challenge, 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()
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()
Deap_leap.c65 const u8 *pos, *challenge, *identity, *password; in eap_leap_process_request() local
73 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_request()
74 if (identity == NULL || password == NULL) in eap_leap_process_request()
118 if ((pwhash && challenge_response(challenge, password, rpos)) || in eap_leap_process_request()
120 nt_challenge_response(challenge, password, password_len, rpos))) { in eap_leap_process_request()
192 const u8 *pos, *password; in eap_leap_process_response() local
200 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_response()
201 if (password == NULL) in eap_leap_process_response()
235 if (hash_nt_password_hash(password, pw_hash_hash)) { in eap_leap_process_response()
240 if (nt_password_hash(password, password_len, pw_hash) || in eap_leap_process_response()
[all …]
Deap_otp.c33 const u8 *pos, *password; in eap_otp_process() local
45 password = eap_get_config_otp(sm, &password_len); in eap_otp_process()
46 if (password) in eap_otp_process()
49 password = eap_get_config_password(sm, &password_len); in eap_otp_process()
53 if (password == NULL) { in eap_otp_process()
70 wpabuf_put_data(resp, password, password_len); in eap_otp_process()
72 password, password_len); in eap_otp_process()
/freebsd-12-stable/crypto/openssl/doc/man1/
Dpasswd.pod6 passwd - compute password hashes
26 {I<password>}
30 The B<passwd> command computes the hash of a password typed at
31 run-time or the hash of each password in a list. The password list is
49 Use the MD5 based BSD password algorithm B<1>.
69 When reading a password from the terminal, this implies B<-noverify>.
81 Don't verify when reading a password from the terminal.
89 In the output list, prepend the cleartext password and a TAB character
90 to each password hash.
109 % openssl passwd -crypt -salt xx password
[all …]
/freebsd-12-stable/crypto/heimdal/lib/hdb/
Dext.c292 if (db->hdb_master_key_set && ext->data.u.password.mkvno) { in hdb_entry_get_password()
295 key = _hdb_find_master_key(ext->data.u.password.mkvno, in hdb_entry_get_password()
301 *ext->data.u.password.mkvno); in hdb_entry_get_password()
306 ext->data.u.password.password.data, in hdb_entry_get_password()
307 ext->data.u.password.password.length, in hdb_entry_get_password()
310 ret = der_copy_octet_string(&ext->data.u.password.password, &pw); in hdb_entry_get_password()
367 &ext.data.u.password.password); in hdb_entry_set_password()
371 ext.data.u.password.mkvno = in hdb_entry_set_password()
372 malloc(sizeof(*ext.data.u.password.mkvno)); in hdb_entry_set_password()
373 if (ext.data.u.password.mkvno == NULL) { in hdb_entry_set_password()
[all …]
/freebsd-12-stable/contrib/wpa/hostapd/
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
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
59 "user" MD5 "password"
62 "DOMAIN\user" MSCHAPV2 "password"
63 "gtc user" GTC "password"
[all …]
Dnt_password_hash.c19 char *password, buf[64], *pos; in main() local
22 password = argv[1]; in main()
37 password = buf; in main()
40 if (nt_password_hash((u8 *) password, strlen(password), password_hash)) in main()
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
Dsimple_providers.c66 const char **password, in svn_auth__simple_password_get() argument
84 *password = str->data; in svn_auth__simple_password_get()
99 const char *password, in svn_auth__simple_password_set() argument
105 svn_string_create(password, pool)); in svn_auth__simple_password_set()
147 const char *password = svn_hash_gets(parameters, in svn_auth__simple_creds_cache_get() local
205 if (password) in svn_auth__simple_creds_cache_get()
220 if (strcmp(default_password, password) != 0) in svn_auth__simple_creds_cache_get()
228 if (! (username && password)) in svn_auth__simple_creds_cache_get()
235 if (username && ! password) in svn_auth__simple_creds_cache_get()
238 password = NULL; in svn_auth__simple_creds_cache_get()
[all …]
/freebsd-12-stable/contrib/wpa/wpa_supplicant/
Dwpa_supplicant.conf1740 password="foobar"
1755 password="foobar"
1768 password="foobar"
1827 password=06b4be19da289f475aa46a33cb793029
1854 password="foobar"
1863 password="foobar"
1873 password="password"
1884 password="password"
1974 password="foobar"
2010 password="foobar"
[all …]
/freebsd-12-stable/crypto/heimdal/kadmin/
Dcpw.c40 char *password; member
82 set_password (krb5_principal principal, char *password) in set_password() argument
87 if(password == NULL) { in set_password()
99 password = pwbuf; in set_password()
102 ret = kadm5_chpass_principal(kadm_handle, principal, password); in set_password()
129 return set_password (principal, e->password); in do_cpw_entry()
143 data.password = opt->password_string; in cpw_entry()
151 if (data.password) in cpw_entry()
Dank.c70 char *password, in add_one_principal() argument
120 password = pwbuf; in add_one_principal()
123 password = pwbuf; in add_one_principal()
124 } else if(password == NULL) { in add_one_principal()
138 password = pwbuf; in add_one_principal()
141 ret = kadm5_create_principal(kadm_handle, &princ, mask, password); in add_one_principal()
181 printf ("added %s with password \"%s\"\n", princ_name, password); in add_one_principal()
189 if (password != NULL) in add_one_principal()
190 memset (password, 0, strlen(password)); in add_one_principal()
/freebsd-12-stable/contrib/subversion/subversion/libsvn_ra_svn/
Dcram.c83 const char *password) in compute_digest() argument
86 apr_size_t len = strlen(password), i; in compute_digest()
92 memcpy(secret, password, len); in compute_digest()
94 apr_md5(secret, password, len); in compute_digest()
142 const char *challenge, *sep, *password; in svn_ra_svn_cram_server() local
171 svn_config_get(pwdb, &password, SVN_CONFIG_SECTION_USERS, *user, NULL); in svn_ra_svn_cram_server()
172 if (!password) in svn_ra_svn_cram_server()
174 compute_digest(sdigest, challenge, password); in svn_ra_svn_cram_server()
183 const char *user, const char *password, in svn_ra_svn__cram_client() argument
202 compute_digest(digest, str, password); in svn_ra_svn__cram_client()
/freebsd-12-stable/usr.sbin/bsdconfig/share/
Dmustberoot.subr44 # 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-12-stable/crypto/heimdal/kdc/
Dstring2key.c42 char *password; variable
54 { "password", 'w', arg_string, &password, "Password to use", "password" },
158 password = argv[0]; in main()
159 if(password == NULL){ in main()
162 password = buf; in main()
168 tokey(context, etype, password, salt, "Kerberos 5 (%s)"); in main()
175 tokey(context, ETYPE_DES_CBC_MD5, password, salt, "Kerberos 4"); in main()
181 tokey(context, ETYPE_DES_CBC_MD5, password, salt, "AFS"); in main()
/freebsd-12-stable/usr.sbin/bsdconfig/password/share/
Dpassword.subr27 # $FreeBSD: stable/12/usr.sbin/bsdconfig/password/share/password.subr 256181 2013-10-09 08:12:26Z d…
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

12345678910>>...20