Lines Matching refs:bnctx
1554 BN_CTX *bnctx = NULL; in EC_GROUP_new_from_params() local
1586 bnctx = BN_CTX_new_ex(libctx); in EC_GROUP_new_from_params()
1587 if (bnctx == NULL) { in EC_GROUP_new_from_params()
1591 BN_CTX_start(bnctx); in EC_GROUP_new_from_params()
1593 p = BN_CTX_get(bnctx); in EC_GROUP_new_from_params()
1594 a = BN_CTX_get(bnctx); in EC_GROUP_new_from_params()
1595 b = BN_CTX_get(bnctx); in EC_GROUP_new_from_params()
1596 order = BN_CTX_get(bnctx); in EC_GROUP_new_from_params()
1648 group = EC_GROUP_new_curve_GFp(p, a, b, bnctx); in EC_GROUP_new_from_params()
1694 if (!EC_POINT_oct2point(group, point, buf, ptmp->data_size, bnctx)) { in EC_GROUP_new_from_params()
1711 cofactor = BN_CTX_get(bnctx); in EC_GROUP_new_from_params()
1724 named_group = ec_group_explicit_to_named(group, libctx, propq, bnctx); in EC_GROUP_new_from_params()
1758 BN_CTX_end(bnctx); in EC_GROUP_new_from_params()
1759 BN_CTX_free(bnctx); in EC_GROUP_new_from_params()
1766 const char *propq, BN_CTX *bnctx) in EC_GROUP_to_params() argument
1780 if (bnctx == NULL) in EC_GROUP_to_params()
1781 bnctx = new_bnctx = BN_CTX_new_ex(libctx); in EC_GROUP_to_params()
1782 if (bnctx == NULL) in EC_GROUP_to_params()
1784 BN_CTX_start(bnctx); in EC_GROUP_to_params()
1787 group, tmpl, NULL, libctx, propq, bnctx, &gen_buf)) in EC_GROUP_to_params()
1795 BN_CTX_end(bnctx); in EC_GROUP_to_params()