Searched refs:CRYPTO_MUTEX (Results 1 – 17 of 17) sorted by relevance
/external/boringssl/src/crypto/ |
D | thread_none.c | 19 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()
|
D | thread_pthread.c | 27 OPENSSL_COMPILE_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(pthread_rwlock_t), 30 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init() 36 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read() 42 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write() 48 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read() 54 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write() 60 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
|
D | thread_win.c | 30 OPENSSL_COMPILE_ASSERT(sizeof(CRYPTO_MUTEX) >= sizeof(SRWLOCK), 45 void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_init() 49 void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_read() 53 void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_lock_write() 57 void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_read() 61 void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_unlock_write() 65 void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock) { in CRYPTO_MUTEX_cleanup()
|
D | internal.h | 451 OPENSSL_EXPORT void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 455 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 459 OPENSSL_EXPORT void CRYPTO_MUTEX_lock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 462 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_read(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 465 OPENSSL_EXPORT void CRYPTO_MUTEX_unlock_write(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 468 OPENSSL_EXPORT void CRYPTO_MUTEX_cleanup(CRYPTO_MUTEX *lock); in OPENSSL_MSVC_PRAGMA() 500 template <void (*LockFunc)(CRYPTO_MUTEX *), void (*ReleaseFunc)(CRYPTO_MUTEX *)> in OPENSSL_MSVC_PRAGMA() 503 explicit MutexLockBase(CRYPTO_MUTEX *mu) : mu_(mu) { in OPENSSL_MSVC_PRAGMA() 513 CRYPTO_MUTEX *const mu_; in OPENSSL_MSVC_PRAGMA()
|
/external/boringssl/src/include/openssl/ |
D | thread.h | 72 } CRYPTO_MUTEX; typedef 79 } CRYPTO_MUTEX; 81 typedef pthread_rwlock_t CRYPTO_MUTEX; 91 } CRYPTO_MUTEX;
|
D | dh.h | 260 CRYPTO_MUTEX method_mont_p_lock;
|
D | dsa.h | 403 CRYPTO_MUTEX method_mont_lock;
|
D | rsa.h | 644 CRYPTO_MUTEX lock;
|
D | bn.h | 814 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock,
|
D | x509_vfy.h | 169 CRYPTO_MUTEX objs_lock;
|
D | x509.h | 266 CRYPTO_MUTEX lock;
|
/external/boringssl/src/crypto/pool/ |
D | internal.h | 37 CRYPTO_MUTEX lock;
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 711 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in DSA_do_check_signature() 868 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->p, in dsa_sign_setup() 871 (CRYPTO_MUTEX *)&dsa->method_mont_lock, dsa->q, in dsa_sign_setup()
|
/external/boringssl/src/ssl/ |
D | ssl_x509.cc | 778 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_certificate() 935 MutexWriteLock lock(const_cast<CRYPTO_MUTEX*>(&ctx->lock)); in SSL_CTX_get0_chain_certs() 1103 MutexWriteLock lock(const_cast<CRYPTO_MUTEX *>(&ctx->lock)); in STACK_OF()
|
D | internal.h | 1916 CRYPTO_MUTEX lock;
|
D | ssl_lib.cc | 1696 MutexReadLock lock(const_cast<CRYPTO_MUTEX *>(&ctx->lock)); in SSL_CTX_sess_number()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | montgomery.c | 236 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, in BN_MONT_CTX_set_locked()
|