/external/libwebsockets/lib/tls/openssl/ |
D | lws-gencrypto.c | 36 lws_gencrypto_openssl_hash_to_NID(enum lws_genhash_types hash_type) in lws_gencrypto_openssl_hash_to_NID() argument 40 switch (hash_type) { in lws_gencrypto_openssl_hash_to_NID() 64 lws_gencrypto_openssl_hash_to_EVP_MD(enum lws_genhash_types hash_type) in lws_gencrypto_openssl_hash_to_EVP_MD() argument 68 switch (hash_type) { in lws_gencrypto_openssl_hash_to_EVP_MD()
|
D | lws-genrsa.c | 285 enum lws_genhash_types hash_type, const uint8_t *sig, argument 288 int n = lws_gencrypto_openssl_hash_to_NID(hash_type), 289 h = (int)lws_genhash_size(hash_type); 301 md = lws_gencrypto_openssl_hash_to_EVP_MD(hash_type); 329 enum lws_genhash_types hash_type, uint8_t *sig, argument 332 int n = lws_gencrypto_openssl_hash_to_NID(hash_type), 333 h = (int)lws_genhash_size(hash_type); 352 md = lws_gencrypto_openssl_hash_to_EVP_MD(hash_type);
|
D | private-lib-tls-openssl.h | 52 lws_gencrypto_openssl_hash_to_NID(enum lws_genhash_types hash_type); 55 lws_gencrypto_openssl_hash_to_EVP_MD(enum lws_genhash_types hash_type);
|
D | lws-genec.c | 475 enum lws_genhash_types hash_type, 478 const EVP_MD *md = lws_gencrypto_openssl_hash_to_EVP_MD(hash_type); 521 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sign_jws() argument 525 size_t hs = lws_genhash_size(hash_type); in lws_genecdsa_hash_sign_jws() 604 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sig_verify_jws() argument 607 int ret = -1, n, hlen = (int)lws_genhash_size(hash_type), in lws_genecdsa_hash_sig_verify_jws()
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genrsa.c | 369 enum lws_genhash_types hash_type, const uint8_t *sig, argument 372 int n, h = (int)lws_gencrypto_mbedtls_hash_to_MD_TYPE(hash_type); 389 (unsigned int)lws_genhash_size(hash_type), 399 (unsigned int)lws_genhash_size(hash_type), 416 enum lws_genhash_types hash_type, uint8_t *sig, argument 419 int n, h = (int)lws_gencrypto_mbedtls_hash_to_MD_TYPE(hash_type); 444 (unsigned int)lws_genhash_size(hash_type), 455 (unsigned int)lws_genhash_size(hash_type),
|
D | lws-gencrypto.c | 31 lws_gencrypto_mbedtls_hash_to_MD_TYPE(enum lws_genhash_types hash_type) in lws_gencrypto_mbedtls_hash_to_MD_TYPE() argument 35 switch (hash_type) { in lws_gencrypto_mbedtls_hash_to_MD_TYPE()
|
D | lws-genec.c | 395 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sign_jws() argument 399 size_t hlen = lws_genhash_size(hash_type); in lws_genecdsa_hash_sign_jws() 457 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sig_verify_jws() argument 461 size_t hlen = lws_genhash_size(hash_type); in lws_genecdsa_hash_sig_verify_jws()
|
D | private-lib-tls-mbedtls.h | 45 lws_gencrypto_mbedtls_hash_to_MD_TYPE(enum lws_genhash_types hash_type);
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_ec.py | 48 def _skip_ecdsa_vector(backend, curve_type, hash_type): argument 50 ec.ECDSA(hash_type()), curve_type() 54 hash_type().name, curve_type().name 296 def test_with_numbers(self, backend, vector, hash_type): argument 299 _skip_ecdsa_vector(backend, curve_type, hash_type) 332 def test_signing_with_example_keys(self, backend, vector, hash_type): argument 335 _skip_ecdsa_vector(backend, curve_type, hash_type) 349 signer = key.signer(ec.ECDSA(hash_type())) 354 verifier = pkey.verifier(signature, ec.ECDSA(hash_type())) 512 hash_type = _HASH_TYPES[vector["digest_algorithm"]] [all …]
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-genec.h | 175 enum lws_genhash_types hash_type, int keybits, 198 enum lws_genhash_types hash_type, int keybits,
|
D | lws-genrsa.h | 208 enum lws_genhash_types hash_type, 229 enum lws_genhash_types hash_type,
|
D | lws-jose.h | 81 enum lws_genhash_types hash_type; member
|
/external/libwebsockets/lib/jose/jws/ |
D | jws.c | 499 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type)) in lws_jws_sig_confirm() 529 jose.alg->hash_type, in lws_jws_sig_confirm() 620 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type) || in lws_jws_sig_confirm() 632 h_len = (int)lws_genhash_size(jose.alg->hash_type); in lws_jws_sig_confirm() 647 jose.alg->hash_type, in lws_jws_sig_confirm() 752 if (jose->alg->hash_type == LWS_GENHASH_TYPE_UNKNOWN && in lws_jws_sign_from_b64() 757 if (lws_genhash_init(&hash_ctx, jose->alg->hash_type) || in lws_jws_sign_from_b64() 791 n = lws_genrsa_hash_sign(&rsactx, digest, jose->alg->hash_type, in lws_jws_sign_from_b64() 811 lws_genhash_size(jose->alg->hash_type), in lws_jws_sign_from_b64() 855 jose->alg->hash_type, in lws_jws_sign_from_b64()
|
/external/libabigail/src/ |
D | abg-hash.cc | 334 type_base::hash hash_type; in operator ()() local 339 v = hashing::combine_hashes(v, hash_type(t)); in operator ()() 812 type_decl::hash hash_type; in operator ()() local 816 v = hashing::combine_hashes(v, hash_type(t)); in operator ()() 832 type_base::shared_ptr_hash hash_type; in operator ()() local 837 v = hashing::combine_hashes(v, hash_type(t.get_type())); in operator ()() 895 type_base::dynamic_hash hash_type; in operator ()() local 898 v = hashing::combine_hashes(v, hash_type(t.get_composed_type().get())); in operator ()()
|
D | abg-ir.cc | 25125 result = hash_type(t); in hash_type_or_decl() 25197 hash_type(const type_base *t) in hash_type() function
|
/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/ |
D | crypto_utils.h | 126 ProtoHashTypeToEVPDigest(HashType hash_type);
|
D | crypto_utils.cc | 188 const HashType hash_type) { in ProtoHashTypeToEVPDigest() argument 189 switch (hash_type) { in ProtoHashTypeToEVPDigest()
|
/external/python/cpython3/Lib/test/ |
D | test_hashlib.py | 950 hash_type = type(constructor()) 953 with self.subTest(hash_type=hash_type): 955 hash_type.value = False
|
/external/rust/crates/openssl/src/x509/ |
D | mod.rs | 475 pub fn digest(&self, hash_type: MessageDigest) -> Result<DigestBytes, ErrorStack> { in digest() 484 hash_type.as_ptr(), in digest() 495 pub fn fingerprint(&self, hash_type: MessageDigest) -> Result<Vec<u8>, ErrorStack> { in fingerprint() 496 self.digest(hash_type).map(|b| b.to_vec()) in fingerprint()
|
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jws.c | 497 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type) || in test_jws_ES256() 659 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type) || in test_jws_ES512()
|
/external/cronet/net/cert/pki/ |
D | ocsp.cc | 146 bool AppendHashAsOctetString(const EVP_MD* hash_type, in AppendHashAsOctetString() argument 155 hash_type, nullptr) && in AppendHashAsOctetString()
|
/external/libabigail/include/ |
D | abg-fwd.h | 1376 hash_type(const type_base *t);
|
/external/rust/beto-rust/nearby/scripts/openssl-patches/ |
D | 0001-Apply-Android-changes.patch | 1020 + pub fn digest(&self, hash_type: MessageDigest) -> Result<DigestBytes, ErrorStack> { 1029 + hash_type.as_ptr(), 1040 + pub fn fingerprint(&self, hash_type: MessageDigest) -> Result<Vec<u8>, ErrorStack> { 1041 + self.digest(hash_type).map(|b| b.to_vec())
|
/external/libabigail/ |
D | ChangeLog | 4217 (hash_type_or_decl): Use hash_type for types. 4218 * src/abg-writer.cc (type_hasher::operator()): Use hash_type. 8949 * include/abg-fwd.h (hash_type): Declare new function. 8950 * src/abg-ir.cc (hash_type): Define new function. 8952 hash_type rather than the old hash_type_or_decl.
|
/external/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 69381 enum netdev_lag_hash hash_type; member
|