Home
last modified time | relevance | path

Searched refs:digest1 (Results 1 – 7 of 7) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java208 String digest1, in isSameDigest() argument
211 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
212 || (sha224.contains(digest1) && sha224.contains(digest2)) in isSameDigest()
213 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
214 || (sha384.contains(digest1) && sha384.contains(digest2)) in isSameDigest()
215 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
226 || (md5.contains(digest1) && md5.contains(digest2)); in isSameDigest()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java212 String digest1, in isSameDigest() argument
215 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
216 || (sha224.contains(digest1) && sha224.contains(digest2)) in isSameDigest()
217 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
218 || (sha384.contains(digest1) && sha384.contains(digest2)) in isSameDigest()
219 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
230 || (md5.contains(digest1) && md5.contains(digest2)); in isSameDigest()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java212 String digest1, in isSameDigest() argument
215 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
216 || (sha224.contains(digest1) && sha224.contains(digest2)) in isSameDigest()
217 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
218 || (sha384.contains(digest1) && sha384.contains(digest2)) in isSameDigest()
219 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
230 || (md5.contains(digest1) && md5.contains(digest2)); in isSameDigest()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp651 uint8_t digest1[48]; in AES256_SetPassword() local
654 digest1); in AES256_SetPassword()
662 CRYPT_SHA256Finish(&sha2, digest1); in AES256_SetPassword()
664 memcpy(digest1 + 32, digest, 16); in AES256_SetPassword()
666 ByteString(digest1, 48), false); in AES256_SetPassword()
669 digest1); in AES256_SetPassword()
677 CRYPT_SHA256Finish(&sha2, digest1); in AES256_SetPassword()
680 CRYPT_AESSetKey(&aes, digest1, 32, true); in AES256_SetPassword()
683 CRYPT_AESEncrypt(&aes, digest1, m_EncryptKey, sizeof(m_EncryptKey)); in AES256_SetPassword()
685 ByteString(digest1, 32), false); in AES256_SetPassword()
/external/webrtc/rtc_base/
Dssl_identity_unittest.cc241 DigestType digest1; in TestDigestHelper() local
252 memset(digest1, 0xff, expected_len); in TestDigestHelper()
253 rv = identity->certificate().ComputeDigest(algorithm, digest1, in TestDigestHelper()
258 EXPECT_EQ(0, memcmp(digest, digest1, expected_len)); in TestDigestHelper()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.c221 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in process_est_cert() local
232 if (hexstr2bin(fingerprint, digest1, SHA256_MAC_LEN) < 0) { in process_est_cert()
253 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in process_est_cert()
311 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in download_cert() local
331 if (hexstr2bin(hash, digest1, SHA256_MAC_LEN) < 0) { in download_cert()
360 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in download_cert()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java755 final byte[] digest1 = MessageDigest.getInstance("MD5").digest(archive1); in testLongNameMd5Hash()
765 Assert.assertArrayEquals(digest1, digest2); in testLongNameMd5Hash()