/frameworks/base/core/java/android/security/ |
D | Scrypt.java | 29 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() method in Scrypt
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTaskTest.java | 305 verify(mMockScrypt).scrypt(eq(password.getBytes()), any(), in run_useScryptToHashPasswordInTestMode() 342 verify(mMockScrypt, never()).scrypt(any(), any(), anyInt(), anyInt(), anyInt(), anyInt()); in run_useSha256ToHashPatternInProdMode() 376 verify(mMockScrypt).scrypt(eq(shortPassword.getBytes()), any(), in run_useScryptToHashPasswordInProdMode() 428 verify(mMockScrypt, never()).scrypt(any(), any(), anyInt(), anyInt(), anyInt(), anyInt()); in run_InTestModeWithWhitelistedCredentials() 451 verify(mMockScrypt, never()).scrypt(any(), any(), anyInt(), anyInt(), anyInt(), anyInt()); in run_InTestModeWithNonWhitelistedCredentials() 658 verify(mMockScrypt).scrypt(eq(password.getBytes()), any(), in run_setsCorrectTypeForPassword() 691 verify(mMockScrypt).scrypt(eq(pin.getBytes()), any(), in run_setsCorrectTypeForPin() 722 verify(mMockScrypt, never()).scrypt(any(), any(), anyInt(), anyInt(), anyInt(), anyInt()); in run_setsCorrectTypeForPattern() 808 verify(mMockScrypt, never()).scrypt(any(), any(), anyInt(), anyInt(), anyInt(), anyInt()); in run_customLockScreen_RecoveryStatusFailure()
|
D | MockScrypt.java | 31 public byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() method in MockScrypt
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncTask.java | 141 Scrypt scrypt) { in KeySyncTask() argument 151 mScrypt = scrypt; in KeySyncTask() 513 return mScrypt.scrypt( in hashCredentialsByScrypt()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 98 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() method in MockSyntheticPasswordManager
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 1360 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken() 1380 protected byte[] scrypt(byte[] password, byte[] salt, int n, int r, int p, int outLen) { in scrypt() method in SyntheticPasswordManager 1381 return new Scrypt().scrypt(password, salt, n, r, p, outLen); in scrypt()
|
/frameworks/base/services/ |
D | art-profile | 19032 PLcom/android/server/locksettings/SyntheticPasswordManager;->scrypt([B[BIIII)[B
|