Home
last modified time | relevance | path

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

/openssl/crypto/ec/
H A 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()
H A 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()
H A 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()
H A Decp_smpl.c146 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_simple_group_set_curve() local
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
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
318 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_group_check_discriminant()
431 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp()
480 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp()
609 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_point_get_affine_coordinates()
794 BN_CTX_free(new_ctx); in ossl_ec_GFp_simple_add()
[all …]
H A 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()
H A 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
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
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
626 BN_CTX_free(new_ctx); in ossl_ec_GF2m_simple_cmp()
638 BN_CTX *new_ctx = NULL; in ossl_ec_GF2m_simple_make_affine() local
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A Dec_mult.c841 BN_CTX *new_ctx = NULL; in ossl_ec_wNAF_precompute_mult() local
857 ctx = new_ctx = BN_CTX_new(); in ossl_ec_wNAF_precompute_mult()
976 BN_CTX_free(new_ctx); in ossl_ec_wNAF_precompute_mult()
H A Decp_nistp521.c1806 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp521_group_set_curve() local
1809 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp521_group_set_curve()
1832 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp521_group_set_curve()
2127 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp521_precompute_mult() local
2135 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp521_precompute_mult()
2228 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp521_precompute_mult()
H A Decp_nistp256.c1913 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp256_group_set_curve() local
1916 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_group_set_curve()
1939 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp256_group_set_curve()
2238 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp256_precompute_mult() local
2246 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_precompute_mult()
2369 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp256_precompute_mult()
H A Decp_nistz256.c825 BN_CTX *new_ctx = NULL; in ecp_nistz256_mult_precompute() local
852 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ecp_nistz256_mult_precompute()
928 BN_CTX_free(new_ctx); in ecp_nistz256_mult_precompute()
/openssl/crypto/bn/
H A 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()
/openssl/test/helpers/
H A Dhandshake.c114 SSL_CTX *new_ctx = (SSL_CTX*)arg; in select_server_ctx() local
115 SSL_set_SSL_CTX(s, new_ctx); in select_server_ctx()
122 SSL_set_options(s, SSL_CTX_get_options(new_ctx)); in select_server_ctx()
178 SSL_CTX *new_ctx = arg; in client_hello_select_server_ctx() local
179 SSL_set_SSL_CTX(s, new_ctx); in client_hello_select_server_ctx()
186 SSL_set_options(s, SSL_CTX_get_options(new_ctx)); in client_hello_select_server_ctx()

Completed in 90 milliseconds