| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | pkcs8.c | 96 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs8_main() 100 infile = opt_arg(); in pkcs8_main() 103 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) 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() 133 "%s: Unknown PBE algorithm %s\n", prog, opt_arg()); in pkcs8_main() 138 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main() 141 "%s: Unknown PRF algorithm %s\n", prog, opt_arg()); in pkcs8_main() 148 if (!opt_int(opt_arg(), &iter)) in pkcs8_main() [all …]
|
| H A D | spkac.c | 78 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 D | cms.c | 237 if (!opt_format(opt_arg(), OPT_FMT_PDS, &informat)) in cms_main() 241 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in cms_main() 245 outfile = opt_arg(); in cms_main() 270 rctfile = opt_arg(); in cms_main() 369 if (!opt_format(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() [all …]
|
| H A D | x509.c | 209 if (!opt_format(opt_arg(), OPT_FMT_ANY, &informat)) in x509_main() 213 infile = opt_arg(); in x509_main() 216 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in x509_main() 220 if (!opt_format(opt_arg(), OPT_FMT_PDE, &keyformat)) in x509_main() 224 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &CAformat)) in x509_main() 228 if (!opt_format(opt_arg(), OPT_FMT_PDE, &CAkeyformat)) in x509_main() 232 outfile = opt_arg(); in x509_main() 241 if (!sigopts || !sk_OPENSSL_STRING_push(sigopts, opt_arg())) in x509_main() 247 days = atoi(opt_arg()); in x509_main() 250 passinarg = opt_arg(); in x509_main() [all …]
|
| H A D | asn1pars.c | 94 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 D | smime.c | 153 if (!opt_format(opt_arg(), OPT_FMT_PDS, &informat)) in smime_main() 157 infile = opt_arg(); in smime_main() 160 if (!opt_format(opt_arg(), OPT_FMT_PDS, &outformat)) in smime_main() 164 outfile = opt_arg(); in smime_main() 230 e = setup_engine(opt_arg(), 0); 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() 259 signerfile = opt_arg(); in smime_main() [all …]
|
| H A D | ocsp.c | 286 outfile = opt_arg(); in ocsp_main() 290 req_timeout = atoi(opt_arg()); in ocsp_main() 298 if (!OCSP_parse_url(opt_arg(), &host, &port, &path, &use_ssl)) { 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() 373 signfile = opt_arg(); in ocsp_main() 376 verify_certfile = opt_arg(); in ocsp_main() 380 sign_certfile = opt_arg(); in ocsp_main() [all …]
|
| H A D | ec.c | 96 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 D | s_time.c | 123 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 D | crl.c | 98 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 D | pkeyutl.c | 111 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 D | enc.c | 163 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() 226 in = bio_open_default(opt_arg(), 'r', FORMAT_TEXT); in enc_main() 234 "%s Can't read key from %s\n", prog, opt_arg()); in enc_main() 246 hkey = opt_arg(); in enc_main() [all …]
|
| H A D | s_client.c | 1068 freeandcopy(&host, opt_arg()); in s_client_main() 1072 freeandcopy(&port, opt_arg()); in s_client_main() 1076 freeandcopy(&connectstr, opt_arg()); in s_client_main() 1079 freeandcopy(&bindstr, opt_arg()); in s_client_main() 1082 proxystr = opt_arg(); in s_client_main() 1089 freeandcopy(&host, opt_arg()); in s_client_main() 1095 protohost = opt_arg(); in s_client_main() 1099 verify_args.depth = atoi(opt_arg()); in s_client_main() 1104 cert_file = opt_arg(); in s_client_main() 1107 if (!set_nameopt(opt_arg())) in s_client_main() [all …]
|
| H A D | pkey.c | 76 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 D | opt.c | 470 otmp = OBJ_txt2obj(opt_arg(), 0); in opt_verify() 472 BIO_printf(bio_err, "%s: Invalid Policy %s\n", prog, opt_arg()); in opt_verify() 479 i = X509_PURPOSE_get_by_sname(opt_arg()); in opt_verify() 481 BIO_printf(bio_err, "%s: Invalid purpose %s\n", prog, 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() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
| H A D | pkcs8.c | 105 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in pkcs8_main() 109 infile = opt_arg(); in pkcs8_main() 112 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) 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() 145 "%s: Unknown PBE algorithm %s\n", prog, opt_arg()); in pkcs8_main() 150 pbe_nid = OBJ_txt2nid(opt_arg()); in pkcs8_main() 153 "%s: Unknown PRF algorithm %s\n", prog, opt_arg()); in pkcs8_main() 163 passinarg = opt_arg(); in pkcs8_main() [all …]
|
| H A D | ocsp.c | 277 outfile = opt_arg(); in ocsp_main() 281 req_timeout = atoi(opt_arg()); in ocsp_main() 289 if (!OSSL_HTTP_parse_url(opt_arg(), &use_ssl, NULL /* userinfo */, in ocsp_main() 300 host = opt_arg(); in ocsp_main() 303 port = opt_arg(); in ocsp_main() 306 path = opt_arg(); in ocsp_main() 310 opt_proxy = opt_arg(); in ocsp_main() 313 opt_no_proxy = opt_arg(); in ocsp_main() 371 reqin = opt_arg(); in ocsp_main() 374 respin = opt_arg(); in ocsp_main() [all …]
|
| H A D | spkac.c | 89 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 D | x509.c | 318 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in x509_main() 322 infile = opt_arg(); in x509_main() 325 if (!opt_format(opt_arg(), OPT_FMT_ANY, &outformat)) in x509_main() 329 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyformat)) in x509_main() 333 if (!opt_format(opt_arg(), OPT_FMT_ANY, &CAformat)) in x509_main() 337 if (!opt_format(opt_arg(), OPT_FMT_ANY, &CAkeyformat)) in x509_main() 341 outfile = opt_arg(); in x509_main() 348 if (!set_dateopt(&dateopt, opt_arg())) { in x509_main() 350 "Invalid date format: %s\n", opt_arg()); in x509_main() 355 if (!set_ext_copy(&ext_copy, opt_arg())) { in x509_main() [all …]
|
| H A D | crl.c | 114 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &informat)) in crl_main() 118 infile = opt_arg(); in crl_main() 121 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &outformat)) 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() [all …]
|
| H A D | asn1parse.c | 99 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 D | s_client.c | 973 freeandcopy(&host, opt_arg()); in s_client_main() 977 freeandcopy(&port, opt_arg()); in s_client_main() 981 freeandcopy(&connectstr, opt_arg()); in s_client_main() 984 freeandcopy(&bindstr, opt_arg()); in s_client_main() 987 proxystr = opt_arg(); in s_client_main() 990 proxyuser = opt_arg(); in s_client_main() 993 proxypassarg = opt_arg(); in s_client_main() 999 freeandcopy(&host, opt_arg()); in s_client_main() 1005 protohost = opt_arg(); in s_client_main() 1009 verify_args.depth = atoi(opt_arg()); in s_client_main() [all …]
|
| H A D | ec.c | 96 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 D | pkey.c | 99 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 D | s_server.c | 1138 if (BIO_parse_hostserv(opt_arg(), NULL, &port, BIO_PARSE_PRIO_SERV) < 1) { in s_server_main() 1153 if (BIO_parse_hostserv(opt_arg(), &host, &port, BIO_PARSE_PRIO_SERV) < 1) { in s_server_main() 1163 OPENSSL_free(host); host = OPENSSL_strdup(opt_arg()); in s_server_main() 1173 naccept = atol(opt_arg()); in s_server_main() 1177 verify_args.depth = atoi(opt_arg()); in s_server_main() 1185 verify_args.depth = atoi(opt_arg()); in s_server_main() 1192 context = (unsigned char *)opt_arg(); in s_server_main() 1195 s_cert_file = opt_arg(); in s_server_main() 1198 if (!set_nameopt(opt_arg())) in s_server_main() 1202 crl_file = opt_arg(); in s_server_main() [all …]
|