Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 1187) sorted by relevance

12345678910>>...48

/freebsd/tools/regression/doat/
H A Ddoat.c56 union param params[5]; /* no *at syscall with more than 5 params */ member
200 tests[0].tests[0].params[0].i = 106; /* invalid fd */ in setup()
201 tests[0].tests[0].params[1].cp = relative_path; in setup()
202 tests[0].tests[0].params[2].m = 0; in setup()
203 tests[0].tests[0].params[3].i = 0; in setup()
205 tests[0].tests[1].params[0].i = 106; /* invalid fd */ in setup()
206 tests[0].tests[1].params[1].cp = relative_path; in setup()
207 tests[0].tests[1].params[2].m = 0; in setup()
208 tests[0].tests[1].params[3].i = AT_EACCESS; in setup()
210 tests[0].tests[2].params[0].i = rel_fd; in setup()
[all …]
/freebsd/tools/test/stress2/testcases/openat/
H A Ddoat.c53 union param params[5]; // no *at syscall with more than 5 params member
197 tests[0].tests[0].params[0].i = 106; // invalid fd in setup()
198 tests[0].tests[0].params[1].cp = relative_path; in setup()
199 tests[0].tests[0].params[2].m = 0; in setup()
200 tests[0].tests[0].params[3].i = 0; in setup()
202 tests[0].tests[1].params[0].i = 106; // invalid fd in setup()
203 tests[0].tests[1].params[1].cp = relative_path; in setup()
204 tests[0].tests[1].params[2].m = 0; in setup()
205 tests[0].tests[1].params[3].i = AT_EACCESS; in setup()
207 tests[0].tests[2].params[0].i = rel_fd; in setup()
[all …]
/freebsd/crypto/openssh/
H A Dxmss_wots.c38 wots_set_params(wots_params *params, int n, int w) in wots_set_params() argument
40 params->n = n; in wots_set_params()
41 params->w = w; in wots_set_params()
42 params->log_w = wots_log2(params->w); in wots_set_params()
43 params->len_1 = (CHAR_BIT * n) / params->log_w; in wots_set_params()
44 params->len_2 = (wots_log2(params->len_1 * (w - 1)) / params->log_w) + 1; in wots_set_params()
45 params->len = params->len_1 + params->len_2; in wots_set_params()
46 params->keysize = params->len * params->n; in wots_set_params()
54 …c void expand_seed(unsigned char *outseeds, const unsigned char *inseed, const wots_params *params) in expand_seed() argument
58 for(i = 0; i < params->len; i++){ in expand_seed()
[all …]
H A Dxmss_fast.c53 int xmss_set_params(xmss_params *params, int n, int h, int w, int k) in xmss_set_params() argument
59 params->h = h; in xmss_set_params()
60 params->n = n; in xmss_set_params()
61 params->k = k; in xmss_set_params()
64 params->wots_par = wots_par; in xmss_set_params()
90 int xmssmt_set_params(xmssmt_params *params, int n, int h, int d, int w, int k) in xmssmt_set_params() argument
96 params->h = h; in xmssmt_set_params()
97 params->d = d; in xmssmt_set_params()
98 params->n = n; in xmssmt_set_params()
99 params->index_len = (h + 7) / 8; in xmssmt_set_params()
[all …]
/freebsd/crypto/openssl/test/
H A Devp_kdf_test.c40 OSSL_PARAM *params = OPENSSL_malloc(sizeof(OSSL_PARAM) * 4); in construct_tls1_prf_params() local
41 OSSL_PARAM *p = params; in construct_tls1_prf_params()
43 if (params == NULL) in construct_tls1_prf_params()
56 return params; in construct_tls1_prf_params()
64 OSSL_PARAM *params; in test_kdf_tls1_prf() local
70 params = construct_tls1_prf_params("sha256", "secret", "seed"); in test_kdf_tls1_prf()
72 ret = TEST_ptr(params) in test_kdf_tls1_prf()
74 && TEST_int_gt(EVP_KDF_derive(kctx, out, sizeof(out), params), 0) in test_kdf_tls1_prf()
78 OPENSSL_free(params); in test_kdf_tls1_prf()
86 OSSL_PARAM *params; in test_kdf_tls1_prf_invalid_digest() local
[all …]
H A Dffc_internal_test.c177 FFC_PARAMS params; in ffc_params_validate_g_unverified_test() local
181 ossl_ffc_params_init(&params); in ffc_params_validate_g_unverified_test()
196 ossl_ffc_params_set0_pqg(&params, p, q, NULL); in ffc_params_validate_g_unverified_test()
199 ossl_ffc_params_set_flags(&params, FFC_PARAM_FLAG_VALIDATE_G); in ffc_params_validate_g_unverified_test()
200 ossl_ffc_set_digest(&params, "SHA256", NULL); in ffc_params_validate_g_unverified_test()
202 if (!TEST_false(ossl_ffc_params_FIPS186_4_validate(NULL, &params, in ffc_params_validate_g_unverified_test()
207 ossl_ffc_params_set0_pqg(&params, p, q, g); in ffc_params_validate_g_unverified_test()
209 if (!TEST_true(ossl_ffc_params_FIPS186_4_validate(NULL, &params, in ffc_params_validate_g_unverified_test()
216 if (!TEST_false(ossl_ffc_params_FIPS186_4_validate(NULL, &params, in ffc_params_validate_g_unverified_test()
223 if (!TEST_false(ossl_ffc_params_FIPS186_4_validate(NULL, &params, in ffc_params_validate_g_unverified_test()
[all …]
H A Dparams_test.c130 static int raw_set_params(void *vobj, const OSSL_PARAM *params) in raw_set_params() argument
134 for (; params->key != NULL; params++) in raw_set_params()
135 if (strcmp(params->key, "p1") == 0) { in raw_set_params()
136 obj->p1 = *(int *)params->data; in raw_set_params()
137 } else if (strcmp(params->key, "p2") == 0) { in raw_set_params()
138 obj->p2 = *(double *)params->data; in raw_set_params()
139 } else if (strcmp(params->key, "p3") == 0) { in raw_set_params()
141 if (!TEST_ptr(obj->p3 = BN_native2bn(params->data, in raw_set_params()
142 params->data_size, NULL))) in raw_set_params()
144 } else if (strcmp(params->key, "p4") == 0) { in raw_set_params()
[all …]
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params.c20 void ossl_ffc_params_init(FFC_PARAMS *params) in ossl_ffc_params_init() argument
22 memset(params, 0, sizeof(*params)); in ossl_ffc_params_init()
23 params->pcounter = -1; in ossl_ffc_params_init()
24 params->gindex = FFC_UNVERIFIABLE_GINDEX; in ossl_ffc_params_init()
25 params->flags = FFC_PARAM_FLAG_VALIDATE_PQG; in ossl_ffc_params_init()
28 void ossl_ffc_params_cleanup(FFC_PARAMS *params) in ossl_ffc_params_cleanup() argument
30 BN_free(params->p); in ossl_ffc_params_cleanup()
31 BN_free(params->q); in ossl_ffc_params_cleanup()
32 BN_free(params->g); in ossl_ffc_params_cleanup()
33 BN_free(params->j); in ossl_ffc_params_cleanup()
[all …]
H A Dffc_params_validate.c53 const FFC_PARAMS *params, int type, in ossl_ffc_params_FIPS186_4_validate() argument
58 if (params == NULL || params->p == NULL || params->q == NULL) in ossl_ffc_params_FIPS186_4_validate()
62 L = BN_num_bits(params->p); in ossl_ffc_params_FIPS186_4_validate()
63 N = BN_num_bits(params->q); in ossl_ffc_params_FIPS186_4_validate()
64 return ossl_ffc_params_FIPS186_4_gen_verify(libctx, (FFC_PARAMS *)params, in ossl_ffc_params_FIPS186_4_validate()
71 const FFC_PARAMS *params, int type, in ossl_ffc_params_FIPS186_2_validate() argument
76 if (params == NULL || params->p == NULL || params->q == NULL) { in ossl_ffc_params_FIPS186_2_validate()
82 L = BN_num_bits(params->p); in ossl_ffc_params_FIPS186_2_validate()
83 N = BN_num_bits(params->q); in ossl_ffc_params_FIPS186_2_validate()
84 return ossl_ffc_params_FIPS186_2_gen_verify(libctx, (FFC_PARAMS *)params, in ossl_ffc_params_FIPS186_2_validate()
[all …]
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c61 struct jailparam *params, size_t paramoff, size_t *params_countp,
65 struct jailparam *params; member
96 jp = iter->params; in l_jail_iter_next()
116 free(iter->params); in l_jail_iter_next()
134 jp = &iter->params[i]; in l_jail_iter_next()
161 jailparam_free(iter->params, iter->params_count); in l_jail_iter_close()
162 free(iter->params); in l_jail_iter_close()
187 iter->params = malloc(iter->params_count * sizeof(*iter->params)); in l_list()
188 if (iter->params == NULL) { in l_list()
194 if (jailparam_init(&iter->params[0], "lastjid") == -1) { in l_list()
[all …]
/freebsd/lib/libveriexec/
H A Dveriexec_get.c47 struct mac_veriexec_syscall_params *params) in veriexec_get_pid_params() argument
51 if (params == NULL) in veriexec_get_pid_params()
55 args.params = params; in veriexec_get_pid_params()
68 struct mac_veriexec_syscall_params *params) in veriexec_get_path_params() argument
72 if (file == NULL || params == NULL) in veriexec_get_path_params()
76 args.params = params; in veriexec_get_path_params()
101 struct mac_veriexec_syscall_params params; in veriexec_get_path_label() local
105 if (veriexec_get_path_params(file, &params) == 0) { in veriexec_get_path_label()
107 if (params.labellen > 0) { in veriexec_get_path_label()
108 if (buf != NULL && bufsz > params.labellen) { in veriexec_get_path_label()
[all …]
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c758 struct elink_params *params,
946 static elink_status_t elink_check_half_open_conn(struct elink_params *params,
949 struct elink_params *params);
977 static int elink_check_lfa(struct elink_params *params) in elink_check_lfa() argument
982 struct bxe_softc *sc = params->sc; in elink_check_lfa()
985 REG_RD(sc, params->lfa_base + in elink_check_lfa()
993 REG_WR(sc, params->lfa_base + in elink_check_lfa()
1000 link_status = REG_RD(sc, params->shmem_base + in elink_check_lfa()
1002 port_mb[params->port].link_status)); in elink_check_lfa()
1009 if (params->feature_config_flags & ELINK_FEATURE_CONFIG_BOOT_FROM_SAN) in elink_check_lfa()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmain.c186 struct wpa_params params; in main() local
192 os_memset(&params, 0, sizeof(params)); in main()
193 params.wpa_debug_level = MSG_INFO; in main()
212 params.daemonize++; in main()
230 params.wpa_debug_level--; in main()
234 params.entropy_file = optarg; in main()
238 params.wpa_debug_file_path = optarg; in main()
242 params.ctrl_interface = optarg; in main()
245 params.ctrl_interface_group = optarg; in main()
258 params.wpa_debug_show_keys++; in main()
[all …]
H A Dscan.c84 static int wpa_setup_mac_addr_rand_params(struct wpa_driver_scan_params *params, in wpa_setup_mac_addr_rand_params() argument
89 if (params->mac_addr) { in wpa_setup_mac_addr_rand_params()
90 params->mac_addr_mask = NULL; in wpa_setup_mac_addr_rand_params()
91 os_free(params->mac_addr); in wpa_setup_mac_addr_rand_params()
92 params->mac_addr = NULL; in wpa_setup_mac_addr_rand_params()
95 params->mac_addr_rand = 1; in wpa_setup_mac_addr_rand_params()
105 params->mac_addr = tmp; in wpa_setup_mac_addr_rand_params()
106 params->mac_addr_mask = tmp + ETH_ALEN; in wpa_setup_mac_addr_rand_params()
187 struct wpa_driver_scan_params *params = work->ctx; in wpas_trigger_scan_cb() local
192 wpa_scan_free_params(params); in wpas_trigger_scan_cb()
[all …]
/freebsd/sbin/veriexec/
H A Dmanifest_parser.y47 static struct verified_exec_params *params = &lparams.params; variable
50 static struct verified_exec_params *params = &oparams; variable
127 strlcpy(params->fp_type, $1, sizeof(params->fp_type));
129 params->fingerprint) < 0) {
141 params->flags |= VERIEXEC_LABEL;
160 params->flags |= VERIEXEC_INDIRECT;
162 params->flags |= VERIEXEC_NOTRACE;
164 params->flags |= VERIEXEC_TRUSTED;
167 params->flags |= VERIEXEC_NOFIPS;
184 if (snprintf(params->file, sizeof(params->file), "%s%s%s",
[all …]
/freebsd/contrib/pam_modules/pam_passwdqc/
H A Dpam_passwdqc.c180 static int check_max(params_t *params, pam_handle_t *pamh, const char *newpass) in check_max() argument
182 if ((int)strlen(newpass) > params->qc.max) { in check_max()
183 if (params->qc.max != 8) { in check_max()
193 static int parse(params_t *params, pam_handle_t *pamh, in parse() argument
214 if (i && (int)v > params->qc.min[i - 1]) break; in parse()
215 params->qc.min[i] = v; in parse()
222 params->qc.max = v; in parse()
227 params->qc.passphrase_words = v; in parse()
232 params->qc.match_length = v; in parse()
236 params->qc.similar_deny = 0; in parse()
[all …]
H A Dpasswdqc_check.c63 static int is_simple(passwdqc_params_t *params, const char *newpass) in is_simple() argument
110 if (length >= params->min[0] && in is_simple()
111 chars >= expected_different(10, params->min[0]) - 1) in is_simple()
116 if (length >= params->min[1] && in is_simple()
117 chars >= expected_different(36, params->min[1]) - 1) in is_simple()
119 if (!params->passphrase_words || in is_simple()
120 words < params->passphrase_words) in is_simple()
122 if (length >= params->min[2] && in is_simple()
123 chars >= expected_different(27, params->min[2]) - 1) in is_simple()
128 if (length >= params->min[3] && in is_simple()
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dpkcs5.c90 static int pkcs5_get_params_pbes2(struct pkcs5_params *params, const u8 *pos, in pkcs5_get_params_pbes2() argument
172 hdr.length > sizeof(params->salt)) { in pkcs5_get_params_pbes2()
178 os_memcpy(params->salt, hdr.payload, hdr.length); in pkcs5_get_params_pbes2()
179 params->salt_len = hdr.length; in pkcs5_get_params_pbes2()
180 wpa_hexdump(MSG_DEBUG, "PKCS #5: salt", params->salt, params->salt_len); in pkcs5_get_params_pbes2()
188 params->iter_count = *hdr.payload; in pkcs5_get_params_pbes2()
190 params->iter_count = WPA_GET_BE16(hdr.payload); in pkcs5_get_params_pbes2()
192 params->iter_count = WPA_GET_BE32(hdr.payload); in pkcs5_get_params_pbes2()
200 params->iter_count); in pkcs5_get_params_pbes2()
201 if (params->iter_count == 0 || params->iter_count > 0xffff) { in pkcs5_get_params_pbes2()
[all …]
/freebsd/usr.sbin/jls/
H A Djls.c62 static struct jailparam *params; variable
189 if ((params[i].jp_flags & JP_USER) && in main()
190 (dot = strchr(params[i].jp_name, '.'))) { in main()
191 pname = alloca((dot - params[i].jp_name) + 1); in main()
192 strlcpy(pname, params[i].jp_name, in main()
193 (dot - params[i].jp_name) + 1); in main()
225 if (params[i].jp_flags & JP_USER) { in main()
230 xo_emit(params[i].jp_name); in main()
280 if (!strcmp(name, params[i].jp_name)) { in add_param()
281 if (value != NULL && jailparam_import_raw(params + i, in add_param()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dscan.c478 static void iwl_scan_build_ssids(struct iwl_mvm_scan_params *params, in iwl_scan_build_ssids()
491 for (i = 0, j = params->n_match_sets - 1; in iwl_scan_build_ssids()
495 if (!params->match_sets[j].ssid.ssid_len) in iwl_scan_build_ssids()
498 ssids[i].len = params->match_sets[j].ssid.ssid_len; in iwl_scan_build_ssids()
499 memcpy(ssids[i].ssid, params->match_sets[j].ssid.ssid, in iwl_scan_build_ssids()
504 for (j = params->n_ssids - 1; in iwl_scan_build_ssids()
507 index = iwl_ssid_exist(params->ssids[j].ssid, in iwl_scan_build_ssids()
508 params->ssids[j].ssid_len, in iwl_scan_build_ssids()
512 ssids[i].len = params->ssids[j].ssid_len; in iwl_scan_build_ssids()
513 memcpy(ssids[i].ssid, params in iwl_scan_build_ssids()
469 iwl_scan_build_ssids(struct iwl_mvm_scan_params * params,struct iwl_ssid_ie * ssids,u32 * ssid_bitmap) iwl_scan_build_ssids() argument
750 iwl_mvm_build_scan_probe(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct ieee80211_scan_ies * ies,struct iwl_mvm_scan_params * params) iwl_mvm_build_scan_probe() argument
819 iwl_mvm_scan_lmac_dwell(struct iwl_mvm * mvm,struct iwl_scan_req_lmac * cmd,struct iwl_mvm_scan_params * params) iwl_mvm_scan_lmac_dwell() argument
867 iwl_mvm_is_regular_scan(struct iwl_mvm_scan_params * params) iwl_mvm_is_regular_scan() argument
880 iwl_mvm_scan_lmac_flags(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_scan_lmac_flags() argument
934 iwl_mvm_scan_lmac(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params) iwl_mvm_scan_lmac() argument
1288 iwl_mvm_scan_umac_dwell(struct iwl_mvm * mvm,struct iwl_scan_req_umac * cmd,struct iwl_mvm_scan_params * params) iwl_mvm_scan_umac_dwell() argument
1385 iwl_mvm_scan_umac_ooc_priority(struct iwl_mvm_scan_params * params) iwl_mvm_scan_umac_ooc_priority() argument
1395 iwl_mvm_scan_umac_dwell_v11(struct iwl_mvm * mvm,struct iwl_scan_general_params_v11 * general_params,struct iwl_mvm_scan_params * params) iwl_mvm_scan_umac_dwell_v11() argument
1666 iwl_mvm_umac_scan_fill_6g_chan_list(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct iwl_scan_probe_params_v4 * pp) iwl_mvm_umac_scan_fill_6g_chan_list() argument
1738 iwl_mvm_umac_scan_cfg_channels_v7_6g(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,u32 n_channels,struct iwl_scan_probe_params_v4 * pp,struct iwl_scan_channel_params_v7 * cp,enum nl80211_iftype vif_type,u32 version) iwl_mvm_umac_scan_cfg_channels_v7_6g() argument
1922 iwl_mvm_scan_umac_chan_flags_v2(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_scan_umac_chan_flags_v2() argument
1958 iwl_mvm_scan_6ghz_passive_scan(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_scan_6ghz_passive_scan() argument
2047 iwl_mvm_scan_umac_flags_v2(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif,int type) iwl_mvm_scan_umac_flags_v2() argument
2105 iwl_mvm_scan_umac_flags2(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif,int type) iwl_mvm_scan_umac_flags2() argument
2130 iwl_mvm_scan_umac_flags(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_scan_umac_flags() argument
2208 iwl_mvm_fill_scan_sched_params(struct iwl_mvm_scan_params * params,struct iwl_scan_umac_schedule * schedule,__le16 * delay) iwl_mvm_fill_scan_sched_params() argument
2241 iwl_mvm_scan_umac(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac() argument
2328 iwl_mvm_scan_umac_fill_general_p_v12(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif,struct iwl_scan_general_params_v11 * gp,u16 gen_flags,u8 gen_flags2,u32 version) iwl_mvm_scan_umac_fill_general_p_v12() argument
2369 iwl_mvm_scan_umac_fill_probe_p_v3(struct iwl_mvm_scan_params * params,struct iwl_scan_probe_params_v3 * pp) iwl_mvm_scan_umac_fill_probe_p_v3() argument
2378 iwl_mvm_scan_umac_fill_probe_p_v4(struct iwl_mvm_scan_params * params,struct iwl_scan_probe_params_v4 * pp,u32 * bitmap_ssid) iwl_mvm_scan_umac_fill_probe_p_v4() argument
2388 iwl_mvm_scan_umac_fill_ch_p_v4(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif,struct iwl_scan_channel_params_v4 * cp,u32 channel_cfg_flags) iwl_mvm_scan_umac_fill_ch_p_v4() argument
2405 iwl_mvm_scan_umac_fill_ch_p_v7(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif,struct iwl_scan_channel_params_v7 * cp,u32 channel_cfg_flags,u32 version) iwl_mvm_scan_umac_fill_ch_p_v7() argument
2455 iwl_mvm_scan_umac_v12(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac_v12() argument
2488 iwl_mvm_scan_umac_v14_and_above(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid,u32 version) iwl_mvm_scan_umac_v14_and_above() argument
2558 iwl_mvm_scan_umac_v14(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac_v14() argument
2565 iwl_mvm_scan_umac_v15(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac_v15() argument
2572 iwl_mvm_scan_umac_v16(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac_v16() argument
2579 iwl_mvm_scan_umac_v17(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_mvm_scan_params * params,int type,int uid) iwl_mvm_scan_umac_v17() argument
2672 iwl_mvm_fill_scan_type(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_fill_scan_type() argument
2743 iwl_mvm_mei_limited_scan(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params) iwl_mvm_mei_limited_scan() argument
2793 iwl_mvm_build_scan_cmd(struct iwl_mvm * mvm,struct ieee80211_vif * vif,struct iwl_host_cmd * hcmd,struct iwl_mvm_scan_params * params,int type) iwl_mvm_build_scan_cmd() argument
2912 iwl_mvm_fill_respect_p2p_go(struct iwl_mvm * mvm,struct iwl_mvm_scan_params * params,struct ieee80211_vif * vif) iwl_mvm_fill_respect_p2p_go() argument
2936 struct iwl_mvm_scan_params params = {}; iwl_mvm_reg_scan_start() local
3032 struct iwl_mvm_scan_params params = {}; iwl_mvm_sched_scan_start() local
[all...]
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_check.c65 return ossl_ffc_params_FIPS186_4_validate(dh->libctx, &dh->params, in DH_check_params()
84 if (!BN_is_odd(dh->params.p)) in DH_check_params()
86 if (BN_is_negative(dh->params.g) in DH_check_params()
87 || BN_is_zero(dh->params.g) in DH_check_params()
88 || BN_is_one(dh->params.g)) in DH_check_params()
90 if (BN_copy(tmp, dh->params.p) == NULL || !BN_sub_word(tmp, 1)) in DH_check_params()
92 if (BN_cmp(dh->params.g, tmp) >= 0) in DH_check_params()
94 if (BN_num_bits(dh->params.p) < DH_MIN_MODULUS_BITS) in DH_check_params()
96 if (BN_num_bits(dh->params.p) > OPENSSL_DH_MAX_MODULUS_BITS) in DH_check_params()
156 if (BN_num_bits(dh->params.p) > OPENSSL_DH_CHECK_MAX_MODULUS_BITS) { in DH_check()
[all …]
/freebsd/sbin/ifconfig/
H A Difvlan.c69 static struct vlanreq params = { variable
136 if (params.vlr_tag == NOTAG || params.vlr_tag == vid) in vlan_parse_ethervid()
137 params.vlr_tag = vid; in vlan_parse_ethervid()
142 if (params.vlr_parent[0] == '\0' || !strcmp(params.vlr_parent, ifname)) in vlan_parse_ethervid()
143 strlcpy(params.vlr_parent, ifname, IFNAMSIZ); in vlan_parse_ethervid()
153 if (params.vlr_tag != NOTAG || params.vlr_parent[0] != '\0') { in vlan_create()
157 if (params.vlr_tag == NOTAG) in vlan_create()
159 if (params.vlr_parent[0] == '\0') in vlan_create()
161 if (params.vlr_proto == NOPROTO) in vlan_create()
162 params.vlr_proto = ETHERTYPE_VLAN; in vlan_create()
[all …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_tls_common.c58 static void eap_tls_params_flags(struct tls_connection_params *params, in eap_tls_params_flags() argument
64 params->flags |= TLS_CONN_ALLOW_SIGN_RSA_MD5; in eap_tls_params_flags()
66 params->flags |= TLS_CONN_DISABLE_TIME_CHECKS; in eap_tls_params_flags()
68 params->flags |= TLS_CONN_DISABLE_SESSION_TICKET; in eap_tls_params_flags()
70 params->flags &= ~TLS_CONN_DISABLE_SESSION_TICKET; in eap_tls_params_flags()
72 params->flags |= TLS_CONN_DISABLE_TLSv1_0; in eap_tls_params_flags()
74 params->flags &= ~TLS_CONN_DISABLE_TLSv1_0; in eap_tls_params_flags()
75 params->flags |= TLS_CONN_ENABLE_TLSv1_0; in eap_tls_params_flags()
78 params->flags |= TLS_CONN_DISABLE_TLSv1_1; in eap_tls_params_flags()
80 params->flags &= ~TLS_CONN_DISABLE_TLSv1_1; in eap_tls_params_flags()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_fuchsia.cpp77 } params = {{}, callback, argument}; in LockStuffAndStopTheWorld() local
81 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
84 ScanGlobalRange(begin, end, &params->argument->frontier); in LockStuffAndStopTheWorld()
89 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
92 ScanRangeForPointers(begin, end, &params->argument->frontier, "STACK", in LockStuffAndStopTheWorld()
98 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
101 ScanRangeForPointers(begin, end, &params->argument->frontier, "REGISTERS", in LockStuffAndStopTheWorld()
108 GetAllThreadAllocatorCachesLocked(&params.allocator_caches); in LockStuffAndStopTheWorld()
109 __sanitizer::Sort(params.allocator_caches.data(), in LockStuffAndStopTheWorld()
110 params in LockStuffAndStopTheWorld()
116 auto params = static_cast<const Params *>(data); LockStuffAndStopTheWorld() local
143 auto params = static_cast<const Params *>(data); LockStuffAndStopTheWorld() local
[all...]
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_ossl.c83 if (dsa->params.p == NULL in ossl_dsa_do_sign_int()
84 || dsa->params.q == NULL in ossl_dsa_do_sign_int()
85 || dsa->params.g == NULL) { in ossl_dsa_do_sign_int()
116 if (dlen > BN_num_bytes(dsa->params.q)) in ossl_dsa_do_sign_int()
122 dlen = BN_num_bytes(dsa->params.q); in ossl_dsa_do_sign_int()
141 if (!BN_priv_rand_ex(blind, BN_num_bits(dsa->params.q) - 1, in ossl_dsa_do_sign_int()
150 if (!BN_mod_mul(tmp, blind, dsa->priv_key, dsa->params.q, ctx)) in ossl_dsa_do_sign_int()
152 if (!BN_mod_mul(tmp, tmp, ret->r, dsa->params.q, ctx)) in ossl_dsa_do_sign_int()
156 if (!BN_mod_mul(blindm, blind, m, dsa->params.q, ctx)) in ossl_dsa_do_sign_int()
160 if (!BN_mod_add_quick(ret->s, tmp, blindm, dsa->params in ossl_dsa_do_sign_int()
[all...]

12345678910>>...48