Home
last modified time | relevance | path

Searched refs:CRYPTO_THREAD_read_lock (Results 1 – 24 of 24) sorted by relevance

/third_party/openssl/crypto/
Dcontext.c54 return CRYPTO_THREAD_read_lock(ossl_lib_ctx_get_concrete(ctx)->lock); in ossl_lib_ctx_read_lock()
362 if (!CRYPTO_THREAD_read_lock(ctx->lock)) in ossl_lib_ctx_get_data()
368 if (!CRYPTO_THREAD_read_lock(ctx->index_locks[index])) in ossl_lib_ctx_get_data()
370 if (!CRYPTO_THREAD_read_lock(ctx->lock)) { in ossl_lib_ctx_get_data()
415 if (!CRYPTO_THREAD_read_lock(ctx->lock)) in ossl_lib_ctx_get_data()
443 if (!CRYPTO_THREAD_read_lock(ctx->oncelock)) in ossl_lib_ctx_run_once()
Dprovider_core.c555 if (!CRYPTO_THREAD_read_lock(store->lock)) in ossl_provider_new()
868 || !CRYPTO_THREAD_read_lock(store->default_path_lock)) in provider_init()
1061 if (lock && !CRYPTO_THREAD_read_lock(store->lock)) in provider_deactivate()
1137 if (lock && !CRYPTO_THREAD_read_lock(store->lock)) { in provider_activate()
1179 if (!CRYPTO_THREAD_read_lock(store->lock)) in provider_flush_store_cache()
1211 if (!CRYPTO_THREAD_read_lock(store->lock)) in provider_remove_store_methods()
1290 if (!CRYPTO_THREAD_read_lock(store->lock)) in provider_activate_fallbacks()
1377 if (!CRYPTO_THREAD_read_lock(store->lock)) in ossl_provider_doall_activated()
1480 if (!CRYPTO_THREAD_read_lock(prov->flag_lock)) in OSSL_PROVIDER_available()
1657 if (!CRYPTO_THREAD_read_lock(provider->opbits_lock)) in ossl_provider_test_operation_bit()
[all …]
Dthreads_win.c71 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() function
241 if (lock == NULL || !CRYPTO_THREAD_read_lock(lock)) in CRYPTO_atomic_load()
Dthreads_pthread.c94 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() function
267 if (lock == NULL || !CRYPTO_THREAD_read_lock(lock)) in CRYPTO_atomic_load()
Dcore_namemap.c104 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_empty()
150 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_doall_names()
201 if (!CRYPTO_THREAD_read_lock(namemap->lock)) in ossl_namemap_name2num_n()
Dthreads_none.c34 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock) in CRYPTO_THREAD_read_lock() function
/third_party/openssl/providers/fips/
Dself_test.c253 if (!CRYPTO_THREAD_read_lock(fips_state_lock)) in SELF_TEST_post()
268 if (!CRYPTO_THREAD_read_lock(fips_state_lock)) { in SELF_TEST_post()
399 if (!CRYPTO_THREAD_read_lock(fips_state_lock)) in ossl_prov_is_running()
/third_party/openssl/crypto/property/
Dproperty_string.c145 if (!CRYPTO_THREAD_read_lock(lock)) { in ossl_property_string()
198 if (!CRYPTO_THREAD_read_lock(propdata->lock)) { in ossl_property_str()
Dproperty.c179 return p != NULL ? CRYPTO_THREAD_read_lock(p->lock) : 0; in ossl_property_read_lock()
/third_party/openssl/doc/man3/
DCRYPTO_THREAD_run_once.pod6 CRYPTO_THREAD_lock_new, CRYPTO_THREAD_read_lock, CRYPTO_THREAD_write_lock,
18 int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
59 CRYPTO_THREAD_read_lock() locks the provided I<lock> for reading.
/third_party/openssl/ssl/
Dssl_sess.c103 if (!CRYPTO_THREAD_read_lock(ssl->lock)) in SSL_get1_session()
380 if (!CRYPTO_THREAD_read_lock(s->lock)) in ssl_generate_session_id()
382 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) { in ssl_generate_session_id()
496 if (!CRYPTO_THREAD_read_lock(s->session_ctx->lock)) in lookup_sess_in_cache()
Dssl_lib.c937 if (!CRYPTO_THREAD_read_lock(ssl->session_ctx->lock)) in SSL_has_matching_session_id()
/third_party/openssl/crypto/objects/
Do_names.c162 if (!CRYPTO_THREAD_read_lock(obj_lock)) in OBJ_NAME_get()
/third_party/openssl/crypto/x509/
Dby_dir.c280 if (!CRYPTO_THREAD_read_lock(ctx->lock)) in get_cert_by_subject_ex()
/third_party/openssl/ohos_lite/include/openssl/
Dcrypto.h70 int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
/third_party/openssl/crypto/evp/
Dkeymgmt_lib.c121 if (!CRYPTO_THREAD_read_lock(pk->lock)) in evp_keymgmt_util_export_to_provider()
Dp_lib.c1886 if (!CRYPTO_THREAD_read_lock(pk->lock)) in evp_pkey_export_to_provider()
2097 if (!CRYPTO_THREAD_read_lock(pk->lock)) in evp_pkey_get_legacy()
/third_party/openssl/test/
Dthreadstest.c42 res = TEST_true(CRYPTO_THREAD_read_lock(lock)) in test_lock()
/third_party/openssl/crypto/bn/
Dbn_mont.c433 if (!CRYPTO_THREAD_read_lock(lock)) in BN_MONT_CTX_set_locked()
/third_party/openssl/crypto/conf/
Dconf_mod.c383 if (!CRYPTO_THREAD_read_lock(module_list_lock)) in module_find()
/third_party/openssl/crypto/err/
Derr.c193 if (!CRYPTO_THREAD_read_lock(err_string_lock)) in int_err_get_item()
/third_party/openssl/crypto/rand/
Drand_lib.c620 if (!CRYPTO_THREAD_read_lock(dgbl->lock)) in RAND_get0_primary()
/third_party/openssl/include/openssl/
Dcrypto.h.in83 __owur int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
/third_party/openssl/util/
Dlibcrypto.num949 CRYPTO_THREAD_read_lock 974 3_0_0 EXIST::FUNCTION: