Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DSyntheticPasswordTests.java583 data.scryptLogP = 1; in createTestPasswordData()
594 data.scryptLogP = 33; in testPasswordDataLatestVersion_serializeDeserialize()
603 assertEquals(33, deserialized.scryptLogP); in testPasswordDataLatestVersion_serializeDeserialize()
646 assertEquals(33, deserialized.scryptLogP); in testDeserializePasswordData_forPinWithLengthAvailable()
670 assertEquals(33, deserialized.scryptLogP); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable()
699 assertEquals(33, deserialized.scryptLogP); in testDeserializePasswordData_forPinWithVersionNumber()
725 assertEquals(33, deserialized.scryptLogP); in testDeserializePasswordData_forNoneCred()
751 assertEquals(33, deserialized.scryptLogP); in testDeserializePasswordData_forPasswordOrPin()
H A DLockscreenFrpTest.java173 final byte scryptLogP = buffer.get(); in testFrpBlock_isForwardsCompatible()
174 assertTrue(scryptLogP >= 0); in testFrpBlock_isForwardsCompatible()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java355 byte scryptLogP; field in SyntheticPasswordManager.PasswordData
371 result.scryptLogP = PASSWORD_SCRYPT_LOG_P; in create()
407 result.scryptLogP = buffer.get(); in fromBytes()
447 buffer.put(scryptLogP); in toBytes()
1877 1 << data.scryptLogP, STRETCHED_LSKF_LENGTH); in stretchLskf()