/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDigestCalculatorProvider.java | 18 Digest dig = BcUtil.createDigest(algorithm); local 20 final DigestOutputStream stream = new DigestOutputStream(dig); 44 private Digest dig; 46 DigestOutputStream(Digest dig) 48 this.dig = dig; 54 dig.update(bytes, off, len); 60 dig.update(bytes, 0, bytes.length); 66 dig.update((byte)b); 71 byte[] d = new byte[dig.getDigestSize()] [all...] |
BcUtil.java | 37 Digest dig; local 41 dig = new SHA1Digest(); 46 // dig = new SHA224Digest(); 51 dig = new SHA256Digest(); 55 dig = new SHA384Digest(); 59 dig = new SHA512Digest(); 63 dig = new MD5Digest(); 68 // dig = new MD4Digest(); 72 // dig = new MD2Digest(); 76 // dig = new GOST3411Digest() [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/ |
MSOutlookKeyIdCalculator.java | 14 Digest dig = new SHA1Digest(); // TODO: include definition of SHA-1 here local 15 byte[] hash = new byte[dig.getDigestSize()]; 27 dig.update(spkiEnc, 0, spkiEnc.length); 29 dig.doFinal(hash, 0);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaDigestCalculatorProviderBuilder.java | 51 MessageDigest dig = helper.createDigest(algorithm); local 53 stream = new DigestOutputStream(dig); 84 private MessageDigest dig; 86 DigestOutputStream(MessageDigest dig) 88 this.dig = dig; 94 dig.update(bytes, off, len); 100 dig.update(bytes); 106 dig.update((byte)b); 111 return dig.digest() [all...] |
OperatorHelper.java | 199 MessageDigest dig; local 203 dig = helper.createDigest(getDigestAlgName(digAlgId.getAlgorithm())); 214 dig = helper.createDigest(digestAlgorithm); 222 return dig;
|
/frameworks/support/v4/java/android/support/v4/util/ |
TimeUtils.java | 56 int dig = amt/100; local 57 formatStr[pos] = (char)(dig + '0'); 59 amt -= (dig*100); 62 int dig = amt/10; local 63 formatStr[pos] = (char)(dig + '0'); 65 amt -= (dig*10);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
SubjectKeyIdentifier.java | 116 byte[] dig = getDigest(keyInfo); 119 System.arraycopy(dig, dig.length - 8, id, 0, id.length);
|
/external/openssl/crypto/srp/ |
srp_lib.c | 205 unsigned char dig[SHA_DIGEST_LENGTH]; local 222 EVP_DigestFinal_ex(&ctxt, dig, NULL); 228 EVP_DigestUpdate(&ctxt, dig, sizeof(dig)); 229 EVP_DigestFinal_ex(&ctxt, dig, NULL); 232 return BN_bin2bn(dig, sizeof(dig), NULL);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
KnownHosts.java | 188 byte[] dig = new byte[hmac.getDigestLength()]; 190 hmac.digest(dig); 192 return dig; 232 byte[] dig = hmacSha1Hash(salt, hostname); 234 for (int i = 0; i < dig.length; i++) 236 if (dig[i] != hash[i]) 807 Digest dig = null; local 811 dig = new MD5(); 815 dig = new SHA1(); 838 dig.update(hostkey) [all...] |
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 271 int dig = amt/100; local 272 formatStr[pos] = (char)(dig + '0'); 274 amt -= (dig*100); 277 int dig = amt/10; local 278 formatStr[pos] = (char)(dig + '0'); 280 amt -= (dig*10);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 435 DigestOutputStream dig = new DigestOutputStream( local 439 dig.write(null, -1, 0); 445 dig.write(bytes, 0, bytes.length + 1); 451 dig.write(bytes, -1, 1); 457 dig.write(bytes, 0, -1);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 430 DigestOutputStream dig = new DigestOutputStream( local 434 dig.write(null, -1, 0); 440 dig.write(bytes, 0, bytes.length + 1); 446 dig.write(bytes, -1, 1); 452 dig.write(bytes, 0, -1);
|
/external/emma/core/java12/com/vladium/emma/report/ |
IItemAttribute.java | 184 final double dig = ig.getAggregate (m_denominatorAggregateID); local 186 final double diff = nil * dig - nig * dil;
|
/external/quake/quake/src/WinQuake/ |
sbar.cpp | 318 int dig; local 334 dig = num/pow10; 335 *str++ = '0'+dig; 336 num -= dig*pow10; 1276 int dig; local 1295 dig = cl.completed_time/60; 1296 Sbar_IntermissionNumber (160, 64, dig, 3, 0); 1297 num = cl.completed_time - dig*60;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyStore.java | 995 Digest dig = AndroidDigestFactory.getSHA1(); local 997 DigestInputStream dgIn = new DigestInputStream(cIn, dig); 1002 byte[] hash = new byte[dig.getDigestSize()]; 1003 dig.doFinal(hash, 0); 1007 byte[] oldHash = new byte[dig.getDigestSize()]; 1041 byte[] dig = dgOut.getDigest(); 1043 cOut.write(dig);
|
/external/icu4c/common/ |
ustring.cpp | 1222 int8_t dig; local [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
dtoa.cpp | 1322 int bbits, b2, b5, be, dig, i, ieps, ilim = 0, ilim0, ilim1 = 0, local [all...] |
/external/ppp/pppd/ |
eap.c | 321 u_char dig[SHA_DIGESTSIZE]; local 332 SHA1Final(dig, &ctxt); 333 return (DesSetkey(dig)); 651 u_char clear[8], cipher[8], dig[SHA_DIGESTSIZE], *optr, *cp; local 824 SHA1Final(dig, &ctxt); 825 cp = dig; 826 while (cp < dig + SHA_DIGESTSIZE) 1256 u_char dig[SHA_DIGESTSIZE]; local 1278 SHA1Final(dig, &ctxt); 1279 for (digp = dig; digp < dig + SHA_DIGESTSIZE; digp++ 1328 u_char dig[SHA_DIGESTSIZE]; local 1737 u_char dig[SHA_DIGESTSIZE]; local [all...] |
/external/grub/stage2/ |
char_io.c | 123 int dig = num % mult; local 124 *(ptr++) = ((dig > 9) ? dig + 'a' - 10 : '0' + dig);
|
/external/dropbear/libtommath/mtest/ |
mpi.c | 1267 int dig, bit; local 1283 for(dig = 0; dig < (USED(b) - 1); dig++) { 1284 d = DIGIT(b, dig); 1301 d = DIGIT(b, dig); 1640 int dig, bit; local 3752 mp_size dig, bit; local [all...] |
/bionic/libc/stdlib/ |
strtod.c | 2113 int bbits, b2, b5, be, dig, i, ieps, ilim0, local [all...] |
/external/chromium/base/third_party/dmg_fp/ |
dtoa.cc | 2235 int b2, bbits, d2, dd, dig, dsign, i, j, nd, nd0, p2, p5, speccase; variable 3564 int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1, variable [all...] |
/external/stlport/src/ |
num_put_float.cpp | 102 enum { dig = _Dig<N/10>::dig + 1 }; enumerator in enum:_Dig::__anon15571 108 enum { dig = 0 }; enumerator in enum:_Dig::__anon15572 112 # define MAXEDIGITS int(_Dig<DBL_MAX_10_EXP>::dig) 116 # define MAXEDIGITS int(_Dig<LDBL_MAX_10_EXP>::dig) [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
num_put_float.cpp | 102 enum { dig = _Dig<N/10>::dig + 1 }; enumerator in enum:_Dig::__anon22077 108 enum { dig = 0 }; enumerator in enum:_Dig::__anon22078 112 # define MAXEDIGITS int(_Dig<DBL_MAX_10_EXP>::dig) 116 # define MAXEDIGITS int(_Dig<LDBL_MAX_10_EXP>::dig) [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 119 unsigned int dig; local 121 dig = *p >> 4; 123 dig = *p++ & 0x0f; 125 *cp++ = dig < 10 ? dig + '0' : dig + 'A' - 10; [all...] |