Home
last modified time | relevance | path

Searched refs:passin (Results 1 – 25 of 41) sorted by relevance

12

/openssl/apps/
H A Dec.c74 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 Ddsa.c84 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 Dpkey.c75 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 Dspkac.c67 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 Dpkcs8.c88 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 Drsa.c130 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 Drsautl.c80 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 Dpkeyutl.c380 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 Dts.c50 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 Dsrp.c124 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 Dstoreutl.c75 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 Dsmime.c177 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 Dreq.c262 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 Ddgst.c102 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 Dca.c106 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 Dx509.c285 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 Dpkcs12.c182 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 Dcms.c304 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 Dopenssl-srp.pod.in21 [B<-passin> I<arg>]
87 =item B<-passin> I<arg>, B<-passout> I<arg>
H A Dopenssl-passphrase-options.pod16 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 Dopenssl-spkac.pod.in21 [B<-passin> I<arg>]
70 =item B<-passin> I<arg>
H A Dopenssl-storeutl.pod.in18 [B<-passin> I<arg>]
58 =item B<-passin> I<arg>
H A Dopenssl-pkey.pod.in21 [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 Dopenssl-dsa.pod.in19 [B<-passin> I<arg>]
88 =item B<-passin> I<arg>, B<-passout> I<arg>
H A Dopenssl-rsa.pod.in19 [B<-passin> I<arg>]
82 =item B<-passin> I<arg>, B<-passout> I<arg>

Completed in 101 milliseconds

12