/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKDSAPublicKey.java | 16 import java.math.BigInteger; 27 private BigInteger y; 52 BigInteger y, 114 public BigInteger getY() 156 this.y = (BigInteger)in.readObject(); 157 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
JCERSAPublicKey.java | 12 import java.math.BigInteger; 21 private BigInteger modulus; 22 private BigInteger publicExponent; 66 public BigInteger getModulus() 76 public BigInteger getPublicExponent()
|
JDKDSAPrivateKey.java | 17 import java.math.BigInteger; 29 BigInteger x; 102 public BigInteger getX() 151 this.x = (BigInteger)in.readObject(); 152 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
JDKDSASigner.java | 4 import java.math.BigInteger; 162 BigInteger[] sig = signer.generateSignature(hash); 180 BigInteger[] sig; 220 BigInteger r, 221 BigInteger s) 228 private BigInteger[] derDecode( 233 return new BigInteger[]{
|
JCEDHKeyAgreement.java | 3 import java.math.BigInteger; 30 private BigInteger x; 31 private BigInteger p; 32 private BigInteger g; 33 private BigInteger result; 53 BigInteger r)
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CRLEntry.java | 20 import java.math.BigInteger; 91 public abstract BigInteger getSerialNumber();
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
PBEKeyTest.java | 27 import java.math.BigInteger; 80 public BigInteger getY() {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
BasicConstraints.java | 21 import java.math.BigInteger; 57 pathLenConstraint = new BigInteger((byte[]) values[1]).intValue(); 70 encoding = ASN1.encode(new Object[]{ca, BigInteger.valueOf(pathLenConstraint) }); 100 values[1] = ((BigInteger) array[1]).toByteArray();
|
AuthorityKeyIdentifier.java | 26 import java.math.BigInteger; 57 private final BigInteger authorityCertSerialNumber; 61 BigInteger authorityCertSerialNumber) { 114 BigInteger authorityCertSerialNumber = null; 116 authorityCertSerialNumber = new BigInteger(enc);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLEntryImplTest.java | 24 import java.math.BigInteger; 51 BigInteger serialNumber = BigInteger.valueOf(555);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TSTInfoTest.java | 21 import java.math.BigInteger; 49 BigInteger nonce = BigInteger.valueOf(1234567890L); 60 TSTInfo info = new TSTInfo(1, policy, msgImprint, BigInteger.TEN, 72 assertEquals("Decoded serialNumber is incorrect", BigInteger.TEN,
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
WTauNafMultiplier.java | 3 import java.math.BigInteger; 19 public ECPoint multiply(ECPoint point, BigInteger k, PreCompInfo preCompInfo) 33 BigInteger[] s = curve.getSi(); 64 BigInteger tw = Tnaf.getTw(mu, Tnaf.WIDTH); 67 BigInteger.valueOf(Tnaf.POW_2_WIDTH), tw, alpha);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
Duration.java | 23 import java.math.BigInteger; 395 * returns a {@link java.math.BigInteger} object. For SECONDS, this [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
TSTInfo.java | 22 import java.math.BigInteger; 72 private final BigInteger serialNumber; 80 private final BigInteger nonce; 87 BigInteger serialNumber, Date genTime, int[] accuracy, 88 Boolean ordering, BigInteger nonce, GeneralName tsa, 163 public BigInteger getNonce() { 184 public BigInteger getSerialNumber() { 241 values[i] = BigInteger.valueOf(accuracy[i]).toByteArray(); 268 BigInteger nonce = (values[7] == null) ? null : new BigInteger( [all...] |
TimeStampReq.java | 22 import java.math.BigInteger; 57 private final BigInteger nonce; 66 String reqPolicy, BigInteger nonce, Boolean certReq, 77 String reqPolicy, BigInteger nonce, Boolean certReq, 137 public BigInteger getNonce() { 175 BigInteger nonce = (values[3] == null) ? null : new BigInteger(
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DERObjectIdentifier.java | 6 import java.math.BigInteger; 60 BigInteger bigValue = null; 99 bigValue = BigInteger.valueOf(value); 102 bigValue = bigValue.or(BigInteger.valueOf(b & 0x7f)); 162 BigInteger fieldValue) 172 BigInteger tmpValue = fieldValue; 206 writeField(bOut, new BigInteger(token));
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPrivateKeyImpl.java | 31 import java.math.BigInteger; 55 private BigInteger x, g, p, q; 119 x = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 132 p = new BigInteger(threeInts.p); 133 q = new BigInteger(threeInts.q); 134 g = new BigInteger(threeInts.g); 146 public BigInteger getX() {
|
DSAPublicKeyImpl.java | 33 import java.math.BigInteger; 57 private BigInteger y, g, p, q; 121 y = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 135 p = new BigInteger(threeInts.p); 136 q = new BigInteger(threeInts.q); 137 g = new BigInteger(threeInts.g); 154 public BigInteger getY() {
|
/external/v8/benchmarks/ |
crypto.js | 58 function BigInteger(a,b,c) { 66 // return new, unset BigInteger 67 function nbi() { return new BigInteger(null); } 148 BigInteger.prototype.am = fn; 239 if(mi) BigInteger.ZERO.subTo(this,this); 281 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 427 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 482 BigInteger.ONE.dlShiftTo(ys,t); 496 if(ts != ms) BigInteger.ZERO.subTo(q,q); 501 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | 50 function BigInteger(a,b,c) { 58 // return new, unset BigInteger 59 function nbi() { return new BigInteger(null); } 140 BigInteger.prototype.am = fn; 231 if(mi) BigInteger.ZERO.subTo(this,this); 273 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 419 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 474 BigInteger.ONE.dlShiftTo(ys,t); 488 if(ts != ms) BigInteger.ZERO.subTo(q,q); 493 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | 50 function BigInteger(a,b,c) { 58 // return new, unset BigInteger 59 function nbi() { return new BigInteger(null); } 140 BigInteger.prototype.am = fn; 231 if(mi) BigInteger.ZERO.subTo(this,this); 273 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 419 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 474 BigInteger.ONE.dlShiftTo(ys,t); 488 if(ts != ms) BigInteger.ZERO.subTo(q,q); 493 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-crypto.js | 50 function BigInteger(a,b,c) { 58 // return new, unset BigInteger 59 function nbi() { return new BigInteger(null); } 140 BigInteger.prototype.am = fn; 231 if(mi) BigInteger.ZERO.subTo(this,this); 273 function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } 419 if(this.s != a.s) BigInteger.ZERO.subTo(r,r); 474 BigInteger.ONE.dlShiftTo(ys,t); 488 if(ts != ms) BigInteger.ZERO.subTo(q,q); 493 if(ts < 0) BigInteger.ZERO.subTo(r,r) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
ECFieldF2mTest.java | 24 import java.math.BigInteger; 66 final BigInteger rp; 89 final BigInteger rp, 160 * Set of parameters used for <code>ECFieldF2m(int, BigInteger)</code> 352 new ECFieldF2m(2000, BigInteger.valueOf(0L). 384 new ECFieldF2m(1999, BigInteger.valueOf(0L). 396 ECFieldF2m f2 = new ECFieldF2m(2000, BigInteger.valueOf(0L). 409 ECFieldF2m f2 = new ECFieldF2m(2000, BigInteger.valueOf(0L). 459 BigInteger.valueOf(0L).setBit(0).setBit(1). 491 BigInteger rp = BigInteger.valueOf(0L).setBit(0).setBit(1).setBit(2) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/ |
ISO9796d1Encoding.java | 3 import java.math.BigInteger; 21 private static final BigInteger SIXTEEN = BigInteger.valueOf(16L); 22 private static final BigInteger SIX = BigInteger.valueOf(6L); 33 private BigInteger modulus; 213 BigInteger iS = new BigInteger(1, block); 214 BigInteger iR; 276 private static byte[] convertOutputDecryptOnly(BigInteger result [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 20 import java.math.BigInteger; 140 sig.setParameter("r", BigInteger.ONE); 141 sig.setParameter("s", BigInteger.ONE); 156 DSAParameterSpec spec = new DSAParameterSpec(BigInteger.ONE, 157 BigInteger.ONE, BigInteger.ONE);
|