Home
last modified time | relevance | path

Searched refs:OSSL_set_max_threads (Results 1 – 9 of 9) sorted by relevance

/openssl/test/
H A Dthreadpool_test.c115 if (!TEST_int_eq(OSSL_set_max_threads(NULL, 1), 0)) in test_thread_internal()
117 if (!TEST_int_eq(OSSL_set_max_threads(cust_ctx, 1), 0)) in test_thread_internal()
144 if (!TEST_int_eq(OSSL_set_max_threads(cust_ctx, 1), 1)) in test_thread_internal()
153 if (!TEST_int_eq(OSSL_set_max_threads(cust_ctx, 0), 1)) in test_thread_internal()
158 if (!TEST_int_eq(OSSL_set_max_threads(NULL, 1), 1)) in test_thread_internal()
196 if (!TEST_int_eq(OSSL_set_max_threads(NULL, OSSL_NELEM(t)), 1)) in test_thread_internal()
218 if (!TEST_int_eq(OSSL_set_max_threads(NULL, OSSL_NELEM(t) - 1), 1)) in test_thread_internal()
238 if (!TEST_int_eq(OSSL_set_max_threads(NULL, 0), 1)) in test_thread_internal()
H A Devp_test.c4610 OSSL_set_max_threads(libctx, 0); in clear_test()
5008 if (OSSL_set_max_threads(libctx, atoi(pp->value)) == 0) { in parse()
/openssl/crypto/thread/
H A Dapi.c30 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads() function
58 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads) in OSSL_set_max_threads() function
/openssl/include/openssl/
H A Dthread.h24 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/openssl/doc/man3/
H A DCRYPTO_THREAD_run_once.pod10 OSSL_set_max_threads, OSSL_get_max_threads,
38 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
151 OSSL_set_max_threads() sets the maximum number of threads to be used by the
156 default. To enable threading you must call OSSL_set_max_threads() explicitly.
180 OSSL_set_max_threads() returns 1 on success and 0 on failure. Returns failure
/openssl/doc/man7/
H A DEVP_KDF-ARGON2.pod108 #include <openssl/thread.h> /* OSSL_set_max_threads */
128 if (OSSL_set_max_threads(NULL, threads) != 1)
158 OSSL_set_max_threads(NULL, 0);
/openssl/demos/kdf/
H A Dargon2.c110 if (OSSL_set_max_threads(library_context, parallel_cost) != 1) { in main()
/openssl/doc/designs/
H A Dthread-api.md42 int OSSL_set_max_threads(OSSL_LIB_CTX *ctx, uint64_t max_threads);
/openssl/util/
H A Dlibcrypto.num5485 OSSL_set_max_threads 5613 3_2_0 EXIST::FUNCTION:

Completed in 51 milliseconds