Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java451 data.scryptN = 11; in testPasswordData_serializeDeserialize()
460 assertEquals(11, deserialized.scryptN); in testPasswordData_serializeDeserialize()
484 assertEquals(11, deserialized.scryptN); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java220 byte scryptN; field in SyntheticPasswordManager.PasswordData
231 result.scryptN = PASSWORD_SCRYPT_N; in create()
245 result.scryptN = buffer.get(); in fromBytes()
267 buffer.put(scryptN); in toBytes()
1175 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()