HomeSort by relevance Sort by last modified time
    Searched refs:modPow (Results 1 - 25 of 25) sorted by null

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
RSACoreEngine.java 181 mP = (input.remainder(p)).modPow(dP, p);
184 mQ = (input.remainder(q)).modPow(dQ, q);
199 return input.modPow(
RSABlindedEngine.java 108 BigInteger blindedInput = r.modPow(e, m).multiply(input).mod(m);
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
DSASigner.java 71 BigInteger r = params.getG().modPow(k, params.getP()).mod(params.getQ());
115 u1 = params.getG().modPow(u1, params.getP());
116 u2 = ((DSAPublicKeyParameters)key).getY().modPow(u2, params.getP());
  /external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerModPowTest.java 28 * Methods: modPow, modInverse, and gcd
32 * modPow: non-positive modulus
45 aNumber.modPow(exp, modulus);
51 BigInteger.ZERO.modPow(new BigInteger("-1"), new BigInteger("10"));
59 * modPow: positive exponent
72 BigInteger result = aNumber.modPow(exp, modulus);
82 * modPow: negative exponent
95 BigInteger result = aNumber.modPow(exp, modulus);
113 base[i].modPow(exp, mod[j]));
122 base[i].modPow(exp, mod[j]))
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/agreement/
DHBasicAgreement.java 64 return pub.getY().modPow(key.getX(), dhParams.getP());
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 49 return dhParams.getG().modPow(x, dhParams.getP());
DHParametersHelper.java 76 // while (g.modPow(TWO, p).equals(ONE) || g.modPow(q, p).equals(ONE));
86 g = h.modPow(TWO, p);
DSAKeyPairGenerator.java 59 return g.modPow(x, p);
DSAParametersGenerator.java 153 BigInteger g = h.modPow(e, p);
303 // BigInteger g = W.modPow(e, p);
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCEDHKeyAgreement.java 91 result = ((DHPublicKey)key).getY().modPow(x, p);
96 result = ((DHPublicKey)key).getY().modPow(x, p);
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1withDSA_SignatureImpl.java 229 r = g.modPow(k, p).mod(q);
375 v = g.modPow(u1, p).multiply(y.modPow(u2, p)).mod(p).mod(q);
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
ECFieldElement.java 123 ECFieldElement z = new Fp(q, x.modPow(q.shiftRight(2).add(ECConstants.ONE), q));
132 if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE)))
153 || !(P.multiply(P).subtract(fourQ).modPow(legendreExponent, q).equals(qMinusOne)));
180 // if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE)))
194 // || !(r.multiply(r).subtract(fourX).modPow(legendreExponent, q).equals(qMinusOne)));
203 // BigInteger root = twoR.modPow(q.subtract(ECConstants.TWO), q)
230 // return r.multiply(r).multiply(x.modPow(q.subtract(ECConstants.TWO), q)).subtract(ECConstants.TWO).mod(p);
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/openssl/
MiscPEMGenerator.java 163 BigInteger y = p.getG().modPow(x, p.getP());
273 BigInteger y = p.getG().modPow(x, p.getP());
  /external/v8/benchmarks/
crypto.js     [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
v8-crypto.js     [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v5/
v8-crypto.js     [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/v8-v6/
v8-crypto.js     [all...]
  /libcore/luni/src/main/java/java/math/
BigInteger.java     [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 253 milliseconds