Home
last modified time | relevance | path

Searched refs:CRYPTO_UP_REF (Results 1 – 25 of 40) sorted by relevance

12

/freebsd-14.2/crypto/openssl/include/internal/
H A Drefcount.h30 static inline int CRYPTO_UP_REF(_Atomic int *val, int *ret, in CRYPTO_UP_REF() function
62 static __inline__ int CRYPTO_UP_REF(int *val, int *ret, ossl_unused void *lock) in CRYPTO_UP_REF() function
80 static __inline int CRYPTO_UP_REF(volatile int *val, int *ret, in CRYPTO_UP_REF() function
106 static __inline int CRYPTO_UP_REF(volatile int *val, int *ret, in CRYPTO_UP_REF() function
134 static __inline int CRYPTO_UP_REF(volatile int *val, int *ret, in CRYPTO_UP_REF() function
161 # define CRYPTO_UP_REF(val, ret, lock) CRYPTO_atomic_add(val, 1, ret, lock) macro
/freebsd-14.2/crypto/openssl/providers/implementations/keymgmt/
H A Dkdf_legacy_kmgmt.c80 CRYPTO_UP_REF(&kdfdata->refcnt, &ref, kdfdata->lock); in ossl_kdf_data_up_ref()
H A Dmac_legacy_kmgmt.c119 CRYPTO_UP_REF(&mackey->refcnt, &ref, mackey->lock); in ossl_mac_key_up_ref()
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Decx_key.c85 if (CRYPTO_UP_REF(&key->references, &i, key->lock) <= 0) in ossl_ecx_key_up_ref()
/freebsd-14.2/crypto/openssl/crypto/bio/
H A Dossl_core_bio.c40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref()
H A Dbio_meth.c31 if (!CRYPTO_UP_REF(&bio_count, &newval, bio_type_lock)) in BIO_get_new_index()
/freebsd-14.2/crypto/openssl/crypto/x509/
H A Dx509cset.c71 if (CRYPTO_UP_REF(&crl->references, &i, crl->lock) <= 0) in X509_CRL_up_ref()
H A Dx509_set.c103 if (CRYPTO_UP_REF(&x->references, &i, x->lock) <= 0) in X509_up_ref()
/freebsd-14.2/crypto/openssl/crypto/evp/
H A Dkdf_meth.c25 CRYPTO_UP_REF(&kdf->refcnt, &ref, kdf->lock); in evp_kdf_up_ref()
H A Dmac_meth.c24 CRYPTO_UP_REF(&mac->refcnt, &ref, mac->lock); in evp_mac_up_ref()
H A Devp_rand.c58 return CRYPTO_UP_REF(&rand->refcnt, &ref, rand->refcnt_lock); in evp_rand_up_ref()
327 return CRYPTO_UP_REF(&ctx->refcnt, &ref, ctx->refcnt_lock); in evp_rand_ctx_up_ref()
H A Dkem.c395 CRYPTO_UP_REF(&kem->refcnt, &ref, kem->lock); in EVP_KEM_up_ref()
H A Dkeymgmt_meth.c240 CRYPTO_UP_REF(&keymgmt->refcnt, &ref, keymgmt->lock); in EVP_KEYMGMT_up_ref()
H A Dasymcipher.c460 CRYPTO_UP_REF(&cipher->refcnt, &ref, cipher->lock); in EVP_ASYM_CIPHER_up_ref()
H A Dexchange.c166 CRYPTO_UP_REF(&exchange->refcnt, &ref, exchange->lock); in EVP_KEYEXCH_up_ref()
H A Dsignature.c299 CRYPTO_UP_REF(&signature->refcnt, &ref, signature->lock); in EVP_SIGNATURE_up_ref()
/freebsd-14.2/crypto/openssl/crypto/asn1/
H A Dtasn_utl.c94 if (!CRYPTO_UP_REF(lck, &ret, *lock)) in ossl_asn1_do_lock()
/freebsd-14.2/crypto/openssl/crypto/dh/
H A Ddh_lib.c167 if (CRYPTO_UP_REF(&r->references, &i, r->lock) <= 0) in DH_up_ref()
/freebsd-14.2/crypto/openssl/crypto/dso/
H A Ddso_lib.c101 if (CRYPTO_UP_REF(&dso->references, &i, dso->lock) <= 0) in DSO_up_ref()
/freebsd-14.2/crypto/openssl/crypto/dsa/
H A Ddsa_lib.c245 if (CRYPTO_UP_REF(&r->references, &i, r->lock) <= 0) in DSA_up_ref()
/freebsd-14.2/crypto/openssl/crypto/engine/
H A Deng_list.c445 CRYPTO_UP_REF(&e->struct_ref, &i, global_engine_lock); in ENGINE_up_ref()
/freebsd-14.2/crypto/openssl/crypto/store/
H A Dstore_meth.c23 CRYPTO_UP_REF(&loader->refcnt, &ref, loader->lock); in OSSL_STORE_LOADER_up_ref()
/freebsd-14.2/crypto/openssl/doc/internal/man3/
H A Devp_generic_fetch.pod190 CRYPTO_UP_REF(&foo->refcnt, &ref, foo_lock);
/freebsd-14.2/crypto/openssl/crypto/encode_decode/
H A Dencoder_meth.c47 CRYPTO_UP_REF(&encoder->base.refcnt, &ref, encoder->base.lock); in OSSL_ENCODER_up_ref()
H A Ddecoder_meth.c47 CRYPTO_UP_REF(&decoder->base.refcnt, &ref, decoder->base.lock); in OSSL_DECODER_up_ref()

12