Searched refs:bio_err (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-9.3-release/crypto/openssl/apps/
H A Dpkcs8.c93 if (bio_err == NULL)
94 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
96 if (!load_config(bio_err, NULL))
111 BIO_printf(bio_err, "Unknown cipher %s\n", *args);
121 BIO_printf(bio_err, "Unknown PBE algorithm %s\n", *args);
185 BIO_printf(bio_err, "Usage pkcs8 [options]\n");
186 BIO_printf(bio_err, "where options are\n");
187 BIO_printf(bio_err, "-in file input file\n");
188 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n");
189 BIO_printf(bio_err,
[all...]
H A Drsa.c121 if (bio_err == NULL)
122 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
123 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
125 if (!load_config(bio_err, NULL))
184 BIO_printf(bio_err, "unknown option %s\n", *argv);
194 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
195 BIO_printf(bio_err, "where options are\n");
196 BIO_printf(bio_err,
198 BIO_printf(bio_err,
200 BIO_printf(bio_err, "
[all...]
H A Ddsa.c118 if (bio_err == NULL)
119 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
120 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
122 if (!load_config(bio_err, NULL))
180 BIO_printf(bio_err, "unknown option %s\n", *argv);
190 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
191 BIO_printf(bio_err, "where options are\n");
192 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
193 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
194 BIO_printf(bio_err, "
[all...]
H A Dec.c107 if (bio_err == NULL)
108 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
109 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
111 if (!load_config(bio_err, NULL))
187 BIO_printf(bio_err, "unknown option %s\n", *argv);
197 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
198 BIO_printf(bio_err, "where options are\n");
199 BIO_printf(bio_err, " -inform arg input format - "
201 BIO_printf(bio_err, " -outform arg output format - "
203 BIO_printf(bio_err, "
[all...]
H A Drsautl.c112 if (!bio_err)
113 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
115 if (!load_config(bio_err, NULL))
195 BIO_printf(bio_err, "A private key is needed for this operation\n");
199 e = setup_engine(bio_err, engine, 0);
201 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
202 BIO_printf(bio_err, "Error getting password\n");
207 app_RAND_load_file(NULL, bio_err, 0);
211 pkey = load_key(bio_err, keyfile, keyform, 0,
216 pkey = load_pubkey(bio_err, keyfil
[all...]
H A Ddhparam.c169 if (bio_err == NULL)
170 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
171 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
173 if (!load_config(bio_err, NULL))
237 BIO_printf(bio_err, "%s [options] [numbits]\n", prog);
238 BIO_printf(bio_err, "where options are\n");
239 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n");
240 BIO_printf(bio_err,
242 BIO_printf(bio_err, " -in arg input file\n");
243 BIO_printf(bio_err, "
[all...]
H A Dgendh.c106 BN_GENCB_set(&cb, dh_cb, bio_err);
107 if (bio_err == NULL)
108 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
109 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
111 if (!load_config(bio_err, NULL))
147 BIO_printf(bio_err, "usage: gendh [args] [numbits]\n");
148 BIO_printf(bio_err, " -out file - output the key to 'file\n");
149 BIO_printf(bio_err, " -2 - use 2 as the generator value\n");
151 * BIO_printf(bio_err," -3 - use 3 as the generator value\n");
153 BIO_printf(bio_err, "
[all...]
H A Dgenrsa.c114 BN_GENCB_set(&cb, genrsa_cb, bio_err);
116 if (bio_err == NULL)
117 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
118 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
120 if (!load_config(bio_err, NULL))
123 BIO_printf(bio_err, "unable to create BIO for output\n");
195 BIO_printf(bio_err, "usage: genrsa [args] [numbits]\n");
196 BIO_printf(bio_err,
198 BIO_printf(bio_err,
201 BIO_printf(bio_err,
[all...]
H A Dspkac.c103 if (!bio_err)
104 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
106 if (!load_config(bio_err, NULL))
163 BIO_printf(bio_err, "%s [options]\n", prog);
164 BIO_printf(bio_err, "where options are\n");
165 BIO_printf(bio_err, " -in arg input file\n");
166 BIO_printf(bio_err, " -out arg output file\n");
167 BIO_printf(bio_err,
169 BIO_printf(bio_err,
171 BIO_printf(bio_err, "
[all...]
H A Dsmime.c122 if (bio_err == NULL) {
123 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
124 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
127 if (!load_config(bio_err, NULL))
312 } else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
321 BIO_printf(bio_err, "No signer certificate specified\n");
327 BIO_printf(bio_err,
333 BIO_printf(bio_err, "No recipient(s) certificate(s) specified\n");
341 BIO_printf(bio_err, "Usage smime [options] cert.pem ...\n");
342 BIO_printf(bio_err, "wher
[all...]
H A Denc.c130 if (bio_err == NULL)
131 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
132 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
134 if (!load_config(bio_err, NULL))
144 BIO_printf(bio_err, "%s is an unknown cipher\n", pname);
213 BIO_printf(bio_err, "unable to read key from '%s'\n", file);
218 BIO_printf(bio_err, "unable to read key from '%s'\n", file);
228 BIO_printf(bio_err, "zero length password\n");
256 BIO_printf(bio_err, "unknown option '%s'\n", *argv);
258 BIO_printf(bio_err, "option
[all...]
H A Dprime.c69 if (bio_err == NULL)
70 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
71 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
84 BIO_printf(bio_err, "Unknown option '%s'\n", *argv);
92 BIO_printf(bio_err, "No prime specified\n");
121 BIO_printf(bio_err, "options are\n");
122 BIO_printf(bio_err, "%-14s hex\n", "-hex");
123 BIO_printf(bio_err, "%-14s number of checks\n", "-checks <n>");
H A Dnseq.c80 if (bio_err == NULL)
81 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
105 BIO_printf(bio_err, "Netscape certificate sequence utility\n");
106 BIO_printf(bio_err, "Usage nseq [options]\n");
107 BIO_printf(bio_err, "where options are\n");
108 BIO_printf(bio_err, "-in file input file\n");
109 BIO_printf(bio_err, "-out file output file\n");
110 BIO_printf(bio_err, "-toseq output NS Sequence file\n");
116 BIO_printf(bio_err, "Can't open input file %s\n", infile);
124 BIO_printf(bio_err, "Ca
[all...]
H A Dgendsa.c94 if (bio_err == NULL)
95 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
96 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
98 if (!load_config(bio_err, NULL))
168 BIO_printf(bio_err, "usage: gendsa [args] dsaparam-file\n");
169 BIO_printf(bio_err, " -out file - output the key to 'file'\n");
171 BIO_printf(bio_err,
173 BIO_printf(bio_err,
177 BIO_printf(bio_err,
181 BIO_printf(bio_err, "
[all...]
H A Dasn1pars.c108 if (bio_err == NULL)
109 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
110 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
112 if (!load_config(bio_err, NULL))
119 BIO_printf(bio_err, "Memory allocation failure\n");
174 BIO_printf(bio_err, "unknown option %s\n", *argv);
184 BIO_printf(bio_err, "%s [options] <infile\n", prog);
185 BIO_printf(bio_err, "where options are\n");
186 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n");
187 BIO_printf(bio_err, "
[all...]
H A Ddgst.c116 BIO_printf(bio_err, "out of memory\n");
119 if (bio_err == NULL)
120 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
121 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
123 if (!load_config(bio_err, NULL))
177 BIO_printf(bio_err, "Invalid PSS salt length %d\n", saltlen);
225 BIO_printf(bio_err,
232 BIO_printf(bio_err, "unknown option '%s'\n", *argv);
233 BIO_printf(bio_err, "options are\n");
234 BIO_printf(bio_err,
[all...]
H A Ddsaparam.c133 if (bio_err == NULL)
134 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
135 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
137 if (!load_config(bio_err, NULL))
199 BIO_printf(bio_err, "unknown option %s\n", *argv);
209 BIO_printf(bio_err, "%s [options] [bits] <infile >outfile\n", prog);
210 BIO_printf(bio_err, "where options are\n");
211 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
212 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
213 BIO_printf(bio_err, "
[all...]
H A Dcms.c148 if (bio_err == NULL) {
149 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
150 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
153 if (!load_config(bio_err, NULL))
293 BIO_printf(bio_err, "Invalid key %s\n", *args);
304 BIO_printf(bio_err, "Invalid id %s\n", *args);
314 BIO_printf(bio_err, "Invalid OID %s\n", *args);
377 BIO_printf(bio_err, "Unknown digest %s\n", *args);
386 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
438 } else if (args_verify(&args, NULL, &badarg, bio_err,
[all...]
H A Decparam.c141 if (bio_err == NULL)
142 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
143 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
145 if (!load_config(bio_err, NULL))
224 BIO_printf(bio_err, "unknown option %s\n", *argv);
234 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
235 BIO_printf(bio_err, "where options are\n");
236 BIO_printf(bio_err, " -inform arg input format - "
238 BIO_printf(bio_err, " -outform arg output format - "
240 BIO_printf(bio_err, "
[all...]
H A Docsp.c142 if (bio_err == NULL)
143 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
145 if (!load_config(bio_err, NULL))
164 BIO_printf(bio_err, "Illegal timeout value %s\n", *args);
179 BIO_printf(bio_err, "Error parsing URL\n");
288 BIO_printf(bio_err,
299 BIO_printf(bio_err, "Illegal validity age %s\n", *args);
332 issuer = load_cert(bio_err, *args, FORMAT_PEM,
342 cert = load_cert(bio_err, *args, FORMAT_PEM,
378 BIO_printf(bio_err, "Illega
[all...]
H A Dcrl2p7.c106 if (bio_err == NULL)
107 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
108 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
149 BIO_printf(bio_err, "unknown option %s\n", *argv);
159 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
160 BIO_printf(bio_err, "where options are\n");
161 BIO_printf(bio_err, " -inform arg input format - DER or PEM\n");
162 BIO_printf(bio_err, " -outform arg output format - DER or PEM\n");
163 BIO_printf(bio_err, " -in arg input file\n");
164 BIO_printf(bio_err, "
[all...]
H A Ddh.c103 if (bio_err == NULL)
104 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
105 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
107 if (!load_config(bio_err, NULL))
155 BIO_printf(bio_err, "unknown option %s\n", *argv);
165 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
166 BIO_printf(bio_err, "where options are\n");
167 BIO_printf(bio_err, " -inform arg input format - one of DER PEM\n");
168 BIO_printf(bio_err,
170 BIO_printf(bio_err, "
[all...]
H A Drand.c95 if (bio_err == NULL)
96 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
97 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
99 if (!load_config(bio_err, NULL))
152 BIO_printf(bio_err, "Usage: rand [options] num\n");
153 BIO_printf(bio_err, "where options are\n");
154 BIO_printf(bio_err, "-out file - write to file\n");
156 BIO_printf(bio_err,
159 BIO_printf(bio_err, "-rand file%cfile%c... - seed PRNG from files\n",
161 BIO_printf(bio_err, "
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/conf/
H A Dconf_sap.c95 BIO *bio_err; local
97 if ((bio_err = BIO_new_fp(stderr, BIO_NOCLOSE)) != NULL) {
98 BIO_printf(bio_err, "Auto configuration failed\n");
99 ERR_print_errors(bio_err);
100 BIO_free(bio_err);
/freebsd-9.3-release/crypto/openssl/demos/
H A Db64.c98 if (bio_err == NULL)
99 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
100 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE);
128 BIO_printf(bio_err, "unknown option '%s'\n", *argv);
130 BIO_printf(bio_err, "options are\n");
131 BIO_printf(bio_err, "%-14s input file\n", "-in <file>");
132 BIO_printf(bio_err, "%-14s output file\n", "-out <file>");
133 BIO_printf(bio_err, "%-14s encode\n", "-e");
134 BIO_printf(bio_err, "%-14s decode\n", "-d");
135 BIO_printf(bio_err, "
[all...]

Completed in 269 milliseconds

123