Home
last modified time | relevance | path

Searched refs:shiftRight (Results 1 – 25 of 29) sorted by relevance

12

/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java48 shiftRight(tmp); in multiply()
65 shiftRight(x); in multiplyP()
82 static void shiftRight(byte[] block) in shiftRight() method in GCMUtil
98 static void shiftRight(int[] block) in shiftRight() method in GCMUtil
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
DTnaf.java287 BigInteger ns = k.shiftRight(m - _k - 2 + a); in approximateDivisionByN()
291 BigInteger hs = gs.shiftRight(m); in approximateDivisionByN()
296 BigInteger ls = gsPlusJs.shiftRight(_k-c); in approximateDivisionByN()
364 BigInteger s = r0.shiftRight(1); in tauAdicNaf()
375 r1 = t.shiftRight(1).negate(); in tauAdicNaf()
577 si[0] = dividend0.shiftRight(1); in getSi()
578 si[1] = dividend1.shiftRight(1).negate(); in getSi()
582 si[0] = dividend0.shiftRight(2); in getSi()
583 si[1] = dividend1.shiftRight(2).negate(); in getSi()
743 BigInteger pow2wMin1 = pow2w.shiftRight(1); in tauAdicWNaf()
[all …]
DECFieldElement.java123 ECFieldElement z = new Fp(q, x.modPow(q.shiftRight(2).add(ECConstants.ONE), q)); in sqrt()
131 BigInteger legendreExponent = qMinusOne.shiftRight(1); in sqrt()
137 BigInteger u = qMinusOne.shiftRight(2); in sqrt()
167 V = V.shiftRight(1); in sqrt()
DWNafMultiplier.java71 k = k.shiftRight(1); in windowNaf()
DSimpleBigDecimal.java156 return bigInt.shiftRight(scale); in floor()
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java442 assertTrue("1 >> 0", BigInteger.valueOf(1).shiftRight(0).equals( in test_shiftRightI()
444 assertTrue("1 >> 1", BigInteger.valueOf(1).shiftRight(1).equals( in test_shiftRightI()
446 assertTrue("1 >> 63", BigInteger.valueOf(1).shiftRight(63).equals( in test_shiftRightI()
448 assertTrue("1 >> 64", BigInteger.valueOf(1).shiftRight(64).equals( in test_shiftRightI()
450 assertTrue("1 >> 65", BigInteger.valueOf(1).shiftRight(65).equals( in test_shiftRightI()
452 assertTrue("1 >> 1000", BigInteger.valueOf(1).shiftRight(1000).equals( in test_shiftRightI()
454 assertTrue("-1 >> 0", BigInteger.valueOf(-1).shiftRight(0).equals( in test_shiftRightI()
456 assertTrue("-1 >> 1", BigInteger.valueOf(-1).shiftRight(1).equals( in test_shiftRightI()
458 assertTrue("-1 >> 63", BigInteger.valueOf(-1).shiftRight(63).equals( in test_shiftRightI()
460 assertTrue("-1 >> 64", BigInteger.valueOf(-1).shiftRight(64).equals( in test_shiftRightI()
[all …]
/external/proguard/src/proguard/evaluation/value/
DIntegerValue.java142 public abstract IntegerValue shiftRight(IntegerValue other); in shiftRight() method in IntegerValue
340 public IntegerValue shiftRight(UnknownIntegerValue other) in shiftRight() method in IntegerValue
342 return shiftRight((IntegerValue)other); in shiftRight()
584 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in IntegerValue
586 return shiftRight((IntegerValue)other); in shiftRight()
828 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in IntegerValue
830 return shiftRight((SpecificIntegerValue)other); in shiftRight()
DLongValue.java158 public LongValue shiftRight(IntegerValue other) in shiftRight() method in LongValue
312 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in LongValue
468 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in LongValue
470 return shiftRight((SpecificIntegerValue)other); in shiftRight()
DSpecificIntegerValue.java129 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in SpecificIntegerValue
136 return other.shiftRight(this); in shiftRightOf()
156 return other.shiftRight(this); in shiftRightOf()
256 public IntegerValue shiftRight(SpecificIntegerValue other) in shiftRight() method in SpecificIntegerValue
DParticularIntegerValue.java161 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in ParticularIntegerValue
168 return other.shiftRight(this); in shiftRightOf()
188 return other.shiftRight(this); in shiftRightOf()
284 public IntegerValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularIntegerValue
DParticularLongValue.java129 public LongValue shiftRight(IntegerValue other) in shiftRight() method in ParticularLongValue
217 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularLongValue
DSpecificLongValue.java109 public LongValue shiftRight(IntegerValue other) in shiftRight() method in SpecificLongValue
201 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in SpecificLongValue
DUnknownLongValue.java110 public LongValue shiftRight(IntegerValue other) in shiftRight() method in UnknownLongValue
DUnknownIntegerValue.java131 public IntegerValue shiftRight(IntegerValue other) in shiftRight() method in UnknownIntegerValue
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java1134 BigInteger result = aNumber.shiftRight(number); in testShiftRight1()
1152 BigInteger result = aNumber.shiftRight(number); in testShiftRight2()
1170 BigInteger result = aNumber.shiftRight(number); in testShiftRight3()
1188 BigInteger result = aNumber.shiftRight(number); in testShiftRight4()
1206 BigInteger result = aNumber.shiftRight(number); in testShiftRight5()
1226 BigInteger result = aNumber.shiftRight(number); in testShiftRightNegNonZeroesMul32()
1246 BigInteger result = aNumber.shiftRight(number); in testShiftRightNegNonZeroes()
1266 BigInteger result = aNumber.shiftRight(number); in testShiftRightNegZeroes()
1286 BigInteger result = aNumber.shiftRight(number); in testShiftRightNegZeroesMul32()
DBigIntegerHashCodeTest.java42 aNumber1.subtract(aNumber2).shiftRight(125); in testSameObject()
/external/skia/src/core/
DSk64.cpp82 void Sk64::shiftRight(unsigned bits) in shiftRight() function in Sk64
109 this->shiftRight(bits); in roundRight()
DSkFloat.h43 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } in shiftRight() function
DSkMath.cpp140 tmp.shiftRight(16); in SkFixedMul_portable()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java158 trunc = trunc.shiftRight(messageBitLength - n.bitLength()); in calculateE()
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DDERObjectIdentifier.java177 tmpValue = tmpValue.shiftRight(7); in writeField()
/external/skia/include/core/
DSk64.h128 void shiftRight(unsigned bits);
/external/skia/tests/
DSk64Test.cpp130 c = a; c.shiftRight(bits); in TestSk64()
/external/llvm/lib/Support/
DAPFloat.cpp374 shiftRight(integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight() function
948 lf = shiftRight(fullSignificand, significantParts, bits); in multiplySignificand()
1067 return shiftRight(significandParts(), partCount(), bits); in shiftSignificandRight()
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/
Dv8-crypto.js1258 var r = n1.shiftRight(k);
1308 BigInteger.prototype.shiftRight = bnShiftRight; method in BigInteger

12