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.java442 data.scryptN = 11; in testPasswordData_serializeDeserialize()
451 assertEquals(11, deserialized.scryptN); in testPasswordData_serializeDeserialize()
475 assertEquals(11, deserialized.scryptN); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java306 byte scryptN; field in SyntheticPasswordManager.PasswordData
317 result.scryptN = PASSWORD_SCRYPT_N; in create()
331 result.scryptN = buffer.get(); in fromBytes()
353 buffer.put(scryptN); in toBytes()
1360 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()