/external/curl/tests/unit/ |
D | unit1304.c | 27 static char *password; variable 32 password = strdup(""); in unit_setup() 34 if(!password || !login) { in unit_setup() 35 Curl_safefree(password); in unit_setup() 44 Curl_safefree(password); in unit_stop() 59 result = Curl_parsenetrc("test.example.com", &login, &password, 62 abort_unless(password != NULL, "returned NULL!"); 63 fail_unless(password[0] == 0, "password should not have been changed"); 73 result = Curl_parsenetrc("example.com", &login, &password, 76 abort_unless(password != NULL, "returned NULL!"); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | PBEParametersGenerator.java | 10 protected byte[] password; field in PBEParametersGenerator 30 byte[] password, in init() argument 34 this.password = password; in init() 46 return password; in getPassword() 104 char[] password) in PKCS5PasswordToBytes() argument 106 if (password != null) in PKCS5PasswordToBytes() 108 byte[] bytes = new byte[password.length]; in PKCS5PasswordToBytes() 112 bytes[i] = (byte)password[i]; in PKCS5PasswordToBytes() 131 char[] password) in PKCS5PasswordToUTF8Bytes() argument 133 if (password != null) in PKCS5PasswordToUTF8Bytes() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | PBEParametersGenerator.java | 13 protected byte[] password; field in PBEParametersGenerator 34 byte[] password, in init() argument 38 this.password = password; in init() 50 return password; in getPassword() 109 char[] password) in PKCS5PasswordToBytes() argument 111 if (password != null) in PKCS5PasswordToBytes() 113 byte[] bytes = new byte[password.length]; in PKCS5PasswordToBytes() 117 bytes[i] = (byte)password[i]; in PKCS5PasswordToBytes() 136 char[] password) in PKCS5PasswordToUTF8Bytes() argument 138 if (password != null) in PKCS5PasswordToUTF8Bytes() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
D | PKCS12Key.java | 11 private final char[] password; field in PKCS12Key 18 public PKCS12Key(char[] password) in PKCS12Key() argument 20 this(password, false); in PKCS12Key() 30 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument 32 if (password == null) in PKCS12Key() 34 password = new char[0]; in PKCS12Key() 37 this.password = new char[password.length]; in PKCS12Key() 40 System.arraycopy(password, 0, this.password, 0, password.length); in PKCS12Key() 50 return password; in getPassword() 80 if (useWrongZeroLengthConversion && password.length == 0) in getEncoded() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/ |
D | PKCS12Key.java | 13 private final char[] password; field in PKCS12Key 20 public PKCS12Key(char[] password) in PKCS12Key() argument 22 this(password, false); in PKCS12Key() 32 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument 34 if (password == null) in PKCS12Key() 36 password = new char[0]; in PKCS12Key() 39 this.password = new char[password.length]; in PKCS12Key() 42 System.arraycopy(password, 0, this.password, 0, password.length); in PKCS12Key() 52 return password; in getPassword() 82 if (useWrongZeroLengthConversion && password.length == 0) in getEncoded() [all …]
|
/external/nos/host/android/hals/authsecret/ |
D | AuthSecret.cpp | 39 uint32_t CalculatePasswordDigest(const nugget_app_password& password) { in CalculatePasswordDigest() argument 43 SHA1_Update(&c, &password.password, NUGGET_UPDATE_PASSWORD_LEN); in CalculatePasswordDigest() 62 nugget_app_password password; in DeriveCitadelUpdatePassword() local 71 SHA256_Final(password.password, &c); in DeriveCitadelUpdatePassword() 72 password.digest = CalculatePasswordDigest(password); in DeriveCitadelUpdatePassword() 73 return password; in DeriveCitadelUpdatePassword() 82 const nugget_app_password& password) { in TryEnrollCitadelUpdatePassword() argument 87 msg->new_password = password; in TryEnrollCitadelUpdatePassword() 89 memset(&msg->old_password.password, 0xff, NUGGET_UPDATE_PASSWORD_LEN); in TryEnrollCitadelUpdatePassword() 122 void TryEnablingCitadelUpdate(NuggetClientInterface& client, const nugget_app_password& password) { in TryEnablingCitadelUpdate() argument [all …]
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/ |
D | UserAccount.groovy | 19 * Represents a single user account on the server, including the username, password and home 22 * The <code>isValidPassword()</code> method returns true if the specified password matches 23 * the password value configured for this user account. This implementation uses the 29 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password 35 String password 41 * Return true if the specified password is the correct, valid password for this user account. 43 * custom comparison behavior, for instance using encrypted password values, by overriding this 46 * @param password - the password to compare against the configured value 47 * @return true if the password is correct and valid 51 boolean isValidPassword(String password) { [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | UserInfo.java | 53 protected String password; field in UserInfo 89 if (this.password != null && other.password == null) in equals() 92 if (other.password != null && this.password == null) in equals() 95 if (this.password == other.password) in equals() 98 return (this.password.equals(other.password)); in equals() 110 if (password != null) in encode() 111 buffer.append(user).append(COLON).append(password); in encode() 121 this.password = null; in clearPassword() 143 return password; in getPassword() 169 password = p; in setPassword()
|
/external/curl/tests/python_dependencies/impacket/ |
D | ntlm.py | 32 def computeResponse(flags, serverChallenge, clientChallenge, serverName, domain, user, password, lm… argument 35 … computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, domain, user, password, 38 … computeResponseNTLMv1(flags, serverChallenge, clientChallenge, serverName, domain, user, password, 408 …def __init__(self, username = '', password = '', challenge = '', lmhash = '', nthash = '', flags =… argument 430 elif (username and password): 431 lmhash = compute_lmhash(password) 432 nthash = compute_nthash(password) 585 def getNTLMSSPType3(type1, type2, user, password, domain, lmhash = '', nthash = '', use_ntlmv2 = US… argument 597 password.encode('utf-16le') 599 password = password.decode(encoding) [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 55 private String password; field in UserAccount 76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 78 setPassword(password); in UserAccount() 91 return password; in getPassword() 94 public void setPassword(String password) { in setPassword() argument 95 this.password = password; in setPassword() 178 public boolean isValidPassword(String password) { in isValidPassword() argument 180 return passwordCheckedDuringValidation ? comparePassword(password) : true; in isValidPassword() 194 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 270 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_security_handler.cpp | 30 const ByteString& password, in CalcEncryptKey() argument 38 passcode[i] = i < password.GetLength() in CalcEncryptKey() 39 ? password[i] in CalcEncryptKey() 40 : defpasscode[i - password.GetLength()]; in CalcEncryptKey() 99 const ByteString& password) { in OnInit() argument 105 if (!CheckSecurity(password)) in OnInit() 112 bool CPDF_SecurityHandler::CheckSecurity(const ByteString& password) { in CheckSecurity() argument 113 if (!password.IsEmpty() && in CheckSecurity() 114 CheckPassword(password, true, m_EncryptKey, m_KeyLen)) { in CheckSecurity() 118 return CheckPassword(password, false, m_EncryptKey, m_KeyLen); in CheckSecurity() [all …]
|
/external/autotest/site_utils/ |
D | mysql_bootstrap.py | 78 def mysql_cmd(cls, cmd, user=DEFAULT_USER, password=DEFAULT_PASS, argument 89 (user, password, host, port, cmd)) 109 def ping(cls, db_server, user=DEFAULT_USER, password=DEFAULT_PASS, argument 131 password=password) 135 def bootstrap(user, password, source_host, dest_host): argument 167 'new_pass': password, 180 dest_host, user=user, password=password, use_ssh=False) 217 password = global_config.global_config.get_config_value( 227 bootstrap(user, password, local_hostname, dest_host) 232 bootstrap(user, password, gateway, dest_host)
|
/external/curl/tests/data/ |
D | test2023 | 12 <!-- First request has Basic auth, wrong password --> 14 HTTP/1.1 401 Sorry wrong password 20 This is a bad password page! 23 <!-- Second request has Basic auth, right password --> 33 <!-- Third request has Basic auth, wrong password --> 35 HTTP/1.1 401 Sorry wrong password (2) 41 This is a bad password page! 44 <!-- Fourth request has Basic auth, wrong password --> 46 HTTP/1.1 401 Sorry wrong password (3) 52 This is a bad password page! [all …]
|
/external/openssh/ |
D | auth-passwd.c | 84 auth_password(Authctxt *authctxt, const char *password) in auth_password() argument 92 if (strlen(password) > MAX_PASSWORD_LEN) in auth_password() 99 if (*password == '\0' && options.permit_empty_passwd == 0) in auth_password() 104 int ret = auth_krb5_password(authctxt, password); in auth_password() 112 HANDLE hToken = cygwin_logon_user(pw, password); in auth_password() 122 return (sshpam_auth_passwd(authctxt, password) && ok); in auth_password() 131 result = sys_auth_passwd(authctxt, password); in auth_password() 173 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument 180 (char *)password); in sys_auth_passwd() 198 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument [all …]
|