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/boringssl/src/ssl/test/runner/ed25519/
Ded25519.go133 var digest1, messageDigest, hramDigest [64]byte
135 h.Sum(digest1[:0])
136 copy(expandedSecretKey[:], digest1[:])
142 h.Write(digest1[32:])
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp639 uint8_t digest1[48]; in AES256_SetPassword() local
642 digest1); in AES256_SetPassword()
650 CRYPT_SHA256Finish(&sha2, digest1); in AES256_SetPassword()
652 memcpy(digest1 + 32, digest, 16); in AES256_SetPassword()
654 ByteString(digest1, 48), false); in AES256_SetPassword()
657 digest1); in AES256_SetPassword()
665 CRYPT_SHA256Finish(&sha2, digest1); in AES256_SetPassword()
669 CRYPT_AESSetKey(&aes, 16, digest1, 32, true); in AES256_SetPassword()
673 CRYPT_AESEncrypt(&aes, digest1, key, 32); in AES256_SetPassword()
675 ByteString(digest1, 32), false); in AES256_SetPassword()
/external/webrtc/webrtc/base/
Dsslidentity_unittest.cc117 DigestType digest1; in TestDigestHelper() local
128 memset(digest1, 0xff, expected_len); in TestDigestHelper()
129 rv = identity->certificate().ComputeDigest(algorithm, digest1, in TestDigestHelper()
134 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()