Lines Matching refs:bnctx
209 BN_CTX *bnctx = NULL; in self_test_kdf() local
227 bnctx = BN_CTX_new_ex(libctx); in self_test_kdf()
228 if (bnctx == NULL) in self_test_kdf()
230 if (!add_params(bld, t->params, bnctx)) in self_test_kdf()
250 BN_CTX_free(bnctx); in self_test_kdf()
380 BN_CTX *bnctx = NULL; in self_test_ka() local
387 bnctx = BN_CTX_new_ex(libctx); in self_test_ka()
388 if (bnctx == NULL) in self_test_ka()
395 if (!add_params(bld, t->key_group, bnctx) in self_test_ka()
396 || !add_params(bld, t->key_host_data, bnctx)) in self_test_ka()
400 if (!add_params(bld, t->key_group, bnctx) in self_test_ka()
401 || !add_params(bld, t->key_peer_data, bnctx)) in self_test_ka()
436 BN_CTX_free(bnctx); in self_test_ka()
460 BN_CTX *bnctx = NULL; in self_test_digest_sign() local
479 bnctx = BN_CTX_new_ex(libctx); in self_test_digest_sign()
480 if (bnctx == NULL) in self_test_digest_sign()
488 if (!add_params(bldkey, t->key, bnctx) in self_test_digest_sign()
489 || !add_params(bldinit, t->init, bnctx)) in self_test_digest_sign()
546 BN_CTX_free(bnctx); in self_test_digest_sign()