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

123

/external/openssl/apps/
H A Dpkcs8.c93 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE);
95 if (!load_config(bio_err, NULL))
114 BIO_printf(bio_err,
130 BIO_printf(bio_err,
210 BIO_printf(bio_err, "Usage pkcs8 [options]\n");
211 BIO_printf(bio_err, "where options are\n");
212 BIO_printf(bio_err, "-in file input file\n");
213 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n");
214 BIO_printf(bio_err, "
[all...]
H A Dpkeyparam.c81 if (bio_err == NULL)
82 bio_err = BIO_new_fp (stderr, BIO_NOCLOSE);
84 if (!load_config(bio_err, NULL))
130 BIO_printf(bio_err, "Usage pkeyparam [options]\n");
131 BIO_printf(bio_err, "where options are\n");
132 BIO_printf(bio_err, "-in file input file\n");
133 BIO_printf(bio_err, "-out file output file\n");
134 BIO_printf(bio_err, "-text print parameters as text\n");
135 BIO_printf(bio_err, "-noout don't output encoded parameters\n");
137 BIO_printf(bio_err, "
[all...]
H A Ddsa.c119 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))
194 BIO_printf(bio_err,"unknown option %s\n",*argv);
205 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
206 BIO_printf(bio_err,"where options are\n");
207 BIO_printf(bio_err," -inform arg input format - DER or PEM\n");
208 BIO_printf(bio_err," -outform arg output format - DER or PEM\n");
209 BIO_printf(bio_err,"
[all...]
H A Dec.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);
110 if (!load_config(bio_err, NULL))
199 BIO_printf(bio_err, "unknown option %s\n", *argv);
210 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
211 BIO_printf(bio_err, "where options are\n");
212 BIO_printf(bio_err, " -inform arg input format - "
214 BIO_printf(bio_err, " -outform arg output format - "
216 BIO_printf(bio_err, "
[all...]
H A Drsautl.c111 if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
113 if (!load_config(bio_err, NULL))
184 BIO_printf(bio_err, "A private key is needed for this operation\n");
189 e = setup_engine(bio_err, engine, 0);
191 if(!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
192 BIO_printf(bio_err, "Error getting password\n");
197 app_RAND_load_file(NULL, bio_err, 0);
201 pkey = load_key(bio_err, keyfile, keyform, 0,
206 pkey = load_pubkey(bio_err, keyfil
[all...]
H A Dgenpkey.c93 if (bio_err == NULL)
94 bio_err = BIO_new_fp (stderr, BIO_NOCLOSE);
96 if (!load_config(bio_err, NULL))
125 e = setup_engine(bio_err, *(++args), 0);
135 if (!init_keygen_file(bio_err, &ctx, *args, e))
151 if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param))
160 BIO_puts(bio_err, "No keytype specified\n");
165 BIO_puts(bio_err, "parameter setting error\n");
166 ERR_print_errors(bio_err);
183 BIO_printf(bio_err, "Unknow
[all...]
H A Ddhparam.c168 if (bio_err == NULL)
169 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
170 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
172 if (!load_config(bio_err, NULL))
242 BIO_printf(bio_err,"%s [options] [numbits]\n",prog);
243 BIO_printf(bio_err,"where options are\n");
244 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n");
245 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n");
246 BIO_printf(bio_err," -in arg input file\n");
247 BIO_printf(bio_err,"
[all...]
H A Dsmime.c127 if (bio_err == NULL)
129 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
130 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT);
133 if (!load_config(bio_err, NULL))
287 BIO_printf(bio_err, "Unknown digest %s\n",
301 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
368 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
377 BIO_puts(bio_err, "Multiple signers or keys not allowed\n");
386 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
402 BIO_printf(bio_err, "N
[all...]
H A Dgendh.c104 BN_GENCB_set(&cb, dh_cb, bio_err);
105 if (bio_err == NULL)
106 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
107 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
109 if (!load_config(bio_err, NULL))
148 BIO_printf(bio_err,"usage: gendh [args] [numbits]\n");
149 BIO_printf(bio_err," -out file - output the key to 'file\n");
150 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"); */
152 BIO_printf(bio_err,"
[all...]
H A Dgenrsa.c113 BN_GENCB_set(&cb, genrsa_cb, bio_err);
115 if (bio_err == NULL)
116 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
117 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
119 if (!load_config(bio_err, NULL))
123 BIO_printf(bio_err,"unable to create BIO for output\n");
196 BIO_printf(bio_err,"usage: genrsa [args] [numbits]\n");
197 BIO_printf(bio_err," -des encrypt the generated key with DES in cbc mode\n");
198 BIO_printf(bio_err," -des3 encrypt the generated key with DES in ede cbc mode (168 bit key)\n");
200 BIO_printf(bio_err,"
[all...]
H A Dspkac.c102 if (!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
104 if (!load_config(bio_err, NULL))
168 BIO_printf(bio_err,"%s [options]\n",prog);
169 BIO_printf(bio_err,"where options are\n");
170 BIO_printf(bio_err," -in arg input file\n");
171 BIO_printf(bio_err," -out arg output file\n");
172 BIO_printf(bio_err," -key arg create SPKAC using private key\n");
173 BIO_printf(bio_err," -passin arg input file pass phrase source\n");
174 BIO_printf(bio_err,"
[all...]
H A Ddgst.c137 BIO_printf(bio_err,"out of memory\n");
140 if (bio_err == NULL)
141 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
142 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
144 if (!load_config(bio_err, NULL))
210 e = setup_engine(bio_err, engine, 0);
263 BIO_printf(bio_err, "No signature to verify: use the -signature option\n");
269 BIO_printf(bio_err,"unknown option '%s'\n",*argv);
270 BIO_printf(bio_err,"options are\n");
271 BIO_printf(bio_err,"
[all...]
H A Drsa.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);
126 if (!load_config(bio_err, NULL))
202 BIO_printf(bio_err,"unknown option %s\n",*argv);
213 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
214 BIO_printf(bio_err,"where options are\n");
215 BIO_printf(bio_err," -inform arg input format - one of DER NET PEM\n");
216 BIO_printf(bio_err," -outform arg output format - one of DER NET PEM\n");
217 BIO_printf(bio_err,"
[all...]
H A Dnseq.c79 if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE);
99 BIO_printf (bio_err, "Netscape certificate sequence utility\n");
100 BIO_printf (bio_err, "Usage nseq [options]\n");
101 BIO_printf (bio_err, "where options are\n");
102 BIO_printf (bio_err, "-in file input file\n");
103 BIO_printf (bio_err, "-out file output file\n");
104 BIO_printf (bio_err, "-toseq output NS Sequence file\n");
110 BIO_printf (bio_err,
118 BIO_printf (bio_err,
[all...]
H A Ddsaparam.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))
206 BIO_printf(bio_err,"unknown option %s\n",*argv);
217 BIO_printf(bio_err,"%s [options] [bits] <infile >outfile\n",prog);
218 BIO_printf(bio_err,"where options are\n");
219 BIO_printf(bio_err," -inform arg input format - DER or PEM\n");
220 BIO_printf(bio_err," -outform arg output format - DER or PEM\n");
221 BIO_printf(bio_err,"
[all...]
H A Dpkey.c86 if (bio_err == NULL)
87 bio_err = BIO_new_fp (stderr, BIO_NOCLOSE);
89 if (!load_config(bio_err, NULL))
175 BIO_printf(bio_err, "Unknown cipher %s\n",
186 BIO_printf(bio_err, "Usage pkey [options]\n");
187 BIO_printf(bio_err, "where options are\n");
188 BIO_printf(bio_err, "-in file input file\n");
189 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n");
190 BIO_printf(bio_err, "-passin arg input file pass phrase source\n");
191 BIO_printf(bio_err, "
[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))
173 BIO_printf(bio_err,"usage: gendsa [args] dsaparam-file\n");
174 BIO_printf(bio_err," -out file - output the key to 'file'\n");
176 BIO_printf(bio_err," -des - encrypt the generated key with DES in cbc mode\n");
177 BIO_printf(bio_err," -des3 - encrypt the generated key with DES in ede cbc mode (168 bit key)\n");
180 BIO_printf(bio_err," -idea - encrypt the generated key with IDEA in cbc mode\n");
183 BIO_printf(bio_err,"
[all...]
H A Dasn1pars.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);
110 if (!load_config(bio_err, NULL))
118 BIO_printf(bio_err,"Memory allocation failure\n");
186 BIO_printf(bio_err,"unknown option %s\n",*argv);
197 BIO_printf(bio_err,"%s [options] <infile\n",prog);
198 BIO_printf(bio_err,"where options are\n");
199 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n");
200 BIO_printf(bio_err,"
[all...]
H A Dcms.c151 if (bio_err == NULL)
153 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
154 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT);
157 if (!load_config(bio_err, NULL))
313 BIO_printf(bio_err, "Invalid key %s\n", *args);
327 BIO_printf(bio_err, "Invalid id %s\n", *args);
347 BIO_printf(bio_err, "Invalid OID %s\n", *args);
430 BIO_printf(bio_err, "Unknown digest %s\n",
444 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
517 else if (args_verify(&args, NULL, &badarg, bio_err,
[all...]
H A Decparam.c140 if (bio_err == NULL)
141 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
142 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
144 if (!load_config(bio_err, NULL))
239 BIO_printf(bio_err,"unknown option %s\n",*argv);
250 BIO_printf(bio_err, "%s [options] <infile >outfile\n",prog);
251 BIO_printf(bio_err, "where options are\n");
252 BIO_printf(bio_err, " -inform arg input format - "
254 BIO_printf(bio_err, " -outform arg output format - "
256 BIO_printf(bio_err, "
[all...]
H A Dpkeyutl.c110 if(!bio_err) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
112 if (!load_config(bio_err, NULL))
145 BIO_puts(bio_err,
147 ERR_print_errors(bio_err);
156 else if (!setup_peer(bio_err, ctx, peerform, *(++argv)))
180 e = setup_engine(bio_err, *(++argv), 0);
211 BIO_puts(bio_err,
217 BIO_puts(bio_err, "parameter setting error\n");
218 ERR_print_errors(bio_err);
[all...]
H A Dprime.c73 if (bio_err == NULL)
74 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
75 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
99 BIO_printf(bio_err,"Unknown option '%s'\n",*argv);
108 BIO_printf(bio_err,"No prime specified\n");
129 BIO_printf(bio_err,"Specifiy the number of bits.\n");
156 BIO_printf(bio_err,"options are\n");
157 BIO_printf(bio_err,"%-14s hex\n","-hex");
158 BIO_printf(bio_err,"%-14s number of checks\n","-checks <n>");
H A Docsp.c170 if (bio_err == NULL) bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
172 if (!load_config(bio_err, NULL))
198 BIO_printf(bio_err,
219 BIO_printf(bio_err, "Error parsing URL\n");
374 BIO_printf(bio_err,
390 BIO_printf(bio_err,
440 issuer = load_cert(bio_err, *args, FORMAT_PEM,
452 cert = load_cert(bio_err, *args, FORMAT_PEM,
502 BIO_printf(bio_err,
[all...]
H A Ddh.c102 if (bio_err == NULL)
103 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
104 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
106 if (!load_config(bio_err, NULL))
159 BIO_printf(bio_err,"unknown option %s\n",*argv);
170 BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
171 BIO_printf(bio_err,"where options are\n");
172 BIO_printf(bio_err," -inform arg input format - one of DER PEM\n");
173 BIO_printf(bio_err," -outform arg output format - one of DER PEM\n");
174 BIO_printf(bio_err,"
[all...]
/external/openssl/crypto/conf/
H A Dconf_sap.c94 BIO *bio_err; local
96 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);

Completed in 220 milliseconds

123