Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 170) sorted by relevance

1234567

/openssl/crypto/thread/
H A Darch.c16 CRYPTO_THREAD *handle; in ossl_crypto_thread_native_start() local
21 handle = OPENSSL_zalloc(sizeof(*handle)); in ossl_crypto_thread_native_start()
22 if (handle == NULL) in ossl_crypto_thread_native_start()
32 handle->data = data; in ossl_crypto_thread_native_start()
33 handle->routine = routine; in ossl_crypto_thread_native_start()
34 handle->joinable = joinable; in ossl_crypto_thread_native_start()
37 return handle; in ossl_crypto_thread_native_start()
43 OPENSSL_free(handle); in ossl_crypto_thread_native_start()
110 if (handle == NULL) in ossl_crypto_thread_native_clean()
128 OPENSSL_free(handle->handle); in ossl_crypto_thread_native_clean()
[all …]
H A Dinternal.c75 CRYPTO_THREAD *handle = vhandle; in ossl_crypto_thread_join() local
81 tdata = OSSL_LIB_CTX_GET_THREADS(handle->ctx); in ossl_crypto_thread_join()
85 if (ossl_crypto_thread_native_join(handle, retval) == 0) in ossl_crypto_thread_join()
97 CRYPTO_THREAD *handle = vhandle; in ossl_crypto_thread_clean() local
99 return ossl_crypto_thread_native_clean(handle); in ossl_crypto_thread_clean()
/openssl/crypto/thread/arch/
H A Dthread_posix.c39 pthread_t *handle; in ossl_crypto_thread_native_spawn() local
41 handle = OPENSSL_zalloc(sizeof(*handle)); in ossl_crypto_thread_native_spawn()
42 if (handle == NULL) in ossl_crypto_thread_native_spawn()
48 ret = pthread_create(handle, &attr, thread_start_thunk, thread); in ossl_crypto_thread_native_spawn()
54 thread->handle = handle; in ossl_crypto_thread_native_spawn()
58 thread->handle = NULL; in ossl_crypto_thread_native_spawn()
59 OPENSSL_free(handle); in ossl_crypto_thread_native_spawn()
66 pthread_t *handle; in ossl_crypto_thread_native_perform_join() local
68 if (thread == NULL || thread->handle == NULL) in ossl_crypto_thread_native_perform_join()
71 handle = (pthread_t *) thread->handle; in ossl_crypto_thread_native_perform_join()
[all …]
H A Dthread_win.c37 HANDLE *handle; in ossl_crypto_thread_native_spawn() local
39 handle = OPENSSL_zalloc(sizeof(*handle)); in ossl_crypto_thread_native_spawn()
40 if (handle == NULL) in ossl_crypto_thread_native_spawn()
44 if (*handle == NULL) in ossl_crypto_thread_native_spawn()
47 thread->handle = handle; in ossl_crypto_thread_native_spawn()
51 thread->handle = NULL; in ossl_crypto_thread_native_spawn()
52 OPENSSL_free(handle); in ossl_crypto_thread_native_spawn()
59 HANDLE *handle; in ossl_crypto_thread_native_perform_join() local
61 if (thread == NULL || thread->handle == NULL) in ossl_crypto_thread_native_perform_join()
64 handle = (HANDLE *) thread->handle; in ossl_crypto_thread_native_perform_join()
[all …]
/openssl/providers/common/
H A Dprovider_seeding.c85 const OSSL_CORE_HANDLE *handle = CORE_HANDLE(prov_ctx); in ossl_prov_get_entropy() local
88 return c_get_user_entropy(handle, pout, entropy, min_len, max_len); in ossl_prov_get_entropy()
90 return c_get_entropy(handle, pout, entropy, min_len, max_len); in ossl_prov_get_entropy()
97 const OSSL_CORE_HANDLE *handle = CORE_HANDLE(prov_ctx); in ossl_prov_cleanup_entropy() local
100 c_cleanup_user_entropy(handle, buf, len); in ossl_prov_cleanup_entropy()
102 c_cleanup_entropy(handle, buf, len); in ossl_prov_cleanup_entropy()
109 const OSSL_CORE_HANDLE *handle = CORE_HANDLE(prov_ctx); in ossl_prov_get_nonce() local
114 return c_get_nonce(handle, pout, min_len, max_len, salt, salt_len); in ossl_prov_get_nonce()
120 const OSSL_CORE_HANDLE *handle = CORE_HANDLE(prov_ctx); in ossl_prov_cleanup_nonce() local
123 c_cleanup_user_nonce(handle, buf, len); in ossl_prov_cleanup_nonce()
[all …]
H A Dprovider_ctx.c30 void ossl_prov_ctx_set0_handle(PROV_CTX *ctx, const OSSL_CORE_HANDLE *handle) in ossl_prov_ctx_set0_handle() argument
33 ctx->handle = handle; in ossl_prov_ctx_set0_handle()
53 return ctx->handle; in ossl_prov_ctx_get0_handle()
/openssl/test/
H A Dupcallstest.c49 static int obj_provider_init(const OSSL_CORE_HANDLE *handle, in obj_provider_init() argument
54 *provctx = (void *)handle; in obj_provider_init()
72 if (!c_obj_create(handle, DIGEST_OID, DIGEST_SN, DIGEST_LN) in obj_provider_init()
73 || !c_obj_create(handle, SIG_OID, SIG_SN, SIG_LN) in obj_provider_init()
74 || !c_obj_create(handle, SIGALG_OID, SIGALG_SN, SIGALG_LN)) in obj_provider_init()
77 if (!c_obj_create(handle, NODIG_SIG_OID, NODIG_SIG_SN, NODIG_SIG_LN) in obj_provider_init()
78 || !c_obj_create(handle, NODIG_SIGALG_OID, NODIG_SIGALG_SN, NODIG_SIGALG_LN)) in obj_provider_init()
81 if (!c_obj_add_sigid(handle, SIGALG_OID, DIGEST_SN, SIG_LN)) in obj_provider_init()
85 if (!c_obj_add_sigid(handle, NODIG_SIGALG_OID, "", NODIG_SIG_LN)) in obj_provider_init()
88 if (c_obj_add_sigid(handle, NODIG_SIGALG_OID, "NonsenseAlg", NODIG_SIG_LN)) in obj_provider_init()
H A Dp_test.c42 const OSSL_CORE_HANDLE *handle; member
97 const OSSL_CORE_HANDLE *hand = ctx->handle; in p_get_params()
242 int OSSL_provider_init(const OSSL_CORE_HANDLE *handle, in OSSL_provider_init() argument
291 ctx->handle = handle; in OSSL_provider_init()
294 ctx->libctx = OSSL_LIB_CTX_new_child(handle, oin); in OSSL_provider_init()
H A Duser_property_test.c69 static int testprov_provider_init(const OSSL_CORE_HANDLE *handle, in testprov_provider_init() argument
74 *provctx = (void *)handle; in testprov_provider_init()
/openssl/crypto/
H A Dprovider_child.c24 const OSSL_CORE_HANDLE *handle; member
52 static int ossl_child_provider_init(const OSSL_CORE_HANDLE *handle, in ossl_child_provider_init() argument
80 ctx = (OSSL_LIB_CTX *)c_get_libctx(handle); in ossl_child_provider_init()
192 const OSSL_CORE_HANDLE *handle, in ossl_provider_init_as_child() argument
204 gbl->handle = handle; in ossl_provider_init_as_child()
254 if (!gbl->c_provider_register_child_cb(gbl->handle, in ossl_provider_init_as_child()
271 gbl->c_provider_deregister_child_cb(gbl->handle); in ossl_provider_deinit_child()
297 if (parent_handle == gbl->handle) in ossl_provider_up_ref_parent()
313 if (parent_handle == gbl->handle) in ossl_provider_free_parent()
H A DLPdir_win.c70 HANDLE handle; member
152 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); in LP_find_file()
166 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx); in LP_find_file()
169 if ((*ctx)->handle == INVALID_HANDLE_VALUE) { in LP_find_file()
176 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE) { in LP_find_file()
207 FindClose((*ctx)->handle); in LP_find_file_end()
H A Dprovider_core.c191 const OSSL_CORE_HANDLE *handle; member
1951 return prov->handle; in ossl_provider_get_parent()
1961 prov->handle = handle; in ossl_provider_set_child()
2007 OSSL_PROVIDER *thisprov = (OSSL_PROVIDER *)handle; 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()
2274 static void core_new_error(const OSSL_CORE_HANDLE *handle) in core_new_error() argument
2285 static void core_vset_error(const OSSL_CORE_HANDLE *handle, in core_vset_error() argument
[all …]
/openssl/doc/man7/
H A Dx509.pod25 To handle some complex parts of a certificate, there are the types
34 handle X.509 certificates, with some exceptions, shown below.
37 functions handle X.509 CRLs.
40 functions handle PKCS#10 certificate requests.
42 B<X509_NAME_>I<XXX> functions handle certificate names.
44 B<X509_ATTRIBUTE_>I<XXX> functions handle certificate attributes.
46 B<X509_EXTENSION_>I<XXX> functions handle certificate extensions.
H A Dprovider-base.pod23 int core_thread_start(const OSSL_CORE_HANDLE *handle,
28 void core_new_error(const OSSL_CORE_HANDLE *handle);
31 void core_vset_error(const OSSL_CORE_HANDLE *handle,
76 size_t get_entropy(const OSSL_CORE_HANDLE *handle,
86 size_t get_nonce(const OSSL_CORE_HANDLE *handle,
240 reference to the I<handle>.
353 I<handle> is this provider's handle and I<cbdata> is this provider's data
380 I<handle>.
404 can handle.
817 OSSL_CORE_HANDLE *handle;
[all …]
/openssl/doc/internal/man3/
H A Dossl_rand_get_entropy.pod15 size_t ossl_rand_get_entropy(OSSL_CORE_HANDLE *handle,
18 size_t ossl_rand_get_user_entropy(OSSL_CORE_HANDLE *handle,
21 void ossl_rand_cleanup_entropy(OSSL_CORE_HANDLE *handle,
23 void ossl_rand_cleanup_user_entropy(OSSL_CORE_HANDLE *handle,
25 size_t ossl_rand_get_nonce(OSSL_CORE_HANDLE *handle,
28 size_t ossl_rand_get_user_nonce(OSSL_CORE_HANDLE *handle, unsigned char **pout,
31 void ossl_rand_cleanup_nonce(OSSL_CORE_HANDLE *handle,
33 void ossl_rand_cleanup_user_nonce(OSSL_CORE_HANDLE *handle,
/openssl/providers/fips/
H A Dfips_entry.c13 int OSSL_provider_init(const OSSL_CORE_HANDLE *handle, in OSSL_provider_init() argument
18 return OSSL_provider_init_int(handle, in, out, provctx); in OSSL_provider_init()
H A Dfipsprov.c88 const OSSL_CORE_HANDLE *handle; member
153 if (!c_get_params(fgbl->handle, core_params)) { in fips_get_params_from_core()
211 const OSSL_CORE_HANDLE *handle = in set_self_test_cb() local
215 c_stcbfn(c_get_libctx(handle), &fgbl->selftest_params.cb, in set_self_test_cb()
633 int OSSL_provider_init_int(const OSSL_CORE_HANDLE *handle, in OSSL_provider_init_int() argument
764 fgbl->handle = handle; in OSSL_provider_init_int()
819 ossl_prov_ctx_set0_handle(*provctx, handle); in OSSL_provider_init_int()
838 int ossl_fips_intern_provider_init(const OSSL_CORE_HANDLE *handle, in ossl_fips_intern_provider_init() argument
867 (OSSL_LIB_CTX *)c_internal_get_libctx(handle)); in ossl_fips_intern_provider_init()
868 ossl_prov_ctx_set0_handle(*provctx, handle); in ossl_fips_intern_provider_init()
[all …]
/openssl/providers/common/include/prov/
H A Dprovider_ctx.h19 const OSSL_CORE_HANDLE *handle; member
34 void ossl_prov_ctx_set0_handle(PROV_CTX *ctx, const OSSL_CORE_HANDLE *handle);
/openssl/providers/
H A Dbaseprov.c137 int ossl_base_provider_init(const OSSL_CORE_HANDLE *handle, in ossl_base_provider_init() argument
181 (OSSL_LIB_CTX *)c_get_libctx(handle)); in ossl_base_provider_init()
182 ossl_prov_ctx_set0_handle(*provctx, handle); in ossl_base_provider_init()
H A Dnullprov.c70 int ossl_null_provider_init(const OSSL_CORE_HANDLE *handle, in ossl_null_provider_init() argument
78 *provctx = (void *)handle; in ossl_null_provider_init()
/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm369 handle => $fi_ofh,
415 handle => $fi_ofh,
426 handle => $fi_ofh,
444 if (defined $arg{handle}) {
445 print { $arg{handle} } $arg{text};
/openssl/crypto/dso/
H A Ddso_dlfcn.c442 void *ret = NULL, *handle = dlopen(NULL, RTLD_LAZY); in dlfcn_globallookup() local
444 if (handle) { in dlfcn_globallookup()
445 ret = dlsym(handle, name); in dlfcn_globallookup()
446 dlclose(handle); in dlfcn_globallookup()
/openssl/doc/designs/ddd/
H A Dddd-06-mem-uv.c22 static void net_connect_fail_close_done(uv_handle_t *handle);
29 static void teardown_continued(uv_handle_t *handle);
282 static void net_read_alloc(uv_handle_t *handle, in net_read_alloc() argument
567 static void net_connect_fail_close_done(uv_handle_t *handle) in net_connect_fail_close_done() argument
569 APP_CONN *conn = (APP_CONN *)handle->data; in net_connect_fail_close_done()
649 static void teardown_continued(uv_handle_t *handle) in teardown_continued() argument
651 APP_CONN *conn = (APP_CONN *)handle->data; in teardown_continued()
/openssl/doc/man3/
H A DSSL_set_fd.pod54 On Windows, a socket handle is a 64-bit data type (UINT_PTR), which leads to a
56 passing the socket handle to SSL_set_*fd(). For the time being, this warning can
59 implementation returns an index into the kernel handle table, the size of which
/openssl/include/internal/
H A Dprovider.h45 int ossl_provider_set_child(OSSL_PROVIDER *prov, const OSSL_CORE_HANDLE *handle);
111 const OSSL_CORE_HANDLE *handle,

Completed in 46 milliseconds

1234567