Searched refs:modPow (Results 1 – 12 of 12) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RSACoreEngine.java | 181 mP = (input.remainder(p)).modPow(dP, p); in processBlock() 184 mQ = (input.remainder(q)).modPow(dQ, q); in processBlock() 199 return input.modPow( in processBlock()
|
D | RSABlindedEngine.java | 108 BigInteger blindedInput = r.modPow(e, m).multiply(input).mod(m); in processBlock()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | DSASigner.java | 98 BigInteger r = params.getG().modPow(k, params.getP()).mod(q); in generateSignature() 138 u1 = params.getG().modPow(u1, p); in verifySignature() 139 u2 = ((DSAPublicKeyParameters)key).getY().modPow(u2, p); in verifySignature()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 106 result = ((DHPublicKey)key).getY().modPow(x, p); in engineDoPhase() 111 result = ((DHPublicKey)key).getY().modPow(x, p); in engineDoPhase()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECFieldElement.java | 241 return checkSqrt(new Fp(q, r, x.modPow(e, q))); in sqrt() 246 BigInteger t1 = x.modPow(q.shiftRight(3), q); in sqrt() 256 BigInteger t4 = ECConstants.TWO.modPow(q.shiftRight(2), q); in sqrt() 266 if (!(x.modPow(legendreExponent, q).equals(ECConstants.ONE))) in sqrt() 286 … || !modReduce(P.multiply(P).subtract(fourX)).modPow(legendreExponent, q).equals(qMinusOne)); in sqrt()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
D | DHBasicAgreement.java | 69 return pub.getY().modPow(key.getX(), dhParams.getP()); in calculateAgreement()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | DHKeyGeneratorHelper.java | 65 return dhParams.getG().modPow(x, dhParams.getP()); in calculatePublic()
|
D | DHParametersHelper.java | 106 g = h.modPow(TWO, p); in selectGenerator()
|
D | DSAKeyPairGenerator.java | 67 return g.modPow(x, p); in calculatePublicKey()
|
D | DSAParametersGenerator.java | 207 BigInteger g = h.modPow(e, p); in calculateGenerator_FIPS186_2() 359 BigInteger g = W.modPow(e, p); in calculateGenerator_FIPS186_3_Verifiable()
|
/external/v8/benchmarks/ |
D | crypto.js | 1272 var y = a.modPow(r,this); 1329 BigInteger.prototype.modPow = bnModPow; method in BigInteger 1630 return x.modPow(this.d, this.n); 1633 var xp = x.mod(this.p).modPow(this.dmp1, this.p); 1634 var xq = x.mod(this.q).modPow(this.dmq1, this.q);
|
/external/robolectric/lib/main/ |
D | android.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/ ... |