/third_party/openssl/crypto/ |
D | context.c | 48 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock() 53 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock() 58 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock() 63 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child() 72 static int context_init(OSSL_LIB_CTX *ctx) in context_init() 117 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit() 147 static OSSL_LIB_CTX default_context_int; 164 static OSSL_LIB_CTX *get_thread_default_context(void) in get_thread_default_context() 172 static OSSL_LIB_CTX *get_default_context(void) in get_default_context() 174 OSSL_LIB_CTX *current_defctx = get_thread_default_context(); in get_default_context() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | context.c | 48 int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_write_lock() 53 int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_read_lock() 58 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_unlock() 63 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx) in ossl_lib_ctx_is_child() 72 static int context_init(OSSL_LIB_CTX *ctx) in context_init() 117 static int context_deinit(OSSL_LIB_CTX *ctx) in context_deinit() 147 static OSSL_LIB_CTX default_context_int; 164 static OSSL_LIB_CTX *get_thread_default_context(void) in get_thread_default_context() 172 static OSSL_LIB_CTX *get_default_context(void) in get_default_context() 174 OSSL_LIB_CTX *current_defctx = get_thread_default_context(); in get_default_context() [all …]
|
/third_party/openssl/include/internal/ |
D | cryptlib.h | 95 int ossl_do_ex_data_init(OSSL_LIB_CTX *ctx); 96 void ossl_crypto_cleanup_all_ex_data_int(OSSL_LIB_CTX *ctx); 180 void *(*new_func)(OSSL_LIB_CTX *ctx); 184 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx); 185 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx); 186 int ossl_lib_ctx_is_global_default(OSSL_LIB_CTX *ctx); 189 void *ossl_lib_ctx_get_data(OSSL_LIB_CTX *, int /* index */, 193 OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx); 194 typedef int (ossl_lib_ctx_run_once_fn)(OSSL_LIB_CTX *ctx); 195 typedef void (ossl_lib_ctx_onfree_fn)(OSSL_LIB_CTX *ctx); [all …]
|
D | property.h | 27 int ossl_property_parse_init(OSSL_LIB_CTX *ctx); 30 OSSL_PROPERTY_LIST *ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn); 32 OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, 37 int ossl_property_is_enabled(OSSL_LIB_CTX *ctx, const char *property_name, 45 OSSL_LIB_CTX *libctx, const char *name); 47 const char *ossl_property_get_string_value(OSSL_LIB_CTX *libctx, 53 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx); 75 OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OSSL_LIB_CTX *ctx, 92 size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx, 96 int ossl_global_properties_no_mirrored(OSSL_LIB_CTX *libctx); [all …]
|
D | provider.h | 31 OSSL_PROVIDER *ossl_provider_find(OSSL_LIB_CTX *libctx, const char *name, 33 OSSL_PROVIDER *ossl_provider_new(OSSL_LIB_CTX *libctx, const char *name, 50 int ossl_provider_default_props_update(OSSL_LIB_CTX *libctx, const char *props); 53 int ossl_provider_disable_fallback_loading(OSSL_LIB_CTX *libctx); 68 int ossl_provider_doall_activated(OSSL_LIB_CTX *, 80 OSSL_LIB_CTX *ossl_provider_libctx(const OSSL_PROVIDER *prov); 111 int ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, 114 void ossl_provider_deinit_child(OSSL_LIB_CTX *ctx);
|
D | core.h | 49 void *ossl_method_construct(OSSL_LIB_CTX *ctx, int operation_id, 53 void ossl_algorithm_do_all(OSSL_LIB_CTX *libctx, int operation_id, 67 __owur int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx); 68 __owur int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx); 69 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx); 70 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx);
|
/third_party/node/deps/openssl/openssl/include/internal/ |
D | cryptlib.h | 95 int ossl_do_ex_data_init(OSSL_LIB_CTX *ctx); 96 void ossl_crypto_cleanup_all_ex_data_int(OSSL_LIB_CTX *ctx); 180 void *(*new_func)(OSSL_LIB_CTX *ctx); 184 OSSL_LIB_CTX *ossl_lib_ctx_get_concrete(OSSL_LIB_CTX *ctx); 185 int ossl_lib_ctx_is_default(OSSL_LIB_CTX *ctx); 186 int ossl_lib_ctx_is_global_default(OSSL_LIB_CTX *ctx); 189 void *ossl_lib_ctx_get_data(OSSL_LIB_CTX *, int /* index */, 193 OSSL_EX_DATA_GLOBAL *ossl_lib_ctx_get_ex_data_global(OSSL_LIB_CTX *ctx); 194 typedef int (ossl_lib_ctx_run_once_fn)(OSSL_LIB_CTX *ctx); 195 typedef void (ossl_lib_ctx_onfree_fn)(OSSL_LIB_CTX *ctx); [all …]
|
D | property.h | 27 int ossl_property_parse_init(OSSL_LIB_CTX *ctx); 30 OSSL_PROPERTY_LIST *ossl_parse_property(OSSL_LIB_CTX *ctx, const char *defn); 32 OSSL_PROPERTY_LIST *ossl_parse_query(OSSL_LIB_CTX *ctx, const char *s, 37 int ossl_property_is_enabled(OSSL_LIB_CTX *ctx, const char *property_name, 45 OSSL_LIB_CTX *libctx, const char *name); 47 const char *ossl_property_get_string_value(OSSL_LIB_CTX *libctx, 53 OSSL_METHOD_STORE *ossl_method_store_new(OSSL_LIB_CTX *ctx); 75 OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OSSL_LIB_CTX *ctx, 92 size_t ossl_property_list_to_string(OSSL_LIB_CTX *ctx, 96 int ossl_global_properties_no_mirrored(OSSL_LIB_CTX *libctx); [all …]
|
D | provider.h | 31 OSSL_PROVIDER *ossl_provider_find(OSSL_LIB_CTX *libctx, const char *name, 33 OSSL_PROVIDER *ossl_provider_new(OSSL_LIB_CTX *libctx, const char *name, 50 int ossl_provider_default_props_update(OSSL_LIB_CTX *libctx, const char *props); 53 int ossl_provider_disable_fallback_loading(OSSL_LIB_CTX *libctx); 68 int ossl_provider_doall_activated(OSSL_LIB_CTX *, 80 OSSL_LIB_CTX *ossl_provider_libctx(const OSSL_PROVIDER *prov); 111 int ossl_provider_init_as_child(OSSL_LIB_CTX *ctx, 114 void ossl_provider_deinit_child(OSSL_LIB_CTX *ctx);
|
D | core.h | 49 void *ossl_method_construct(OSSL_LIB_CTX *ctx, int operation_id, 53 void ossl_algorithm_do_all(OSSL_LIB_CTX *libctx, int operation_id, 67 __owur int ossl_lib_ctx_write_lock(OSSL_LIB_CTX *ctx); 68 __owur int ossl_lib_ctx_read_lock(OSSL_LIB_CTX *ctx); 69 int ossl_lib_ctx_unlock(OSSL_LIB_CTX *ctx); 70 int ossl_lib_ctx_is_child(OSSL_LIB_CTX *ctx);
|
/third_party/node/deps/openssl/openssl/providers/common/include/prov/ |
D | securitycheck.h | 13 int ossl_rsa_check_key(OSSL_LIB_CTX *ctx, const RSA *rsa, int operation); 14 int ossl_ec_check_key(OSSL_LIB_CTX *ctx, const EC_KEY *ec, int protect); 15 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign); 16 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh); 18 int ossl_digest_is_allowed(OSSL_LIB_CTX *ctx, const EVP_MD *md); 20 int ossl_digest_get_approved_nid_with_sha1(OSSL_LIB_CTX *ctx, const EVP_MD *md, 28 int ossl_digest_rsa_sign_get_md_nid(OSSL_LIB_CTX *ctx, const EVP_MD *md, 30 int ossl_securitycheck_enabled(OSSL_LIB_CTX *libctx);
|
/third_party/openssl/providers/common/include/prov/ |
D | securitycheck.h | 13 int ossl_rsa_check_key(OSSL_LIB_CTX *ctx, const RSA *rsa, int operation); 14 int ossl_ec_check_key(OSSL_LIB_CTX *ctx, const EC_KEY *ec, int protect); 15 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign); 16 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh); 18 int ossl_digest_is_allowed(OSSL_LIB_CTX *ctx, const EVP_MD *md); 20 int ossl_digest_get_approved_nid_with_sha1(OSSL_LIB_CTX *ctx, const EVP_MD *md, 28 int ossl_digest_rsa_sign_get_md_nid(OSSL_LIB_CTX *ctx, const EVP_MD *md, 30 int ossl_securitycheck_enabled(OSSL_LIB_CTX *libctx);
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
D | ecx.h | 67 OSSL_LIB_CTX *libctx; 79 ECX_KEY *ossl_ecx_key_new(OSSL_LIB_CTX *libctx, ECX_KEY_TYPE type, 81 void ossl_ecx_key_set0_libctx(ECX_KEY *key, OSSL_LIB_CTX *libctx); 93 ossl_ed25519_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[32], 99 OSSL_LIB_CTX *libctx, const char *propq); 103 OSSL_LIB_CTX *libctx, const char *propq); 106 ossl_ed448_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[57], 109 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t *message, 115 ossl_ed448_verify(OSSL_LIB_CTX *ctx, const uint8_t *message, size_t message_len, 137 OSSL_LIB_CTX *libctx, const char *propq); [all …]
|
/third_party/openssl/include/crypto/ |
D | ecx.h | 67 OSSL_LIB_CTX *libctx; 79 ECX_KEY *ossl_ecx_key_new(OSSL_LIB_CTX *libctx, ECX_KEY_TYPE type, 81 void ossl_ecx_key_set0_libctx(ECX_KEY *key, OSSL_LIB_CTX *libctx); 93 ossl_ed25519_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[32], 99 OSSL_LIB_CTX *libctx, const char *propq); 103 OSSL_LIB_CTX *libctx, const char *propq); 106 ossl_ed448_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[57], 109 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t *message, 115 ossl_ed448_verify(OSSL_LIB_CTX *ctx, const uint8_t *message, size_t message_len, 137 OSSL_LIB_CTX *libctx, const char *propq); [all …]
|
/third_party/openssl/crypto/property/ |
D | property_local.h | 41 OSSL_PROPERTY_IDX ossl_property_name(OSSL_LIB_CTX *ctx, const char *s, 43 const char *ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx); 44 OSSL_PROPERTY_IDX ossl_property_value(OSSL_LIB_CTX *ctx, const char *s, 46 const char *ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx); 53 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop); 54 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop,
|
/third_party/node/deps/openssl/openssl/crypto/property/ |
D | property_local.h | 41 OSSL_PROPERTY_IDX ossl_property_name(OSSL_LIB_CTX *ctx, const char *s, 43 const char *ossl_property_name_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx); 44 OSSL_PROPERTY_IDX ossl_property_value(OSSL_LIB_CTX *ctx, const char *s, 46 const char *ossl_property_value_str(OSSL_LIB_CTX *ctx, OSSL_PROPERTY_IDX idx); 53 OSSL_PROPERTY_LIST *ossl_prop_defn_get(OSSL_LIB_CTX *ctx, const char *prop); 54 int ossl_prop_defn_set(OSSL_LIB_CTX *ctx, const char *prop,
|
/third_party/openssl/include/openssl/ |
D | rand.h | 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 82 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx); 83 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx); 84 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx); 86 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, 88 int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed,
|
D | provider.h | 21 int OSSL_PROVIDER_set_default_search_path(OSSL_LIB_CTX *, const char *path); 24 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *, const char *name); 25 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *, const char *name, 28 int OSSL_PROVIDER_available(OSSL_LIB_CTX *, const char *name); 29 int OSSL_PROVIDER_do_all(OSSL_LIB_CTX *ctx, 50 int OSSL_PROVIDER_add_builtin(OSSL_LIB_CTX *, const char *name,
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
D | rand.h | 68 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 75 int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, 82 EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx); 83 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx); 84 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx); 86 int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq, 88 int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed,
|
D | provider.h | 21 int OSSL_PROVIDER_set_default_search_path(OSSL_LIB_CTX *, const char *path); 24 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *, const char *name); 25 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *, const char *name, 28 int OSSL_PROVIDER_available(OSSL_LIB_CTX *, const char *name); 29 int OSSL_PROVIDER_do_all(OSSL_LIB_CTX *ctx, 50 int OSSL_PROVIDER_add_builtin(OSSL_LIB_CTX *, const char *name,
|
/third_party/openssl/test/testutil/ |
D | provider.c | 16 int test_get_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_get_libctx() 20 OSSL_LIB_CTX *new_libctx = NULL; in test_get_libctx() 53 int test_arg_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_arg_libctx() 77 static int fips_provider_version(OSSL_LIB_CTX *libctx, FIPS_VERSION *vers) in fips_provider_version() 99 int fips_provider_version_eq(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_eq() 109 int fips_provider_version_ne(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ne() 119 int fips_provider_version_le(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_le() 132 int fips_provider_version_lt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_lt() 145 int fips_provider_version_gt(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_gt() 158 int fips_provider_version_ge(OSSL_LIB_CTX *libctx, int major, int minor, int patch) in fips_provider_version_ge() [all …]
|
/third_party/openssl/test/helpers/ |
D | predefined_dhparams.h | 13 EVP_PKEY *get_dh512(OSSL_LIB_CTX *libctx); 14 EVP_PKEY *get_dhx512(OSSL_LIB_CTX *libctx); 15 EVP_PKEY *get_dh1024dsa(OSSL_LIB_CTX *libct); 16 EVP_PKEY *get_dh2048(OSSL_LIB_CTX *libctx); 17 EVP_PKEY *get_dh4096(OSSL_LIB_CTX *libctx);
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
D | evp_fetch.c | 31 static void *evp_method_store_new(OSSL_LIB_CTX *ctx) in evp_method_store_new() 46 OSSL_LIB_CTX *libctx; 80 static OSSL_METHOD_STORE *get_evp_method_store(OSSL_LIB_CTX *libctx) in get_evp_method_store() 230 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_evp_method() 383 void *evp_generic_fetch(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch() 410 void *evp_generic_fetch_by_number(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch_by_number() 456 int evp_method_store_cache_flush(OSSL_LIB_CTX *libctx) in evp_method_store_cache_flush() 467 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in evp_method_store_remove_all_provided() 475 static int evp_set_parsed_default_properties(OSSL_LIB_CTX *libctx, in evp_set_parsed_default_properties() 524 int evp_set_default_properties_int(OSSL_LIB_CTX *libctx, const char *propq, in evp_set_default_properties_int() [all …]
|
/third_party/openssl/crypto/evp/ |
D | evp_fetch.c | 31 static void *evp_method_store_new(OSSL_LIB_CTX *ctx) in evp_method_store_new() 46 OSSL_LIB_CTX *libctx; 80 static OSSL_METHOD_STORE *get_evp_method_store(OSSL_LIB_CTX *libctx) in get_evp_method_store() 230 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in construct_evp_method() 383 void *evp_generic_fetch(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch() 410 void *evp_generic_fetch_by_number(OSSL_LIB_CTX *libctx, int operation_id, in evp_generic_fetch_by_number() 456 int evp_method_store_cache_flush(OSSL_LIB_CTX *libctx) in evp_method_store_cache_flush() 467 OSSL_LIB_CTX *libctx = ossl_provider_libctx(prov); in evp_method_store_remove_all_provided() 475 static int evp_set_parsed_default_properties(OSSL_LIB_CTX *libctx, in evp_set_parsed_default_properties() 524 int evp_set_default_properties_int(OSSL_LIB_CTX *libctx, const char *propq, in evp_set_default_properties_int() [all …]
|
/third_party/openssl/crypto/ec/curve448/ |
D | ed448.h | 42 OSSL_LIB_CTX *ctx, 65 ossl_c448_ed448_sign(OSSL_LIB_CTX *ctx, 91 ossl_c448_ed448_sign_prehash(OSSL_LIB_CTX *ctx, 119 ossl_c448_ed448_verify(OSSL_LIB_CTX *ctx, 148 OSSL_LIB_CTX *ctx, 208 OSSL_LIB_CTX *ctx,
|