/external/python/cryptography/docs/development/custom-vectors/secp256k1/ |
D | generate_secp256k1.py | 43 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]())
|
D | verify_secp256k1.py | 26 digest_algorithm = vector['digest_algorithm'] 41 ec.ECDSA(CRYPTOGRAPHY_HASH_TYPES[digest_algorithm]())
|
/external/webrtc/rtc_base/ |
D | ssl_identity_unittest.cc | 212 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 …]
|
D | ssl_certificate.cc | 49 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/ |
D | cmd_digest.c | 90 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()
|
D | cmd_measure.c | 49 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()
|
D | test_sign_digest.c | 34 d->digest_algorithm = FS_VERITY_HASH_ALG_SHA256; in main()
|
D | cmd_sign.c | 116 libfsverity_get_hash_name(digest->digest_algorithm), digest_hex); in fsverity_cmd_sign()
|
D | test_compute_digest.c | 290 ASSERT(d->digest_algorithm == expected_alg); in main()
|
/external/openscreen/cast/sender/channel/ |
D | cast_auth_util.cc | 147 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()
|
D | cast_auth_util_unittest.cc | 127 ::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/ |
D | fsverity_uapi.h | 34 __u16 digest_algorithm; member 83 __le16 digest_algorithm; member
|
/external/kernel-headers/original/uapi/linux/ |
D | fsverity.h | 32 __u16 digest_algorithm; member 81 __le16 digest_algorithm; member
|
/external/rust/crates/ring/src/ |
D | hkdf.rs | 50 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()
|
D | hmac.rs | 121 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()
|
D | pbkdf2.rs | 162 let digest_alg = algorithm.0.digest_algorithm(); in derive() 232 let digest_alg = algorithm.0.digest_algorithm(); in verify()
|
/external/openscreen/cast/common/certificate/ |
D | cast_cert_validator.cc | 47 DigestAlgorithm digest_algorithm) const override { in VerifySignatureOverData() 49 switch (digest_algorithm) { in VerifySignatureOverData()
|
D | cast_cert_validator.h | 62 DigestAlgorithm digest_algorithm) const = 0;
|
/external/fsverity-utils/lib/ |
D | sign_digest.c | 350 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()
|
D | compute_digest.c | 230 digest->digest_algorithm = alg_num; in libfsverity_compute_digest()
|
/external/fsverity-utils/include/ |
D | libfsverity.h | 69 uint16_t digest_algorithm; /* one of FS_VERITY_HASH_ALG_* */ member
|
/external/rust/crates/ring/tests/ |
D | hkdf_tests.rs | 92 let max_out_len = MAX_BLOCKS * alg.hmac_algorithm().digest_algorithm().output_len; in hkdf_output_len_tests()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_dsa.py | 372 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/ |
D | jsep_transport_unittest.cc | 398 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/ |
D | utils.py | 399 digest_algorithm = "SHA-{0}".format(sha_match.group("sha")) 408 'digest_algorithm': digest_algorithm})
|