Home
last modified time | relevance | path

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

123456789

/openssl/include/internal/
H A Dprovider.h36 int ossl_provider_up_ref(OSSL_PROVIDER *prov);
37 void ossl_provider_free(OSSL_PROVIDER *prov);
44 int ossl_provider_is_child(const OSSL_PROVIDER *prov);
60 int ossl_provider_add_to_store(OSSL_PROVIDER *prov, OSSL_PROVIDER **actualprov,
64 void *ossl_provider_ctx(const OSSL_PROVIDER *prov);
73 const char *ossl_provider_name(const OSSL_PROVIDER *prov);
74 const DSO *ossl_provider_dso(const OSSL_PROVIDER *prov);
77 void *ossl_provider_prov_ctx(const OSSL_PROVIDER *prov);
82 void ossl_provider_teardown(const OSSL_PROVIDER *prov);
85 int ossl_provider_get_capabilities(const OSSL_PROVIDER *prov,
[all …]
H A Dcore.h38 void *(*get)(void *store, const OSSL_PROVIDER **prov, void *data);
40 int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
43 void *(*construct)(const OSSL_ALGORITHM *algodef, OSSL_PROVIDER *prov,
50 OSSL_PROVIDER **provider_rw, int force_cache,
54 OSSL_PROVIDER *provider,
55 int (*pre)(OSSL_PROVIDER *, int operation_id,
58 void (*fn)(OSSL_PROVIDER *provider,
62 int (*post)(OSSL_PROVIDER *, int operation_id,
H A Dproperty.h59 int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
70 const OSSL_PROVIDER **prov, void **method);
72 const OSSL_PROVIDER *prov);
79 int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
81 int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
/openssl/include/openssl/
H A Dprovider.h25 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *, const char *name);
26 OSSL_PROVIDER *OSSL_PROVIDER_load_ex(OSSL_LIB_CTX *, const char *name,
28 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *, const char *name,
30 OSSL_PROVIDER *OSSL_PROVIDER_try_load_ex(OSSL_LIB_CTX *, const char *name,
33 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov);
36 int (*cb)(OSSL_PROVIDER *provider, void *cbdata),
41 int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov);
42 int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov,
50 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov,
52 void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov);
[all …]
/openssl/crypto/
H A Dprovider.c18 OSSL_PROVIDER *OSSL_PROVIDER_try_load_ex(OSSL_LIB_CTX *libctx, const char *name, in OSSL_PROVIDER_try_load_ex()
21 OSSL_PROVIDER *prov = NULL, *actual; in OSSL_PROVIDER_try_load_ex()
66 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *libctx, const char *name) in OSSL_PROVIDER_load()
71 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov) in OSSL_PROVIDER_unload()
79 const OSSL_PARAM *OSSL_PROVIDER_gettable_params(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_gettable_params()
96 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, in OSSL_PROVIDER_unquery_operation()
103 void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_get0_provider_ctx()
113 int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_self_test()
118 int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov, in OSSL_PROVIDER_get_capabilities()
147 const char *OSSL_PROVIDER_get0_name(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_get0_name()
[all …]
H A Dprovider_core.c131 OSSL_PROVIDER *prov;
199 DEFINE_STACK_OF(OSSL_PROVIDER) in DEFINE_STACK_OF() argument
402 OSSL_PROVIDER *prov = NULL; in ossl_provider_find()
626 int ossl_provider_add_to_store(OSSL_PROVIDER *prov, OSSL_PROVIDER **actualprov, in ossl_provider_add_to_store()
2007 OSSL_PROVIDER *thisprov = (OSSL_PROVIDER *)handle; in ossl_provider_register_child_cb()
2008 OSSL_PROVIDER *prov; in ossl_provider_register_child_cb()
2083 OSSL_PROVIDER *thisprov = (OSSL_PROVIDER *)handle; in ossl_provider_deregister_child_cb()
2205 OSSL_PROVIDER *prov = (OSSL_PROVIDER *)handle; in core_get_params()
2236 OSSL_PROVIDER *prov = (OSSL_PROVIDER *)handle; in core_get_libctx()
2256 OSSL_PROVIDER *prov = (OSSL_PROVIDER *)handle; in core_thread_start()
[all …]
H A Dcore_algorithm.c19 int (*pre)(OSSL_PROVIDER *, int operation_id, int no_store, void *data,
22 void (*fn)(OSSL_PROVIDER *, const OSSL_ALGORITHM *, int no_store,
25 int (*post)(OSSL_PROVIDER *, int operation_id, int no_store, void *data,
42 static int algorithm_do_map(OSSL_PROVIDER *provider, const OSSL_ALGORITHM *map, in algorithm_do_map()
102 static int algorithm_do_this(OSSL_PROVIDER *provider, void *cbdata) in algorithm_do_this()
138 OSSL_PROVIDER *provider, in ossl_algorithm_do_all()
139 int (*pre)(OSSL_PROVIDER *, int operation_id, in ossl_algorithm_do_all() argument
142 void (*fn)(OSSL_PROVIDER *provider, in ossl_algorithm_do_all()
146 int (*post)(OSSL_PROVIDER *, int operation_id, in ossl_algorithm_do_all() argument
H A Dcore_fetch.c59 static int ossl_method_construct_precondition(OSSL_PROVIDER *provider, in ossl_method_construct_precondition()
86 static int ossl_method_construct_postcondition(OSSL_PROVIDER *provider, in ossl_method_construct_postcondition()
102 static void ossl_method_construct_this(OSSL_PROVIDER *provider, in ossl_method_construct_this()
131 OSSL_PROVIDER **provider_rw, int force_store, in ossl_method_construct()
135 OSSL_PROVIDER *provider = provider_rw != NULL ? *provider_rw : NULL; in ossl_method_construct()
163 method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw, in ossl_method_construct()
168 method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, mcm_data); in ossl_method_construct()
H A Dprovider_conf.c21 DEFINE_STACK_OF(OSSL_PROVIDER)
27 STACK_OF(OSSL_PROVIDER) *activated_providers;
74 static int provider_conf_params_internal(OSSL_PROVIDER *prov, in provider_conf_params_internal()
155 static int provider_conf_params(OSSL_PROVIDER *prov, in provider_conf_params()
175 STACK_OF(OSSL_PROVIDER) *activated) in prov_already_activated()
184 OSSL_PROVIDER *tstprov = sk_OSSL_PROVIDER_value(activated, i); in prov_already_activated()
207 OSSL_PROVIDER *prov = NULL, *actual = NULL; in provider_conf_activate()
H A Dprovider_child.c21 DEFINE_STACK_OF(OSSL_PROVIDER)
97 OSSL_PROVIDER *cprov; in provider_create_child_cb()
162 OSSL_PROVIDER *cprov; in provider_remove_child_cb()
286 int ossl_provider_up_ref_parent(OSSL_PROVIDER *prov, int activate) in ossl_provider_up_ref_parent()
302 int ossl_provider_free_parent(OSSL_PROVIDER *prov, int deactivate) in ossl_provider_free_parent()
/openssl/crypto/evp/
H A Devp_local.h102 OSSL_PROVIDER *prov;
145 OSSL_PROVIDER *prov;
164 OSSL_PROVIDER *prov;
207 OSSL_PROVIDER *prov;
227 OSSL_PROVIDER *prov;
282 OSSL_PROVIDER *prov),
300 OSSL_PROVIDER *prov),
313 EVP_KEYEXCH *evp_keyexch_fetch_from_prov(OSSL_PROVIDER *prov,
316 EVP_KEM *evp_kem_fetch_from_prov(OSSL_PROVIDER *prov,
378 int evp_is_a(OSSL_PROVIDER *prov, int number,
[all …]
H A Devp_fetch.c39 OSSL_PROVIDER *);
160 const OSSL_PROVIDER *prov, in put_evp_method_in_store()
201 OSSL_PROVIDER *prov, void *data) in construct_evp_method()
242 OSSL_PROVIDER *prov, int operation_id, in inner_evp_generic_fetch()
246 OSSL_PROVIDER *prov), in inner_evp_generic_fetch()
369 OSSL_PROVIDER *prov), in evp_generic_fetch()
391 void *evp_generic_fetch_from_prov(OSSL_PROVIDER *prov, int operation_id, in evp_generic_fetch_from_prov()
420 int evp_method_store_remove_all_provided(const OSSL_PROVIDER *prov) in evp_method_store_remove_all_provided()
608 OSSL_PROVIDER *prov), in evp_generic_do_all()
631 int evp_is_a(OSSL_PROVIDER *prov, int number, in evp_is_a()
[all …]
/openssl/test/
H A Dprovider_pkey_test.c28 OSSL_PROVIDER *prov; in fetch_sig()
54 OSSL_PROVIDER *deflt = NULL; in test_pkey_sig()
55 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_sig()
124 OSSL_PROVIDER *deflt = NULL; in test_alternative_keygen_init()
125 OSSL_PROVIDER *fake_rsa = NULL; in test_alternative_keygen_init()
126 const OSSL_PROVIDER *provider; in test_alternative_keygen_init()
183 OSSL_PROVIDER *deflt = NULL; in test_pkey_eq()
184 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_eq()
244 OSSL_PROVIDER *deflt = NULL; in test_pkey_store()
295 OSSL_PROVIDER *deflt = NULL; in test_pkey_delete()
[all …]
H A Dprovider_internal_test.c23 static int test_provider(OSSL_PROVIDER *prov, const char *expected_greeting) in test_provider()
55 OSSL_PROVIDER *prov = NULL; in test_builtin_provider()
79 OSSL_PROVIDER *prov = NULL; in test_loaded_provider()
90 OSSL_PROVIDER *prov = NULL; in test_configured_provider()
105 OSSL_PROVIDER *prov = NULL; in test_cache_flushes()
H A Dfake_rsaprov.h15 OSSL_PROVIDER *fake_rsa_start(OSSL_LIB_CTX *libctx);
16 void fake_rsa_finish(OSSL_PROVIDER *p);
H A Dprovider_test.c38 OSSL_PROVIDER *legacy) in test_provider()
40 OSSL_PROVIDER *prov = NULL; in test_provider()
46 OSSL_PROVIDER *deflt = NULL, *base = NULL; in test_provider()
164 OSSL_PROVIDER *prov = NULL; in test_provider_ex()
241 OSSL_PROVIDER *legacy; in test_builtin_provider_with_child()
H A Devp_fetch_prov_test.c79 static int load_providers(OSSL_LIB_CTX **libctx, OSSL_PROVIDER *prov[]) in load_providers()
109 static void unload_providers(OSSL_LIB_CTX **libctx, OSSL_PROVIDER *prov[]) in unload_providers()
180 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_implicit_EVP_MD_fetch()
194 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_explicit_EVP_MD_fetch()
298 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_implicit_EVP_CIPHER_fetch()
312 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_explicit_EVP_CIPHER_fetch()
/openssl/doc/internal/man3/
H A Dossl_provider_new.pod34 int ossl_provider_up_ref(OSSL_PROVIDER *prov);
35 void ossl_provider_free(OSSL_PROVIDER *prov);
43 int ossl_provider_set_child(OSSL_PROVIDER *prov,
57 int ossl_provider_add_to_store(OSSL_PROVIDER *prov, OSSL_PROVIDER **actualprov,
61 void *ossl_provider_ctx(const OSSL_PROVIDER *prov);
72 const char *ossl_provider_name(OSSL_PROVIDER *prov);
73 const DSO *ossl_provider_dso(OSSL_PROVIDER *prov);
74 const char *ossl_provider_module_name(OSSL_PROVIDER *prov);
75 const char *ossl_provider_module_path(OSSL_PROVIDER *prov);
79 void ossl_provider_teardown(const OSSL_PROVIDER *prov);
[all …]
/openssl/doc/man3/
H A DOSSL_PROVIDER.pod7 OSSL_PROVIDER, OSSL_PROVIDER_load, OSSL_PROVIDER_try_load, OSSL_PROVIDER_unload,
21 typedef struct ossl_provider_st OSSL_PROVIDER;
28 OSSL_PROVIDER *OSSL_PROVIDER_load_ex(OSSL_LIB_CTX *, const char *name,
35 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov);
47 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov,
50 void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov);
56 const char *OSSL_PROVIDER_get0_name(const OSSL_PROVIDER *prov);
58 int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov,
62 int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov);
66 B<OSSL_PROVIDER> is a type that holds internal information about
[all …]
/openssl/apps/lib/
H A Dapp_provider.c19 DEFINE_STACK_OF(OSSL_PROVIDER)
26 static STACK_OF(OSSL_PROVIDER) *app_providers = NULL;
28 static void provider_free(OSSL_PROVIDER *prov) in provider_free()
35 OSSL_PROVIDER *prov; in app_provider_load()
/openssl/providers/
H A Dnullprov.c30 static const OSSL_PARAM *null_gettable_params(const OSSL_PROVIDER *prov) in null_gettable_params()
35 static int null_get_params(const OSSL_PROVIDER *provctx, OSSL_PARAM params[]) in null_get_params()
54 static const OSSL_ALGORITHM *null_query(OSSL_PROVIDER *prov, in null_query()
/openssl/crypto/store/
H A Dstore_meth.c46 static OSSL_STORE_LOADER *new_loader(OSSL_PROVIDER *prov) in new_loader()
133 static void *get_loader_from_store(void *store, const OSSL_PROVIDER **prov, in get_loader_from_store()
156 const OSSL_PROVIDER *prov, in put_loader_in_store()
176 OSSL_PROVIDER *prov) in loader_from_algorithm()
251 OSSL_PROVIDER *prov, void *data) in construct_loader()
322 OSSL_PROVIDER *prov = NULL; in inner_loader_fetch()
394 int ossl_store_loader_store_remove_all_provided(const OSSL_PROVIDER *prov) in ossl_store_loader_store_remove_all_provided()
408 const OSSL_PROVIDER *OSSL_STORE_LOADER_get0_provider(const OSSL_STORE_LOADER *loader) in OSSL_STORE_LOADER_get0_provider()
/openssl/test/testutil/
H A Dprovider.c16 int test_get_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_get_libctx()
18 OSSL_PROVIDER **provider, const char *module_name) in test_get_libctx()
53 int test_arg_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, in test_arg_libctx()
54 OSSL_PROVIDER **provider, int argn, const char *usage) in test_arg_libctx()
80 OSSL_PROVIDER *fips_prov; in fips_provider_version()
/openssl/crypto/encode_decode/
H A Dencoder_pkey.c80 const OSSL_PROVIDER *keymgmt_prov;
90 const OSSL_PROVIDER *prov; in collect_encoder()
188 const OSSL_PROVIDER *k_prov = EVP_KEYMGMT_get0_provider(pk->keymgmt); in encoder_construct_pkey()
189 const OSSL_PROVIDER *e_prov = OSSL_ENCODER_get0_provider(encoder); in encoder_construct_pkey()
235 const OSSL_PROVIDER *prov = NULL; in ossl_encoder_ctx_setup_for_pkey()
370 const OSSL_PROVIDER *prov = EVP_KEYMGMT_get0_provider(pkey->keymgmt); in OSSL_ENCODER_CTX_new_for_pkey()
/openssl/include/crypto/
H A Ddecoder.h23 OSSL_PROVIDER *prov);
34 int ossl_decoder_store_remove_all_provided(const OSSL_PROVIDER *prov);

Completed in 67 milliseconds

123456789