/freebsd/crypto/openssl/crypto/ec/ |
H A D | ec_check.c | 23 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 D | ec2_oct.c | 47 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 D | ecp_oct.c | 27 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 D | ecp_smpl.c | 146 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 …]
|
H A D | ecp_mont.c | 146 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 D | ec2_smpl.c | 186 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 …]
|
H A D | ecp_nist.c | 97 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 D | ecp_s390x_nistp.c | 57 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 D | ec_lib.c | 1075 BN_CTX *new_ctx = NULL; in EC_POINTs_mul() local 1095 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINTs_mul() 1109 BN_CTX_free(new_ctx); in EC_POINTs_mul() 1121 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local 1135 ctx = new_ctx = BN_CTX_secure_new(); in EC_POINT_mul() 1150 BN_CTX_free(new_ctx); in EC_POINT_mul() 1240 BN_CTX *new_ctx = NULL; in ec_field_inverse_mod_ord() local 1248 ctx = new_ctx = BN_CTX_secure_new(); in ec_field_inverse_mod_ord() 1277 BN_CTX_free(new_ctx); in ec_field_inverse_mod_ord()
|
H A D | ecp_nistp224.c | 1302 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 D | ec_mult.c | 841 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 D | ecp_nistp521.c | 1806 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 D | ecp_nistp256.c | 1913 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 D | ecp_nistz256.c | 825 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()
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_gcd.c | 518 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()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 114 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()
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | Unwind-seh.cpp | 186 CONTEXT new_ctx; in _GCC_specific_handler() local 187 RtlUnwindEx(frame, (PVOID)target, ms_exc, (PVOID)retval, &new_ctx, disp->HistoryTable); in _GCC_specific_handler()
|
/freebsd/sys/compat/linuxkpi/common/include/net/ |
H A D | mac80211.h | 874 struct ieee80211_chanctx_conf *old_ctx, *new_ctx; member 2646 if (vifs == NULL || vifs[0].new_ctx == NULL) in ieee80211_emulate_switch_vif_chanctx() 2653 hw->conf.radar_enabled = vifs[0].new_ctx->radar_enabled; in ieee80211_emulate_switch_vif_chanctx() 2654 chanctx_conf = vifs[0].new_ctx; in ieee80211_emulate_switch_vif_chanctx()
|
/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | mac80211.c | 5356 ret = __iwl_mvm_add_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_schedule_client_csa() 5358 IWL_ERR(mvm, "failed to add new_ctx during channel switch\n"); in iwl_mvm_schedule_client_csa() 5363 vifs[0].new_ctx, true); in iwl_mvm_schedule_client_csa() 5366 "failed to assign new_ctx during channel switch\n"); in iwl_mvm_schedule_client_csa() 5377 __iwl_mvm_remove_chanctx(mvm, vifs[0].new_ctx); in iwl_mvm_old_pre_chan_sw_sta() 5411 vifs[0].new_ctx, true); in iwl_mvm_old_pre_chan_sw_sta() 5414 "failed to assign new_ctx during channel switch\n"); in iwl_mvm_pre_channel_switch()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | mac.c | 5986 arg->vifs[arg->next_vif].new_ctx = ctx; in ath12k_mac_change_chanctx_fill_iter() 6013 vifs[i].new_ctx->def.chan->center_freq, in ath12k_mac_update_vif_chan() 6015 vifs[i].new_ctx->def.width); in ath12k_mac_update_vif_chan() 6046 ret = ath12k_mac_vdev_restart(arvif, &vifs[i].new_ctx->def); in ath12k_mac_update_vif_chan()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | mac.c | 8707 def = &vifs[0].new_ctx->def; in ath10k_mac_update_rx_channel() 8748 vifs[i].new_ctx->def.chan->center_freq, in ath10k_mac_update_vif_chan() 8750 vifs[i].new_ctx->def.width); in ath10k_mac_update_vif_chan() 8793 ret = ath10k_vdev_restart(arvif, &vifs[i].new_ctx->def); in ath10k_mac_update_vif_chan() 8893 arg->vifs[arg->next_vif].new_ctx = ctx; in ath10k_mac_change_chanctx_fill_iter()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | mac.c | 7386 arg->vifs[arg->next_vif].new_ctx = ctx; in ath11k_mac_change_chanctx_fill_iter() 7424 ret = ath11k_mac_vdev_restart(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan() 7438 ret = ath11k_mac_vdev_start(arvif, vifs[i].new_ctx); in ath11k_mac_update_vif_chan()
|