/openssl/Configurations/ |
H A D | 10-main.conf | 298 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 D | 50-cppbuilder.conf | 14 threads("-tM"), 41 ? ($disabled{threads} ? "cw32.lib" : "cw32mt.lib") 42 : ($disabled{threads} ? "cw32i.lib" : "cw32mti.lib")));
|
H A D | 50-haiku.conf | 9 threads("-D_REENTRANT")),
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evpkdf_argon2.txt | 86 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 D | argon2.c | 83 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 D | thread-api.md | 4 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 D | EVP_KDF-ARGON2.pod | 58 =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 D | openssl-threads.pod | 5 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 D | ossl-guide-libraries-introduction.pod | 114 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 D | context.c | 46 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 D | argon2.c | 171 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 D | NOTES-NONSTOP.md | 228 --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 D | NOTES-DJGPP.md | 29 ./Configure no-threads --prefix=/dev/env/DJDIR DJGPP
|
/openssl/doc/man3/ |
H A D | OSSL_QUIC_client_method.pod | 21 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 D | OPENSSL_init_crypto.pod | 223 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 D | CRYPTO_THREAD_run_once.pod | 151 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 D | RAND_get0_primary.pod | 61 at initialization time, before creating additional threads. 72 use the same random number generator across all threads, each thread
|
H A D | X509_STORE_new.pod | 26 X509_STORE_lock() locks the store from modification by other threads,
|
H A D | EVP_PKEY_CTX_new.pod | 66 threads: that is it is not permissible to use the same context simultaneously 67 in two threads.
|
/openssl/doc/designs/quic-design/ |
H A D | error-handling.md | 14 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 D | quic-io-arch.md | 107 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/doc/designs/ddd/ |
H A D | Makefile | 14 ddd-02-conn-nonblocking-threads \
|
/openssl/test/ |
H A D | quic_multistream_test.c | 73 struct child_thread_args *threads; member 493 if (threads[i].t != NULL) { in join_threads() 496 if (!threads[i].testresult) in join_threads() 501 threads[i].t = NULL; in join_threads() 504 ossl_crypto_mutex_free(&threads[i].m); in join_threads() 610 join_threads(h->threads, h->num_threads); in helper_cleanup() 612 OPENSSL_free(h->threads); in helper_cleanup() 613 h->threads = NULL; in helper_cleanup() 1166 done = h->threads[i].done; in run_script_worker() 1873 if (!TEST_ptr(h->threads)) in run_script_worker() [all …]
|
/openssl/.github/workflows/ |
H A D | run-checker-ci.yml | 35 no-threads,
|
/openssl/doc/internal/man3/ |
H A D | ossl_rcu_lock_new.pod | 65 indicates the number of write side threads which may execute 248 L<crypto(7)>, L<openssl-threads(7)>.
|