Lines Matching refs:bio_err

113 	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," -idea encrypt the generated key with IDEA in cbc mode\n");
203 BIO_printf(bio_err," -seed\n");
204 BIO_printf(bio_err," encrypt PEM output with cbc seed\n");
207 BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
208 BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
211 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n");
212 BIO_printf(bio_err," encrypt PEM output with cbc camellia\n");
214 BIO_printf(bio_err," -out file output the key to 'file\n");
215 BIO_printf(bio_err," -passout arg output file pass phrase source\n");
216 BIO_printf(bio_err," -f4 use F4 (0x10001) for the E value\n");
217 BIO_printf(bio_err," -3 use 3 for the E value\n");
219 BIO_printf(bio_err," -engine e use engine e, possibly a hardware device.\n");
221 BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
222 BIO_printf(bio_err," load the file (or the files in the directory) into\n");
223 BIO_printf(bio_err," the random number generator\n");
229 if(!app_passwd(bio_err, NULL, passargout, NULL, &passout)) {
230 BIO_printf(bio_err, "Error getting password\n");
235 e = setup_engine(bio_err, engine, 0);
257 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
260 BIO_printf(bio_err,"warning, not much extra random data, consider using the -rand option\n");
263 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
266 BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
279 app_RAND_write_file(NULL, bio_err);
292 BIO_printf(bio_err,"e is %ld (0x%lX)\n",l,l);
309 ERR_print_errors(bio_err);