Searched refs:scryptLogR (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | SyntheticPasswordTests.java | 582 data.scryptLogR = 3; in createTestPasswordData() 593 data.scryptLogR = 22; in testPasswordDataLatestVersion_serializeDeserialize() 602 assertEquals(22, deserialized.scryptLogR); in testPasswordDataLatestVersion_serializeDeserialize() 645 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithLengthAvailable() 669 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithLengthExplicitlyUnavailable() 698 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPinWithVersionNumber() 724 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forNoneCred() 750 assertEquals(22, deserialized.scryptLogR); in testDeserializePasswordData_forPasswordOrPin()
|
H A D | LockscreenFrpTest.java | 170 final byte scryptLogR = buffer.get(); in testFrpBlock_isForwardsCompatible() 171 assertTrue(scryptLogR >= 0); in testFrpBlock_isForwardsCompatible()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | SyntheticPasswordManager.java | 354 byte scryptLogR; field in SyntheticPasswordManager.PasswordData 370 result.scryptLogR = PASSWORD_SCRYPT_LOG_R; in create() 406 result.scryptLogR = buffer.get(); in fromBytes() 446 buffer.put(scryptLogR); in toBytes() 1876 return scrypt(password, data.salt, 1 << data.scryptLogN, 1 << data.scryptLogR, in stretchLskf()
|