Home
last modified time | relevance | path

Searched refs:scrypt (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/security/
DScrypt.java29 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/
DKeySyncTaskTest.java305 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()
DMockScrypt.java31 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/
DKeySyncTask.java141 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/
DMockSyntheticPasswordManager.java98 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/
DSyntheticPasswordManager.java1360 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/
Dart-profile19032 PLcom/android/server/locksettings/SyntheticPasswordManager;->scrypt([B[BIIII)[B