Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DSyntheticPasswordTests.java581 data.scryptLogN = 11; in createTestPasswordData()
592 data.scryptLogN = 11; in testPasswordDataLatestVersion_serializeDeserialize()
601 assertEquals(11, deserialized.scryptLogN); in testPasswordDataLatestVersion_serializeDeserialize()
644 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithLengthAvailable()
668 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
697 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPinWithVersionNumber()
723 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forNoneCred()
749 assertEquals(11, deserialized.scryptLogN); in testDeserializePasswordData_forPasswordOrPin()
H A DLockscreenFrpTest.java167 final byte scryptLogN = buffer.get(); in testFrpBlock_isForwardsCompatible()
168 assertTrue(scryptLogN >= 0); in testFrpBlock_isForwardsCompatible()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java353 byte scryptLogN; field in SyntheticPasswordManager.PasswordData
369 result.scryptLogN = PASSWORD_SCRYPT_LOG_N; in create()
405 result.scryptLogN = buffer.get(); in fromBytes()
445 buffer.put(scryptLogN); in toBytes()
1876 return scrypt(password, data.salt, 1 << data.scryptLogN, 1 << data.scryptLogR, in stretchLskf()