HomeSort by relevance Sort by last modified time
    Searched refs:subtract (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
RSAKeyPairGenerator.java 62 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);
DHKeyGeneratorHelper.java 37 BigInteger max = p.subtract(TWO);
41 max = q.subtract(TWO);
DSAParametersGenerator.java 128 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);
DHParametersHelper.java 66 BigInteger pMinusTwo = p.subtract(TWO);
DSAKeyPairGenerator.java 51 // return c.mod(q.subtract(ONE)).add(ONE);
54 return BigIntegers.createRandomInRange(ONE, q.subtract(ONE), random);
  /external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerSubtractTest.java 28 * Method: subtract
32 * Subtract two positive numbers of the same length.
43 BigInteger result = aNumber.subtract(bNumber);
53 * Subtract two positive numbers of the same length.
64 BigInteger result = aNumber.subtract(bNumber);
74 * Subtract two numbers of the same length and different signs.
86 BigInteger result = aNumber.subtract(bNumber);
96 * Subtract two numbers of the same length and different signs.
108 BigInteger result = aNumber.subtract(bNumber);
118 * Subtract two negative numbers of the same length
    [all...]
BigIntegerHashCodeTest.java 42 aNumber1.subtract(aNumber2).shiftRight(125);
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 101 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(s)
    [all...]
ECFieldElement.java 14 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(wOne).mod(p)
997 public ECFieldElement subtract(final ECFieldElement b) method in class:ECFieldElement.F2m
    [all...]
SimpleBigDecimal.java 104 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);
ECPoint.java 114 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(this.y)
301 public ECPoint subtract(ECPoint b) method in class:ECPoint.Fp
506 public ECPoint subtract(ECPoint b) method in class:ECPoint.F2m
    [all...]
WNafMultiplier.java 62 k = k.subtract(BigInteger.valueOf(wnaf[i]));
227 q = q.subtract(preComp[(-wnaf[i] - 1)/2]);
  /external/bouncycastle/src/main/java/org/bouncycastle/util/
BigIntegers.java 63 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/
DoubleValue.java 81 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);
FloatValue.java 81 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);
ParticularDoubleValue.java 85 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
ParticularFloatValue.java 85 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
SpecificDoubleValue.java 65 public DoubleValue subtract(DoubleValue other) method in class:SpecificDoubleValue
72 return other.subtract(this);
119 public DoubleValue subtract(SpecificDoubleValue other) method in class:SpecificDoubleValue
121 return new CompositeDoubleValue(this, CompositeDoubleValue.SUBTRACT, other);
126 return new CompositeDoubleValue(other, CompositeDoubleValue.SUBTRACT, this);
SpecificFloatValue.java 65 public FloatValue subtract(FloatValue other) method in class:SpecificFloatValue
72 return other.subtract(this);
119 public FloatValue subtract(SpecificFloatValue other) method in class:SpecificFloatValue
121 return new CompositeFloatValue(this, CompositeFloatValue.SUBTRACT, other);
126 return new CompositeFloatValue(other, CompositeFloatValue.SUBTRACT, this);
UnknownDoubleValue.java 65 public DoubleValue subtract(DoubleValue other) method in class:UnknownDoubleValue
UnknownFloatValue.java 65 public FloatValue subtract(FloatValue other) method in class:UnknownFloatValue
LongValue.java 87 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);
ParticularLongValue.java 85 public LongValue subtract(LongValue other) method in class:ParticularLongValue
92 return other.subtract(this);
173 public LongValue subtract(ParticularLongValue other) method in class:ParticularLongValue
SpecificLongValue.java 65 public LongValue subtract(LongValue other) method in class:SpecificLongValue
72 return other.subtract(this);
153 public LongValue subtract(SpecificLongValue other) method in class:SpecificLongValue
157 new CompositeLongValue(this, CompositeLongValue.SUBTRACT, other);
164 new CompositeLongValue(other, CompositeLongValue.SUBTRACT, this);
  /external/webkit/Source/WebKit2/Platform/
Region.h 48 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 161 milliseconds

1 2 3 4 5 6