Home
last modified time | relevance | path

Searched refs:digest_algorithm (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/base/
Dsslidentity_unittest.cc88 std::string digest_algorithm; in TestGetSignatureDigestAlgorithm() local
91 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
92 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
95 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
96 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
99 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
100 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
103 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
104 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
107 ASSERT_TRUE(test_cert_->GetSignatureDigestAlgorithm(&digest_algorithm)); in TestGetSignatureDigestAlgorithm()
[all …]
/external/python/cryptography/docs/development/custom-vectors/secp256k1/
Dgenerate_secp256k1.py43 for digest_algorithm, messages in vectors.items():
44 if digest_algorithm not in HASHLIB_HASH_TYPES:
48 yield "[K-256,{0}]".format(digest_algorithm)
53 hash_func = TruncatedHash(HASHLIB_HASH_TYPES[digest_algorithm]())
Dverify_secp256k1.py26 digest_algorithm = vector['digest_algorithm']
41 ec.ECDSA(CRYPTOGRAPHY_HASH_TYPES[digest_algorithm]())
/external/fsverity-utils/
Dcmd_measure.c51 hash_alg = find_hash_alg_by_num(d->digest_algorithm); in fsverity_cmd_measure()
55 sprintf(_hash_alg_name, "ALG_%u", d->digest_algorithm); in fsverity_cmd_measure()
Dfsverity_uapi.h32 __u16 digest_algorithm; member
Dcmd_sign.c49 __le16 digest_algorithm; member
603 digest->digest_algorithm = cpu_to_le16(hash_alg - fsverity_hash_algs); in fsverity_cmd_sign()
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel_unittest.cc128 std::string digest_algorithm; in Negotiate() local
130 &digest_algorithm)); in Negotiate()
131 ASSERT_FALSE(digest_algorithm.empty()); in Negotiate()
133 digest_algorithm, local_cert->identity())); in Negotiate()
135 EXPECT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in Negotiate()
138 std::string digest_algorithm; in Negotiate() local
140 &digest_algorithm)); in Negotiate()
141 ASSERT_FALSE(digest_algorithm.empty()); in Negotiate()
143 digest_algorithm, remote_cert->identity())); in Negotiate()
145 EXPECT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in Negotiate()
/external/kernel-headers/original/uapi/linux/
Dfsverity.h32 __u16 digest_algorithm; member
/external/webrtc/talk/app/webrtc/
Dstatscollector.cc543 std::string digest_algorithm; in AddOneCertificateReport() local
544 if (!cert->GetSignatureDigestAlgorithm(&digest_algorithm)) in AddOneCertificateReport()
548 rtc::SSLFingerprint::Create(digest_algorithm, cert)); in AddOneCertificateReport()
571 digest_algorithm); in AddOneCertificateReport()
/external/python/cryptography/tests/hazmat/primitives/
Dtest_dsa.py372 digest_algorithm = vector['digest_algorithm'].replace("-", "")
373 algorithm = self._algorithms_dict[digest_algorithm]
479 digest_algorithm = vector['digest_algorithm'].replace("-", "")
480 algorithm = self._algorithms_dict[digest_algorithm]
/external/python/cryptography/tests/
Dutils.py399 digest_algorithm = "SHA-{0}".format(sha_match.group("sha"))
408 'digest_algorithm': digest_algorithm})