Searched refs:digest1 (Results 1 – 4 of 4) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | DigestFactory.java | 132 String digest1, in isSameDigest() argument 135 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest() 136 || (sha224.contains(digest1) && sha224.contains(digest2)) in isSameDigest() 137 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest() 138 || (sha384.contains(digest1) && sha384.contains(digest2)) in isSameDigest() 139 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest() 140 || (md5.contains(digest1) && md5.contains(digest2)); in isSameDigest()
|
/external/skia/tests/ |
D | CodexTest.cpp | 58 SkMD5::Digest digest1, digest2; in check() local 59 md5(bm, &digest1); in check() 69 REPORTER_ASSERT(r, digest1 == digest2); in check() 82 REPORTER_ASSERT(r, digest3 == digest1); in check()
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 604 FX_BYTE digest1[48]; in AES256_SetPassword() local 606 Revision6_Hash(password, size, digest, (bOwner ? (FX_LPCBYTE)ukey : NULL), digest1); in AES256_SetPassword() 614 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword() 616 FXSYS_memcpy32(digest1 + 32, digest, 16); in AES256_SetPassword() 617 pEncryptDict->SetAtString(bOwner ? FX_BSTRC("O") : FX_BSTRC("U"), CFX_ByteString(digest1, 48)); in AES256_SetPassword() 619 Revision6_Hash(password, size, digest + 8, (bOwner ? (FX_LPCBYTE)ukey : NULL), digest1); in AES256_SetPassword() 627 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword() 630 CRYPT_AESSetKey(aes, 16, digest1, 32, TRUE); in AES256_SetPassword() 634 CRYPT_AESEncrypt(aes, digest1, key, 32); in AES256_SetPassword() 636 … pEncryptDict->SetAtString(bOwner ? FX_BSTRC("OE") : FX_BSTRC("UE"), CFX_ByteString(digest1, 32)); in AES256_SetPassword()
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.c | 190 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in process_est_cert() local 201 if (hexstr2bin(fingerprint, digest1, SHA256_MAC_LEN) < 0) { in process_est_cert() 222 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in process_est_cert() 281 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in download_cert() local 301 if (hexstr2bin(hash, digest1, SHA256_MAC_LEN) < 0) { in download_cert() 330 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in download_cert()
|