Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 25 of 26) sorted by relevance

12

/openssl/crypto/store/
H A Dstore_meth.c23 if (loader->prov != NULL) in OSSL_STORE_LOADER_up_ref()
30 if (loader != NULL && loader->prov != NULL) { in OSSL_STORE_LOADER_free()
39 OPENSSL_free(loader); in OSSL_STORE_LOADER_free()
50 if ((loader = OPENSSL_zalloc(sizeof(*loader))) == NULL in new_loader()
52 OPENSSL_free(loader); in new_loader()
55 loader->prov = prov; in new_loader()
58 return loader; in new_loader()
233 if ((loader->p_open == NULL && loader->p_attach == NULL) in loader_from_algorithm()
242 return loader; in loader_from_algorithm()
415 return loader->prov; in OSSL_STORE_LOADER_get0_provider()
[all …]
H A Dstore_register.c56 return loader->engine; in OSSL_STORE_LOADER_get0_engine()
61 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme()
67 loader->open = open_function; in OSSL_STORE_LOADER_set_open()
72 (OSSL_STORE_LOADER *loader, in OSSL_STORE_LOADER_set_open_ex() argument
89 loader->ctrl = ctrl_function; in OSSL_STORE_LOADER_set_ctrl()
103 loader->find = find_function; in OSSL_STORE_LOADER_set_find()
117 loader->eof = eof_function; in OSSL_STORE_LOADER_set_eof()
185 if (loader->open == NULL || loader->load == NULL || loader->eof == NULL in ossl_store_register_loader_int()
186 || loader->error == NULL || loader->closefn == NULL) { in ossl_store_register_loader_int()
242 return loader; in ossl_store_get0_loader_int()
[all …]
H A Dstore_lib.c130 loader_ctx = loader->open_ex(loader, uri, libctx, propq, in OSSL_STORE_open_ex()
133 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open_ex()
138 if (loader == NULL in OSSL_STORE_open_ex()
164 loader = fetched_loader; in OSSL_STORE_open_ex()
195 ctx->loader = loader; in OSSL_STORE_open_ex()
220 tmpctx.loader = loader; in OSSL_STORE_open_ex()
428 if (ctx->loader != NULL) in OSSL_STORE_load()
1035 loader_ctx = loader->attach(loader, bp, libctx, propq, in OSSL_STORE_attach()
1038 if (loader == NULL in OSSL_STORE_attach()
1057 loader = fetched_loader; in OSSL_STORE_attach()
[all …]
H A Dstore_local.h78 int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader);
134 const OSSL_STORE_LOADER *loader; /* legacy */ member
/openssl/include/openssl/
H A Dstore.h267 int OSSL_STORE_LOADER_up_ref(OSSL_STORE_LOADER *loader);
268 void OSSL_STORE_LOADER_free(OSSL_STORE_LOADER *loader);
270 loader);
296 (const OSSL_STORE_LOADER *loader, const char *uri,
299 (const OSSL_STORE_LOADER *loader,
304 (const OSSL_STORE_LOADER *loader, BIO *bio,
324 int OSSL_STORE_LOADER_set_open(OSSL_STORE_LOADER *loader,
333 int OSSL_STORE_LOADER_set_ctrl(OSSL_STORE_LOADER *loader,
339 int OSSL_STORE_LOADER_set_find(OSSL_STORE_LOADER *loader,
342 int OSSL_STORE_LOADER_set_load(OSSL_STORE_LOADER *loader,
[all …]
/openssl/apps/lib/
H A Dengine_loader.c168 OSSL_STORE_LOADER *loader = NULL; in setup_engine_loader() local
171 || !OSSL_STORE_LOADER_set_open(loader, engine_open) in setup_engine_loader()
173 || !OSSL_STORE_LOADER_set_load(loader, engine_load) in setup_engine_loader()
174 || !OSSL_STORE_LOADER_set_eof(loader, engine_eof) in setup_engine_loader()
175 || !OSSL_STORE_LOADER_set_error(loader, engine_error) in setup_engine_loader()
176 || !OSSL_STORE_LOADER_set_close(loader, engine_close) in setup_engine_loader()
177 || !OSSL_STORE_register_loader(loader)) { in setup_engine_loader()
178 OSSL_STORE_LOADER_free(loader); in setup_engine_loader()
179 loader = NULL; in setup_engine_loader()
182 return loader != NULL; in setup_engine_loader()
[all …]
/openssl/doc/man3/
H A DOSSL_STORE_LOADER.pod39 int OSSL_STORE_LOADER_up_ref(OSSL_STORE_LOADER *loader);
40 void OSSL_STORE_LOADER_free(OSSL_STORE_LOADER *loader);
42 loader);
78 (const OSSL_STORE_LOADER *loader, BIO *bio,
124 I<loader>.
127 I<loader>, and when the count reaches zero, frees it.
131 I<loader>.
134 with the given I<loader>.
141 I<loader> implementation.
149 I<loader>, and calls I<fn> with each name and I<data>.
[all …]
H A DOSSL_STORE_open.pod89 The available loader specific command numbers and arguments they each
90 take depends on the loader that's used and is documented together with
91 that loader.
99 Controls if the loader should attempt to use secure memory for any
139 For example, the B<file:> scheme loader inherits the assumptions made by
H A DX509_LOOKUP_hash_dir.pod122 certificates and CRLs through any loader supported by
129 because of the 'file:' scheme loader.
131 loader, and therefore depends on the loader's capability.
H A DOSSL_STORE_attach.pod21 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
H A DOSSL_ENCODER.pod77 OSSL_ENCODER_get0_description() returns a description of the I<loader>, meant
79 I<loader> implementation.
H A DOSSL_STORE_SEARCH.pod121 loader has to decide on a default digest and compare fingerprints
163 NULL is a valid value and means that the store loader default will
H A DOSSL_STORE_expect.pod35 OSSL_STORE_supports_search() checks if the loader of the given OSSL_STORE
H A DOSSL_STORE_INFO.pod155 Each loader is responsible for ensuring that it only returns canonical
161 At the discretion of the loader that was used to get these names, an
/openssl/test/
H A Dprovider_pkey_test.c248 OSSL_STORE_LOADER *loader = NULL; in test_pkey_store() local
261 if (!TEST_ptr(loader = OSSL_STORE_LOADER_fetch(libctx, "fake_rsa", in test_pkey_store()
265 OSSL_STORE_LOADER_free(loader); in test_pkey_store()
299 OSSL_STORE_LOADER *loader = NULL; in test_pkey_delete() local
311 if (!TEST_ptr(loader = OSSL_STORE_LOADER_fetch(libctx, "fake_rsa", in test_pkey_delete()
315 OSSL_STORE_LOADER_free(loader); in test_pkey_delete()
381 OSSL_STORE_LOADER *loader = NULL; in test_pkey_store_open_ex() local
393 if (!TEST_ptr(loader = OSSL_STORE_LOADER_fetch(libctx, "fake_rsa", in test_pkey_store_open_ex()
397 OSSL_STORE_LOADER_free(loader); in test_pkey_store_open_ex()
H A Dprovfetchtest.c237 OSSL_STORE_LOADER *loader = NULL; in fetch_test() local
265 loader = OSSL_STORE_LOADER_fetch(libctx, "DUMMY", in fetch_test()
267 if (!TEST_ptr(loader)) in fetch_test()
285 OSSL_STORE_LOADER_free(loader); in fetch_test()
/openssl/doc/man7/
H A Dossl_store-file.pod13 ossl_store-file - The store 'file' scheme loader
48 When needed, the 'file' scheme loader will require a pass phrase by
52 The files made accessible through this loader are expected to be
H A Dossl_store.pod30 Support for a URI scheme is called a STORE "loader", and can be added
H A Dpassphrase-encoding.pod87 loader.
/openssl/include/crypto/
H A Dstore.h19 int ossl_store_loader_get_number(const OSSL_STORE_LOADER *loader);
/openssl/doc/internal/man3/
H A Devp_md_get_number.pod27 int ossl_store_loader_get_number(const OSSL_STORE_LOADER *loader);
90 Returns the internal dynamic number assigned to the given I<loader>.
/openssl/apps/
H A Dengine.c284 static void util_store_cap(const OSSL_STORE_LOADER *loader, void *arg) in util_store_cap() argument
288 if (OSSL_STORE_LOADER_get0_engine(loader) == ctx->engine) { in util_store_cap()
291 OSSL_STORE_LOADER_get0_scheme(loader)); in util_store_cap()
/openssl/engines/
H A De_loader_attic.c944 (const OSSL_STORE_LOADER *loader, const char *uri, in file_open_ex() argument
1061 (const OSSL_STORE_LOADER *loader, const char *uri, in file_open() argument
1064 return file_open_ex(loader, uri, NULL, NULL, ui_method, ui_data); in file_open()
1068 (const OSSL_STORE_LOADER *loader, BIO *bp, in file_attach() argument
1698 OSSL_STORE_LOADER *loader = OSSL_STORE_unregister_loader("file"); in loader_attic_destroy() local
1700 if (loader == NULL) in loader_attic_destroy()
1704 OSSL_STORE_LOADER_free(loader); in loader_attic_destroy()
/openssl/doc/man1/
H A Dopenssl.pod660 necessary. For a PKCS#11 implementation that has implemented such a loader,
/openssl/crypto/err/
H A Dopenssl.txt904 OSSL_STORE_R_LOADER_INCOMPLETE:116:loader incomplete

Completed in 51 milliseconds

12