Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java452 data.scryptR = 22; in testPasswordData_serializeDeserialize()
461 assertEquals(22, deserialized.scryptR); in testPasswordData_serializeDeserialize()
485 assertEquals(22, deserialized.scryptR); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java221 byte scryptR; field in SyntheticPasswordManager.PasswordData
232 result.scryptR = PASSWORD_SCRYPT_R; in create()
246 result.scryptR = buffer.get(); in fromBytes()
268 buffer.put(scryptR); in toBytes()
1175 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()