/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
CRLNumber.java | 3 import java.math.BigInteger; 18 private BigInteger number; 21 BigInteger number) 26 public BigInteger getCRLNumber()
|
RSAPublicKeyStructure.java | 3 import java.math.BigInteger; 20 private BigInteger modulus; 21 private BigInteger publicExponent; 47 BigInteger modulus, 48 BigInteger publicExponent) 69 public BigInteger getModulus() 74 public BigInteger getPublicExponent()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
RSAKeyGenerationParameters.java | 3 import java.math.BigInteger; 11 private BigInteger publicExponent; 15 BigInteger publicExponent, 39 public BigInteger getPublicExponent()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/ |
FiniteFields.java | 3 import java.math.BigInteger; 7 static final FiniteField GF_2 = new PrimeField(BigInteger.valueOf(2)); 8 static final FiniteField GF_3 = new PrimeField(BigInteger.valueOf(3)); 32 public static FiniteField getPrimeField(BigInteger characteristic)
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/ |
DHPrivateKeyParameters.java | 4 import java.math.BigInteger; 12 private BigInteger x; 15 BigInteger x, 23 public BigInteger getX()
|
RSAKeyGenerationParameters.java | 4 import java.math.BigInteger; 15 private BigInteger publicExponent; 19 BigInteger publicExponent, 43 public BigInteger getPublicExponent()
|
/external/pdfium/third_party/bigint/ |
BigIntegerUtils.cc | 14 std::string bigIntegerToString(const BigInteger &x) { 15 return (x.getSign() == BigInteger::negative) 24 BigInteger stringToBigInteger(const std::string &s) { 26 return (s[0] == '-') ? BigInteger(stringToBigUnsigned(s.substr(1, s.length() - 1)), BigInteger::negative) 27 : (s[0] == '+') ? BigInteger(stringToBigUnsigned(s.substr(1, s.length() - 1))) 28 : BigInteger(stringToBigUnsigned(s)); 52 std::ostream &operator <<(std::ostream &os, const BigInteger &x) { 53 if (x.getSign() == BigInteger::negative)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ |
Primes.java | 3 import java.math.BigInteger; 17 private static final BigInteger ONE = BigInteger.valueOf(1); 18 private static final BigInteger TWO = BigInteger.valueOf(2); 19 private static final BigInteger THREE = BigInteger.valueOf(3); 23 * {@linkplain Primes#enhancedMRProbablePrimeTest(BigInteger, SecureRandom, int) Enhanced 33 private static MROutput provablyCompositeWithFactor(BigInteger factor) 44 private BigInteger factor [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ |
Primes.java | 4 import java.math.BigInteger; 19 private static final BigInteger ONE = BigInteger.valueOf(1); 20 private static final BigInteger TWO = BigInteger.valueOf(2); 21 private static final BigInteger THREE = BigInteger.valueOf(3); 25 * {@linkplain Primes#enhancedMRProbablePrimeTest(BigInteger, SecureRandom, int) Enhanced 36 private static MROutput provablyCompositeWithFactor(BigInteger factor) 47 private BigInteger factor [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLRSAPrivateCrtKey.java | 22 import java.math.BigInteger; 36 private BigInteger publicExponent; 38 private BigInteger primeP; 40 private BigInteger primeQ; 42 private BigInteger primeExponentP; 44 private BigInteger primeExponentQ; 46 private BigInteger crtCoefficient; 61 BigInteger modulus = rsaKeySpec.getModulus(); 62 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); 77 final BigInteger publicExponent = rsaKeySpec.getPublicExponent() [all...] |
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
OpenSSLRSAPrivateCrtKey.java | 23 import java.math.BigInteger; 37 private BigInteger publicExponent; 39 private BigInteger primeP; 41 private BigInteger primeQ; 43 private BigInteger primeExponentP; 45 private BigInteger primeExponentQ; 47 private BigInteger crtCoefficient; 62 BigInteger modulus = rsaKeySpec.getModulus(); 63 BigInteger privateExponent = rsaKeySpec.getPrivateExponent(); 78 final BigInteger publicExponent = rsaKeySpec.getPublicExponent() [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/spec/ |
ECParameterSpec.java | 7 import java.math.BigInteger; 20 private BigInteger n; 21 private BigInteger h; 26 BigInteger n) 31 this.h = BigInteger.valueOf(1); 38 BigInteger n, 39 BigInteger h) 51 BigInteger n, 52 BigInteger h, 84 public BigInteger getN( [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DSAParametersGenerator.java | 3 import java.math.BigInteger; 22 private static final BigInteger ZERO = BigInteger.valueOf(0); 23 private static final BigInteger ONE = BigInteger.valueOf(1); 24 private static final BigInteger TWO = BigInteger.valueOf(2); 158 BigInteger q = new BigInteger(1, u); 185 BigInteger x = new BigInteger(1, w) [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
DSAParametersGenerator.java | 4 import java.math.BigInteger; 24 private static final BigInteger ZERO = BigInteger.valueOf(0); 25 private static final BigInteger ONE = BigInteger.valueOf(1); 26 private static final BigInteger TWO = BigInteger.valueOf(2); 160 BigInteger q = new BigInteger(1, u); 187 BigInteger x = new BigInteger(1, w) [all...] |
/external/guava/guava/src/com/google/common/math/ |
BigIntegerMath.java | 33 import java.math.BigInteger; 39 * A class for arithmetic on values of type {@code BigInteger}. 55 public static boolean isPowerOfTwo(BigInteger x) { 69 public static int log2(BigInteger x, RoundingMode mode) { 87 BigInteger halfPower = SQRT2_PRECOMPUTED_BITS.shiftRight( 101 BigInteger x2 = x.pow(2); 117 @VisibleForTesting static final BigInteger SQRT2_PRECOMPUTED_BITS = 118 new BigInteger("16a09e667f3bcc908b2fb1366ea957d3e3adec17512775099da2f590b0667322a", 16); 129 public static int log10(BigInteger x, RoundingMode mode) { 136 BigInteger approxPow = BigInteger.TEN.pow(approxLog10) [all...] |
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1Integer.java | 24 import java.math.BigInteger; 38 private BigInteger minimumValue = null; // null == unbounded. 39 private BigInteger maximumValue = null; // null == unbounded. 40 private BigInteger value; 56 minimumValue = minimum == null ? null : new BigInteger(minimum); 57 maximumValue = maximum == null ? null : new BigInteger(maximum); 61 BigInteger normalizedValue, BigInteger range) { 62 if (range.compareTo(BigInteger.valueOf(SIXTYFOUR_K)) < 0) { 75 BigInteger normalizedValue, BigInteger range) [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaKeyTest.java | 19 import java.math.BigInteger; [all...] |
/external/crcalc/src/com/hp/creals/ |
CR.java | 122 import java.math.BigInteger; 155 * <TT>java.math.BigInteger</tt>. No subclasses of <TT>CR</tt> 211 static final BigInteger big0 = BigInteger.ZERO; 212 static final BigInteger big1 = BigInteger.ONE; 213 static final BigInteger bigm1 = BigInteger.valueOf(-1); 214 static final BigInteger big2 = BigInteger.valueOf(2) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
Tnaf.java | 3 import java.math.BigInteger; 14 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate(); 15 private static final BigInteger MINUS_TWO = ECConstants.TWO.negate(); 16 private static final BigInteger MINUS_THREE = ECConstants.THREE.negate(); 82 public static BigInteger norm(final byte mu, ZTauElement lambda) 84 BigInteger norm; 87 BigInteger s1 = lambda.u.multiply(lambda.u); 90 BigInteger s2 = lambda.u.multiply(lambda.v); 93 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); 181 BigInteger f0 = lambda0.round() [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
Tnaf.java | 4 import java.math.BigInteger; 15 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate(); 16 private static final BigInteger MINUS_TWO = ECConstants.TWO.negate(); 17 private static final BigInteger MINUS_THREE = ECConstants.THREE.negate(); 83 public static BigInteger norm(final byte mu, ZTauElement lambda) 85 BigInteger norm; 88 BigInteger s1 = lambda.u.multiply(lambda.u); 91 BigInteger s2 = lambda.u.multiply(lambda.v); 94 BigInteger s3 = lambda.v.multiply(lambda.v).shiftLeft(1); 182 BigInteger f0 = lambda0.round() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 24 import java.math.BigInteger; 40 public final Set<BigInteger> serialBlacklist; 61 new BigInteger(value, 16); 123 private static final Set<BigInteger> readSerialBlackList(String path) { 134 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 137 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 138 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16), 139 new BigInteger("d8f35f4eb7872b2dab0692e315382fb0", 16), 140 new BigInteger("b0b7133ed096f9b56fae91c874bd3ac0", 16) [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
CertBlacklist.java | 25 import java.math.BigInteger; 44 public final Set<BigInteger> serialBlacklist; 65 new BigInteger(value, 16); 127 private static final Set<BigInteger> readSerialBlackList(String path) { 138 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 141 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 142 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16), 143 new BigInteger("d8f35f4eb7872b2dab0692e315382fb0", 16), 144 new BigInteger("b0b7133ed096f9b56fae91c874bd3ac0", 16) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
RSAPublicKey.java | 3 import java.math.BigInteger; 17 private BigInteger modulus; 18 private BigInteger publicExponent; 44 BigInteger modulus, 45 BigInteger publicExponent) 66 public BigInteger getModulus() 71 public BigInteger getPublicExponent()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
DHBasicAgreement.java | 3 import java.math.BigInteger; 23 private static final BigInteger ONE = BigInteger.valueOf(1); 61 public BigInteger calculateAgreement( 71 BigInteger p = dhParams.getP(); 73 BigInteger peerY = pub.getY(); 79 BigInteger result = peerY.modPow(key.getX(), p);
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/ |
DSASigner.java | 4 import java.math.BigInteger; 76 public BigInteger getOrder() 88 public BigInteger[] generateSignature( 92 BigInteger q = params.getQ(); 93 BigInteger m = calculateE(q, message); 94 BigInteger x = ((DSAPrivateKeyParameters)key).getX(); 105 BigInteger k = kCalculator.nextK(); 108 BigInteger r = params.getG().modPow(k.add(getRandomizer(q, random)), params.getP()).mod(q); 112 BigInteger s = k.mod(q); 114 return new BigInteger[]{ r, s } [all...] |