Searched refs:dngbl (Results 1 – 2 of 2) sorted by relevance
279 PROV_DRBG_NONCE_GLOBAL *dngbl = OPENSSL_zalloc(sizeof(*dngbl)); in prov_drbg_nonce_ossl_ctx_new() local281 if (dngbl == NULL) in prov_drbg_nonce_ossl_ctx_new()284 dngbl->rand_nonce_lock = CRYPTO_THREAD_lock_new(); in prov_drbg_nonce_ossl_ctx_new()285 if (dngbl->rand_nonce_lock == NULL) { in prov_drbg_nonce_ossl_ctx_new()286 OPENSSL_free(dngbl); in prov_drbg_nonce_ossl_ctx_new()290 return dngbl; in prov_drbg_nonce_ossl_ctx_new()295 PROV_DRBG_NONCE_GLOBAL *dngbl = vdngbl; in prov_drbg_nonce_ossl_ctx_free() local297 if (dngbl == NULL) in prov_drbg_nonce_ossl_ctx_free()300 CRYPTO_THREAD_lock_free(dngbl->rand_nonce_lock); in prov_drbg_nonce_ossl_ctx_free()302 OPENSSL_free(dngbl); in prov_drbg_nonce_ossl_ctx_free()[all …]