Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java118 if (shiftRight(r0) != 0) in multiply()
143 if (shiftRight(r0) != 0) in multiply()
168 if (shiftRight(r0) != 0) in multiply()
182 if (shiftRight(x) != 0) in multiplyP()
190 if (shiftRight(x, y) != 0) in multiplyP()
214 static byte shiftRight(byte[] x) in shiftRight() method in GCMUtil
245 static byte shiftRight(byte[] x, byte[] z) in shiftRight() method in GCMUtil
276 static int shiftRight(int[] x) in shiftRight() method in GCMUtil
301 static int shiftRight(int[] x, int[] z) in shiftRight() method in GCMUtil
326 static long shiftRight(long[] x) in shiftRight() method in GCMUtil
[all …]
/external/bouncycastle/bcprov/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()
563 si[0] = dividend0.shiftRight(1); in getSi()
564 si[1] = dividend1.shiftRight(1).negate(); in getSi()
568 si[0] = dividend0.shiftRight(2); in getSi()
569 si[1] = dividend1.shiftRight(2).negate(); in getSi()
729 BigInteger pow2wMin1 = pow2w.shiftRight(1); in tauAdicWNaf()
[all …]
DWNafUtil.java81 k = k.shiftRight(pos); in generateCompactWindowNaf()
150 k0 = k0.shiftRight(1); in generateJSF()
151 k1 = k1.shiftRight(1); in generateJSF()
225 k = k.shiftRight(pos); in generateWindowNaf()
DECFieldElement.java91 BigInteger firstWord = p.shiftRight(bitLength - 64); in calculateResidue()
228 ECFieldElement z = new Fp(q, r, x.modPow(q.shiftRight(2).add(ECConstants.ONE), q)); in sqrt()
236 BigInteger legendreExponent = qMinusOne.shiftRight(1); in sqrt()
242 BigInteger u = qMinusOne.shiftRight(2); in sqrt()
272 V = V.shiftRight(1); in sqrt()
450 BigInteger u = x.shiftRight(qLen); in modReduce()
DSimpleBigDecimal.java156 return bigInt.shiftRight(scale); in floor()
/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
DSpecificLongValue.java109 public LongValue shiftRight(IntegerValue other) in shiftRight() method in SpecificLongValue
201 public LongValue shiftRight(SpecificLongValue other) in shiftRight() method in SpecificLongValue
DParticularLongValue.java129 public LongValue shiftRight(IntegerValue other) in shiftRight() method in ParticularLongValue
217 public LongValue shiftRight(ParticularIntegerValue other) in shiftRight() method in ParticularLongValue
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/guava/guava/src/com/google/common/math/
DBigIntegerMath.java85 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( in log2()
242 sqrt0 = sqrtApproxWithDoubles(x.shiftRight(shift)).shiftLeft(shift >> 1); in sqrtFloor()
244 BigInteger sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
250 sqrt1 = sqrt0.add(x.divide(sqrt0)).shiftRight(1); in sqrtFloor()
DDoubleUtils.java156 long twiceSignifFloor = absX.shiftRight(shift).longValue(); in bigToDouble()
/external/llvm/include/llvm/Support/
DScaledNumber.h630 shiftRight(Shift);
636 void shiftRight(int32_t Shift);
837 shiftRight(-Shift); in shiftLeft()
863 template <class DigitsT> void ScaledNumber<DigitsT>::shiftRight(int32_t Shift) { in shiftRight() function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DGCMBlockCipher.java530 shiftRight(tmp); in multiply()
543 private static void shiftRight(byte[] block) in shiftRight() method in GCMBlockCipher
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java182 e = e.shiftRight(messageBitLength - log2n); in calculateE()
/external/skia/src/core/
DSkFloat.h34 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } in shiftRight() function
/external/chromium_org/third_party/skia/src/core/
DSkFloat.h34 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } in shiftRight() function
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERObjectIdentifier.java245 tmpValue = tmpValue.shiftRight(7); in writeField()
/external/dexmaker/src/test/java/com/google/dexmaker/
DDexMakerTest.java772 Method shiftRight = binaryOpMethod(int.class, int.class, BinaryOp.SHIFT_RIGHT); in testIntBinaryOps() local
773 assertEquals(0xffabcd12, shiftRight.invoke(null, 0xabcd1234, 8)); in testIntBinaryOps()
823 Method shiftRight = binaryOpMethod(long.class, int.class, BinaryOp.SHIFT_RIGHT); in testLongBinaryOps() local
824 assertEquals(0xffabcdef01234567L, shiftRight.invoke(null, 0xabcdef0123456789L, 8)); in testLongBinaryOps()
/external/llvm/lib/Support/
DAPFloat.cpp363 shiftRight(integerPart *dst, unsigned int parts, unsigned int bits) in shiftRight() function
1020 lf = shiftRight(fullSignificand, significantParts, bits); in multiplySignificand()
1139 return shiftRight(significandParts(), partCount(), bits); in shiftSignificandRight()
2001 lostFraction = shiftRight(significandParts(), oldPartCount, -shift); in convert()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
Dv8-crypto.js1258 var r = n1.shiftRight(k);
1308 BigInteger.prototype.shiftRight = bnShiftRight; method in BigInteger
/external/chromium_org/v8/benchmarks/
Dcrypto.js1266 var r = n1.shiftRight(k);
1316 BigInteger.prototype.shiftRight = bnShiftRight; method in BigInteger

12