Home
last modified time | relevance | path

Searched refs:scryptLogR (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java590 data.scryptLogR = 3; in createTestPasswordData()
601 data.scryptLogR = 22; in testPasswordDataLatestVersion_serializeDeserialize()
610 assertEquals(22, deserialized.scryptLogR); in testPasswordDataLatestVersion_serializeDeserialize()
653 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithLengthAvailable()
677 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
706 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithVersionNumber()
732 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forNoneCred()
758 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPasswordOrPin()
DLockscreenFrpTest.java170 final byte scryptLogR = buffer.get(); in testFrpBlock_isForwardsCompatible()
171 assertTrue(scryptLogR >= 0); in testFrpBlock_isForwardsCompatible()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java359 byte scryptLogR; field in SyntheticPasswordManager.PasswordData
375 result.scryptLogR = PASSWORD_SCRYPT_LOG_R; in create()
411 result.scryptLogR = buffer.get(); in fromBytes()
451 buffer.put(scryptLogR); in toBytes()
1947 return scrypt(password, data.salt, 1 << data.scryptLogN, 1 << data.scryptLogR, in stretchLskf()