Home
last modified time | relevance | path

Searched refs:CRYPTO_THREAD_lock_new (Results 1 – 25 of 70) sorted by relevance

123

/third_party/openssl/doc/man3/
DCRYPTO_THREAD_run_once.pod6 CRYPTO_THREAD_lock_new, CRYPTO_THREAD_read_lock, CRYPTO_THREAD_write_lock,
17 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
54 CRYPTO_THREAD_lock_new() allocates, initializes and returns a new read/write
107 CRYPTO_THREAD_lock_new() returns the allocated lock, or NULL on error.
147 lock = CRYPTO_THREAD_lock_new();
/third_party/openssl/crypto/
Dcontext.c76 ctx->lock = CRYPTO_THREAD_lock_new(); in context_init()
80 ctx->oncelock = CRYPTO_THREAD_lock_new(); in context_init()
85 ctx->index_locks[i] = CRYPTO_THREAD_lock_new(); in context_init()
Dinit.c64 if ((optsdone_lock = CRYPTO_THREAD_lock_new()) == NULL in DEFINE_RUN_ONCE_STATIC()
65 || (init_lock = CRYPTO_THREAD_lock_new()) == NULL) in DEFINE_RUN_ONCE_STATIC()
Dthreads_none.c20 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
Dthreads_win.c40 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
Dprovider_core.c314 || (store->default_path_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_store_new()
318 || (store->lock = CRYPTO_THREAD_lock_new()) == NULL) { in provider_store_new()
461 || (prov->refcnt_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_new()
471 if ((prov->opbits_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_new()
472 || (prov->flag_lock = CRYPTO_THREAD_lock_new()) == NULL in provider_new()
Dthreads_pthread.c45 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
Dprovider_child.c257 gbl->lock = CRYPTO_THREAD_lock_new(); in ossl_provider_init_as_child()
/third_party/openssl/providers/fips/
Dself_test.c61 self_test_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
62 fips_state_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/third_party/openssl/providers/implementations/keymgmt/
Dkdf_legacy_kmgmt.c40 kdfdata->lock = CRYPTO_THREAD_lock_new(); in ossl_kdf_data_new()
/third_party/openssl/crypto/ec/
Decx_key.c47 ret->lock = CRYPTO_THREAD_lock_new(); in ossl_ecx_key_new()
Decx_backend.c118 ret->lock = CRYPTO_THREAD_lock_new(); in ossl_ecx_key_dup()
/third_party/openssl/crypto/rand/
Drand_lib.c49 rand_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
55 rand_meth_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
452 dgbl->lock = CRYPTO_THREAD_lock_new(); in rand_ossl_ctx_new()
/third_party/openssl/crypto/bio/
Dossl_core_bio.c28 if (cb == NULL || (cb->ref_lock = CRYPTO_THREAD_lock_new()) == NULL) { in core_bio_new()
Dbio_meth.c18 bio_type_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/third_party/openssl/test/
Dthreadstest.c39 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_lock()
147 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_atomic()
/third_party/openssl/providers/implementations/rands/
Dcrngt.c76 if ((crngt_glob->lock = CRYPTO_THREAD_lock_new()) == NULL) { in rand_crng_ossl_ctx_new()
/third_party/openssl/crypto/evp/
Dkdf_meth.c51 || (kdf->lock = CRYPTO_THREAD_lock_new()) == NULL) { in evp_kdf_new()
Dmac_meth.c50 || (mac->lock = CRYPTO_THREAD_lock_new()) == NULL) { in evp_mac_new()
Devp_rand.c83 || (rand->refcnt_lock = CRYPTO_THREAD_lock_new()) == NULL) { in evp_rand_new()
342 if (ctx == NULL || (ctx->refcnt_lock = CRYPTO_THREAD_lock_new()) == NULL) { in EVP_RAND_CTX_new()
/third_party/openssl/crypto/engine/
Deng_lib.c23 global_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE()
/third_party/openssl/crypto/store/
Dstore_register.c23 registry_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/third_party/openssl/crypto/property/
Dproperty_string.c92 propdata->lock = CRYPTO_THREAD_lock_new(); in property_string_data_new()
Dproperty.c256 || (res->lock = CRYPTO_THREAD_lock_new()) == NULL in ossl_method_store_new()
257 || (res->biglock = CRYPTO_THREAD_lock_new()) == NULL) { in ossl_method_store_new()
/third_party/openssl/crypto/asn1/
Dtasn_utl.c87 *lock = CRYPTO_THREAD_lock_new(); in ossl_asn1_do_lock()

123