/openssl/apps/ |
H A D | ec.c | 74 char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; in ec_main() local 168 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in ec_main() 176 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main() 178 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main() 285 if (passin != NULL) in ec_main() 286 OPENSSL_clear_free(passin, strlen(passin)); in ec_main()
|
H A D | dsa.c | 84 char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; in dsa_main() local 172 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in dsa_main() 179 pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); in dsa_main() 181 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main() 304 OPENSSL_free(passin); in dsa_main()
|
H A D | pkey.c | 75 char *infile = NULL, *outfile = NULL, *passin = NULL, *passout = NULL; in pkey_main() local 206 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkey_main() 212 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); in pkey_main() 214 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main() 326 OPENSSL_free(passin); in pkey_main()
|
H A D | spkac.c | 67 char *infile = NULL, *outfile = NULL, *passinarg = NULL, *passin = NULL; in spkac_main() local 139 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in spkac_main() 149 keyformat, 1, passin, e, "private key"); in spkac_main() 231 OPENSSL_free(passin); in spkac_main()
|
H A D | pkcs8.c | 88 char *passin = NULL, *passout = NULL, *p8pass = NULL; in pkcs8_main() local 218 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkcs8_main() 232 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main() 333 if (passin != NULL) { in pkcs8_main() 334 p8pass = passin; in pkcs8_main() 388 OPENSSL_free(passin); in pkcs8_main()
|
H A D | rsa.c | 130 char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; in rsa_main() local 228 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in rsa_main() 249 pkey = load_pubkey(infile, tmpformat, 1, passin, e, "public key"); in rsa_main() 251 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main() 410 OPENSSL_free(passin); in rsa_main()
|
H A D | rsautl.c | 80 char *passinarg = NULL, *passin = NULL, *prog; in rsautl_main() local 183 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in rsautl_main() 190 pkey = load_key(keyfile, keyformat, 0, passin, e, "private key"); in rsautl_main() 290 OPENSSL_free(passin); in rsautl_main()
|
H A D | pkeyutl.c | 380 char *passin = strchr(opt, ':'); in pkeyutl_main() local 383 if (passin == NULL) { in pkeyutl_main() 408 *passin = 0; in pkeyutl_main() 409 passin++; in pkeyutl_main() 410 if (app_passwd(passin, NULL, &passwd, NULL) == 0) { in pkeyutl_main() 593 char *passin = NULL; in get_pkey() local 602 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in get_pkey() 608 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in get_pkey() 627 OPENSSL_free(passin); in get_pkey()
|
H A D | ts.c | 50 const char *queryfile, const char *passin, const char *inkey, 56 const char *queryfile, const char *passin, 168 char *in = NULL, *out = NULL, *queryfile = NULL, *passin = NULL; in ts_main() local 256 passin = opt_arg(); in ts_main() 306 if (mode == OPT_REPLY && passin && in ts_main() 307 !app_passwd(passin, NULL, &password, NULL)) { in ts_main() 591 const char *queryfile, const char *passin, const char *inkey, in reply_command() argument 614 passin, inkey, md, signer, chain, policy); in reply_command() 699 const char *queryfile, const char *passin, in create_response() argument 724 if (!TS_CONF_set_signer_key(conf, section, inkey, passin, resp_ctx)) in create_response()
|
H A D | srp.c | 124 const char *passin, int verbose) in srp_verify_user() argument 133 cb_tmp.password = passin; in srp_verify_user() 240 char *passin = NULL, *passout = NULL, *gN = NULL, *userinfo = NULL; in srp_main() local 338 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in srp_main() 522 irow ? irow[DB_srpverifier] : NULL, passin, in srp_main() 623 OPENSSL_free(passin); in srp_main()
|
H A D | storeutl.c | 75 char *outfile = NULL, *passin = NULL, *passinarg = NULL; in storeutl_main() local 308 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in storeutl_main() 312 pw_cb_data.password = passin; in storeutl_main() 328 OPENSSL_free(passin); in storeutl_main()
|
H A D | smime.c | 177 char *passinarg = NULL, *passin = NULL, *to = NULL, *from = NULL; in smime_main() local 453 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in smime_main() 517 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main() 609 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main() 702 OPENSSL_free(passin); in smime_main()
|
H A D | req.c | 262 char *passin = NULL, *passout = NULL; in req_main() local 532 if (!app_passwd(passargin, passargout, &passin, &passout)) { in req_main() 606 if (passin == NULL) in req_main() 607 passin = nofree_passin = in req_main() 627 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in req_main() 765 0, passin, e, in req_main() 773 if ((CAcert = load_cert_pass(CAfile, FORMAT_UNDEF, 1, passin, in req_main() 1069 if (passin != nofree_passin) in req_main() 1070 OPENSSL_free(passin); in req_main()
|
H A D | dgst.c | 102 char *passinarg = NULL, *passin = NULL; in dgst_main() local 259 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in dgst_main() 286 sigkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in dgst_main() 467 OPENSSL_free(passin); in dgst_main()
|
H A D | ca.c | 106 const char *passin, EVP_PKEY *pkey, X509 *x509, 288 char *passin = NULL; in ca_main() local 402 passin = opt_arg(); in ca_main() 587 if (passin == NULL) { in ca_main() 589 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in ca_main() 594 pkey = load_key(keyfile, keyformat, 0, passin, e, "CA private key"); in ca_main() 595 cleanse(passin); in ca_main() 1279 revcert = load_cert_pass(infile, informat, 1, passin, in ca_main() 1309 cleanse(passin); in ca_main() 1311 OPENSSL_free(passin); in ca_main() [all …]
|
H A D | x509.c | 285 char *extsect = NULL, *extfile = NULL, *passin = NULL, *passinarg = NULL; in x509_main() local 641 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in x509_main() 659 privkey = load_key(privkeyfile, keyformat, 0, passin, e, "private key"); in x509_main() 790 x = load_cert_pass(infile, informat, 1, passin, "certificate"); in x509_main() 805 xca = load_cert_pass(CAfile, CAformat, 1, passin, "CA certificate"); in x509_main() 932 0, passin, e, "CA private key")) == NULL) in x509_main() 1132 clear_free(passin); in x509_main()
|
H A D | pkcs12.c | 182 char *passin = NULL, *passout = NULL, *macalg = NULL, *pbmac1_pbkdf2_md = NULL; in pkcs12_main() local 494 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkcs12_main() 503 cpass = passin; in pkcs12_main() 559 FORMAT_PEM, 1, passin, e, in pkcs12_main() 569 if (!load_certs(infile, 1, &certs, passin, in pkcs12_main() 906 OPENSSL_free(passin); in pkcs12_main()
|
H A D | cms.c | 304 char *passinarg = NULL, *passin = NULL, *signerfile = NULL; in cms_main() local 792 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in cms_main() 885 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in cms_main() 1101 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in cms_main() 1305 OPENSSL_free(passin); in cms_main()
|
/openssl/doc/man1/ |
H A D | openssl-srp.pod.in | 21 [B<-passin> I<arg>] 87 =item B<-passin> I<arg>, B<-passout> I<arg>
|
H A D | openssl-passphrase-options.pod | 16 Several OpenSSL commands accept password arguments, typically using B<-passin> 53 If the same I<pathname> argument is supplied to both B<-passin> and B<-passout>
|
H A D | openssl-spkac.pod.in | 21 [B<-passin> I<arg>] 70 =item B<-passin> I<arg>
|
H A D | openssl-storeutl.pod.in | 18 [B<-passin> I<arg>] 58 =item B<-passin> I<arg>
|
H A D | openssl-pkey.pod.in | 21 [B<-passin> I<arg>] 75 If the key input is encrypted and B<-passin> is not given 83 =item B<-passin> I<arg>
|
H A D | openssl-dsa.pod.in | 19 [B<-passin> I<arg>] 88 =item B<-passin> I<arg>, B<-passout> I<arg>
|
H A D | openssl-rsa.pod.in | 19 [B<-passin> I<arg>] 82 =item B<-passin> I<arg>, B<-passout> I<arg>
|