Lines Matching refs:bio_err

168 	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," -out arg output file\n");
249 BIO_printf(bio_err," -dsaparam read or generate DSA parameters, convert to DH\n");
251 BIO_printf(bio_err," -check check the DH parameters\n");
252 BIO_printf(bio_err," -text print a text form of the DH parameters\n");
253 BIO_printf(bio_err," -C Output C code\n");
254 BIO_printf(bio_err," -2 generate parameters using 2 as the generator value\n");
255 BIO_printf(bio_err," -5 generate parameters using 5 as the generator value\n");
256 BIO_printf(bio_err," numbits number of bits in to generate (default 512)\n");
258 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n");
260 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
261 BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
262 BIO_printf(bio_err," the random number generator\n");
263 BIO_printf(bio_err," -noout no output\n");
270 setup_engine(bio_err, engine, 0);
281 BIO_printf(bio_err, "generator may not be chosen for DSA parameters\n");
296 BN_GENCB_set(&cb, dh_cb, bio_err);
297 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL)
299 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
302 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
310 BIO_printf(bio_err,"Generating DSA parameters, %d bit long prime\n",num);
315 ERR_print_errors(bio_err);
323 ERR_print_errors(bio_err);
331 BIO_printf(bio_err,"Generating DH parameters, %d bit long safe prime, generator %d\n",num,g);
332 BIO_printf(bio_err,"This is going to take a long time\n");
335 ERR_print_errors(bio_err);
340 app_RAND_write_file(NULL, bio_err);
346 ERR_print_errors(bio_err);
362 BIO_printf(bio_err,"bad input format specified\n");
378 BIO_printf(bio_err,"unable to load DSA parameters\n");
379 ERR_print_errors(bio_err);
387 ERR_print_errors(bio_err);
401 BIO_printf(bio_err,"unable to load DH parameters\n");
402 ERR_print_errors(bio_err);
413 ERR_print_errors(bio_err);
445 ERR_print_errors(bio_err);
517 BIO_printf(bio_err,"bad output format specified for outfile\n");
522 BIO_printf(bio_err,"unable to write DH parameters\n");
523 ERR_print_errors(bio_err);