Home
last modified time | relevance | path

Searched refs:opt_arg (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-13.1/crypto/openssl/apps/
H A Dpkcs8.c96 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs8_main()
100 infile = opt_arg(); in pkcs8_main()
107 outfile = opt_arg(); in pkcs8_main()
126 if (!opt_cipher(opt_arg(), &cipher)) in pkcs8_main()
130 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
138 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
148 if (!opt_int(opt_arg(), &iter)) in pkcs8_main()
152 passinarg = opt_arg(); in pkcs8_main()
155 passoutarg = opt_arg(); in pkcs8_main()
158 e = setup_engine(opt_arg(), 0); in pkcs8_main()
[all …]
H A Dspkac.c78 infile = opt_arg(); in spkac_main()
81 outfile = opt_arg(); in spkac_main()
93 passinarg = opt_arg(); in spkac_main()
96 keyfile = opt_arg(); in spkac_main()
99 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in spkac_main()
103 challenge = opt_arg(); in spkac_main()
106 spkac = opt_arg(); in spkac_main()
109 spksect = opt_arg(); in spkac_main()
112 e = setup_engine(opt_arg(), 0); in spkac_main()
H A Dasn1pars.c94 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in asn1parse_main()
98 infile = opt_arg(); in asn1parse_main()
101 derfile = opt_arg(); in asn1parse_main()
110 oidfile = opt_arg(); in asn1parse_main()
113 offset = strtol(opt_arg(), NULL, 0); in asn1parse_main()
116 length = strtol(opt_arg(), NULL, 0); in asn1parse_main()
122 dump = strtol(opt_arg(), NULL, 0); in asn1parse_main()
125 sk_OPENSSL_STRING_push(osk, opt_arg()); in asn1parse_main()
128 genstr = opt_arg(); in asn1parse_main()
131 genconf = opt_arg(); in asn1parse_main()
[all …]
H A Dcms.c245 outfile = opt_arg(); in cms_main()
270 rctfile = opt_arg(); in cms_main()
374 certfile = opt_arg(); in cms_main()
377 CAfile = opt_arg(); in cms_main()
380 CApath = opt_arg(); in cms_main()
389 infile = opt_arg(); in cms_main()
392 contfile = opt_arg(); in cms_main()
457 to = opt_arg(); in cms_main()
460 from = opt_arg(); in cms_main()
463 subject = opt_arg(); in cms_main()
[all …]
H A Dsmime.c157 infile = opt_arg(); in smime_main()
164 outfile = opt_arg(); in smime_main()
233 passinarg = opt_arg(); in smime_main()
236 to = opt_arg(); in smime_main()
239 from = opt_arg(); in smime_main()
242 subject = opt_arg(); in smime_main()
290 keyfile = opt_arg(); in smime_main()
297 certfile = opt_arg(); in smime_main()
300 CAfile = opt_arg(); in smime_main()
303 CApath = opt_arg(); in smime_main()
[all …]
H A Dx509.c213 infile = opt_arg(); in x509_main()
232 outfile = opt_arg(); in x509_main()
253 extfile = opt_arg(); in x509_main()
260 extsect = opt_arg(); in x509_main()
263 keyfile = opt_arg(); in x509_main()
267 CAfile = opt_arg(); in x509_main()
274 CAserial = opt_arg(); in x509_main()
285 fkeyfile = opt_arg(); in x509_main()
315 alias = opt_arg(); in x509_main()
385 exts = opt_arg(); in x509_main()
[all …]
H A Dec.c96 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in ec_main()
100 infile = opt_arg(); in ec_main()
103 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ec_main()
107 outfile = opt_arg(); in ec_main()
125 passinarg = opt_arg(); in ec_main()
128 passoutarg = opt_arg(); in ec_main()
131 e = setup_engine(opt_arg(), 0); in ec_main()
138 if (!opt_pair(opt_arg(), conv_forms, &i)) in ec_main()
144 if (!opt_pair(opt_arg(), param_enc, &i)) in ec_main()
H A Ds_time.c123 host = opt_arg(); in s_time_main()
132 if (!opt_int(opt_arg(), &verify_args.depth)) in s_time_main()
138 certfile = opt_arg(); in s_time_main()
141 if (!set_nameopt(opt_arg())) in s_time_main()
145 keyfile = opt_arg(); in s_time_main()
148 CApath = opt_arg(); in s_time_main()
151 CAfile = opt_arg(); in s_time_main()
160 cipher = opt_arg(); in s_time_main()
163 ciphersuites = opt_arg(); in s_time_main()
169 if (!opt_int(opt_arg(), &maxtime)) in s_time_main()
[all …]
H A Dcrl.c98 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in crl_main()
102 infile = opt_arg(); in crl_main()
105 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in crl_main()
109 outfile = opt_arg(); in crl_main()
112 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &keyformat)) in crl_main()
116 keyfile = opt_arg(); in crl_main()
119 crldiff = opt_arg(); in crl_main()
122 CApath = opt_arg(); in crl_main()
126 CAfile = opt_arg(); in crl_main()
171 if (!set_nameopt(opt_arg())) in crl_main()
H A Docsp.c286 outfile = opt_arg(); in ocsp_main()
307 host = opt_arg(); in ocsp_main()
310 port = opt_arg(); in ocsp_main()
367 reqin = opt_arg(); in ocsp_main()
370 respin = opt_arg(); in ocsp_main()
386 CAfile = opt_arg(); in ocsp_main()
389 CApath = opt_arg(); in ocsp_main()
409 keyfile = opt_arg(); in ocsp_main()
412 reqout = opt_arg(); in ocsp_main()
418 path = opt_arg(); in ocsp_main()
[all …]
H A Dpkey.c76 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in pkey_main()
80 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkey_main()
84 passinarg = opt_arg(); in pkey_main()
87 passoutarg = opt_arg(); in pkey_main()
90 e = setup_engine(opt_arg(), 0); in pkey_main()
93 infile = opt_arg(); in pkey_main()
96 outfile = opt_arg(); in pkey_main()
H A Dpkeyutl.c111 infile = opt_arg(); in pkeyutl_main()
114 outfile = opt_arg(); in pkeyutl_main()
117 sigfile = opt_arg(); in pkeyutl_main()
123 inkey = opt_arg(); in pkeyutl_main()
126 peerkey = opt_arg(); in pkeyutl_main()
129 passinarg = opt_arg(); in pkeyutl_main()
132 if (!opt_format(opt_arg(), OPT_FMT_PDE, &peerform)) in pkeyutl_main()
136 if (!opt_format(opt_arg(), OPT_FMT_PDE, &keyform)) in pkeyutl_main()
144 e = setup_engine(opt_arg(), 0); in pkeyutl_main()
179 kdfalg = opt_arg(); in pkeyutl_main()
[all …]
H A Ds_server.c1203 crl_file = opt_arg(); in s_server_main()
1223 passarg = opt_arg(); in s_server_main()
1230 dhfile = opt_arg(); in s_server_main()
1245 dpassarg = opt_arg(); in s_server_main()
1257 CApath = opt_arg(); in s_server_main()
1263 chCApath = opt_arg(); in s_server_main()
1266 vfyCApath = opt_arg(); in s_server_main()
1310 CAfile = opt_arg(); in s_server_main()
1316 chCAfile = opt_arg(); in s_server_main()
1427 psksessf = opt_arg(); in s_server_main()
[all …]
H A Denc.c163 infile = opt_arg(); in enc_main()
166 outfile = opt_arg(); in enc_main()
169 passarg = opt_arg(); in enc_main()
172 e = setup_engine(opt_arg(), 0); in enc_main()
210 p = opt_arg(); in enc_main()
215 if (!opt_long(opt_arg(), &n) in enc_main()
223 str = opt_arg(); in enc_main()
246 hkey = opt_arg(); in enc_main()
249 hsalt = opt_arg(); in enc_main()
252 hiv = opt_arg(); in enc_main()
[all …]
H A Ddsa.c89 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in dsa_main()
93 infile = opt_arg(); in dsa_main()
96 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in dsa_main()
100 outfile = opt_arg(); in dsa_main()
103 e = setup_engine(opt_arg(), 0); in dsa_main()
106 passinarg = opt_arg(); in dsa_main()
109 passoutarg = opt_arg(); in dsa_main()
H A Dgenpkey.c76 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in genpkey_main()
80 outfile = opt_arg(); in genpkey_main()
83 passarg = opt_arg(); in genpkey_main()
86 e = setup_engine(opt_arg(), 0); in genpkey_main()
91 if (!init_keygen_file(&ctx, opt_arg(), e)) in genpkey_main()
95 if (!init_gen_str(&ctx, opt_arg(), e, do_param)) in genpkey_main()
103 if (pkey_ctrl_string(ctx, opt_arg()) <= 0) { in genpkey_main()
106 prog, opt_arg()); in genpkey_main()
H A Dopt.c470 otmp = OBJ_txt2obj(opt_arg(), 0); in opt_verify()
479 i = X509_PURPOSE_get_by_sname(opt_arg()); in opt_verify()
494 prog, opt_arg()); in opt_verify()
499 vtmp = X509_VERIFY_PARAM_lookup(opt_arg()); in opt_verify()
502 prog, opt_arg()); in opt_verify()
508 i = atoi(opt_arg()); in opt_verify()
513 i = atoi(opt_arg()); in opt_verify()
518 if (!opt_imax(opt_arg(), &t)) in opt_verify()
522 prog, opt_arg()); in opt_verify()
536 if (!X509_VERIFY_PARAM_set1_ip_asc(vpm, opt_arg())) in opt_verify()
[all …]
H A Ds_client.c1082 proxystr = opt_arg(); in s_client_main()
1111 crl_file = opt_arg(); in s_client_main()
1117 sess_out = opt_arg(); in s_client_main()
1120 sess_in = opt_arg(); in s_client_main()
1250 psksessf = opt_arg(); in s_client_main()
1259 srppass = opt_arg(); in s_client_main()
1377 passarg = opt_arg(); in s_client_main()
1389 CApath = opt_arg(); in s_client_main()
1407 CAfile = opt_arg(); in s_client_main()
1450 alpn_in = opt_arg(); in s_client_main()
[all …]
H A Drsa.c92 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in rsa_main()
96 infile = opt_arg(); in rsa_main()
99 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in rsa_main()
103 outfile = opt_arg(); in rsa_main()
106 passinarg = opt_arg(); in rsa_main()
109 passoutarg = opt_arg(); in rsa_main()
112 e = setup_engine(opt_arg(), 0); in rsa_main()
H A Ddgst.c140 outfile = opt_arg(); in dgst_main()
143 keyfile = opt_arg(); in dgst_main()
146 passinarg = opt_arg(); in dgst_main()
149 keyfile = opt_arg(); in dgst_main()
153 keyfile = opt_arg(); in dgst_main()
157 sigfile = opt_arg(); in dgst_main()
160 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in dgst_main()
164 e = setup_engine(opt_arg(), 0); in dgst_main()
182 hmac_key = opt_arg(); in dgst_main()
185 mac_name = opt_arg(); in dgst_main()
[all …]
H A Dverify.c111 CApath = opt_arg(); in verify_main()
114 CAfile = opt_arg(); in verify_main()
124 if (!load_certs(opt_arg(), &untrusted, FORMAT_PEM, NULL, in verify_main()
132 if (!load_certs(opt_arg(), &trusted, FORMAT_PEM, NULL, in verify_main()
138 if (!load_crls(opt_arg(), &crls, FORMAT_PEM, NULL, in verify_main()
146 if ((e = setup_engine(opt_arg(), 0)) == NULL) { in verify_main()
155 if (!set_nameopt(opt_arg())) in verify_main()
/freebsd-13.1/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c494 assert(opt_arg != NULL); in parse_authentication()
549 assert(opt_arg != NULL); in parse_privacy()
602 assert(opt_arg != NULL); in parse_context()
646 assert(opt_arg != NULL); in parse_user_security()
708 assert(opt_arg != NULL); in parse_file()
734 assert(opt_arg != NULL); in parse_include()
791 assert(opt_arg != NULL); in parse_server()
974 if (strncasecmp(opt_arg, "short", strlen(opt_arg)) == 0) in parse_output()
976 else if (strncasecmp(opt_arg, "verbose", strlen(opt_arg)) == 0) in parse_output()
978 else if (strncasecmp(opt_arg,"tabular", strlen(opt_arg)) == 0) in parse_output()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svnbench/
H A Dsvnbench.c449 const char *opt_arg; in sub_main() local
454 &opt_arg); in sub_main()
470 err = svn_cstring_atoi(&opt_state.limit, opt_arg); in sub_main()
486 svn_cstring_split(opt_arg, ", \n\r\t\v", TRUE, pool); in sub_main()
571 opt_arg, pool) != 0) in sub_main()
612 err = svn_utf_cstring_to_utf8(&utf8_opt_arg, opt_arg, pool); in sub_main()
633 opt_arg, pool)); in sub_main()
637 opt_arg, pool)); in sub_main()
670 SVN_ERR(svn_utf_cstring_to_utf8(&path_utf8, opt_arg, pool)); in sub_main()
680 SVN_ERR(svn_utf_cstring_to_utf8(&opt_arg, opt_arg, pool)); in sub_main()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svnrdump/
H A Dsvnrdump.c829 const char *opt_arg; in sub_main() local
831 &opt_arg); in sub_main()
860 opt_arg, pool) != 0) in sub_main()
874 config_dir = opt_arg; in sub_main()
904 SVN_ERR(svn_utf_cstring_to_utf8(&opt_arg, opt_arg, pool)); in sub_main()
905 svn_hash_sets(opt_baton->skip_revprops, opt_arg, opt_arg); in sub_main()
911 SVN_ERR(svn_utf_cstring_to_utf8(&opt_arg, opt_arg, pool)); in sub_main()
918 opt_arg, pool)); in sub_main()
926 SVN_ERR(svn_utf_cstring_to_utf8(&opt_arg, opt_arg, pool)); in sub_main()
933 SVN_ERR(svn_utf_cstring_to_utf8(&opt_arg, opt_arg, pool)); in sub_main()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svn/
H A Dsvn.c2108 const char *opt_arg; in sub_main() local
2113 &opt_arg); in sub_main()
2146 opt_state.message = apr_pstrdup(pool, opt_arg); in sub_main()
2350 opt_arg, pool)); in sub_main()
2354 opt_arg, pool)); in sub_main()
2360 opt_state.encoding = apr_pstrdup(pool, opt_arg); in sub_main()
2419 opt_arg, pool)); in sub_main()
2422 opt_state.diff.diff_cmd = apr_pstrdup(pool, opt_arg); in sub_main()
2425 opt_state.merge_cmd = apr_pstrdup(pool, opt_arg); in sub_main()
2431 opt_state.editor_cmd = apr_pstrdup(pool, opt_arg); in sub_main()
[all …]

123