Searched refs:digest2 (Results 1 – 5 of 5) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | DigestFactory.java | 209 String digest2) 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/ |
D | DigestFactory.java | 213 String digest2) 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/ |
D | DigestFactory.java | 213 String digest2) 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/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/ |
D | TarArchiveOutputStreamTest.java | 763 final byte[] digest2 = MessageDigest.getInstance("MD5").digest(archive2); in testLongNameMd5Hash() 765 Assert.assertArrayEquals(digest1, digest2); in testLongNameMd5Hash()
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.c | 221 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in process_est_cert() local 247 if (sha256_vector(1, (const u8 **) &der, &der_len, digest2) < 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 355 if (sha256_vector(1, (const u8 **) &cert, &len, digest2) < 0) { in download_cert() 360 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in download_cert()
|