Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/apps/
H A Dpkcs8.c105 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs8_main()
109 infile = opt_arg(); in pkcs8_main()
116 outfile = opt_arg(); in pkcs8_main()
139 ciphername = opt_arg(); in pkcs8_main()
142 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
150 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main()
163 passinarg = opt_arg(); in pkcs8_main()
166 passoutarg = opt_arg(); in pkcs8_main()
169 e = setup_engine(opt_arg(), 0); in pkcs8_main()
180 if (!opt_long(opt_arg(), &scrypt_N) || scrypt_N <= 0) in pkcs8_main()
[all …]
H A Dspkac.c89 infile = opt_arg(); in spkac_main()
92 outfile = opt_arg(); in spkac_main()
104 passinarg = opt_arg(); in spkac_main()
107 keyfile = opt_arg(); in spkac_main()
110 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in spkac_main()
114 challenge = opt_arg(); in spkac_main()
117 spkac = opt_arg(); in spkac_main()
120 spksect = opt_arg(); in spkac_main()
123 digest = opt_arg(); in spkac_main()
126 e = setup_engine(opt_arg(), 0); in spkac_main()
H A Docsp.c277 outfile = opt_arg(); in ocsp_main()
300 host = opt_arg(); in ocsp_main()
303 port = opt_arg(); in ocsp_main()
306 path = opt_arg(); in ocsp_main()
371 reqin = opt_arg(); in ocsp_main()
374 respin = opt_arg(); in ocsp_main()
390 CAfile = opt_arg(); in ocsp_main()
393 CApath = opt_arg(); in ocsp_main()
396 CAstore = opt_arg(); in ocsp_main()
422 reqout = opt_arg(); in ocsp_main()
[all …]
H A Dx509.c322 infile = opt_arg(); in x509_main()
341 outfile = opt_arg(); in x509_main()
383 passinarg = opt_arg(); in x509_main()
386 extfile = opt_arg(); in x509_main()
397 extsect = opt_arg(); in x509_main()
404 CAfile = opt_arg(); in x509_main()
407 CAkeyfile = opt_arg(); in x509_main()
410 CAserial = opt_arg(); in x509_main()
427 subj = opt_arg(); in x509_main()
452 alias = opt_arg(); in x509_main()
[all …]
H A Dcms.c338 outfile = opt_arg(); in cms_main()
361 rctfile = opt_arg(); in cms_main()
467 certfile = opt_arg(); in cms_main()
470 CAfile = opt_arg(); in cms_main()
473 CApath = opt_arg(); in cms_main()
476 CAstore = opt_arg(); in cms_main()
488 infile = opt_arg(); in cms_main()
560 to = opt_arg(); in cms_main()
563 from = opt_arg(); in cms_main()
566 subject = opt_arg(); in cms_main()
[all …]
H A Dsmime.c180 infile = opt_arg(); in smime_main()
187 outfile = opt_arg(); in smime_main()
268 to = opt_arg(); in smime_main()
271 from = opt_arg(); in smime_main()
274 subject = opt_arg(); in smime_main()
320 keyfile = opt_arg(); in smime_main()
327 certfile = opt_arg(); in smime_main()
330 CAfile = opt_arg(); in smime_main()
333 CApath = opt_arg(); in smime_main()
336 CAstore = opt_arg(); in smime_main()
[all …]
H A Dasn1parse.c99 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in asn1parse_main()
103 infile = opt_arg(); in asn1parse_main()
106 derfile = opt_arg(); in asn1parse_main()
115 oidfile = opt_arg(); in asn1parse_main()
118 offset = strtol(opt_arg(), NULL, 0); in asn1parse_main()
121 length = strtol(opt_arg(), NULL, 0); in asn1parse_main()
127 dump = strtol(opt_arg(), NULL, 0); in asn1parse_main()
130 sk_OPENSSL_STRING_push(osk, opt_arg()); in asn1parse_main()
133 genstr = opt_arg(); in asn1parse_main()
136 genconf = opt_arg(); in asn1parse_main()
[all …]
H A Dcrl.c114 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in crl_main()
118 infile = opt_arg(); in crl_main()
125 outfile = opt_arg(); in crl_main()
128 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in crl_main()
132 keyfile = opt_arg(); in crl_main()
135 crldiff = opt_arg(); in crl_main()
138 CApath = opt_arg(); in crl_main()
142 CAfile = opt_arg(); in crl_main()
146 CAstore = opt_arg(); in crl_main()
167 if (!set_dateopt(&dateopt, opt_arg())) in crl_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()
137 point_format = opt_arg(); in ec_main()
142 asn1_encoding = opt_arg(); in ec_main()
H A Ds_client.c987 proxystr = opt_arg(); in s_client_main()
1021 crl_file = opt_arg(); in s_client_main()
1027 sess_out = opt_arg(); in s_client_main()
1030 sess_in = opt_arg(); in s_client_main()
1180 srppass = opt_arg(); in s_client_main()
1298 passarg = opt_arg(); in s_client_main()
1310 CApath = opt_arg(); in s_client_main()
1328 CAfile = opt_arg(); in s_client_main()
1351 CAstore = opt_arg(); in s_client_main()
1383 alpn_in = opt_arg(); in s_client_main()
[all …]
H A Dpkey.c99 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in pkey_main()
103 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in pkey_main()
107 passinarg = opt_arg(); in pkey_main()
110 passoutarg = opt_arg(); in pkey_main()
113 e = setup_engine(opt_arg(), 0); in pkey_main()
116 infile = opt_arg(); in pkey_main()
119 outfile = opt_arg(); in pkey_main()
152 point_format = opt_arg(); in pkey_main()
161 asn1_encoding = opt_arg(); in pkey_main()
H A Ds_server.c1202 crl_file = opt_arg(); in s_server_main()
1222 passarg = opt_arg(); in s_server_main()
1228 dhfile = opt_arg(); in s_server_main()
1242 dpassarg = opt_arg(); in s_server_main()
1254 CApath = opt_arg(); in s_server_main()
1260 chCApath = opt_arg(); in s_server_main()
1266 CAstore = opt_arg(); in s_server_main()
1319 CAfile = opt_arg(); in s_server_main()
1325 chCAfile = opt_arg(); in s_server_main()
1447 psksessf = opt_arg(); in s_server_main()
[all …]
H A Ds_time.c148 host = opt_arg(); in s_time_main()
162 certfile = opt_arg(); in s_time_main()
165 if (!set_nameopt(opt_arg())) in s_time_main()
169 keyfile = opt_arg(); in s_time_main()
172 CApath = opt_arg(); in s_time_main()
175 CAfile = opt_arg(); in s_time_main()
184 CAstore = opt_arg(); in s_time_main()
190 cipher = opt_arg(); in s_time_main()
193 ciphersuites = opt_arg(); in s_time_main()
202 www_path = opt_arg(); in s_time_main()
H A Decparam.c127 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in ecparam_main()
131 infile = opt_arg(); in ecparam_main()
134 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in ecparam_main()
138 outfile = opt_arg(); in ecparam_main()
159 curve_name = opt_arg(); in ecparam_main()
162 point_format = opt_arg(); in ecparam_main()
167 asn1_encoding = opt_arg(); in ecparam_main()
183 e = setup_engine(opt_arg(), 0); in ecparam_main()
H A Dverify.c129 CApath = opt_arg(); in verify_main()
132 CAfile = opt_arg(); in verify_main()
135 CAstore = opt_arg(); in verify_main()
148 if (!load_certs(opt_arg(), 0, &untrusted, NULL, in verify_main()
157 if (!load_certs(opt_arg(), 0, &trusted, NULL, "trusted certificates")) in verify_main()
162 if (!load_crls(opt_arg(), &crls, NULL, "other CRLs")) in verify_main()
169 if ((e = setup_engine(opt_arg(), 0)) == NULL) { in verify_main()
178 if (!set_nameopt(opt_arg())) in verify_main()
184 if (!vfyopts || !sk_OPENSSL_STRING_push(vfyopts, opt_arg())) in verify_main()
H A Dkdf.c99 dkm_len = (size_t)atoi(opt_arg()); in kdf_main()
102 outfile = opt_arg(); in kdf_main()
107 if (opts == NULL || !sk_OPENSSL_STRING_push(opts, opt_arg())) in kdf_main()
112 cipher = alloc_kdf_algorithm_name(&opts, "cipher", opt_arg()); in kdf_main()
118 digest = alloc_kdf_algorithm_name(&opts, "digest", opt_arg()); in kdf_main()
124 mac = alloc_kdf_algorithm_name(&opts, "mac", opt_arg()); in kdf_main()
H A Ddsa.c109 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in dsa_main()
113 infile = opt_arg(); in dsa_main()
116 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in dsa_main()
120 outfile = opt_arg(); in dsa_main()
123 e = setup_engine(opt_arg(), 0); in dsa_main()
126 passinarg = opt_arg(); in dsa_main()
129 passoutarg = opt_arg(); in dsa_main()
H A Dreq.c305 keyfile = opt_arg(); in req_main()
314 template = opt_arg(); in req_main()
317 section = opt_arg(); in req_main()
324 infile = opt_arg(); in req_main()
327 outfile = opt_arg(); in req_main()
330 keyout = opt_arg(); in req_main()
347 keyalg = opt_arg(); in req_main()
409 CAfile = opt_arg(); in req_main()
436 subj = opt_arg(); in req_main()
449 p = opt_arg(); in req_main()
[all …]
H A Dgenpkey.c93 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) in genpkey_main()
97 outfile = opt_arg(); in genpkey_main()
100 passarg = opt_arg(); in genpkey_main()
103 e = setup_engine(opt_arg(), 0); in genpkey_main()
108 paramfile = opt_arg(); in genpkey_main()
111 algname = opt_arg(); in genpkey_main()
114 if (!sk_OPENSSL_STRING_push(keyopt, opt_arg())) in genpkey_main()
130 conf = app_load_config_modules(opt_arg()); in genpkey_main()
H A Denc.c180 infile = opt_arg(); in enc_main()
183 outfile = opt_arg(); in enc_main()
186 passarg = opt_arg(); in enc_main()
189 e = setup_engine(opt_arg(), 0); in enc_main()
227 p = opt_arg(); in enc_main()
232 if (!opt_long(opt_arg(), &n) in enc_main()
240 str = opt_arg(); in enc_main()
263 hkey = opt_arg(); in enc_main()
266 hsalt = opt_arg(); in enc_main()
269 hiv = opt_arg(); in enc_main()
[all …]
H A Dfipsinstall.c330 in_fname = opt_arg(); in fipsinstall_main()
333 out_fname = opt_arg(); in fipsinstall_main()
348 self_test_corrupt_desc = opt_arg(); in fipsinstall_main()
351 self_test_corrupt_type = opt_arg(); in fipsinstall_main()
354 prov_name = opt_arg(); in fipsinstall_main()
357 module_fname = opt_arg(); in fipsinstall_main()
360 section_name = opt_arg(); in fipsinstall_main()
363 mac_name = opt_arg(); in fipsinstall_main()
366 parent_config = opt_arg(); in fipsinstall_main()
369 if (!sk_OPENSSL_STRING_push(opts, opt_arg())) in fipsinstall_main()
[all …]
H A Ddgst.c152 outfile = opt_arg(); in dgst_main()
155 keyfile = opt_arg(); in dgst_main()
158 passinarg = opt_arg(); in dgst_main()
161 keyfile = opt_arg(); in dgst_main()
165 keyfile = opt_arg(); in dgst_main()
169 sigfile = opt_arg(); in dgst_main()
172 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in dgst_main()
176 e = setup_engine(opt_arg(), 0); in dgst_main()
188 xoflen = atoi(opt_arg()); in dgst_main()
197 hmac_key = opt_arg(); in dgst_main()
[all …]
H A Dpkeyutl.c145 infile = opt_arg(); in pkeyutl_main()
148 outfile = opt_arg(); in pkeyutl_main()
151 sigfile = opt_arg(); in pkeyutl_main()
157 inkey = opt_arg(); in pkeyutl_main()
160 peerkey = opt_arg(); in pkeyutl_main()
163 passinarg = opt_arg(); in pkeyutl_main()
178 conf = app_load_config_modules(opt_arg()); in pkeyutl_main()
187 e = setup_engine(opt_arg(), 0); in pkeyutl_main()
222 kdfalg = opt_arg(); in pkeyutl_main()
225 kdflen = atoi(opt_arg()); in pkeyutl_main()
[all …]
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c492 assert(opt_arg != NULL); in parse_authentication()
547 assert(opt_arg != NULL); in parse_privacy()
600 assert(opt_arg != NULL); in parse_context()
644 assert(opt_arg != NULL); in parse_user_security()
706 assert(opt_arg != NULL); in parse_file()
732 assert(opt_arg != NULL); in parse_include()
789 assert(opt_arg != NULL); in parse_server()
972 if (strncasecmp(opt_arg, "short", strlen(opt_arg)) == 0) in parse_output()
974 else if (strncasecmp(opt_arg, "verbose", strlen(opt_arg)) == 0) in parse_output()
976 else if (strncasecmp(opt_arg,"tabular", strlen(opt_arg)) == 0) in parse_output()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Dopt.c694 otmp = OBJ_txt2obj(opt_arg(), 0); in opt_verify()
702 prog, opt_arg()); in opt_verify()
708 i = X509_PURPOSE_get_by_sname(opt_arg()); in opt_verify()
722 prog, opt_arg()); in opt_verify()
727 vtmp = X509_VERIFY_PARAM_lookup(opt_arg()); in opt_verify()
730 prog, opt_arg()); in opt_verify()
736 i = atoi(opt_arg()); in opt_verify()
741 i = atoi(opt_arg()); in opt_verify()
746 if (!opt_intmax(opt_arg(), &t)) in opt_verify()
750 prog, opt_arg()); in opt_verify()
[all …]

123