Home
last modified time | relevance | path

Searched refs:dig (Results 1 – 25 of 53) sorted by relevance

123

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/
DBcDigestCalculatorProvider.java22 Digest dig = digestProvider.get(algorithm); in get() local
24 final DigestOutputStream stream = new DigestOutputStream(dig); in get()
48 private Digest dig;
50 DigestOutputStream(Digest dig)
52 this.dig = dig;
58 dig.update(bytes, off, len);
64 dig.update(bytes, 0, bytes.length);
70 dig.update((byte)b);
75 byte[] d = new byte[dig.getDigestSize()];
77 dig.doFinal(d, 0);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaDigestCalculatorProviderBuilder.java51 MessageDigest dig = helper.createDigest(algorithm); in build() local
53 stream = new DigestOutputStream(dig); in build()
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();
DOperatorHelper.java270 MessageDigest dig; in createDigest() local
274 dig = helper.createDigest(MessageDigestUtils.getDigestName(digAlgId.getAlgorithm())); in createDigest()
285 dig = helper.createDigest(digestAlgorithm); in createDigest()
293 return dig; in createDigest()
/external/dhcpcd-6.8.2/dhcpcd-hooks/
D29-lookup-hostname8 if type dig >/dev/null 2>&1; then
9 h=$(dig +short -x $new_ip_address)
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java436 DigestOutputStream dig = new DigestOutputStream( in test_writeLB$LILI() local
440 dig.write(null, -1, 0); in test_writeLB$LILI()
446 dig.write(bytes, 0, bytes.length + 1); in test_writeLB$LILI()
452 dig.write(bytes, -1, 1); in test_writeLB$LILI()
458 dig.write(bytes, 0, -1); in test_writeLB$LILI()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DMSOutlookKeyIdCalculator.java16 SHA1Digest dig = new SHA1Digest(); in calculateKeyId() local
17 byte[] hash = new byte[dig.getDigestSize()]; in calculateKeyId()
29 dig.update(spkiEnc, 0, spkiEnc.length); in calculateKeyId()
31 dig.doFinal(hash, 0); in calculateKeyId()
/external/ppp/pppd/
Deap.c321 u_char dig[SHA_DIGESTSIZE]; in pncrypt_setkey() local
332 SHA1Final(dig, &ctxt); in pncrypt_setkey()
333 return (DesSetkey(dig)); in pncrypt_setkey()
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++)
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java999 Digest dig = new SHA1Digest(); in engineLoad() local
1000 DigestInputStream dgIn = new DigestInputStream(cIn, dig); in engineLoad()
1005 byte[] hash = new byte[dig.getDigestSize()]; in engineLoad()
1006 dig.doFinal(hash, 0); in engineLoad()
1010 byte[] oldHash = new byte[dig.getDigestSize()]; in engineLoad()
1042 byte[] dig = dgOut.getDigest(); in engineStore()
1044 cOut.write(dig); in engineStore()
/external/libweave/third_party/chromium/base/third_party/dmg_fp/
Ddtoa.cc2250 int b2, bbits, d2, dd, dig, dsign, i, j, nd, nd0, p2, p5, speccase; variable
2346 dig = quorem(b,d);
2347 if (!dig) {
2349 dig = quorem(b,d);
2355 dd = s0[i++] - '0' - dig;
2364 dig = quorem(b,d);
2367 dd = s0[j++] - '0' - dig;
2376 dig = quorem(b,d);
3584 int bbits, b2, b5, be, dig, i, ieps, ilim, ilim0, ilim1, variable
4082 dig = quorem(b,S) + '0';
[all …]
/external/clang/test/Modules/
Dinferred-submodules.m13 void dig() { function
/external/emma/core/java12/com/vladium/emma/report/
DIItemAttribute.java184 final double dig = ig.getAggregate (m_denominatorAggregateID); in compare() local
186 final double diff = nil * dig - nig * dil; in compare()
/external/icu/icu4c/source/common/
Dustring.cpp1222 int8_t dig; in u_unescapeAt() local
1253 dig = _digit8(c); in u_unescapeAt()
1254 if (dig >= 0) { in u_unescapeAt()
1259 result = dig; in u_unescapeAt()
1266 dig = (int8_t)((bitsPerDigit == 3) ? _digit8(c) : _digit16(c)); in u_unescapeAt()
1267 if (dig < 0) { in u_unescapeAt()
1270 result = (result << bitsPerDigit) | dig; in u_unescapeAt()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java791 int dig; in unescapeAt() local
825 dig = UCharacter.digit(c, 8); in unescapeAt()
826 if (dig >= 0) { in unescapeAt()
831 result = dig; in unescapeAt()
838 dig = UCharacter.digit(c, (bitsPerDigit == 3) ? 8 : 16); in unescapeAt()
839 if (dig < 0) { in unescapeAt()
842 result = (result << bitsPerDigit) | dig; in unescapeAt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java787 int dig; in unescapeAt() local
821 dig = UCharacter.digit(c, 8); in unescapeAt()
822 if (dig >= 0) { in unescapeAt()
827 result = dig; in unescapeAt()
834 dig = UCharacter.digit(c, (bitsPerDigit == 3) ? 8 : 16); in unescapeAt()
835 if (dig < 0) { in unescapeAt()
838 result = (result << bitsPerDigit) | dig; in unescapeAt()
/external/google-breakpad/src/client/mac/sender/da.lproj/
DLocalizable.strings9 "emailMsg" = "Ved at skrive din email adresse kan vi kontakte dig i det tilfælde at vi har brug for…
/external/google-breakpad/src/client/mac/sender/sv.lproj/
DLocalizable.strings9 "emailMsg" = "Om du anger din e-postadress kan vi kontakta dig om vi behöver mer detaljer kring pro…
/external/dnsmasq/src/
Drfc1035.c119 unsigned int dig; in extract_name() local
121 dig = *p >> 4; in extract_name()
123 dig = *p++ & 0x0f; in extract_name()
125 *cp++ = dig < 10 ? dig + '0' : dig + 'A' - 10; in extract_name()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java311 int dig; in unescapeAt() local
340 dig = UCharacter.digit(c, 8); in unescapeAt()
341 if (dig >= 0) { in unescapeAt()
346 result = dig; in unescapeAt()
359 dig = Character.digit((char)c, (bitsPerDigit == 3) ? 8 : 16); in unescapeAt()
360 if (dig < 0) { in unescapeAt()
363 result = (result << bitsPerDigit) | dig; in unescapeAt()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java307 int dig; in unescapeAt() local
336 dig = UCharacter.digit(c, 8); in unescapeAt()
337 if (dig >= 0) { in unescapeAt()
342 result = dig; in unescapeAt()
355 dig = Character.digit((char)c, (bitsPerDigit == 3) ? 8 : 16); in unescapeAt()
356 if (dig < 0) { in unescapeAt()
359 result = (result << bitsPerDigit) | dig; in unescapeAt()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java3612 private void checkdigits(com.ibm.icu.math.BigDecimal rhs, int dig) { in checkdigits() argument
3613 if (dig == 0) in checkdigits()
3616 if (this.mant.length > dig) in checkdigits()
3617 if ((!(allzero(this.mant, dig)))) in checkdigits()
3621 if (rhs.mant.length > dig) in checkdigits()
3622 if ((!(allzero(rhs.mant, dig)))) in checkdigits()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java3537 private void checkdigits(android.icu.math.BigDecimal rhs, int dig) { in checkdigits() argument
3538 if (dig == 0) in checkdigits()
3541 if (this.mant.length > dig) in checkdigits()
3542 if ((!(allzero(this.mant, dig)))) in checkdigits()
3546 if (rhs.mant.length > dig) in checkdigits()
3547 if ((!(allzero(rhs.mant, dig)))) in checkdigits()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java3610 private void checkdigits(com.ibm.icu.math.BigDecimal rhs, int dig) { in checkdigits() argument
3611 if (dig == 0) in checkdigits()
3614 if (this.mant.length > dig) in checkdigits()
3615 if ((!(allzero(this.mant, dig)))) in checkdigits()
3619 if (rhs.mant.length > dig) in checkdigits()
3620 if ((!(allzero(rhs.mant, dig)))) in checkdigits()
/external/bison/build-aux/
Dannounce-gen165 my $dig =
170 print "$dig $f\n";
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java819 byte[] dig = dInfo.getDigest(); in engineLoad()
821 if (!Arrays.constantTimeAreEqual(res, dig)) in engineLoad()
831 if (!Arrays.constantTimeAreEqual(res, dig)) in engineLoad()
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/httplib2/
D__init__.py401dig = _md5(("%s:%s" % (time.ctime(), ["0123456789"[random.randrange(0, 9)] for i in range(20)])).e…
402 return dig[:16]

123