Home
last modified time | relevance | path

Searched refs:threads (Results 1 – 25 of 56) sorted by relevance

123

/openssl/Configurations/
H A D10-main.conf298 lflags => add(threads("-mt")),
352 lflags => add(threads("-mt")),
524 cppflags => threads("-D_REENTRANT"),
686 cflags => threads("-pthread"),
1026 cflags => threads("-pthread"),
1200 cflags => threads("-pthread"),
1276 cflags => threads("-Kthread"),
1285 cflags => threads("-Kthread"),
1426 threads("-pthread")),
1473 threads("-pthread")),
[all …]
H A D50-cppbuilder.conf14 threads("-tM"),
41 ? ($disabled{threads} ? "cw32.lib" : "cw32mt.lib")
42 : ($disabled{threads} ? "cw32i.lib" : "cw32mti.lib")));
H A D50-haiku.conf9 threads("-D_REENTRANT")),
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_argon2.txt86 Ctrl.threads = threads:2
95 Ctrl.threads = threads:2
120 # Expected fail on condition violation: threads > avail threads
123 Ctrl.threads = threads:2
140 # Expected fail on condition violation: threads >= 1
142 Ctrl.lanes = threads:0
145 # Expected fail on condition violation: threads <= 0xFFFFFF
147 Ctrl.lanes = threads:0x1000000
/openssl/demos/kdf/
H A Dargon2.c83 unsigned int threads; in main() local
109 threads = parallel_cost; in main()
114 threads = 1; in main()
116 threads = max_threads; in main()
130 *p++ = OSSL_PARAM_construct_uint(OSSL_KDF_PARAM_THREADS, &threads); in main()
/openssl/doc/designs/
H A Dthread-api.md4 OpenSSL wishes to support the internal use of threads for purposes of
24 In the default model, OpenSSL creates and manages threads up to a maximum
25 number of threads authorized by the application.
32 * Set the maximum number of threads to be used by the thread pool.
35 * threads and existing threads in the thread pool will be torn down.
45 * Get the maximum number of threads currently allowed to be used by the
59 These functions allow the caller to determine if OpenSSL was built with threads
/openssl/doc/man7/
H A DEVP_KDF-ARGON2.pod58 =item "threads" (B<OSSL_KDF_PARAM_THREADS>) <unsigned integer>
60 The number of threads, bounded above by the number of lanes.
77 more lanes than the number of available computational threads. This is
103 using 2 lanes, 2 threads, and memory cost of 65536:
120 uint32_t lanes = 2, threads = 2, memcost = 65536;
127 /* required if threads > 1 */
128 if (OSSL_set_max_threads(NULL, threads) != 1)
132 *p++ = OSSL_PARAM_construct_uint32(OSSL_KDF_PARAM_THREADS, &threads);
H A Dopenssl-threads.pod5 openssl-threads - Overview of thread safety in OpenSSL
10 object or function can be used by multiple threads at the same time.
12 OpenSSL can be built with or without threads support. The most important
17 In particular, being configured for threads support does not imply that
69 For example, two threads can calculate a signature using two different
90 local system threads documentation.
H A Dossl-guide-libraries-introduction.pod114 As long as OpenSSL has been built with support for threads (the default case
116 that it is safe to call the same function from multiple threads at the same
127 multiple threads.
129 See L<openssl-threads(7)> for a more detailed discussion on OpenSSL threading
317 L<openssl(1)>, L<ssl(7)>, L<evp(7)>, L<OSSL_LIB_CTX(3)>, L<openssl-threads(7)>,
/openssl/crypto/
H A Dcontext.c46 void *threads; member
192 ctx->threads = ossl_threads_ctx_new(ctx); in context_init()
193 if (ctx->threads == NULL) in context_init()
338 if (ctx->threads != NULL) { in context_deinit_objs()
339 ossl_threads_ctx_free(ctx->threads); in context_deinit_objs()
340 ctx->threads = NULL; in context_deinit_objs()
606 return ctx->threads; in ossl_lib_ctx_get_data()
/openssl/providers/implementations/kdfs/
H A Dargon2.c171 uint32_t threads; member
577 if (l >= ctx->threads) { in fill_mem_blocks_mt()
646 return ctx->threads == 1 ? fill_mem_blocks_st(ctx) : 0; in fill_memory_blocks()
923 c->threads = ARGON2_DEFAULT_THREADS; in kdf_argon2_init()
1065 if (ctx->threads > 1) { in kdf_argon2_derive()
1069 ctx->threads); in kdf_argon2_derive()
1079 if (ctx->threads > ctx->lanes) { in kdf_argon2_derive()
1082 ctx->threads, ctx->lanes); in kdf_argon2_derive()
1152 if (threads < ARGON2_MIN_THREADS) { in kdf_argon2_ctx_set_threads()
1158 if (threads > ARGON2_MAX_THREADS) { in kdf_argon2_ctx_set_threads()
[all …]
/openssl/
H A DNOTES-NONSTOP.md228 --openssldir=${PWD}/ssl no-threads \
231 --openssldir=${PWD}/ssl threads "-D_REENTRANT" \
234 --openssldir=${PWD}/ssl no-threads \
237 --openssldir=${PWD}/ssl threads "-D_REENTRANT" \
241 --openssldir=${PWD}/ssl no-threads \
244 --openssldir=${PWD}/ssl no-threads \
247 --openssldir=${PWD}/ssl threads "-D_REENTRANT" \
250 --openssldir=${PWD}/ssl no-threads \
253 --openssldir=${PWD}/ssl threads "-D_REENTRANT"
H A DNOTES-DJGPP.md29 ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
/openssl/doc/man3/
H A DOSSL_QUIC_client_method.pod21 The OSSL_QUIC_client_thread_method() uses threads to allow for a blocking
24 The OSSL_QUIC_client_method() does not use threads and depends on
H A DOPENSSL_init_crypto.pod223 automatically for the current thread (but not any other threads that may have
226 OPENSSL_thread_stop_ex should be called on all threads that will exit after the
259 the libcrypto32.dll entry point. Some windows functions may cause threads to exit
266 threads are not destroyed until after FreeLibrary() is called then each thread
270 multi-threaded and if dlclose() is subsequently called prior to the threads
272 with those threads. The application should either call OPENSSL_thread_stop() on
H A DCRYPTO_THREAD_run_once.pod151 OSSL_set_max_threads() sets the maximum number of threads to be used by the
153 not create any threads and existing threads in the thread pool will be torn
185 OSSL_get_max_threads() returns the maximum number of threads currently allowed
266 L<crypto(7)>, L<openssl-threads(7)>.
H A DRAND_get0_primary.pod61 at initialization time, before creating additional threads.
72 use the same random number generator across all threads, each thread
H A DX509_STORE_new.pod26 X509_STORE_lock() locks the store from modification by other threads,
H A DEVP_PKEY_CTX_new.pod66 threads: that is it is not permissible to use the same context simultaneously
67 in two threads.
/openssl/doc/designs/quic-design/
H A Derror-handling.md14 The error stacks are thread-local. Libssl API calls from separate threads
16 APIs with the same SSL object from different threads, but even if it happens,
32 Error stack entries contain allocated data, copying entries between threads
99 copied from the QUIC_CHANNEL after the failure. So if multiple threads
H A Dquic-io-arch.md107 due to the possibility of other threads racing between the call to select(3)
126 ### Blocking sockets and threads
129 parallel threads. Under this model, there would be three threads:
137 This could potentially be reduced to two threads if it is assumed that
141 would coordinate and synchronise with these background worker threads via
152 - Several threads are spawned which the application is not in control of.
157 At a minimum for a client, there must be two threads per connection. This
159 to be `2n` extra threads spawned.
181 seem to be solvable. If parallel threads are blocked in blocking `BIO_read`
310 - Does not rely on creating threads and can support blocking I/O at the
/openssl/test/
H A Dquic_multistream_test.c73 struct child_thread_args *threads; member
490 if (threads[i].t != NULL) { in join_threads()
493 if (!threads[i].testresult) in join_threads()
498 threads[i].t = NULL; in join_threads()
501 ossl_crypto_mutex_free(&threads[i].m); in join_threads()
607 join_threads(h->threads, h->num_threads); in helper_cleanup()
609 OPENSSL_free(h->threads); in helper_cleanup()
610 h->threads = NULL; in helper_cleanup()
1163 done = h->threads[i].done; in run_script_worker()
1865 if (!TEST_ptr(h->threads)) in run_script_worker()
[all …]
/openssl/doc/designs/ddd/
H A DMakefile14 ddd-02-conn-nonblocking-threads \
/openssl/.github/workflows/
H A Drun-checker-ci.yml35 no-threads,
/openssl/doc/internal/man3/
H A Dossl_rcu_lock_new.pod65 indicates the number of write side threads which may execute
248 L<crypto(7)>, L<openssl-threads(7)>.

Completed in 67 milliseconds

123