Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java589 data.scryptLogN = 11; in createTestPasswordData()
600 data.scryptLogN = 11; in testPasswordDataLatestVersion_serializeDeserialize()
609 assertEquals(11, deserialized.scryptLogN); in testPasswordDataLatestVersion_serializeDeserialize()
652 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithLengthAvailable()
676 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
705 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithVersionNumber()
731 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forNoneCred()
757 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPasswordOrPin()
DLockscreenFrpTest.java167 final byte scryptLogN = buffer.get(); in testFrpBlock_isForwardsCompatible()
168 assertTrue(scryptLogN >= 0); in testFrpBlock_isForwardsCompatible()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java358 byte scryptLogN; field in SyntheticPasswordManager.PasswordData
374 result.scryptLogN = PASSWORD_SCRYPT_LOG_N; in create()
410 result.scryptLogN = buffer.get(); in fromBytes()
450 buffer.put(scryptLogN); in toBytes()
1947 return scrypt(password, data.salt, 1 << data.scryptLogN, 1 << data.scryptLogR, in stretchLskf()