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()
24 CRYPTO_UP_REF(&loader->refcnt, &ref, loader->lock); in OSSL_STORE_LOADER_up_ref()
30 if (loader != NULL && loader->prov != NULL) { in OSSL_STORE_LOADER_free()
33 CRYPTO_DOWN_REF(&loader->refcnt, &i, loader->lock); 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()
55 loader->prov = prov; in new_loader()
57 loader->refcnt = 1; in new_loader()
59 return loader; in new_loader()
226 if ((loader->p_open == NULL && loader->p_attach == NULL) in loader_from_algorithm()
[all …]
H A Dstore_register.c58 return loader->engine; in OSSL_STORE_LOADER_get0_engine()
63 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme()
69 loader->open = open_function; in OSSL_STORE_LOADER_set_open()
74 (OSSL_STORE_LOADER *loader, in OSSL_STORE_LOADER_set_open_ex() argument
91 loader->ctrl = ctrl_function; in OSSL_STORE_LOADER_set_ctrl()
105 loader->find = find_function; in OSSL_STORE_LOADER_set_find()
119 loader->eof = eof_function; in OSSL_STORE_LOADER_set_eof()
187 if (loader->open == NULL || loader->load == NULL || loader->eof == NULL in ossl_store_register_loader_int()
188 || 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.c122 loader_ctx = loader->open_ex(loader, uri, libctx, propq, in OSSL_STORE_open_ex()
125 loader_ctx = loader->open(loader, uri, ui_method, ui_data); in OSSL_STORE_open_ex()
130 if (loader == NULL in OSSL_STORE_open_ex()
148 loader = fetched_loader; in OSSL_STORE_open_ex()
184 ctx->loader = loader; in OSSL_STORE_open_ex()
208 tmpctx.loader = loader; in OSSL_STORE_open_ex()
416 if (ctx->loader != NULL) in OSSL_STORE_load()
988 loader_ctx = loader->attach(loader, bp, libctx, propq, in OSSL_STORE_attach()
991 if (loader == NULL in OSSL_STORE_attach()
1009 loader = fetched_loader; in OSSL_STORE_attach()
[all …]
H A Dstore_local.h78 int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader);
133 const OSSL_STORE_LOADER *loader; /* legacy */ member
/openssl/include/openssl/
H A Dstore.h259 int OSSL_STORE_LOADER_up_ref(OSSL_STORE_LOADER *loader);
260 void OSSL_STORE_LOADER_free(OSSL_STORE_LOADER *loader);
262 loader);
288 (const OSSL_STORE_LOADER *loader, const char *uri,
291 (const OSSL_STORE_LOADER *loader,
296 (const OSSL_STORE_LOADER *loader, BIO *bio,
316 int OSSL_STORE_LOADER_set_open(OSSL_STORE_LOADER *loader,
325 int OSSL_STORE_LOADER_set_ctrl(OSSL_STORE_LOADER *loader,
331 int OSSL_STORE_LOADER_set_find(OSSL_STORE_LOADER *loader,
334 int OSSL_STORE_LOADER_set_load(OSSL_STORE_LOADER *loader,
[all …]
/openssl/apps/lib/
H A Dengine_loader.c167 OSSL_STORE_LOADER *loader = NULL; in setup_engine_loader() local
170 || !OSSL_STORE_LOADER_set_open(loader, engine_open) in setup_engine_loader()
172 || !OSSL_STORE_LOADER_set_load(loader, engine_load) in setup_engine_loader()
173 || !OSSL_STORE_LOADER_set_eof(loader, engine_eof) in setup_engine_loader()
174 || !OSSL_STORE_LOADER_set_error(loader, engine_error) in setup_engine_loader()
175 || !OSSL_STORE_LOADER_set_close(loader, engine_close) in setup_engine_loader()
176 || !OSSL_STORE_register_loader(loader)) { in setup_engine_loader()
177 OSSL_STORE_LOADER_free(loader); in setup_engine_loader()
178 loader = NULL; in setup_engine_loader()
181 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,
125 I<loader>.
128 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.pod86 The available loader specific command numbers and arguments they each
87 take depends on the loader that's used and is documented together with
88 that loader.
96 Controls if the loader should attempt to use secure memory for any
134 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.pod76 OSSL_ENCODER_get0_description() returns a description of the I<loader>, meant
78 I<loader> implementation.
H A DOSSL_STORE_SEARCH.pod120 loader has to decide on a default digest and compare fingerprints
162 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.pod154 Each loader is responsible for ensuring that it only returns canonical
160 At the discretion of the loader that was used to get these names, an
/openssl/test/
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()
H A Dprovider_pkey_test.c185 OSSL_STORE_LOADER *loader = NULL; in test_pkey_store() local
198 if (!TEST_ptr(loader = OSSL_STORE_LOADER_fetch(libctx, "fake_rsa", in test_pkey_store()
202 OSSL_STORE_LOADER_free(loader); in test_pkey_store()
/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
1067 (const OSSL_STORE_LOADER *loader, const char *uri, in file_open() argument
1070 return file_open_ex(loader, uri, NULL, NULL, ui_method, ui_data); in file_open()
1074 (const OSSL_STORE_LOADER *loader, BIO *bp, in file_attach() argument
1709 OSSL_STORE_LOADER *loader = OSSL_STORE_unregister_loader("file"); in loader_attic_destroy() local
1711 if (loader == NULL) in loader_attic_destroy()
1715 OSSL_STORE_LOADER_free(loader); in loader_attic_destroy()
/openssl/doc/man1/
H A Dopenssl.pod636 necessary. For a PKCS#11 implementation that has implemented such a loader,
/openssl/crypto/err/
H A Dopenssl.txt851 OSSL_STORE_R_LOADER_INCOMPLETE:116:loader incomplete

Completed in 65 milliseconds

12