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.java534 data.scryptP = 33; in testPasswordData_serializeDeserialize()
543 assertEquals(33, deserialized.scryptP); in testPasswordData_serializeDeserialize()
566 assertEquals(33, deserialized.scryptP); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java222 byte scryptP; field in SyntheticPasswordManager.PasswordData
233 result.scryptP = PASSWORD_SCRYPT_P; in create()
247 result.scryptP = buffer.get(); in fromBytes()
269 buffer.put(scryptP); in toBytes()
1175 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()