Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java204 byte scryptN; field in SyntheticPasswordManager.PasswordData
215 result.scryptN = PASSWORD_SCRYPT_N; in create()
229 result.scryptN = buffer.get(); in fromBytes()
251 buffer.put(scryptN); in toBytes()
1131 return scrypt(password, data.salt, 1 << data.scryptN, 1 << data.scryptR, 1 << data.scryptP, in computePasswordToken()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java486 data.scryptN = 11; in testPasswordData_serializeDeserialize()
495 assertEquals(11, deserialized.scryptN); in testPasswordData_serializeDeserialize()
518 assertEquals(11, deserialized.scryptN); in testPasswordData_deserialize()