Reduce scrypt time in synthetic password flow
Reduce from 13:3:1 (100ms) to 11:3:1 (25ms) Bug: 37268178 Test: Manual with time instrumentation in code. Change-Id: I14d734858d824ec494127d057dd821fc88f8a0f5
This commit is contained in:
@@ -82,7 +82,7 @@ public class SyntheticPasswordManager {
|
||||
// 256-bit synthetic password
|
||||
private static final byte SYNTHETIC_PASSWORD_LENGTH = 256 / 8;
|
||||
|
||||
private static final int PASSWORD_SCRYPT_N = 13;
|
||||
private static final int PASSWORD_SCRYPT_N = 11;
|
||||
private static final int PASSWORD_SCRYPT_R = 3;
|
||||
private static final int PASSWORD_SCRYPT_P = 1;
|
||||
private static final int PASSWORD_SALT_LENGTH = 16;
|
||||
|
||||
Reference in New Issue
Block a user