Merge "Reduce scrypt time in synthetic password flow" into oc-dev

This commit is contained in:
Rubin Xu
2017-04-27 17:24:56 +00:00
committed by Android (Google) Code Review

View File

@@ -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;