Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssl/apps/
H A Dec.c74 char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; in ec_main() local
172 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in ec_main()
180 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main()
182 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
289 if (passin != NULL) in ec_main()
290 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
176 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in dsa_main()
183 pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); in dsa_main()
185 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main()
308 OPENSSL_free(passin); in dsa_main()
H A Dpkcs8.c83 char *passin = NULL, *passout = NULL, *p8pass = NULL; in pkcs8_main() local
209 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkcs8_main()
226 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main()
325 if (passin != NULL) { in pkcs8_main()
326 p8pass = passin; in pkcs8_main()
377 OPENSSL_free(passin); in pkcs8_main()
H A Dpkey.c75 char *infile = NULL, *outfile = NULL, *passin = NULL, *passout = NULL; in pkey_main() local
208 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkey_main()
218 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); in pkey_main()
220 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main()
328 OPENSSL_free(passin); in pkey_main()
H A Dspkac.c67 char *infile = NULL, *outfile = NULL, *passinarg = NULL, *passin = NULL; in spkac_main() local
140 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in spkac_main()
150 keyformat, 1, passin, e, "private key"); in spkac_main()
231 OPENSSL_free(passin); in spkac_main()
H A Drsa.c130 char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; in rsa_main() local
230 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in rsa_main()
251 pkey = load_pubkey(infile, tmpformat, 1, passin, e, "public key"); in rsa_main()
253 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main()
412 OPENSSL_free(passin); in rsa_main()
H A Dpkeyutl.c336 char *passin = strchr(opt, ':'); in pkeyutl_main() local
339 if (passin == NULL) { in pkeyutl_main()
362 *passin = 0; in pkeyutl_main()
363 passin++; in pkeyutl_main()
364 if (app_passwd(passin, NULL, &passwd, NULL) == 0) { in pkeyutl_main()
533 char *passin = NULL; in init_ctx() local
543 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in init_ctx()
549 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in init_ctx()
655 OPENSSL_free(passin); in init_ctx()
H A Drsautl.c80 char *passinarg = NULL, *passin = NULL, *prog; in rsautl_main() local
184 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in rsautl_main()
191 pkey = load_key(keyfile, keyformat, 0, passin, e, "private key"); in rsautl_main()
291 OPENSSL_free(passin); in rsautl_main()
H A Dts.c50 const char *queryfile, const char *passin, const char *inkey,
56 const char *queryfile, const char *passin,
106 {"passin", OPT_PASSIN, 's', "Input file pass phrase source"},
142 " [-queryfile file] [-passin password]",
168 char *in = NULL, *out = NULL, *queryfile = NULL, *passin = NULL; in ts_main() local
253 passin = opt_arg(); in ts_main()
302 if (mode == OPT_REPLY && passin && in ts_main()
303 !app_passwd(passin, NULL, &password, NULL)) { in ts_main()
588 const char *queryfile, const char *passin, const char *inkey, in reply_command()
611 passin, inke in reply_command()
585 reply_command(CONF * conf,const char * section,const char * engine,const char * queryfile,const char * passin,const char * inkey,const EVP_MD * md,const char * signer,const char * chain,const char * policy,const char * in,int token_in,const char * out,int token_out,int text) reply_command() argument
693 create_response(CONF * conf,const char * section,const char * engine,const char * queryfile,const char * passin,const char * inkey,const EVP_MD * md,const char * signer,const char * chain,const char * policy) create_response() argument
[all...]
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.c73 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()
332 OPENSSL_free(passin); in storeutl_main()
H A Dreq.c147 {"passin", OPT_PASSIN, 's', "Private key and certificate password source"},
253 char *passin = NULL, *passout = NULL; in req_main() local
496 if (!app_passwd(passargin, passargout, &passin, &passout)) { in req_main()
579 if (passin == NULL) { in req_main()
580 passin = nofree_passin = in req_main()
582 if (passin == NULL) in req_main()
630 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in req_main()
764 0, passin, e, in req_main()
772 if ((CAcert = load_cert_pass(CAfile, FORMAT_UNDEF, 1, passin, in req_main()
1061 if (passin ! in req_main()
[all...]
H A Dsmime.c148 char *passinarg = NULL, *passin = NULL, *to = NULL, *from = NULL; in smime_main() local
419 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in smime_main()
489 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main()
581 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main()
674 OPENSSL_free(passin); in smime_main()
H A Ddgst.c102 char *passinarg = NULL, *passin = NULL; in dgst_main() local
258 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in dgst_main()
285 sigkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in dgst_main()
466 OPENSSL_free(passin); in dgst_main()
H A Dca.c104 const char *passin, EVP_PKEY *pkey, X509 *x509,
282 char *passin = NULL; in ca_main() local
391 passin = opt_arg(); in ca_main()
585 if (passin == NULL) { in ca_main()
587 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in ca_main()
592 pkey = load_key(keyfile, keyformat, 0, passin, e, "CA private key"); in ca_main()
593 cleanse(passin); in ca_main()
605 x509 = load_cert_pass(certfile, certformat, 1, passin, "CA certificate"); in ca_main()
987 j = certify_cert(&x, ss_cert_file, certformat, passin, pkey, in ca_main()
1322 revcert = load_cert_pass(infile, informat, 1, passin, in ca_main()
[all …]
H A Dx509.c276 char *extsect = NULL, *extfile = NULL, *passin = NULL, *passinarg = NULL; in x509_main() local
611 if (!app_passwd(passinarg, NULL, &passin, NULL)) { in x509_main()
630 privkey = load_key(privkeyfile, keyformat, 0, passin, e, "private key"); in x509_main()
753 x = load_cert_pass(infile, informat, 1, passin, "certificate"); in x509_main()
768 xca = load_cert_pass(CAfile, CAformat, 1, passin, "CA certificate"); in x509_main()
892 0, passin, e, "CA private key")) == NULL) in x509_main()
1084 clear_free(passin); in x509_main()
H A Dpkcs12.c81 {"passin", OPT_PASSIN, 's', "Input file pass phrase source"},
173 char *passin = NULL, *passout = NULL, *macalg = NULL; in pkcs12_main() local
472 if (!app_passwd(passinarg, passoutarg, &passin, &passout)) { in pkcs12_main()
481 cpass = passin; in pkcs12_main()
491 BIO_printf(bio_err, "Option -twopass cannot be used with -passin or -password\n"); in pkcs12_main()
536 FORMAT_PEM, 1, passin, e, in pkcs12_main()
546 if (!load_certs(infile, 1, &certs, passin, in pkcs12_main()
833 OPENSSL_free(passin); in pkcs12_main()
/freebsd/crypto/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-storeutl.pod.in18 [B<-passin> I<arg>]
55 =item B<-passin> I<arg>
H A Dopenssl-pkey.pod.in21 [B<-passin> I<arg>]
74 If the key input is encrypted and B<-passin> is not given
82 =item B<-passin> I<arg>
H A Dopenssl-spkac.pod.in21 [B<-passin> I<arg>]
70 =item B<-passin> I<arg>
/freebsd/sys/netinet6/
H A Dip6_fastfwd.c166 goto passin; in ip6_tryforward()
195 passin: in ip6_tryforward()
H A Dip6_input.c559 goto passin; in ip6_input()
711 goto passin; in ip6_input()
720 goto passin; in ip6_input()
732 goto passin; in ip6_input()
751 passin: in ip6_input()
/freebsd/sys/netinet/
H A Dip_fastfwd.c310 goto passin; in ip_tryforward()
343 passin: in ip_tryforward()

12