Home
last modified time | relevance | path

Searched refs:testBit (Results 1 – 25 of 26) sorted by relevance

12

/external/wycheproof/java/com/google/security/wycheproof/
DEcUtil.java201 if (p.testBit(0) && p.testBit(1)) { in modSqrt()
206 } else if (p.testBit(0) && !p.testBit(1)) { in modSqrt()
239 if (q.testBit(bit)) { in modSqrt()
358 if (bit0 != y.testBit(0)) { in getPoint()
402 if (lsb != y.testBit(0)) { in decompressPoint()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DWNafUtil.java40 if (!diff.testBit(i)) in generateCompactNaf()
46 int digit = k.testBit(i) ? -1 : 1; in generateCompactNaf()
94 if (k.testBit(pos) == carry) in generateCompactWindowNaf()
205 if (diff.testBit(i)) in generateNaf()
207 naf[i - 1] = (byte)(k.testBit(i) ? -1 : 1); in generateNaf()
257 if (k.testBit(pos) == carry) in generateWindowNaf()
DECFieldElement.java83 return toBigInteger().testBit(0); in testBitZero()
259 if (!q.testBit(0)) in sqrt()
267 if (q.testBit(1)) // q == 4m + 3 in sqrt()
273 if (q.testBit(2)) // q == 8m + 5 in sqrt()
358 if (k.testBit(j)) in lucasSequence()
412 if (x.testBit(0)) in modHalf()
421 if (x.testBit(0)) in modHalfAbs()
DTnaf.java298 if (gsPlusJs.testBit(_k-c-1)) in approximateDivisionByN()
343 if (r0.testBit(0)) in tauAdicNaf()
767 if (r0.testBit(0)) in tauAdicWNaf()
DECAlgorithms.java198 if (x.testBit(0)) in referenceMultiply()
205 if (x.testBit(i)) in referenceMultiply()
DLongArray.java803 private static boolean testBit(long[] buf, int off, int n) in testBit() method in LongArray
1578 if (testBit(buf, off, bitlength)) in reduceBitWise()
DECCurve.java455 if (Y.testBit(0) != (type == 0x07)) in decodePoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafUtil.java36 if (!diff.testBit(i)) in generateCompactNaf()
42 int digit = k.testBit(i) ? -1 : 1; in generateCompactNaf()
90 if (k.testBit(pos) == carry) in generateCompactWindowNaf()
201 if (diff.testBit(i)) in generateNaf()
203 naf[i - 1] = (byte)(k.testBit(i) ? -1 : 1); in generateNaf()
253 if (k.testBit(pos) == carry) in generateWindowNaf()
DECFieldElement.java79 return toBigInteger().testBit(0); in testBitZero()
249 if (!q.testBit(0)) in sqrt()
257 if (q.testBit(1)) // q == 4m + 3 in sqrt()
263 if (q.testBit(2)) // q == 8m + 5 in sqrt()
348 if (k.testBit(j)) in lucasSequence()
402 if (x.testBit(0)) in modHalf()
411 if (x.testBit(0)) in modHalfAbs()
DTnaf.java297 if (gsPlusJs.testBit(_k-c-1)) in approximateDivisionByN()
342 if (r0.testBit(0)) in tauAdicNaf()
766 if (r0.testBit(0)) in tauAdicWNaf()
DECAlgorithms.java194 if (x.testBit(0)) in referenceMultiply()
201 if (x.testBit(i)) in referenceMultiply()
DLongArray.java802 private static boolean testBit(long[] buf, int off, int n) in testBit() method in LongArray
1577 if (testBit(buf, off, bitlength)) in reduceBitWise()
DECCurve.java450 if (Y.testBit(0) != (type == 0x07)) in decodePoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java30 if (!publicExponent.testBit(0)) in RSAKeyGenerationParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DRSAKeyGenerationParameters.java34 if (!publicExponent.testBit(0)) in RSAKeyGenerationParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/
DGLVTypeBEndomorphism.java50 boolean extra = b.testBit(t - 1); in calculateB()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/endo/
DGLVTypeBEndomorphism.java54 boolean extra = b.testBit(t - 1); in calculateB()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipEightByteInteger.java152 if (value.testBit(LEFTMOST_BIT_SHIFT)) { in getBytes()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/
DPrimes.java171 if (!candidate.testBit(0)) in enhancedMRProbablePrimeTest()
297 if (!candidate.testBit(0)) in isMRProbablePrime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/
DPrimes.java167 if (!candidate.testBit(0)) in enhancedMRProbablePrimeTest()
293 if (!candidate.testBit(0)) in isMRProbablePrime()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DEd25519.java134 if (k.testBit(i)) { in scalarMultiplyExtendedPoint()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEcdsaTest.java757 if (k.testBit(0)) { in testBias()
DDsaTest.java940 if (k.testBit(0)) { in testDsaBias()
/external/guava/guava-tests/test/com/google/common/math/
DBigIntegerMathTest.java351 boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0);
/external/v8/benchmarks/
Dcrypto.js763 if(!this.testBit(a-1)) // force MSB set
1319 BigInteger.prototype.testBit = bnTestBit; method in BigInteger

12