Home
last modified time | relevance | path

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

/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_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()
Dthread_win.c30 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()
Dinternal.h451 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/
Dthread.h72 } CRYPTO_MUTEX; typedef
79 } CRYPTO_MUTEX;
81 typedef pthread_rwlock_t CRYPTO_MUTEX;
91 } CRYPTO_MUTEX;
Ddh.h260 CRYPTO_MUTEX method_mont_p_lock;
Ddsa.h403 CRYPTO_MUTEX method_mont_lock;
Drsa.h644 CRYPTO_MUTEX lock;
Dbn.h814 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock,
Dx509_vfy.h169 CRYPTO_MUTEX objs_lock;
Dx509.h266 CRYPTO_MUTEX lock;
/external/boringssl/src/crypto/pool/
Dinternal.h37 CRYPTO_MUTEX lock;
/external/boringssl/src/crypto/dsa/
Ddsa.c711 (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/
Dssl_x509.cc778 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()
Dinternal.h1916 CRYPTO_MUTEX lock;
Dssl_lib.cc1696 MutexReadLock lock(const_cast<CRYPTO_MUTEX *>(&ctx->lock)); in SSL_CTX_sess_number()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c236 int BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_MUTEX *lock, in BN_MONT_CTX_set_locked()