Home
last modified time | relevance | path

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

/trueos/crypto/openssl/crypto/ec/
HDecp_smpl.c181 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local
191 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
231 if (new_ctx != NULL) in ec_GFp_simple_group_set_curve()
232 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
240 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local
250 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
277 if (new_ctx) in ec_GFp_simple_group_get_curve()
278 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()
292 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_check_discriminant() local
295 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_check_discriminant()
[all …]
HDec2_oct.c97 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_set_compressed_coordinates() local
105 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_set_compressed_coordinates()
163 if (new_ctx != NULL) in ec_GF2m_simple_set_compressed_coordinates()
164 BN_CTX_free(new_ctx); in ec_GF2m_simple_set_compressed_coordinates()
178 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_point2oct() local
216 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_point2oct()
281 if (new_ctx != NULL) in ec_GF2m_simple_point2oct()
282 BN_CTX_free(new_ctx); in ec_GF2m_simple_point2oct()
288 if (new_ctx != NULL) in ec_GF2m_simple_point2oct()
289 BN_CTX_free(new_ctx); in ec_GF2m_simple_point2oct()
[all …]
HDecp_oct.c76 BN_CTX *new_ctx = NULL; in ec_GFp_simple_set_compressed_coordinates() local
84 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_set_compressed_coordinates()
205 if (new_ctx != NULL) in ec_GFp_simple_set_compressed_coordinates()
206 BN_CTX_free(new_ctx); in ec_GFp_simple_set_compressed_coordinates()
215 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point2oct() local
253 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
315 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
316 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
322 if (new_ctx != NULL) in ec_GFp_simple_point2oct()
323 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
[all …]
HDec2_smpl.c294 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_group_check_discriminant() local
297 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_group_check_discriminant()
324 if (new_ctx != NULL) in ec_GF2m_simple_group_check_discriminant()
325 BN_CTX_free(new_ctx); in ec_GF2m_simple_group_check_discriminant()
461 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_add() local
478 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_add()
565 if (new_ctx != NULL) in ec_GF2m_simple_add()
566 BN_CTX_free(new_ctx); in ec_GF2m_simple_add()
607 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_is_on_curve() local
624 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_is_on_curve()
[all …]
HDec_check.c63 BN_CTX *new_ctx = NULL; in EC_GROUP_check() local
67 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
115 if (new_ctx != NULL) in EC_GROUP_check()
116 BN_CTX_free(new_ctx); in EC_GROUP_check()
HDecp_nist.c135 BN_CTX *new_ctx = NULL; in ec_GFp_nist_group_set_curve() local
139 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nist_group_set_curve()
165 if (new_ctx != NULL) in ec_GFp_nist_group_set_curve()
166 BN_CTX_free(new_ctx); in ec_GFp_nist_group_set_curve()
HDecp_mont.c198 BN_CTX *new_ctx = NULL; in ec_GFp_mont_group_set_curve() local
213 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
246 if (new_ctx != NULL) in ec_GFp_mont_group_set_curve()
247 BN_CTX_free(new_ctx); in ec_GFp_mont_group_set_curve()
HDec_mult.c334 BN_CTX *new_ctx = NULL; in ec_wNAF_mul() local
376 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
693 if (new_ctx != NULL) in ec_wNAF_mul()
694 BN_CTX_free(new_ctx); in ec_wNAF_mul()
745 BN_CTX *new_ctx = NULL; in ec_wNAF_precompute_mult() local
766 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_precompute_mult()
887 if (new_ctx != NULL) in ec_wNAF_precompute_mult()
888 BN_CTX_free(new_ctx); in ec_wNAF_precompute_mult()
HDecp_nistp224.c1306 BN_CTX *new_ctx = NULL; in ec_GFp_nistp224_group_set_curve() local
1310 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp224_group_set_curve()
1329 if (new_ctx != NULL) in ec_GFp_nistp224_group_set_curve()
1330 BN_CTX_free(new_ctx); in ec_GFp_nistp224_group_set_curve()
1425 BN_CTX *new_ctx = NULL; in ec_GFp_nistp224_points_mul() local
1443 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp224_points_mul()
1612 if (new_ctx != NULL) in ec_GFp_nistp224_points_mul()
1613 BN_CTX_free(new_ctx); in ec_GFp_nistp224_points_mul()
1628 BN_CTX *new_ctx = NULL; in ec_GFp_nistp224_precompute_mult() local
1638 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp224_precompute_mult()
[all …]
HDec2_mult.c379 BN_CTX *new_ctx = NULL; in ec_GF2m_simple_mul() local
386 ctx = new_ctx = BN_CTX_new(); in ec_GF2m_simple_mul()
443 if (new_ctx != NULL) in ec_GF2m_simple_mul()
444 BN_CTX_free(new_ctx); in ec_GF2m_simple_mul()
HDecp_nistp521.c1701 BN_CTX *new_ctx = NULL; in ec_GFp_nistp521_group_set_curve() local
1705 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp521_group_set_curve()
1724 if (new_ctx != NULL) in ec_GFp_nistp521_group_set_curve()
1725 BN_CTX_free(new_ctx); in ec_GFp_nistp521_group_set_curve()
1820 BN_CTX *new_ctx = NULL; in ec_GFp_nistp521_points_mul() local
1838 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp521_points_mul()
2011 if (new_ctx != NULL) in ec_GFp_nistp521_points_mul()
2012 BN_CTX_free(new_ctx); in ec_GFp_nistp521_points_mul()
2027 BN_CTX *new_ctx = NULL; in ec_GFp_nistp521_precompute_mult() local
2037 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp521_precompute_mult()
[all …]
HDecp_nistp256.c1892 BN_CTX *new_ctx = NULL; in ec_GFp_nistp256_group_set_curve() local
1896 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp256_group_set_curve()
1915 if (new_ctx != NULL) in ec_GFp_nistp256_group_set_curve()
1916 BN_CTX_free(new_ctx); in ec_GFp_nistp256_group_set_curve()
2011 BN_CTX *new_ctx = NULL; in ec_GFp_nistp256_points_mul() local
2030 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp256_points_mul()
2203 if (new_ctx != NULL) in ec_GFp_nistp256_points_mul()
2204 BN_CTX_free(new_ctx); in ec_GFp_nistp256_points_mul()
2219 BN_CTX *new_ctx = NULL; in ec_GFp_nistp256_precompute_mult() local
2230 if ((ctx = new_ctx = BN_CTX_new()) == NULL) in ec_GFp_nistp256_precompute_mult()
[all …]
/trueos/contrib/subversion/subversion/libsvn_ra_serf/
HDoptions.c392 options_context_t *new_ctx; in create_options_req() local
396 new_ctx = apr_pcalloc(pool, sizeof(*new_ctx)); in create_options_req()
397 new_ctx->pool = pool; in create_options_req()
398 new_ctx->session = session; in create_options_req()
399 new_ctx->conn = conn; in create_options_req()
401 new_ctx->youngest_rev = SVN_INVALID_REVNUM; in create_options_req()
405 new_ctx, in create_options_req()
416 new_ctx->handler = handler; in create_options_req()
418 new_ctx->inner_handler = handler->response_handler; in create_options_req()
419 new_ctx->inner_baton = handler->response_baton; in create_options_req()
[all …]
/trueos/contrib/jemalloc/src/
HDprof.c528 bool new_ctx; in prof_lookup_global() local
552 new_ctx = true; in prof_lookup_global()
561 new_ctx = false; in prof_lookup_global()
567 *p_new_ctx = new_ctx; in prof_lookup_global()
589 bool new_ctx; in prof_lookup() local
595 if (prof_lookup_global(bt, prof_tdata, &btkey, &ctx, &new_ctx)) in prof_lookup()
618 if (new_ctx) in prof_lookup()
630 if (new_ctx) in prof_lookup()