Home
last modified time | relevance | path

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

/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/webrtc/rtc_base/
Dssl_identity_unittest.cc212 std::string digest_algorithm; in TestGetSignatureDigestAlgorithm() local
215 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
216 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
219 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
220 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
223 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
224 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
227 &digest_algorithm)); in TestGetSignatureDigestAlgorithm()
228 ASSERT_EQ(rtc::DIGEST_SHA_256, digest_algorithm); in TestGetSignatureDigestAlgorithm()
231 ASSERT_TRUE(test_cert_->GetSignatureDigestAlgorithm(&digest_algorithm)); in TestGetSignatureDigestAlgorithm()
[all …]
Dssl_certificate.cc49 std::string digest_algorithm; in GetStats() local
50 if (!GetSignatureDigestAlgorithm(&digest_algorithm)) in GetStats()
58 SSLFingerprint::Create(digest_algorithm, *this); in GetStats()
69 std::move(digest_algorithm), in GetStats()
/external/fsverity-utils/programs/
Dcmd_digest.c90 d->digest_algorithm = in fsverity_cmd_digest()
91 cpu_to_le16(digest->digest_algorithm); in fsverity_cmd_digest()
108 libfsverity_get_hash_name(digest->digest_algorithm), in fsverity_cmd_digest()
Dcmd_measure.c49 hash_alg_name = libfsverity_get_hash_name(d->digest_algorithm); in fsverity_cmd_measure()
51 sprintf(_hash_alg_name, "ALG_%u", d->digest_algorithm); in fsverity_cmd_measure()
Dtest_sign_digest.c34 d->digest_algorithm = FS_VERITY_HASH_ALG_SHA256; in main()
Dcmd_sign.c116 libfsverity_get_hash_name(digest->digest_algorithm), digest_hex); in fsverity_cmd_sign()
Dtest_compute_digest.c290 ASSERT(d->digest_algorithm == expected_alg); in main()
/external/openscreen/cast/sender/channel/
Dcast_auth_util.cc147 DigestAlgorithm* digest_algorithm, in VerifyAndMapDigestAlgorithm() argument
155 *digest_algorithm = DigestAlgorithm::kSha1; in VerifyAndMapDigestAlgorithm()
158 *digest_algorithm = DigestAlgorithm::kSha256; in VerifyAndMapDigestAlgorithm()
366 DigestAlgorithm digest_algorithm; in VerifyCredentialsImpl() local
368 response.hash_algorithm(), &digest_algorithm, enforce_sha256_checking); in VerifyCredentialsImpl()
379 digest_algorithm)) { in VerifyCredentialsImpl()
Dcast_auth_util_unittest.cc127 ::cast::channel::HashAlgorithm digest_algorithm) { in CreateAuthResponse() argument
142 response.set_hash_algorithm(digest_algorithm); in CreateAuthResponse()
143 switch (digest_algorithm) { in CreateAuthResponse()
/external/fsverity-utils/common/
Dfsverity_uapi.h34 __u16 digest_algorithm; member
83 __le16 digest_algorithm; member
/external/kernel-headers/original/uapi/linux/
Dfsverity.h32 __u16 digest_algorithm; member
81 __le16 digest_algorithm; member
/external/rust/crates/ring/src/
Dhkdf.rs50 self.0.digest_algorithm().output_len in len()
133 if len_cached > 255 * self.0.algorithm().digest_algorithm().output_len { in expand()
198 let digest_alg = prk.0.algorithm().digest_algorithm(); in fill_okm()
Dhmac.rs121 pub fn digest_algorithm(&self) -> &'static digest::Algorithm { in digest_algorithm() method
175 .field("algorithm", self.algorithm().digest_algorithm()) in fmt()
273 self.digest_algorithm().output_len in len()
Dpbkdf2.rs162 let digest_alg = algorithm.0.digest_algorithm(); in derive()
232 let digest_alg = algorithm.0.digest_algorithm(); in verify()
/external/openscreen/cast/common/certificate/
Dcast_cert_validator.cc47 DigestAlgorithm digest_algorithm) const override { in VerifySignatureOverData()
49 switch (digest_algorithm) { in VerifySignatureOverData()
Dcast_cert_validator.h62 DigestAlgorithm digest_algorithm) const = 0;
/external/fsverity-utils/lib/
Dsign_digest.c350 hash_alg = libfsverity_find_hash_alg_by_num(digest->digest_algorithm); in libfsverity_sign_digest()
379 d->digest_algorithm = cpu_to_le16(digest->digest_algorithm); in libfsverity_sign_digest()
Dcompute_digest.c230 digest->digest_algorithm = alg_num; in libfsverity_compute_digest()
/external/fsverity-utils/include/
Dlibfsverity.h69 uint16_t digest_algorithm; /* one of FS_VERITY_HASH_ALG_* */ member
/external/rust/crates/ring/tests/
Dhkdf_tests.rs92 let max_out_len = MAX_BLOCKS * alg.hmac_algorithm().digest_algorithm().output_len; in hkdf_output_len_tests()
/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/webrtc/pc/
Djsep_transport_unittest.cc398 std::string digest_algorithm; in TEST_P() local
400 &digest_algorithm)); in TEST_P()
401 ASSERT_FALSE(digest_algorithm.empty()); in TEST_P()
403 rtc::SSLFingerprint::CreateUnique(digest_algorithm, in TEST_P()
/external/python/cryptography/tests/
Dutils.py399 digest_algorithm = "SHA-{0}".format(sha_match.group("sha"))
408 'digest_algorithm': digest_algorithm})