/freebsd/crypto/openssl/include/internal/ |
H A 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, 36 int ossl_provider_up_ref(OSSL_PROVIDER *prov); 37 void ossl_provider_free(OSSL_PROVIDER *prov); 40 int ossl_provider_set_fallback(OSSL_PROVIDER *prov); 41 int ossl_provider_set_module_path(OSSL_PROVIDER *prov, const char *module_path); 42 int ossl_provider_add_parameter(OSSL_PROVIDER *prov, const char *name, 45 int ossl_provider_is_child(const OSSL_PROVIDER *prov); 46 int ossl_provider_set_child(OSSL_PROVIDER *prov, const OSSL_CORE_HANDLE *handle); 47 const OSSL_CORE_HANDLE *ossl_provider_get_parent(OSSL_PROVIDER *prov); [all …]
|
H A D | core.h | 38 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 D | property.h | 59 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,
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | provider.h | 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, 27 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov); 30 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 33 const OSSL_PARAM *OSSL_PROVIDER_gettable_params(const OSSL_PROVIDER *prov); 34 int OSSL_PROVIDER_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[]); 35 int OSSL_PROVIDER_self_test(const OSSL_PROVIDER *prov); 36 int OSSL_PROVIDER_get_capabilities(const OSSL_PROVIDER *prov, 41 const OSSL_ALGORITHM *OSSL_PROVIDER_query_operation(const OSSL_PROVIDER *prov, 44 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | provider.c | 18 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *libctx, const char *name, in OSSL_PROVIDER_try_load() 21 OSSL_PROVIDER *prov = NULL, *actual; in OSSL_PROVIDER_try_load() 52 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *libctx, const char *name) in OSSL_PROVIDER_load() 60 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov) in OSSL_PROVIDER_unload() 68 const OSSL_PARAM *OSSL_PROVIDER_gettable_params(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_gettable_params() 73 int OSSL_PROVIDER_get_params(const OSSL_PROVIDER *prov, OSSL_PARAM params[]) in OSSL_PROVIDER_get_params() 78 const OSSL_ALGORITHM *OSSL_PROVIDER_query_operation(const OSSL_PROVIDER *prov, in OSSL_PROVIDER_query_operation() 85 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, in OSSL_PROVIDER_unquery_operation() 92 void *OSSL_PROVIDER_get0_provider_ctx(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_get0_provider_ctx() 97 const OSSL_DISPATCH *OSSL_PROVIDER_get0_dispatch(const OSSL_PROVIDER *prov) in OSSL_PROVIDER_get0_dispatch() [all …]
|
H A D | provider_core.c | 39 * OSSL_PROVIDER (provider_st): Used to represent all information related to a 119 static OSSL_PROVIDER *provider_new(const char *name, 130 OSSL_PROVIDER *prov; 199 DEFINE_STACK_OF(OSSL_PROVIDER) in DEFINE_STACK_OF() argument 201 static int ossl_provider_cmp(const OSSL_PROVIDER * const *a, in DEFINE_STACK_OF() 202 const OSSL_PROVIDER * const *b) in DEFINE_STACK_OF() 217 STACK_OF(OSSL_PROVIDER) *providers; 235 static void provider_deactivate_free(OSSL_PROVIDER *prov) in provider_deactivate_free() 410 OSSL_PROVIDER *ossl_provider_find(OSSL_LIB_CTX *libctx, const char *name, in ossl_provider_find() 414 OSSL_PROVIDER *pro in ossl_provider_find() [all...] |
H A D | core_algorithm.c | 19 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 D | core_fetch.c | 59 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() 132 OSSL_PROVIDER **provider_rw, int force_store, in ossl_method_construct() 136 OSSL_PROVIDER *provider = provider_rw != NULL ? *provider_rw : NULL; in ossl_method_construct() 164 method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw, in ossl_method_construct() 169 method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, mcm_data); in ossl_method_construct()
|
H A D | provider_conf.c | 20 DEFINE_STACK_OF(OSSL_PROVIDER) 26 STACK_OF(OSSL_PROVIDER) *activated_providers; 80 static int provider_conf_params_internal(OSSL_PROVIDER *prov, in provider_conf_params_internal() 161 static int provider_conf_params(OSSL_PROVIDER *prov, in provider_conf_params() 181 STACK_OF(OSSL_PROVIDER) *activated) in prov_already_activated() 190 OSSL_PROVIDER *tstprov = sk_OSSL_PROVIDER_value(activated, i); in prov_already_activated() 206 OSSL_PROVIDER *prov = NULL, *actual = NULL; in provider_conf_load()
|
H A D | provider_child.c | 20 DEFINE_STACK_OF(OSSL_PROVIDER) 103 OSSL_PROVIDER *cprov; in provider_create_child_cb() 169 OSSL_PROVIDER *cprov; in provider_remove_child_cb() 296 int ossl_provider_up_ref_parent(OSSL_PROVIDER *prov, int activate) in ossl_provider_up_ref_parent() 313 int ossl_provider_free_parent(OSSL_PROVIDER *prov, int deactivate) in ossl_provider_free_parent()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | evp_local.h | 100 OSSL_PROVIDER *prov; 140 OSSL_PROVIDER *prov; 160 OSSL_PROVIDER *prov; 195 OSSL_PROVIDER *prov; 216 OSSL_PROVIDER *prov; 270 OSSL_PROVIDER *prov), 277 OSSL_PROVIDER *prov), 280 void *evp_generic_fetch_from_prov(OSSL_PROVIDER *prov, int operation_id, 284 OSSL_PROVIDER *prov), 295 OSSL_PROVIDER *prov), [all …]
|
H A D | evp_fetch.c | 57 OSSL_PROVIDER *); 140 static void *get_evp_method_from_store(void *store, const OSSL_PROVIDER **prov, in get_evp_method_from_store() 179 const OSSL_PROVIDER *prov, in put_evp_method_in_store() 220 OSSL_PROVIDER *prov, void *data) in construct_evp_method() 261 OSSL_PROVIDER *prov, int operation_id, in inner_evp_generic_fetch() 266 OSSL_PROVIDER *prov), in inner_evp_generic_fetch() 400 OSSL_PROVIDER *prov), in evp_generic_fetch() 427 OSSL_PROVIDER *prov), in evp_generic_fetch_by_number() 449 void *evp_generic_fetch_from_prov(OSSL_PROVIDER *prov, int operation_id, in evp_generic_fetch_from_prov() 453 OSSL_PROVIDER *prov), in evp_generic_fetch_from_prov() [all …]
|
H A D | exchange.c | 21 static EVP_KEYEXCH *evp_keyexch_new(OSSL_PROVIDER *prov) in evp_keyexch_new() 45 OSSL_PROVIDER *prov) in evp_keyexch_from_algorithm() 170 OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange) in EVP_KEYEXCH_get0_provider() 184 EVP_KEYEXCH *evp_keyexch_fetch_from_prov(OSSL_PROVIDER *prov, in evp_keyexch_fetch_from_prov() 206 const OSSL_PROVIDER *tmp_prov = NULL; in EVP_PKEY_derive_init_ex() 297 evp_keyexch_fetch_from_prov((OSSL_PROVIDER *)tmp_prov, in EVP_PKEY_derive_init_ex() 316 evp_keymgmt_fetch_from_prov((OSSL_PROVIDER *)tmp_prov, in EVP_PKEY_derive_init_ex() 418 evp_keymgmt_fetch_from_prov((OSSL_PROVIDER *) in EVP_PKEY_derive_set_peer_ex()
|
/freebsd/kerberos5/lib/libroken/ |
H A D | fbsd_ossl_provider_load.c | 11 static OSSL_PROVIDER *legacy; 12 static OSSL_PROVIDER *deflt; 14 static OSSL_PROVIDER * (*ossl_provider_load)(OSSL_LIB_CTX *, const char*) = NULL; 15 static int (*ossl_provider_unload)(OSSL_PROVIDER *) = NULL; 22 …if (!(ossl_provider_unload = (int (*)(OSSL_PROVIDER*)) dlsym(crypto_lib_handle, "OSSL_PROVIDER_unl… in fbsd_ossl_provider_unload() 57 …if (!(ossl_provider_load = (OSSL_PROVIDER * (*)(OSSL_LIB_CTX*, const char *)) dlsym(crypto_lib_han… in fbsd_ossl_provider_load()
|
/freebsd/crypto/openssl/test/ |
H A D | provider_pkey_test.c | 24 OSSL_PROVIDER *expected_prov) in fetch_sig() 26 OSSL_PROVIDER *prov; in fetch_sig() 52 OSSL_PROVIDER *deflt = NULL; in test_pkey_sig() 53 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_sig() 122 OSSL_PROVIDER *deflt = NULL; in test_alternative_keygen_init() 123 OSSL_PROVIDER *fake_rsa = NULL; in test_alternative_keygen_init() 124 const OSSL_PROVIDER *provider; in test_alternative_keygen_init() 181 OSSL_PROVIDER *deflt = NULL; in test_pkey_eq() 182 OSSL_PROVIDER *fake_rsa = NULL; in test_pkey_eq() 242 OSSL_PROVIDER *deflt = NULL; in test_pkey_store() [all …]
|
H A D | provider_internal_test.c | 23 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 D | evp_fetch_prov_test.c | 79 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() 159 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_implicit_EVP_MD_fetch() 173 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_explicit_EVP_MD_fetch() 277 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_implicit_EVP_CIPHER_fetch() 291 OSSL_PROVIDER *prov[2] = {NULL, NULL}; in test_explicit_EVP_CIPHER_fetch()
|
/freebsd/crypto/openssl/doc/internal/man3/ |
H A D | ossl_provider_new.pod | 29 OSSL_PROVIDER *ossl_provider_find(OSSL_LIB_CTX *libctx, const char *name, 31 OSSL_PROVIDER *ossl_provider_new(OSSL_LIB_CTX *libctx, const char *name, 34 int ossl_provider_up_ref(OSSL_PROVIDER *prov); 35 void ossl_provider_free(OSSL_PROVIDER *prov); 38 int ossl_provider_set_fallback(OSSL_PROVIDER *prov); 39 int ossl_provider_set_module_path(OSSL_PROVIDER *prov, const char *path); 40 int ossl_provider_add_parameter(OSSL_PROVIDER *prov, const char *name, 44 int ossl_provider_set_child(OSSL_PROVIDER *prov, 46 const OSSL_CORE_HANDLE *ossl_provider_get_parent(OSSL_PROVIDER *prov); 47 int ossl_provider_up_ref_parent(OSSL_PROVIDER *pro [all...] |
H A D | evp_generic_fetch.pod | 17 OSSL_PROVIDER *prov, 27 OSSL_PROVIDER *prov, 32 void *evp_generic_fetch_from_prov(OSSL_PROVIDER *prov, int operation_id, 36 OSSL_PROVIDER *prov, 117 OSSL_PROVIDER *prov; 133 OSSL_PROVIDER *prov, 172 OSSL_PROVIDER *prov = foo->prov; 180 OSSL_PROVIDER *prov)
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_PROVIDER.pod | 6 OSSL_PROVIDER, OSSL_PROVIDER_load, OSSL_PROVIDER_try_load, OSSL_PROVIDER_unload, 19 typedef struct ossl_provider_st OSSL_PROVIDER; 24 OSSL_PROVIDER *OSSL_PROVIDER_load(OSSL_LIB_CTX *libctx, const char *name); 25 OSSL_PROVIDER *OSSL_PROVIDER_try_load(OSSL_LIB_CTX *libctx, const char *name, 27 int OSSL_PROVIDER_unload(OSSL_PROVIDER *prov); 30 int (*cb)(OSSL_PROVIDER *provider, void *cbdata), 33 const OSSL_PARAM *OSSL_PROVIDER_gettable_params(OSSL_PROVIDER *prov); 34 int OSSL_PROVIDER_get_params(OSSL_PROVIDER *prov, OSSL_PARAM params[]); 36 const OSSL_ALGORITHM *OSSL_PROVIDER_query_operation(const OSSL_PROVIDER *prov, 39 void OSSL_PROVIDER_unquery_operation(const OSSL_PROVIDER *prov, [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | app_provider.c | 19 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()
|
/freebsd/crypto/openssl/providers/ |
H A D | nullprov.c | 30 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()
|
/freebsd/crypto/openssl/crypto/store/ |
H A D | store_meth.c | 45 static OSSL_STORE_LOADER *new_loader(OSSL_PROVIDER *prov) in new_loader() 153 static void *get_loader_from_store(void *store, const OSSL_PROVIDER **prov, in get_loader_from_store() 176 const OSSL_PROVIDER *prov, in put_loader_in_store() 196 OSSL_PROVIDER *prov) in loader_from_algorithm() 263 OSSL_PROVIDER *prov, void *data) in construct_loader() 345 OSSL_PROVIDER *prov = NULL; in inner_loader_fetch() 431 int ossl_store_loader_store_remove_all_provided(const OSSL_PROVIDER *prov) in ossl_store_loader_store_remove_all_provided() 445 const OSSL_PROVIDER *OSSL_STORE_LOADER_get0_provider(const OSSL_STORE_LOADER *loader) in OSSL_STORE_LOADER_get0_provider()
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | provider.c | 16 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()
|
/freebsd/crypto/openssl/crypto/encode_decode/ |
H A D | encoder_pkey.c | 78 const OSSL_PROVIDER *keymgmt_prov; 101 const OSSL_PROVIDER *prov = OSSL_ENCODER_get0_provider(encoder); in collect_encoder() 185 const OSSL_PROVIDER *k_prov = EVP_KEYMGMT_get0_provider(pk->keymgmt); in encoder_construct_pkey() 186 const OSSL_PROVIDER *e_prov = OSSL_ENCODER_get0_provider(encoder); in encoder_construct_pkey() 232 const OSSL_PROVIDER *prov = NULL; in ossl_encoder_ctx_setup_for_pkey() 347 const OSSL_PROVIDER *prov = EVP_KEYMGMT_get0_provider(pkey->keymgmt); in OSSL_ENCODER_CTX_new_for_pkey()
|