/openssl/crypto/store/ |
H A D | store_meth.c | 23 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 D | store_register.c | 56 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 D | store_lib.c | 130 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 D | store_local.h | 78 int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader); 134 const OSSL_STORE_LOADER *loader; /* legacy */ member
|
/openssl/include/openssl/ |
H A D | store.h | 267 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 D | engine_loader.c | 168 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 D | OSSL_STORE_LOADER.pod | 39 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 D | OSSL_STORE_open.pod | 89 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 D | X509_LOOKUP_hash_dir.pod | 122 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 D | OSSL_STORE_attach.pod | 21 I<bio> instead of a I<uri>, along with a I<scheme> to determine what loader
|
H A D | OSSL_ENCODER.pod | 77 OSSL_ENCODER_get0_description() returns a description of the I<loader>, meant 79 I<loader> implementation.
|
H A D | OSSL_STORE_SEARCH.pod | 121 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 D | OSSL_STORE_expect.pod | 35 OSSL_STORE_supports_search() checks if the loader of the given OSSL_STORE
|
H A D | OSSL_STORE_INFO.pod | 155 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 D | provider_pkey_test.c | 248 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 D | provfetchtest.c | 237 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 D | ossl_store-file.pod | 13 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 D | ossl_store.pod | 30 Support for a URI scheme is called a STORE "loader", and can be added
|
H A D | passphrase-encoding.pod | 87 loader.
|
/openssl/include/crypto/ |
H A D | store.h | 19 int ossl_store_loader_get_number(const OSSL_STORE_LOADER *loader);
|
/openssl/doc/internal/man3/ |
H A D | evp_md_get_number.pod | 27 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 D | engine.c | 284 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 D | e_loader_attic.c | 944 (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 D | openssl.pod | 660 necessary. For a PKCS#11 implementation that has implemented such a loader,
|
/openssl/crypto/err/ |
H A D | openssl.txt | 904 OSSL_STORE_R_LOADER_INCOMPLETE:116:loader incomplete
|