Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java165 String digest1, in isSameDigest() argument
168 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
169 || (sha224.contains(digest1) && sha224.contains(digest2)) in isSameDigest()
170 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
171 || (sha384.contains(digest1) && sha384.contains(digest2)) in isSameDigest()
172 || (sha512.contains(digest1) && sha512.contains(digest2)) in isSameDigest()
177 || (md5.contains(digest1) && md5.contains(digest2)); in isSameDigest()
/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/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_encrypt.cpp656 uint8_t digest1[48]; in AES256_SetPassword() local
659 (bOwner ? (const uint8_t*)ukey : NULL), digest1); in AES256_SetPassword()
667 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword()
669 FXSYS_memcpy(digest1 + 32, digest, 16); in AES256_SetPassword()
670 pEncryptDict->SetAtString(bOwner ? "O" : "U", CFX_ByteString(digest1, 48)); in AES256_SetPassword()
673 (bOwner ? (const uint8_t*)ukey : NULL), digest1); in AES256_SetPassword()
681 CRYPT_SHA256Finish(sha, digest1); in AES256_SetPassword()
684 CRYPT_AESSetKey(aes, 16, digest1, 32, TRUE); in AES256_SetPassword()
688 CRYPT_AESEncrypt(aes, digest1, key, 32); in AES256_SetPassword()
690 pEncryptDict->SetAtString(bOwner ? "OE" : "UE", CFX_ByteString(digest1, 32)); in AES256_SetPassword()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.c190 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()