Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/doc/man3/
H A 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
108 CRYPTO_THREAD_lock_new() returns the allocated lock, or NULL on error.
148 lock = CRYPTO_THREAD_lock_new();
/freebsd/crypto/openssl/crypto/
H A Dcontext.c77 ctx->lock = CRYPTO_THREAD_lock_new(); in context_init()
81 ctx->oncelock = CRYPTO_THREAD_lock_new(); in context_init()
86 ctx->index_locks[i] = CRYPTO_THREAD_lock_new(); in context_init()
H A Dthreads_none.c20 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
H A 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()
H A Dthreads_win.c40 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
H A Dthreads_pthread.c45 CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) in CRYPTO_THREAD_lock_new() function
H A 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()
H A Dprovider_child.c259 gbl->lock = CRYPTO_THREAD_lock_new(); in ossl_provider_init_as_child()
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dkdf_legacy_kmgmt.c40 kdfdata->lock = CRYPTO_THREAD_lock_new(); in ossl_kdf_data_new()
/freebsd/crypto/openssl/crypto/ec/
H A Decx_key.c47 ret->lock = CRYPTO_THREAD_lock_new(); in ossl_ecx_key_new()
H A Decx_backend.c118 ret->lock = CRYPTO_THREAD_lock_new(); in ossl_ecx_key_dup()
/freebsd/crypto/openssl/crypto/bio/
H A Dossl_core_bio.c28 if (cb == NULL || (cb->ref_lock = CRYPTO_THREAD_lock_new()) == NULL) { in core_bio_new()
H A Dbio_meth.c18 bio_type_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/freebsd/crypto/openssl/crypto/rand/
H A 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()
459 dgbl->lock = CRYPTO_THREAD_lock_new(); in rand_ossl_ctx_new()
/freebsd/crypto/openssl/test/
H A Dthreadstest.c39 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_lock()
147 CRYPTO_RWLOCK *lock = CRYPTO_THREAD_lock_new(); in test_atomic()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Dcrngt.c76 if ((crngt_glob->lock = CRYPTO_THREAD_lock_new()) == NULL) { in rand_crng_ossl_ctx_new()
/freebsd/crypto/openssl/crypto/evp/
H A Dkdf_meth.c51 || (kdf->lock = CRYPTO_THREAD_lock_new()) == NULL) { in evp_kdf_new()
H A Dmac_meth.c50 || (mac->lock = CRYPTO_THREAD_lock_new()) == NULL) { in evp_mac_new()
H A 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()
/freebsd/crypto/openssl/crypto/property/
H A Dproperty_string.c92 propdata->lock = CRYPTO_THREAD_lock_new(); in property_string_data_new()
H A Dproperty.c258 || (res->lock = CRYPTO_THREAD_lock_new()) == NULL in ossl_method_store_new()
259 || (res->biglock = CRYPTO_THREAD_lock_new()) == NULL) { in ossl_method_store_new()
/freebsd/crypto/openssl/crypto/store/
H A Dstore_register.c23 registry_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()
/freebsd/crypto/openssl/crypto/engine/
H A Deng_lib.c23 global_engine_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE()
/freebsd/crypto/openssl/crypto/asn1/
H A Dtasn_utl.c87 *lock = CRYPTO_THREAD_lock_new(); in ossl_asn1_do_lock()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test.c61 self_test_lock = CRYPTO_THREAD_lock_new(); in DEFINE_RUN_ONCE_STATIC()

123