Home
last modified time | relevance | path

Searched refs:lock (Results 51 – 75 of 83) sorted by relevance

1234

/openssl/doc/designs/quic-design/
H A Dquic-thread-assist.md25 For locking of API calls the lock would only be held for the separate get and
35 calls, would be required to take the lock. As a special exemption, an
36 application is not required to take the lock prior to connection
H A Derror-handling.md29 The error stack access is not under a lock (because it is thread-local).
/openssl/crypto/dsa/
H A Ddsa_local.h34 CRYPTO_RWLOCK *lock; member
H A Ddsa_ossl.c299 dsa->lock, dsa->params.p, ctx)) in dsa_sign_setup()
429 dsa->lock, dsa->params.p, ctx); in dsa_do_verify()
/openssl/doc/internal/man3/
H A Devp_keymgmt_util_export_to_provider.pod52 It should only be called while holding I<pk>'s lock (read or write).
55 clear the cache of operation key references. If required the lock must already
H A Dossl_ht_new.pod55 reference counted object retrieval under the protection of an rcu lock. API
96 ossl_ht_write_unlock() lock the table for reading and writing/modification.
99 to ensure thread synchronization. Note that an rcu lock is used internally for these
101 the write lock must be taken and released to ensure rcu synchronization takes
132 Note that the iteration is done under read lock protection, and as such
H A Dossl_namemap_new.pod86 to lock).
111 guarded by a thread lock.
/openssl/include/internal/
H A Dthread_arch.h77 CRYPTO_MUTEX *lock; member
/openssl/crypto/property/
H A DREADME.md62 lock more easily. The global lock is held for short periods of time with
/openssl/crypto/dh/
H A Ddh_key.c79 dh->lock, dh->params.p, ctx); in ossl_dh_compute_key()
249 mont = BN_MONT_CTX_set_locked(pmont, dh->lock, dh->params.p, ctx); in ossl_dh_generate_public_key()
/openssl/doc/man7/
H A Dopenssl-threads.pod56 uses a C cast to remove that so it can lock objects, generate and cache
73 The L<CRYPTO_secure_malloc(3)> and related API's have their own lock,
/openssl/crypto/x509/
H A Dx509_local.h148 CRYPTO_RWLOCK *lock; member
H A Dx_crl.c449 if (!CRYPTO_THREAD_write_lock(crl->lock)) in def_crl_lookup()
452 CRYPTO_THREAD_unlock(crl->lock); in def_crl_lookup()
/openssl/crypto/rsa/
H A Drsa_lib.c82 ret->lock = CRYPTO_THREAD_lock_new(); in rsa_new_intern()
83 if (ret->lock == NULL) { in rsa_new_intern()
90 CRYPTO_THREAD_lock_free(ret->lock); in rsa_new_intern()
159 CRYPTO_THREAD_lock_free(r->lock); in RSA_free()
H A Drsa_local.h98 CRYPTO_RWLOCK *lock; member
/openssl/providers/implementations/rands/
H A Ddrbg_local.h69 CRYPTO_RWLOCK *lock; member
/openssl/crypto/ui/
H A Dui_lib.c30 ret->lock = CRYPTO_THREAD_lock_new(); in UI_new_method()
31 if (ret->lock == NULL) { in UI_new_method()
80 CRYPTO_THREAD_lock_free(ui->lock); in UI_free()
H A Dui_openssl.c375 if (!CRYPTO_THREAD_write_lock(ui->lock)) in open_console()
568 CRYPTO_THREAD_unlock(ui->lock); in close_console()
/openssl/doc/man3/
H A DOPENSSL_LH_COMPFUNC.pod274 a write lock. All retrieve operations should be performed under a read lock,
275 I<unless> accurate usage statistics are desired. In which case, a write lock
277 statistics, using the functions from L<OPENSSL_LH_stats(3)>, a read lock
H A DOPENSSL_LH_stats.pod59 These calls should be made under a read lock. Refer to
H A DASYNC_start_job.pod150 an application acquires a lock. It then calls some cryptographic function which
152 the B<ASYNC_JOB>. If that code then attempts to acquire the same lock before
154 ASYNC_block_pause() immediately after acquiring the lock and
H A DSSL_read_early_data.pod317 OpenSSL will lock the internal cache while a session is removed but that lock is
/openssl/ssl/
H A Dssl_lib.c703 ssl->lock = CRYPTO_THREAD_lock_new(); in ossl_ssl_init()
704 if (ssl->lock == NULL) in ossl_ssl_init()
708 CRYPTO_THREAD_lock_free(ssl->lock); in ossl_ssl_init()
713 CRYPTO_THREAD_lock_free(ssl->lock); in ossl_ssl_init()
715 ssl->lock = NULL; in ossl_ssl_init()
1021 CRYPTO_THREAD_unlock(ctx->lock); in SSL_CTX_set_generate_session_id()
1032 CRYPTO_THREAD_unlock(ssl->lock); in SSL_set_generate_session_id()
1394 CRYPTO_THREAD_lock_free(s->lock); in SSL_free()
3872 ret->lock = CRYPTO_THREAD_lock_new(); in SSL_CTX_new_ex()
3873 if (ret->lock == NULL) { in SSL_CTX_new_ex()
[all …]
/openssl/crypto/err/
H A Dopenssl.txt797 EVP_R_UNABLE_TO_LOCK_CONTEXT:211:unable to lock context
1041 PROV_R_FAILED_TO_CREATE_LOCK:180:failed to create lock
1144 PROV_R_UNABLE_TO_LOCK_PARENT:201:unable to lock parent
1171 RAND_R_FAILED_TO_CREATE_LOCK:126:failed to create lock
1200 RAND_R_UNABLE_TO_LOCK_PARENT:140:unable to lock parent
/openssl/include/openssl/
H A Dasn1t.h.in210 …ux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), offsetof(tname, lock), cb, 0, NULL}; \
707 int ref_lock; /* Offset of lock value */

Completed in 101 milliseconds

1234