Searched refs:subtract (Results 1 - 25 of 101) sorted by relevance

12345

/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
H A DRSAKeyPairGenerator.java62 if (e.gcd(p.subtract(ONE)).equals(ONE))
80 if (q.subtract(p).abs().bitLength() < mindiffbits)
95 if (e.gcd(q.subtract(ONE)).equals(ONE))
125 pSub1 = p.subtract(ONE);
126 qSub1 = q.subtract(ONE);
H A DDHKeyGeneratorHelper.java37 BigInteger max = p.subtract(TWO);
41 max = q.subtract(TWO);
H A DDSAParametersGenerator.java128 BigInteger p = x.subtract(c.subtract(ONE));
147 BigInteger e = p.subtract(ONE).divide(q);
148 BigInteger pSub2 = p.subtract(TWO);
198 BigInteger q = ONE.shiftLeft(N - 1).add(U).add(ONE).subtract(U.mod(TWO));
242 BigInteger p = X.subtract(c.subtract(ONE));
288 // BigInteger e = p.subtract(ONE).divide(q);
H A DDHParametersHelper.java66 BigInteger pMinusTwo = p.subtract(TWO);
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerSubtractTest.java28 * Method: subtract
43 BigInteger result = aNumber.subtract(bNumber);
64 BigInteger result = aNumber.subtract(bNumber);
86 BigInteger result = aNumber.subtract(bNumber);
108 BigInteger result = aNumber.subtract(bNumber);
129 BigInteger result = aNumber.subtract(bNumber);
150 BigInteger result = aNumber.subtract(bNumber);
172 BigInteger result = aNumber.subtract(bNumber);
194 BigInteger result = aNumber.subtract(bNumber);
215 BigInteger result = aNumber.subtract(bNumbe
[all...]
H A DBigIntegerHashCodeTest.java42 aNumber1.subtract(aNumber2).shiftRight(125);
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
H A DTnaf.java101 norm = s1.subtract(s2).add(s3);
143 norm = s1.subtract(s2).add(s3);
184 SimpleBigDecimal eta0 = lambda0.subtract(f0);
185 SimpleBigDecimal eta1 = lambda1.subtract(f1);
196 eta = eta.subtract(eta1);
207 check1 = eta0.subtract(threeEta1);
214 check2 = eta0.subtract(fourEta1);
344 u[i] = (byte) ECConstants.TWO.subtract((r0.subtract(r1.shiftLeft(1))).mod(ECConstants.FOUR)).intValue();
372 r0 = r1.subtract(
[all...]
H A DECFieldElement.java14 public abstract ECFieldElement subtract(ECFieldElement b); method in class:ECFieldElement
75 public ECFieldElement subtract(ECFieldElement b) method in class:ECFieldElement.Fp
77 return new Fp(q, x.subtract(b.toBigInteger()).mod(q));
129 BigInteger qMinusOne = q.subtract(ECConstants.ONE);
153 || !(P.multiply(P).subtract(fourQ).modPow(legendreExponent, q).equals(qMinusOne)));
178 // BigInteger qMinusOne = q.subtract(ECConstants.ONE);
194 // || !(r.multiply(r).subtract(fourX).modPow(legendreExponent, q).equals(qMinusOne)));
203 // BigInteger root = twoR.modPow(q.subtract(ECConstants.TWO), q)
221 // return w.multiply(w).subtract(ECConstants.TWO).mod(p);
225 // return w1.multiply(w2).subtract(wOn
997 public ECFieldElement subtract(final ECFieldElement b) method in class:ECFieldElement.F2m
[all...]
H A DSimpleBigDecimal.java104 public SimpleBigDecimal subtract(SimpleBigDecimal b) method in class:SimpleBigDecimal
109 public SimpleBigDecimal subtract(BigInteger b) method in class:SimpleBigDecimal
111 return new SimpleBigDecimal(bigInt.subtract(b.shiftLeft(scale)),
199 BigInteger fract = bigInt.subtract(floorBigInt.shiftLeft(scale));
202 fract = ECConstants.ONE.shiftLeft(scale).subtract(fract);
H A DECPoint.java114 public abstract ECPoint subtract(ECPoint b); method in class:ECPoint
266 ECFieldElement gamma = b.y.subtract(this.y).divide(b.x.subtract(this.x));
268 ECFieldElement x3 = gamma.square().subtract(this.x).subtract(b.x);
269 ECFieldElement y3 = gamma.multiply(this.x.subtract(x3)).subtract(this.y);
294 ECFieldElement x3 = gamma.square().subtract(this.x.multiply(TWO));
295 ECFieldElement y3 = gamma.multiply(this.x.subtract(x3)).subtract(thi
301 public ECPoint subtract(ECPoint b) method in class:ECPoint.Fp
506 public ECPoint subtract(ECPoint b) method in class:ECPoint.F2m
[all...]
H A DWNafMultiplier.java62 k = k.subtract(BigInteger.valueOf(wnaf[i]));
227 q = q.subtract(preComp[(-wnaf[i] - 1)/2]);
/external/bouncycastle/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java63 return createRandomInRange(ZERO, max.subtract(min), random).add(min);
76 return new BigInteger(max.subtract(min).bitLength() - 1, random).add(min);
/external/proguard/src/proguard/evaluation/value/
H A DDoubleValue.java81 public abstract DoubleValue subtract(DoubleValue other); method in class:DoubleValue
155 public DoubleValue subtract(SpecificDoubleValue other) method in class:DoubleValue
157 return subtract((DoubleValue)other);
258 public DoubleValue subtract(ParticularDoubleValue other) method in class:DoubleValue
260 return subtract((SpecificDoubleValue)other);
H A DFloatValue.java81 public abstract FloatValue subtract(FloatValue other); method in class:FloatValue
155 public FloatValue subtract(SpecificFloatValue other) method in class:FloatValue
157 return subtract((FloatValue)other);
258 public FloatValue subtract(ParticularFloatValue other) method in class:FloatValue
260 return subtract((SpecificFloatValue)other);
H A DParticularDoubleValue.java85 public DoubleValue subtract(DoubleValue other) method in class:ParticularDoubleValue
92 return value == 0.0 ? other : other.subtract(this);
139 public DoubleValue subtract(ParticularDoubleValue other) method in class:ParticularDoubleValue
H A DParticularFloatValue.java85 public FloatValue subtract(FloatValue other) method in class:ParticularFloatValue
92 return value == 0.0 ? other : other.subtract(this);
139 public FloatValue subtract(ParticularFloatValue other) method in class:ParticularFloatValue
H A DSpecificDoubleValue.java65 public DoubleValue subtract(DoubleValue other) method in class:SpecificDoubleValue
72 return other.subtract(this);
119 public DoubleValue subtract(SpecificDoubleValue other) method in class:SpecificDoubleValue
H A DSpecificFloatValue.java65 public FloatValue subtract(FloatValue other) method in class:SpecificFloatValue
72 return other.subtract(this);
119 public FloatValue subtract(SpecificFloatValue other) method in class:SpecificFloatValue
H A DUnknownDoubleValue.java65 public DoubleValue subtract(DoubleValue other) method in class:UnknownDoubleValue
H A DUnknownFloatValue.java65 public FloatValue subtract(FloatValue other) method in class:UnknownFloatValue
H A DLongValue.java87 public LongValue subtract(LongValue other) method in class:LongValue
97 return other.subtract(this);
244 public LongValue subtract(SpecificLongValue other) method in class:LongValue
400 public LongValue subtract(ParticularLongValue other) method in class:LongValue
402 return subtract((SpecificLongValue)other);
H A DParticularLongValue.java85 public LongValue subtract(LongValue other) method in class:ParticularLongValue
92 return other.subtract(this);
173 public LongValue subtract(ParticularLongValue other) method in class:ParticularLongValue
H A DSpecificLongValue.java65 public LongValue subtract(LongValue other) method in class:SpecificLongValue
72 return other.subtract(this);
153 public LongValue subtract(SpecificLongValue other) method in class:SpecificLongValue
/external/replicaisland/src/com/replica/replicaisland/
H A DOrbitalMagnetComponent.java72 mDelta.subtract(mCenter);
89 targetVelocity.subtract(mVelocity);
99 mDelta.subtract(mRim);
/external/webkit/Source/WebKit2/Platform/
H A DRegion.h48 void subtract(const Region&);
126 static inline Region subtract(const Region& a, const Region& b) function in namespace:WebKit
129 result.subtract(b);

Completed in 721 milliseconds

12345