/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 | 284 enum lws_genhash_types hash_type, const uint8_t *sig, argument 287 int n = lws_gencrypto_openssl_hash_to_NID(hash_type), 288 h = (int)lws_genhash_size(hash_type); 299 md = lws_gencrypto_openssl_hash_to_EVP_MD(hash_type); 327 enum lws_genhash_types hash_type, uint8_t *sig, argument 330 int n = lws_gencrypto_openssl_hash_to_NID(hash_type), 331 h = (int)lws_genhash_size(hash_type); 350 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 | 430 enum lws_genhash_types hash_type, 433 const EVP_MD *md = lws_gencrypto_openssl_hash_to_EVP_MD(hash_type); 476 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sign_jws() argument 519 ecdsasig = ECDSA_do_sign(in, (int)lws_genhash_size(hash_type), eckey); in lws_genecdsa_hash_sign_jws() 558 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sig_verify_jws() argument 562 hlen = (int)lws_genhash_size(hash_type); in lws_genecdsa_hash_sig_verify_jws()
|
/external/libwebsockets/lib/tls/mbedtls/ |
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-genrsa.c | 318 enum lws_genhash_types hash_type, const uint8_t *sig, in lws_genrsa_hash_sig_verify() argument 321 int n, h = lws_gencrypto_mbedtls_hash_to_MD_TYPE(hash_type); in lws_genrsa_hash_sig_verify() 353 enum lws_genhash_types hash_type, uint8_t *sig, in lws_genrsa_hash_sign() argument 356 int n, h = lws_gencrypto_mbedtls_hash_to_MD_TYPE(hash_type); in lws_genrsa_hash_sign()
|
D | lws-genec.c | 382 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sign_jws() argument 386 size_t hlen = lws_genhash_size(hash_type); in lws_genecdsa_hash_sign_jws() 444 enum lws_genhash_types hash_type, int keybits, in lws_genecdsa_hash_sig_verify_jws() argument 448 size_t hlen = lws_genhash_size(hash_type); in lws_genecdsa_hash_sig_verify_jws()
|
D | private-lib-tls-mbedtls.h | 34 lws_gencrypto_mbedtls_hash_to_MD_TYPE(enum lws_genhash_types hash_type);
|
/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 = lws_genhash_size(jose.alg->hash_type); in lws_jws_sig_confirm() 647 jose.alg->hash_type, in lws_jws_sig_confirm() 751 if (jose->alg->hash_type == LWS_GENHASH_TYPE_UNKNOWN && in lws_jws_sign_from_b64() 756 if (lws_genhash_init(&hash_ctx, jose->alg->hash_type) || in lws_jws_sign_from_b64() 790 n = lws_genrsa_hash_sign(&rsactx, digest, jose->alg->hash_type, in lws_jws_sign_from_b64() 810 lws_genhash_size(jose->alg->hash_type), in lws_jws_sign_from_b64() 854 jose->alg->hash_type, in lws_jws_sign_from_b64()
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_ec.py | 42 def _skip_ecdsa_vector(backend, curve_type, hash_type): argument 44 ec.ECDSA(hash_type()), 49 hash_type().name, curve_type().name 289 def test_with_numbers(self, backend, vector, hash_type): argument 292 _skip_ecdsa_vector(backend, curve_type, hash_type) 324 def test_signing_with_example_keys(self, backend, vector, hash_type): argument 327 _skip_ecdsa_vector(backend, curve_type, hash_type) 343 signer = key.signer(ec.ECDSA(hash_type())) 348 verifier = pkey.verifier(signature, ec.ECDSA(hash_type())) 492 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 | 207 enum lws_genhash_types hash_type, 228 enum lws_genhash_types hash_type,
|
D | lws-jose.h | 81 enum lws_genhash_types hash_type; member
|
/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-writer.cc | 115 {return hash_type(t);} in operator ()()
|
D | abg-ir.cc | 23512 result = hash_type(t); in hash_type_or_decl() 23584 hash_type(const type_base *t) in hash_type() function
|
/external/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | jws.c | 496 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type) || in test_jws_ES256() 657 if (lws_genhash_init(&hash_ctx, jose.alg->hash_type) || in test_jws_ES512()
|
/external/libabigail/include/ |
D | abg-fwd.h | 1341 hash_type(const type_base *t);
|
/external/libabigail/ |
D | ChangeLog | 665 (hash_type_or_decl): Use hash_type for types. 666 * src/abg-writer.cc (type_hasher::operator()): Use hash_type. 5397 * include/abg-fwd.h (hash_type): Declare new function. 5398 * src/abg-ir.cc (hash_type): Define new function. 5400 hash_type rather than the old hash_type_or_decl.
|