Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java132 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/chromium_org/third_party/webrtc/base/
Dsslidentity_unittest.cc86 unsigned char digest1[64]; in TestDigest() local
95 digest1, sizeof(digest1), in TestDigest()
105 EXPECT_EQ(0, memcmp(digest1, digest1b, expected_len)); in TestDigest()
113 EXPECT_NE(0, memcmp(digest1, digest2, expected_len)); in TestDigest()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsslidentity_unittest.cc104 unsigned char digest1[64]; in TestDigest() local
113 digest1, sizeof(digest1), in TestDigest()
123 EXPECT_EQ(0, memcmp(digest1, digest1b, expected_len)); in TestDigest()
131 EXPECT_NE(0, memcmp(digest1, digest2, expected_len)); in TestDigest()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp602 FX_BYTE digest1[48]; in AES256_SetPassword() local
604 Revision6_Hash(password, size, digest, (bOwner ? (FX_LPCBYTE)ukey : NULL), digest1); in AES256_SetPassword()
612 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword()
614 FXSYS_memcpy32(digest1 + 32, digest, 16); in AES256_SetPassword()
615 pEncryptDict->SetAtString(bOwner ? FX_BSTRC("O") : FX_BSTRC("U"), CFX_ByteString(digest1, 48)); in AES256_SetPassword()
617 Revision6_Hash(password, size, digest + 8, (bOwner ? (FX_LPCBYTE)ukey : NULL), digest1); in AES256_SetPassword()
625 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword()
628 CRYPT_AESSetKey(aes, 16, digest1, 32, TRUE); in AES256_SetPassword()
632 CRYPT_AESEncrypt(aes, digest1, key, 32); in AES256_SetPassword()
634 … pEncryptDict->SetAtString(bOwner ? FX_BSTRC("OE") : FX_BSTRC("UE"), CFX_ByteString(digest1, 32)); in AES256_SetPassword()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.c185 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in process_est_cert() local
196 if (hexstr2bin(fingerprint, digest1, SHA256_MAC_LEN) < 0) { in process_est_cert()
217 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in process_est_cert()
276 u8 digest1[SHA256_MAC_LEN], digest2[SHA256_MAC_LEN]; in download_cert() local
296 if (hexstr2bin(hash, digest1, SHA256_MAC_LEN) < 0) { in download_cert()
325 if (os_memcmp(digest1, digest2, sizeof(digest1)) != 0) { in download_cert()