/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/dh/ |
DhGroupExchange.java | 50 e = g.modPow(x, p); 89 this.k = f.modPow(x, p);
|
DhExchange.java | 81 e = g.modPow(x, p); 122 this.k = f.modPow(x, p);
|
/external/bouncycastle/bcprov/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/bcprov/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());
|
/libcore/harmony-tests/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/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
DHBasicAgreement.java | 69 return pub.getY().modPow(key.getX(), dhParams.getP());
|
/external/bouncycastle/bcprov/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 | 207 BigInteger g = h.modPow(e, p); 359 BigInteger g = W.modPow(e, p);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyAgreementSpi.java | 89 result = ((DHPublicKey)key).getY().modPow(x, p); 94 result = ((DHPublicKey)key).getY().modPow(x, p);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/ |
DSASHA1Verify.java | 177 u1 = g.modPow(u1, p); 178 u2 = y.modPow(u2, p); 202 BigInteger r = pk.getG().modPow(k, pk.getP()).mod(pk.getQ());
|
RSASHA1Verify.java | 141 BigInteger s = m.modPow(pk.getD(), pk.getN()); 173 byte[] v = s.modPow(e, n).toByteArray();
|
/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/bcprov/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...] |
/cts/suite/pts/deviceTests/browserbench/assets/octane/ |
crypto.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-crypto.js | [all...] |
/external/chromium_org/v8/benchmarks/ |
crypto.js | [all...] |
/external/v8/benchmarks/ |
crypto.js | [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | [all...] |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/sdk/10/ |
android.jar | |