Home | History | Annotate | Download | only in tools

Lines Matching refs:BigInteger

20 import java.math.BigInteger;
40 BigInteger pubexp = key.getPublicExponent();
41 BigInteger modulus = key.getModulus();
43 if (!pubexp.equals(BigInteger.valueOf(3)))
59 BigInteger N = key.getModulus();
68 BigInteger B = BigInteger.valueOf(0x100000000L); // 2^32
69 BigInteger N0inv = B.subtract(N.modInverse(B)); // -1 / N[0] mod 2^32
74 BigInteger R = BigInteger.valueOf(2).pow(N.bitLength());
75 BigInteger RR = R.multiply(R).mod(N); // 2^4096 mod N