Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 735b7117 authored by Rubin Xu's avatar Rubin Xu Committed by android-build-merger
Browse files

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

am: 71e0fcbf

Change-Id: If8b4d7845160bc0887f5b3b535135849d00b6d01
parents 48f54e8e 71e0fcbf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;