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

123456

/external/chromium_org/third_party/openssl/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...]
/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...]
/external/chromium_org/third_party/openssl/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);
/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 276 milliseconds

123456