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.java443 data.scryptR = 22; in testPasswordData_serializeDeserialize()
452 assertEquals(22, deserialized.scryptR); in testPasswordData_serializeDeserialize()
476 assertEquals(22, deserialized.scryptR); in testPasswordData_deserialize()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java307 byte scryptR; field in SyntheticPasswordManager.PasswordData
318 result.scryptR = PASSWORD_SCRYPT_R; in create()
332 result.scryptR = buffer.get(); in fromBytes()
354 buffer.put(scryptR); in toBytes()
1360 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()