Home
last modified time | relevance | path

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

/src/crypto/openssl/providers/implementations/rands/
H A Ddrbg.c273 PROV_DRBG_NONCE_GLOBAL *dngbl = OPENSSL_zalloc(sizeof(*dngbl)); in ossl_prov_drbg_nonce_ctx_new() local
275 if (dngbl == NULL) in ossl_prov_drbg_nonce_ctx_new()
278 dngbl->rand_nonce_lock = CRYPTO_THREAD_lock_new(); in ossl_prov_drbg_nonce_ctx_new()
279 if (dngbl->rand_nonce_lock == NULL) { in ossl_prov_drbg_nonce_ctx_new()
280 OPENSSL_free(dngbl); in ossl_prov_drbg_nonce_ctx_new()
284 return dngbl; in ossl_prov_drbg_nonce_ctx_new()
289 PROV_DRBG_NONCE_GLOBAL *dngbl = vdngbl; in ossl_prov_drbg_nonce_ctx_free() local
291 if (dngbl == NULL) in ossl_prov_drbg_nonce_ctx_free()
294 CRYPTO_THREAD_lock_free(dngbl->rand_nonce_lock); in ossl_prov_drbg_nonce_ctx_free()
296 OPENSSL_free(dngbl); in ossl_prov_drbg_nonce_ctx_free()
[all …]