/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/ |
SecP521R1Curve.java | 4 import java.math.BigInteger; 18 public static final BigInteger q = new BigInteger(1, 31 this.a = fromBigInteger(new BigInteger(1, 33 this.b = fromBigInteger(new BigInteger(1, 35 this.order = new BigInteger(1, Hex.decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409")); 36 this.cofactor = BigInteger.valueOf(1); 57 public BigInteger getQ() 67 public ECFieldElement fromBigInteger(BigInteger x)
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
DsaTest.java | 34 import java.math.BigInteger; 65 new BigInteger("15382583218386677486843706921635237927801862255437148328980464126979"), 67 new BigInteger( 79 new BigInteger("19689526866605154788513693571065914024068069442724893395618704484701"), 81 new BigInteger( 95 new BigInteger( [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
DHUtil.java | 3 import java.math.BigInteger; 12 static String privateKeyToString(String algorithm, BigInteger x, DHParameters dhParams) 17 BigInteger y = dhParams.getG().modPow(x, dhParams.getP()); 26 static String publicKeyToString(String algorithm, BigInteger y, DHParameters dhParams) 38 private static String generateKeyFingerprint(BigInteger y, DHParameters dhParams)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
GLVMultiplier.java | 3 import java.math.BigInteger; 23 protected ECPoint multiplyPositive(ECPoint p, BigInteger k) 30 BigInteger n = p.getCurve().getOrder(); 31 BigInteger[] ab = glvEndomorphism.decomposeScalar(k.mod(n)); 32 BigInteger a = ab[0], b = ab[1];
|
ECFieldElement.java | 3 import java.math.BigInteger; 14 public abstract BigInteger toBigInteger(); 98 BigInteger q, r, x; 100 static BigInteger calculateResidue(BigInteger p) 105 BigInteger firstWord = p.shiftRight(bitLength - 64); 117 public Fp(BigInteger q, BigInteger x) 122 Fp(BigInteger q, BigInteger r, BigInteger x [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
GLVMultiplier.java | 4 import java.math.BigInteger; 27 protected ECPoint multiplyPositive(ECPoint p, BigInteger k) 34 BigInteger n = p.getCurve().getOrder(); 35 BigInteger[] ab = glvEndomorphism.decomposeScalar(k.mod(n)); 36 BigInteger a = ab[0], b = ab[1];
|
ECFieldElement.java | 4 import java.math.BigInteger; 18 public abstract BigInteger toBigInteger(); 108 BigInteger q, r, x; 110 static BigInteger calculateResidue(BigInteger p) 115 BigInteger firstWord = p.shiftRight(bitLength - 64); 127 public Fp(BigInteger q, BigInteger x) 132 Fp(BigInteger q, BigInteger r, BigInteger x [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLECPointContext.java | 19 import java.math.BigInteger; 39 final BigInteger x = new BigInteger(generatorCoords[0]); 40 final BigInteger y = new BigInteger(generatorCoords[1]);
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
CertBlacklistImpl.java | 26 import java.math.BigInteger; 41 private final Set<BigInteger> serialBlacklist; 47 public CertBlacklistImpl(Set<BigInteger> serialBlacklist, Set<byte[]> pubkeyBlacklist) { 59 Set<BigInteger> serialBlacklist = readSerialBlackList(defaultSerialBlacklistPath); 65 new BigInteger(value, 16); 127 private static Set<BigInteger> readSerialBlackList(String path) { 138 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 141 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 142 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16) [all...] |
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
OpenSSLECPointContext.java | 20 import java.math.BigInteger; 40 final BigInteger x = new BigInteger(generatorCoords[0]); 41 final BigInteger y = new BigInteger(generatorCoords[1]);
|
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ |
CertBlacklistImpl.java | 27 import java.math.BigInteger; 45 private final Set<BigInteger> serialBlacklist; 51 public CertBlacklistImpl(Set<BigInteger> serialBlacklist, Set<byte[]> pubkeyBlacklist) { 63 Set<BigInteger> serialBlacklist = readSerialBlackList(defaultSerialBlacklistPath); 69 new BigInteger(value, 16); 131 private static Set<BigInteger> readSerialBlackList(String path) { 142 Set<BigInteger> bl = new HashSet<BigInteger>(Arrays.asList( 145 new BigInteger("077a59bcd53459601ca6907267a6dd1c", 16), 146 new BigInteger("047ecbe9fca55f7bd09eae36e10cae1e", 16) [all...] |
/external/guava/guava/src/com/google/common/math/ |
MathPreconditions.java | 19 import java.math.BigInteger; 44 static BigInteger checkPositive(@Nullable String role, BigInteger x) { 65 static BigInteger checkNonNegative(@Nullable String role, BigInteger x) {
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
UnsignedLongTest.java | 22 import java.math.BigInteger; 32 private static final ImmutableSet<BigInteger> TEST_BIG_INTEGERS; 36 ImmutableSet.Builder<BigInteger> testBigIntegersBuilder = ImmutableSet.builder(); 44 BigInteger bigI = BigInteger.valueOf(i); 47 .add(BigInteger.valueOf(Long.MAX_VALUE).add(bigI)) 48 .add(BigInteger.valueOf(Long.MIN_VALUE).add(bigI)) 49 .add(BigInteger.valueOf(Integer.MAX_VALUE).add(bigI)) 50 .add(BigInteger.valueOf(Integer.MIN_VALUE).add(bigI)) 51 .add(BigInteger.ONE.shiftLeft(63).add(bigI) [all...] |
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugTreeGrammar.g3 | 47 using BigInteger = System.Numerics.BigInteger; 65 expr returns [BigInteger value] 72 | INT { $value = BigInteger.Parse($INT.text); } 76 call returns [BigInteger value] 77 : ^(CALL ID expr) { BigInteger p = $expr.value;
|
ProfileTreeGrammar.g3 | 47 using BigInteger = java.math.BigInteger; 65 expr returns [BigInteger value] 72 | INT { $value = new BigInteger($INT.text); } 76 call returns [BigInteger value] 77 : ^(CALL ID expr) { BigInteger p = $expr.value;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
ProperBigFractionFormat.java | 19 import java.math.BigInteger; 95 BigInteger num = fraction.getNumerator(); 96 BigInteger den = fraction.getDenominator(); 97 BigInteger whole = num.divide(den); 100 if (!BigInteger.ZERO.equals(whole)) { 103 if (num.compareTo(BigInteger.ZERO) < 0) { 148 BigInteger whole = parseNextBigInteger(source, pos); 161 BigInteger num = parseNextBigInteger(source, pos); 170 if (num.compareTo(BigInteger.ZERO) < 0) { 200 final BigInteger den = parseNextBigInteger(source, pos) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
DHPublicKey.java | 3 import java.math.BigInteger; 69 public DHPublicKey(BigInteger y) 84 public BigInteger getY()
|
X9Curve.java | 3 import java.math.BigInteger; 47 BigInteger order, 48 BigInteger cofactor, 54 BigInteger p = ((ASN1Integer)fieldID.getParameters()).getValue(); 55 BigInteger A = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(0)).getOctets()); 56 BigInteger B = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(1)).getOctets()); 89 BigInteger A = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(0)).getOctets()); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DHBasicKeyPairGenerator.java | 11 import java.math.BigInteger; 35 BigInteger x = helper.calculatePrivate(dhp, param.getRandom()); 36 BigInteger y = helper.calculatePublic(dhp, x);
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/ |
X9Curve.java | 4 import java.math.BigInteger; 49 BigInteger order, 50 BigInteger cofactor, 56 BigInteger p = ((ASN1Integer)fieldID.getParameters()).getValue(); 57 BigInteger A = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(0)).getOctets()); 58 BigInteger B = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(1)).getOctets()); 91 BigInteger A = new BigInteger(1, ASN1OctetString.getInstance(seq.getObjectAt(0)).getOctets()); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
DHParameter.java | 3 import java.math.BigInteger; 19 BigInteger p, 20 BigInteger g, 70 public BigInteger getP() 75 public BigInteger getG() 80 public BigInteger getL()
|
MacData.java | 3 import java.math.BigInteger; 19 private static final BigInteger ONE = BigInteger.valueOf(1); 23 BigInteger iterationCount; 64 this.iterationCount = BigInteger.valueOf(iterationCount); 77 public BigInteger getIterationCount()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
DHParameter.java | 4 import java.math.BigInteger; 23 BigInteger p, 24 BigInteger g, 74 public BigInteger getP() 79 public BigInteger getG() 84 public BigInteger getL()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/jcajce/ |
JcaCertificateID.java | 3 import java.math.BigInteger; 15 public JcaCertificateID(DigestCalculator digestCalculator, X509Certificate issuerCert, BigInteger number)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
SecP192K1Curve.java | 3 import java.math.BigInteger; 15 public static final BigInteger q = new BigInteger(1, 29 this.b = fromBigInteger(BigInteger.valueOf(3)); 30 this.order = new BigInteger(1, Hex.decode("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D")); 31 this.cofactor = BigInteger.valueOf(1); 52 public BigInteger getQ() 62 public ECFieldElement fromBigInteger(BigInteger x)
|