Home
last modified time | relevance | path

Searched refs:scryptP (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java444 data.scryptP = 33; in testPasswordData_serializeDeserialize()
453 assertEquals(33, deserialized.scryptP); in testPasswordData_serializeDeserialize()
477 assertEquals(33, deserialized.scryptP); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java308 byte scryptP; field in SyntheticPasswordManager.PasswordData
319 result.scryptP = PASSWORD_SCRYPT_P; in create()
333 result.scryptP = buffer.get(); in fromBytes()
355 buffer.put(scryptP); in toBytes()
1360 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()