/external/bouncycastle/src/main/java/org/bouncycastle/jce/interfaces/ |
ECPrivateKey.java | 3 import java.math.BigInteger; 15 public BigInteger getD();
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
ECMultiplier.java | 3 import java.math.BigInteger; 18 ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo);
|
/libcore/luni/src/main/java/java/security/interfaces/ |
DSAPrivateKey.java | 20 import java.math.BigInteger; 38 public BigInteger getX();
|
DSAPublicKey.java | 20 import java.math.BigInteger; 38 public BigInteger getY();
|
ECPrivateKey.java | 20 import java.math.BigInteger; 38 public BigInteger getS();
|
RSAPrivateKey.java | 20 import java.math.BigInteger; 38 public BigInteger getPrivateExponent();
|
RSAPublicKey.java | 20 import java.math.BigInteger; 38 public BigInteger getPublicExponent();
|
/libcore/luni/src/main/java/javax/crypto/interfaces/ |
DHPrivateKey.java | 20 import java.math.BigInteger; 37 public BigInteger getX();
|
DHPublicKey.java | 20 import java.math.BigInteger; 37 public BigInteger getY();
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/sec/ |
SECNamedCurves.java | 12 import java.math.BigInteger; 18 private static BigInteger fromHex( 21 return new BigInteger(1, Hex.decode(hex)); 32 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B"); 33 BigInteger a = fromHex("DB7C2ABF62E35E668076BEAD2088"); 34 BigInteger b = fromHex("659EF8BA043916EEDE8911702B22"); 36 BigInteger n = fromHex("DB7C2ABF62E35E7628DFAC6561C5"); 37 BigInteger h = BigInteger.valueOf(1); 58 BigInteger p = fromHex("DB7C2ABF62E35E668076BEAD208B") [all...] |
/external/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerSubtractTest.java | 24 import java.math.BigInteger; 27 * Class: java.math.BigInteger 41 BigInteger aNumber = new BigInteger(aSign, aBytes); 42 BigInteger bNumber = new BigInteger(bSign, bBytes); 43 BigInteger result = aNumber.subtract(bNumber); 62 BigInteger aNumber = new BigInteger(aSign, aBytes); 63 BigInteger bNumber = new BigInteger(bSign, bBytes) [all...] |
BigIntegerOperateBitsTest.java | 24 import java.math.BigInteger; 27 * Class: java.math.BigInteger 36 BigInteger aNumber = new BigInteger("0"); 44 BigInteger aNumber = new BigInteger("-12378634756382937873487638746283767238657872368748726875"); 52 BigInteger aNumber = new BigInteger("12378634756343564757582937873487638746283767238657872368748726875"); 60 BigInteger aNumber = new BigInteger("0") [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
ECFieldFpTest.java | 24 import java.math.BigInteger; 54 new ECFieldFp(BigInteger.valueOf(23L)); 64 new ECFieldFp(BigInteger.valueOf(21L)); 74 new ECFieldFp(BigInteger.valueOf(-1L)); 88 new ECFieldFp(BigInteger.valueOf(0L)); 116 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); 135 assertTrue(new ECFieldFp(BigInteger.valueOf(23L)).hashCode() == 136 new ECFieldFp(BigInteger.valueOf(23L)).hashCode()); 145 assertEquals(5, new ECFieldFp(BigInteger.valueOf(23L)).getFieldSize()); 154 BigInteger p = BigInteger.valueOf(23L) [all...] |
ECPointTest.java | 24 import java.math.BigInteger; 48 * Test #1 for <code>ECPoint(BigInteger, BigInteger)</code> constructor<br> 54 new ECPoint(BigInteger.ZERO, BigInteger.ZERO); 55 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(-23456L)); 56 new ECPoint(BigInteger.valueOf(123456L), BigInteger.valueOf(123456L)); 57 new ECPoint(BigInteger.valueOf(-56L), BigInteger.valueOf(234L)) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/ |
DHPrivateKeyParameters.java | 3 import java.math.BigInteger; 8 private BigInteger x; 11 BigInteger x, 19 public BigInteger getX()
|
DHPublicKeyParameters.java | 3 import java.math.BigInteger; 8 private BigInteger y; 11 BigInteger y, 19 public BigInteger getY()
|
/libcore/luni/src/main/java/java/security/spec/ |
ECFieldFp.java | 20 import java.math.BigInteger; 28 private final BigInteger p; 39 public ECFieldFp(BigInteger p) { 64 public BigInteger getP() {
|
ECPrivateKeySpec.java | 20 import java.math.BigInteger; 27 private final BigInteger s; 40 public ECPrivateKeySpec(BigInteger s, ECParameterSpec params) { 66 public BigInteger getS() {
|
/libcore/luni/src/test/java/tests/security/spec/ |
ECFieldFpTest.java | 27 import java.math.BigInteger; 47 new ECFieldFp(BigInteger.valueOf(23L)); 57 new ECFieldFp(BigInteger.valueOf(21L)); 67 new ECFieldFp(BigInteger.valueOf(-1L)); 81 new ECFieldFp(BigInteger.valueOf(0L)); 109 ECFieldFp f = new ECFieldFp(BigInteger.valueOf(23L)); 128 assertTrue(new ECFieldFp(BigInteger.valueOf(23L)).hashCode() == 129 new ECFieldFp(BigInteger.valueOf(23L)).hashCode()); 138 assertEquals(5, new ECFieldFp(BigInteger.valueOf(23L)).getFieldSize()); 147 BigInteger p = BigInteger.valueOf(23L) [all...] |
ECPointTest.java | 27 import java.math.BigInteger; 41 * Test #1 for <code>ECPoint(BigInteger, BigInteger)</code> constructor<br> 47 new ECPoint(BigInteger.ZERO, BigInteger.ZERO); 48 new ECPoint(BigInteger.valueOf(-23456L), BigInteger.valueOf(-23456L)); 49 new ECPoint(BigInteger.valueOf(123456L), BigInteger.valueOf(123456L)); 50 new ECPoint(BigInteger.valueOf(-56L), BigInteger.valueOf(234L)) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/ |
ECPublicKeySpec_ImplTest.java | 24 import java.math.BigInteger; 57 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), 58 BigInteger.ZERO, 59 BigInteger.valueOf(4L)); 60 ECPoint g = new ECPoint(BigInteger.ZERO, BigInteger.valueOf(2L)); 62 new ECParameterSpec(c, g, BigInteger.valueOf(5L), 10)); 76 new EllipticCurve(new ECFieldFp(BigInteger.valueOf(5L)), 77 BigInteger.ZERO, 78 BigInteger.valueOf(4L)) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
CRLNumber.java | 5 import java.math.BigInteger; 18 BigInteger number) 23 public BigInteger getCRLNumber()
|
/libcore/luni/src/test/java/tests/api/java/math/ |
BigIntegerTest.java | 20 import java.math.BigInteger; 25 BigInteger minusTwo = new BigInteger("-2", 10); 27 BigInteger minusOne = new BigInteger("-1", 10); 29 BigInteger zero = new BigInteger("0", 10); 31 BigInteger one = new BigInteger("1", 10); 33 BigInteger two = new BigInteger("2", 10) [all...] |
/libcore/luni/src/test/java/tests/security/interfaces/ |
RSAPrivateKeyTest.java | 20 import java.math.BigInteger; 33 final BigInteger n = BigInteger.valueOf(3233); 34 final BigInteger d = BigInteger.valueOf(2753);
|
RSAPublicKeyTest.java | 20 import java.math.BigInteger; 33 final BigInteger n = BigInteger.valueOf(3233); 34 final BigInteger e = BigInteger.valueOf(17);
|