Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/ec/
Dec_check.c23 BN_CTX *new_ctx = NULL; in EC_GROUP_check_named_curve() local
31 ctx = new_ctx = BN_CTX_new_ex(NULL); in EC_GROUP_check_named_curve()
42 BN_CTX_free(new_ctx); in EC_GROUP_check_named_curve()
57 BN_CTX *new_ctx = NULL; in EC_GROUP_check()
70 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
114 BN_CTX_free(new_ctx); in EC_GROUP_check()
Dec2_oct.c47 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_set_compressed_coordinates() local
50 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_set_compressed_coordinates()
115 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
135 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_point2oct() local
172 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_point2oct()
239 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_point2oct()
247 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_point2oct()
266 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_oct2point() local
322 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_oct2point()
386 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_oct2point()
Decp_oct.c27 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_compressed_coordinates() local
32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
155 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
164 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_point2oct() local
202 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_point2oct()
264 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point2oct()
270 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point2oct()
280 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_oct2point() local
323 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_oct2point()
370 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_oct2point()
Decp_smpl.c146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_set_curve() local
156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve()
196 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_set_curve()
204 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_get_curve() local
214 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_get_curve()
241 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_get_curve()
256 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_check_discriminant() local
259 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_check_discriminant()
318 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_check_discriminant()
382 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() local
[all …]
Decp_mont.c146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_group_set_curve() local
157 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_mont_group_set_curve()
191 BN_CTX_free(new_ctx); in ossl_ec_GFp_mont_group_set_curve()
227 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_field_inv() local
234 && (ctx = new_ctx = BN_CTX_secure_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_mont_field_inv()
263 BN_CTX_free(new_ctx); in ossl_ec_GFp_mont_field_inv()
Dec2_smpl.c186 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_group_check_discriminant() local
189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant()
216 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
362 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_add() local
379 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_add()
468 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_add()
517 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_is_on_curve() local
532 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_is_on_curve()
569 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_is_on_curve()
587 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_cmp() local
[all …]
Decp_nist.c97 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nist_group_set_curve() local
100 if ((ctx = new_ctx = BN_CTX_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_nist_group_set_curve()
124 BN_CTX_free(new_ctx); in ossl_ec_GFp_nist_group_set_curve()
Dec_lib.c1074 BN_CTX *new_ctx = NULL; in EC_POINTs_mul() local
1094 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINTs_mul()
1108 BN_CTX_free(new_ctx); in EC_POINTs_mul()
1120 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
1134 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINT_mul()
1149 BN_CTX_free(new_ctx); in EC_POINT_mul()
1239 BN_CTX *new_ctx = NULL; in ec_field_inverse_mod_ord() local
1247 ctx = new_ctx = BN_CTX_secure_new(); in ec_field_inverse_mod_ord()
1276 BN_CTX_free(new_ctx); in ec_field_inverse_mod_ord()
Decp_s390x_nistp.c57 BN_CTX *new_ctx = NULL; in ec_GFp_s390x_nistp_mul() local
61 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ec_GFp_s390x_nistp_mul()
121 BN_CTX_free(new_ctx); in ec_GFp_s390x_nistp_mul()
Decp_nistp224.c1302 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp224_group_set_curve() local
1305 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp224_group_set_curve()
1328 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp224_group_set_curve()
1618 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp224_precompute_mult() local
1626 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp224_precompute_mult()
1739 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp224_precompute_mult()
/third_party/node/deps/openssl/openssl/crypto/ec/
Dec_check.c23 BN_CTX *new_ctx = NULL; in EC_GROUP_check_named_curve() local
31 ctx = new_ctx = BN_CTX_new_ex(NULL); in EC_GROUP_check_named_curve()
42 BN_CTX_free(new_ctx); in EC_GROUP_check_named_curve()
57 BN_CTX *new_ctx = NULL; in EC_GROUP_check()
70 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_check()
114 BN_CTX_free(new_ctx); in EC_GROUP_check()
Dec2_oct.c47 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_set_compressed_coordinates() local
50 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_set_compressed_coordinates()
115 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_set_compressed_coordinates()
135 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_point2oct() local
172 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_point2oct()
239 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_point2oct()
247 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_point2oct()
266 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_oct2point() local
322 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_oct2point()
386 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_oct2point()
Decp_oct.c27 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_compressed_coordinates() local
32 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
155 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
164 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_point2oct() local
202 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_point2oct()
264 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point2oct()
270 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point2oct()
280 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_oct2point() local
323 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_oct2point()
370 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_oct2point()
Decp_smpl.c146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_set_curve() local
156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve()
196 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_set_curve()
204 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_get_curve() local
214 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_get_curve()
241 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_get_curve()
256 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_check_discriminant() local
259 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_check_discriminant()
318 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_check_discriminant()
382 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() local
[all …]
Decp_mont.c146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_group_set_curve() local
157 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_mont_group_set_curve()
191 BN_CTX_free(new_ctx); in ossl_ec_GFp_mont_group_set_curve()
227 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_mont_field_inv() local
234 && (ctx = new_ctx = BN_CTX_secure_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_mont_field_inv()
263 BN_CTX_free(new_ctx); in ossl_ec_GFp_mont_field_inv()
Dec2_smpl.c186 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_group_check_discriminant() local
189 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_group_check_discriminant()
216 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_group_check_discriminant()
362 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_add() local
379 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_add()
468 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_add()
517 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_is_on_curve() local
532 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GF2m_simple_is_on_curve()
569 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_is_on_curve()
587 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_cmp() local
[all …]
Decp_nist.c97 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nist_group_set_curve() local
100 if ((ctx = new_ctx = BN_CTX_new_ex(group->libctx)) == NULL) in ossl_ec_GFp_nist_group_set_curve()
124 BN_CTX_free(new_ctx); in ossl_ec_GFp_nist_group_set_curve()
Dec_lib.c1074 BN_CTX *new_ctx = NULL; in EC_POINTs_mul() local
1094 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINTs_mul()
1108 BN_CTX_free(new_ctx); in EC_POINTs_mul()
1120 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
1134 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINT_mul()
1149 BN_CTX_free(new_ctx); in EC_POINT_mul()
1239 BN_CTX *new_ctx = NULL; in ec_field_inverse_mod_ord() local
1247 ctx = new_ctx = BN_CTX_secure_new(); in ec_field_inverse_mod_ord()
1276 BN_CTX_free(new_ctx); in ec_field_inverse_mod_ord()
Decp_s390x_nistp.c57 BN_CTX *new_ctx = NULL; in ec_GFp_s390x_nistp_mul() local
61 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ec_GFp_s390x_nistp_mul()
121 BN_CTX_free(new_ctx); in ec_GFp_s390x_nistp_mul()
/third_party/alsa-lib/src/ucm/
Ducm_include.c241 snd_config_t *parent, snd_config_t *new_ctx, in uc_mgr_config_tree_merge() argument
249 err = uc_mgr_substitute_tree(uc_mgr, new_ctx); in uc_mgr_config_tree_merge()
253 snd_config_for_each(i, next, new_ctx) { in uc_mgr_config_tree_merge()
/third_party/mesa3d/src/util/
Dralloc.c300 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
308 parent = new_ctx ? get_header(new_ctx) : NULL; in ralloc_steal()
316 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument
324 new_info = get_header(new_ctx); in ralloc_adopt()
Dralloc.h297 void ralloc_steal(const void *new_ctx, void *ptr);
304 void ralloc_adopt(const void *new_ctx, void *old_ctx);
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_batch.c742 int new_ctx = iris_create_engines_context(ice, priority); in replace_kernel_ctx() local
743 if (new_ctx < 0) in replace_kernel_ctx()
746 bat->ctx_id = new_ctx; in replace_kernel_ctx()
752 uint32_t new_ctx = iris_clone_hw_context(bufmgr, batch->ctx_id); in replace_kernel_ctx() local
753 if (!new_ctx) in replace_kernel_ctx()
757 batch->ctx_id = new_ctx; in replace_kernel_ctx()
/third_party/openssl/crypto/bn/
Dbn_gcd.c518 BN_CTX *new_ctx = NULL; in BN_mod_inverse() local
523 ctx = new_ctx = BN_CTX_new_ex(NULL); in BN_mod_inverse()
533 BN_CTX_free(new_ctx); in BN_mod_inverse()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_gcd.c518 BN_CTX *new_ctx = NULL; in BN_mod_inverse() local
523 ctx = new_ctx = BN_CTX_new_ex(NULL); in BN_mod_inverse()
533 BN_CTX_free(new_ctx); in BN_mod_inverse()

12