Home
last modified time | relevance | path

Searched refs:new_ctx (Results 1 – 17 of 17) 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.c1077 BN_CTX *new_ctx = NULL; in EC_POINTs_mul() local
1097 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINTs_mul()
1111 BN_CTX_free(new_ctx); in EC_POINTs_mul()
1123 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
1137 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINT_mul()
1152 BN_CTX_free(new_ctx); in EC_POINT_mul()
1242 BN_CTX *new_ctx = NULL; in ec_field_inverse_mod_ord() local
1250 ctx = new_ctx = BN_CTX_secure_new(); in ec_field_inverse_mod_ord()
1279 BN_CTX_free(new_ctx); in ec_field_inverse_mod_ord()
H A Decp_nistp224.c1296 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp224_group_set_curve() local
1299 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp224_group_set_curve()
1322 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp224_group_set_curve()
1610 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp224_precompute_mult() local
1618 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp224_precompute_mult()
1731 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp224_precompute_mult()
H A Dec_mult.c830 BN_CTX *new_ctx = NULL; in ossl_ec_wNAF_precompute_mult() local
846 ctx = new_ctx = BN_CTX_new(); in ossl_ec_wNAF_precompute_mult()
963 BN_CTX_free(new_ctx); in ossl_ec_wNAF_precompute_mult()
H A Decp_nistp384.c1593 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp384_group_set_curve() local
1596 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp384_group_set_curve()
1619 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp384_group_set_curve()
1903 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp384_precompute_mult() local
1911 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp384_precompute_mult()
1988 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp384_precompute_mult()
H A Decp_nistp521.c1798 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp521_group_set_curve() local
1801 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp521_group_set_curve()
1824 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp521_group_set_curve()
2117 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp521_precompute_mult() local
2125 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp521_precompute_mult()
2218 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp521_precompute_mult()
H A Decp_nistp256.c1908 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp256_group_set_curve() local
1911 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_group_set_curve()
1934 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp256_group_set_curve()
2231 BN_CTX *new_ctx = NULL; in ossl_ec_GFp_nistp256_precompute_mult() local
2239 ctx = new_ctx = BN_CTX_new(); in ossl_ec_GFp_nistp256_precompute_mult()
2362 BN_CTX_free(new_ctx); in ossl_ec_GFp_nistp256_precompute_mult()
H A Decp_nistz256.c814 BN_CTX *new_ctx = NULL; in ecp_nistz256_mult_precompute() local
841 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ecp_nistz256_mult_precompute()
915 BN_CTX_free(new_ctx); in ecp_nistz256_mult_precompute()
/openssl/crypto/bn/
H A Dbn_gcd.c519 BN_CTX *new_ctx = NULL; in BN_mod_inverse() local
524 ctx = new_ctx = BN_CTX_new_ex(NULL); in BN_mod_inverse()
534 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 55 milliseconds