Searched refs:EC_PARAM_P (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DSecureBox.java103 private static final BigInteger EC_PARAM_P = field in class:SecureBox
105 private static final BigInteger EC_PARAM_A = EC_PARAM_P.subtract(new BigInteger("3"));
113 new EllipticCurve(new ECFieldFp(EC_PARAM_P), EC_PARAM_A, EC_PARAM_B);
422 if (x.compareTo(EC_PARAM_P) >= 0
423 || y.compareTo(EC_PARAM_P) >= 0
430 BigInteger lhs = y.modPow(BIG_INT_02, EC_PARAM_P);
432 x.modPow(BIG_INT_02, EC_PARAM_P) // x^2
434 .mod(EC_PARAM_P) // This will speed up the next multiplication
437 .mod(EC_PARAM_P);

Completed in 867 milliseconds