Home
last modified time | relevance | path

Searched full:password (Results 1 – 25 of 2120) sorted by relevance

12345678910>>...85

/external/autotest/server/site_tests/firmware_Cr50Password/
Dfirmware_Cr50Password.py10 """Verify cr50 set password."""
12 PASSWORD = 'Password' variable in firmware_Cr50Password
17 """Check we can set the cr50 password."""
18 # Make sure to enable testlab mode, so we can guarantee the password
23 # Set the password
24 self.set_ccd_password(self.PASSWORD)
25 if self.cr50.get_ccd_info()['Password'] != 'set':
26 raise error.TestFail('Failed to set password')
28 # Test 'ccd reset' clears the password
30 if self.cr50.get_ccd_info()['Password'] != 'none':
[all …]
/external/curl/tests/unit/
Dunit1304.c27 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DPBEParametersGenerator.java7 * super class for all Password Based Encryption (PBE) parameter generator classes.
13 protected byte[] password; field in PBEParametersGenerator
28 * @param password the password converted into bytes (see below).
29 * @param salt the salt to be mixed with the password.
34 byte[] password, in init() argument
38 this.password = password; in init()
44 * return the password byte array.
46 * @return the password byte array.
50 return password; in getPassword()
101 * converts a password to a byte array according to the scheme in
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java6 * super class for all Password Based Encryption (PBE) parameter generator classes.
10 protected byte[] password; field in PBEParametersGenerator
24 * @param password the password converted into bytes (see below).
25 * @param salt the salt to be mixed with the password.
30 byte[] password, in init() argument
34 this.password = password; in init()
40 * return the password byte array.
42 * @return the password byte array.
46 return password; in getPassword()
97 * converts a password to a byte array according to the scheme in
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKCS12Key.java6 * A password based key for use with PKCS#12.
11 private final char[] password; field in PKCS12Key
14 …* Basic constructor for a password based key - secret key generation parameters will be passed sep…
16 * @param password password to use.
18 public PKCS12Key(char[] password) in PKCS12Key() argument
20 this(password, false); in PKCS12Key()
27 * @param password password to use.
30 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument
32 if (password == null) in PKCS12Key()
34 password = new char[0]; in PKCS12Key()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKCS12Key.java7 * A password based key for use with PKCS#12.
13 private final char[] password; field in PKCS12Key
16 …* Basic constructor for a password based key - secret key generation parameters will be passed sep…
18 * @param password password to use.
20 public PKCS12Key(char[] password) in PKCS12Key() argument
22 this(password, false); in PKCS12Key()
29 * @param password password to use.
32 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument
34 if (password == null) in PKCS12Key()
36 password = new char[0]; in PKCS12Key()
[all …]
/external/nos/host/android/hals/authsecret/
DAuthSecret.cpp38 /** The digest is the first 4 bytes of the sha1 of the password */
39 uint32_t CalculatePasswordDigest(const nugget_app_password& password) { in CalculatePasswordDigest() argument
43 SHA1_Update(&c, &password.password, NUGGET_UPDATE_PASSWORD_LEN); in CalculatePasswordDigest()
52 * Derive the update password from the secret:
55 * Password must point to NUGGET_UPDATE_PASSWORD_LEN bytes.
57 * The password is derived in case the secret needs to be used for another
62 nugget_app_password password; in DeriveCitadelUpdatePassword() local
65 "Hash output does not match update password length"); in DeriveCitadelUpdatePassword()
71 SHA256_Final(password.password, &c); in DeriveCitadelUpdatePassword()
72 password.digest = CalculatePasswordDigest(password); in DeriveCitadelUpdatePassword()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/
DUserAccount.groovy19 * 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/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password and home
32 * The <code>isValidPassword()</code> method returns true if the specified password matches
33 * the password value configured for this user account. This implementation uses the
40 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
45 * PASSWORD (PASS) command is completed.
55 private String password; field in UserAccount
73 * @param password - the password
76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
78 setPassword(password); in UserAccount()
91 return password; in getPassword()
[all …]
/external/autotest/server/site_tests/firmware_Cr50Unlock/
Dfirmware_Cr50Unlock.py15 PASSWORD = 'Password' variable in firmware_Cr50Unlock
20 # Make sure testlab mode is enabled, so we can guarantee the password
25 # Set the password
26 self.set_ccd_password(self.PASSWORD)
27 if self.cr50.get_ccd_info()['Password'] != 'set':
28 raise error.TestFail('Failed to set password')
32 # Verify the password can be used to unlock the console
33 self.cr50.send_command('ccd unlock ' + self.PASSWORD)
35 raise error.TestFail('Could not unlock cr50 with the password')
40 self.cr50.send_command('ccd unlock ' + self.PASSWORD.lower())
[all …]
/external/autotest/client/site_tests/login_SavePassword/
Dlogin_SavePassword.py15 Test to make sure that during logon, the user's password is defined in the
16 keyring if and only if the ${PASSWORD} variable is defined in the user's
37 @param expect_password: True if the password is expected to be present
45 # Check the /proc/keys file to see if a password key is defined.
46 password_file_cmd = 'cat /proc/keys | grep password:'
49 # If there is a password key, check to see the password is the same.
52 # self.password is set by the base class
53 if expect_password and saved_password != self.password:
55 'Password is not saved for ONC with ${PASSWORD} '
57 self.password, saved_password)
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/
DUserAccount.java25 * Represents a single user account on the server, including the username, password, home
41 * The <code>isValidPassword()</code> method returns true if the specified password matches
42 * the password value configured for this user account. This implementation uses the
49 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password
54 * PASSWORD (PASS) command is completed.
64 private String password; field in UserAccount
84 * @param password - the password
87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument
89 setPassword(password); in UserAccount()
102 return password; in getPassword()
[all …]
/external/python/cpython2/Lib/test/
Dtest_netrc.py21 machine host1.domain.com login log1 password pass1 account acct1
22 default login log2 password pass2
50 machine host.domain.com login log password #pass account acct
55 machine host.domain.com login log password pass# account acct
60 machine host.domain.com login log password pa#ss account acct
71 machine foo.domain.com login bar password pass
72 machine bar.domain.com login foo password pass
78 machine foo.domain.com login bar password pass
79 machine bar.domain.com login foo password pass
85 machine foo.domain.com login bar password pass
[all …]
/external/tcpdump/tests/
Dbfd-raw-auth-simple-v.out9 Authentication: Simple Password (1), length: 9
10 Auth Key ID: 2, Password: secret
19 Authentication: Simple Password (1), length: 9
20 Auth Key ID: 2, Password: secret
29 Authentication: Simple Password (1), length: 9
30 Auth Key ID: 2, Password: secret
39 Authentication: Simple Password (1), length: 9
40 Auth Key ID: 2, Password: secret
49 Authentication: Simple Password (1), length: 9
50 Auth Key ID: 2, Password: secret
[all …]
/external/python/cpython3/Lib/test/
Dtest_netrc.py21 machine host1.domain.com login log1 password pass1 account acct1
22 default login log2 password pass2
50 machine host.domain.com login log password #pass account acct
55 machine host.domain.com login log password pass# account acct
60 machine host.domain.com login log password pa#ss account acct
71 machine foo.domain.com login bar password pass
72 machine bar.domain.com login foo password pass
78 machine foo.domain.com login bar password pass
79 machine bar.domain.com login foo password pass
85 machine foo.domain.com login bar password pass
[all …]

12345678910>>...85