Home
last modified time | relevance | path

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

/openssl/crypto/async/
H A Dasync.c37 async_ctx *nctx; in async_ctx_new() local
42 nctx = OPENSSL_malloc(sizeof(*nctx)); in async_ctx_new()
43 if (nctx == NULL) in async_ctx_new()
46 async_fibre_init_dispatcher(&nctx->dispatcher); in async_ctx_new()
47 nctx->currjob = NULL; in async_ctx_new()
48 nctx->blocked = 0; in async_ctx_new()
49 if (!CRYPTO_THREAD_set_local(&ctxkey, nctx)) in async_ctx_new()
52 return nctx; in async_ctx_new()
54 OPENSSL_free(nctx); in async_ctx_new()
/openssl/test/
H A Dbntest.c2779 BN_CTX *nctx = NULL; in test_ctx_consttime_flag() local
2784 if (!TEST_ptr(nctx = BN_CTX_new()) in test_ctx_consttime_flag()
2789 BN_CTX *c = i == 0 ? nctx : sctx; in test_ctx_consttime_flag()
2797 BN_CTX_free(nctx); in test_ctx_consttime_flag()

Completed in 10 milliseconds