Lines Matching refs:bio_err
116 BN_GENCB_set(&cb, genrsa_cb, bio_err);
118 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))
125 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,
205 BIO_printf(bio_err, " -seed\n");
206 BIO_printf(bio_err,
210 BIO_printf(bio_err, " -aes128, -aes192, -aes256\n");
211 BIO_printf(bio_err,
215 BIO_printf(bio_err, " -camellia128, -camellia192, -camellia256\n");
216 BIO_printf(bio_err,
219 BIO_printf(bio_err, " -out file output the key to 'file\n");
220 BIO_printf(bio_err,
222 BIO_printf(bio_err,
224 BIO_printf(bio_err, " -3 use 3 for the E value\n");
226 BIO_printf(bio_err,
229 BIO_printf(bio_err, " -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR,
231 BIO_printf(bio_err,
233 BIO_printf(bio_err, " the random number generator\n");
239 if (!app_passwd(bio_err, NULL, passargout, NULL, &passout)) {
240 BIO_printf(bio_err, "Error getting password\n");
244 e = setup_engine(bio_err, engine, 0);
262 if (!app_RAND_load_file(NULL, bio_err, 1) && inrand == NULL
264 BIO_printf(bio_err,
268 BIO_printf(bio_err, "%ld semi-random bytes loaded\n",
271 BIO_printf(bio_err, "Generating RSA private key, %d bit long modulus\n",
284 app_RAND_write_file(NULL, bio_err);
298 BIO_printf(bio_err, "e is %ld (0x%lX)\n", l, l);
320 ERR_print_errors(bio_err);