Home
last modified time | relevance | path

Searched refs:CRYPTO_MUTEX (Results 1 – 25 of 34) sorted by relevance

12

/external/boringssl/src/crypto/
Dthread_none.c19 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_init()
21 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_read()
23 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_write()
25 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_read()
27 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_write()
29 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_cleanup()
Dthread_pthread.c27 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t),
30 OPENSSL_STATIC_ASSERT(alignof(CRYPTO_MUTEX) >= alignof(pthread_rwlock_t),
34 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
40 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
46 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
52 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
58 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
64 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
Dthread_win.c30 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(SRWLOCK),
33 OPENSSL_STATIC_ASSERT(alignof(CRYPTO_MUTEX) >= alignof(SRWLOCK),
49 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
53 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
57 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
61 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
65 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
69 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
Dinternal.h525 OPENSSL_EXPORT void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
529 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
533 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
536 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
539 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
542 OPENSSL_EXPORT void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
574 template <void (*LockFunc)(CRYPTO_MUTEX *), void (*ReleaseFunc)(CRYPTO_MUTEX *)> in OPENSSL_MSVC_PRAGMA()
577 explicit MutexLockBase(CRYPTO_MUTEX *mu) : mu_(mu) { in OPENSSL_MSVC_PRAGMA()
587 CRYPTO_MUTEX *const mu_; in OPENSSL_MSVC_PRAGMA()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dthread_none.c19 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_init()
21 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_read()
23 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_lock_write()
25 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_read()
27 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_unlock_write()
29 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) {} in CRYPTO_MUTEX_cleanup()
Dthread_pthread.c27 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t),
30 OPENSSL_STATIC_ASSERT(alignof(CRYPTO_MUTEX) >= alignof(pthread_rwlock_t),
34 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
40 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
46 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
52 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
58 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
64 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
Dthread_win.c30 OPENSSL_STATIC_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(SRWLOCK),
33 OPENSSL_STATIC_ASSERT(alignof(CRYPTO_MUTEX) >= alignof(SRWLOCK),
49 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init()
53 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read()
57 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write()
61 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read()
65 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write()
69 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
Dinternal.h525 OPENSSL_EXPORT void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
529 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
533 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
536 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
539 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
542 OPENSSL_EXPORT void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA()
574 template <void (*LockFunc)(CRYPTO_MUTEX *), void (*ReleaseFunc)(CRYPTO_MUTEX *)> in OPENSSL_MSVC_PRAGMA()
577 explicit MutexLockBase(CRYPTO_MUTEX *mu) : mu_(mu) { in OPENSSL_MSVC_PRAGMA()
587 CRYPTO_MUTEX *const mu_; in OPENSSL_MSVC_PRAGMA()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dthread.h72 } CRYPTO_MUTEX; typedef
79 } CRYPTO_MUTEX;
81 typedef pthread_rwlock_t CRYPTO_MUTEX;
91 } CRYPTO_MUTEX;
Ddh.h280 CRYPTO_MUTEX method_mont_p_lock;
Ddsa.h423 CRYPTO_MUTEX method_mont_lock;
Drsa.h715 CRYPTO_MUTEX lock;
Dbn.h845 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock,
/external/boringssl/src/include/openssl/
Dthread.h72 } CRYPTO_MUTEX; typedef
79 } CRYPTO_MUTEX;
81 typedef pthread_rwlock_t CRYPTO_MUTEX;
91 } CRYPTO_MUTEX;
Ddh.h318 CRYPTO_MUTEX method_mont_p_lock;
Ddsa.h423 CRYPTO_MUTEX method_mont_lock;
Drsa.h715 CRYPTO_MUTEX lock;
/external/boringssl/src/crypto/pool/
Dinternal.h37 CRYPTO_MUTEX lock;
/external/rust/crates/quiche/deps/boringssl/src/crypto/pool/
Dinternal.h37 CRYPTO_MUTEX lock;
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/
Ddsa.c754 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in DSA_do_check_signature()
894 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in dsa_sign_setup()
897 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->q, in dsa_sign_setup()
/external/boringssl/src/crypto/dsa/
Ddsa.c720 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in DSA_do_check_signature()
860 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in dsa_sign_setup()
863 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->q, in dsa_sign_setup()
/external/boringssl/src/ssl/
Dssl_x509.cc794 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_certificate()
962 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_chain_certs()
1149 MutexWriteLock lock(const_cast<CRYPTO_MUTEX *>(&ctx->lock)); in STACK_OF()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_x509.cc794 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_certificate()
962 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_chain_certs()
1149 MutexWriteLock lock(const_cast<CRYPTO_MUTEX *>(&ctx->lock)); in STACK_OF()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c264 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, in BN_MONT_CTX_set_locked()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c264 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, in BN_MONT_CTX_set_locked()

12