Home | History | Annotate | Download | only in apps

Lines Matching refs:bio_err

93 	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, "Unknown cipher %s\n",
199 BIO_printf(bio_err, "Usage: genpkey [options]\n");
200 BIO_printf(bio_err, "where options may be\n");
201 BIO_printf(bio_err, "-out file output file\n");
202 BIO_printf(bio_err, "-outform X output format (DER or PEM)\n");
203 BIO_printf(bio_err, "-pass arg output file pass phrase source\n");
204 BIO_printf(bio_err, "-<cipher> use cipher <cipher> to encrypt the key\n");
206 BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n");
208 BIO_printf(bio_err, "-paramfile file parameters file\n");
209 BIO_printf(bio_err, "-algorithm alg the public key algorithm\n");
210 BIO_printf(bio_err, "-pkeyopt opt:value set the public key algorithm option <opt>\n"
212 BIO_printf(bio_err, "-genparam generate parameters, not key\n");
213 BIO_printf(bio_err, "-text print the in text\n");
214 BIO_printf(bio_err, "NB: options order may be important! See the manual page.\n");
218 if (!app_passwd(bio_err, passarg, NULL, &pass, NULL))
220 BIO_puts(bio_err, "Error getting password\n");
228 BIO_printf(bio_err,
245 EVP_PKEY_CTX_set_app_data(ctx, bio_err);
251 BIO_puts(bio_err, "Error generating parameters\n");
252 ERR_print_errors(bio_err);
260 BIO_puts(bio_err, "Error generating key\n");
261 ERR_print_errors(bio_err);
275 BIO_printf(bio_err, "Bad format specified for key\n");
281 BIO_puts(bio_err, "Error writing key\n");
282 ERR_print_errors(bio_err);
294 BIO_puts(bio_err, "Error printing key\n");
295 ERR_print_errors(bio_err);
339 BIO_printf(bio_err, "Error reading parameter file %s\n", file);
386 BIO_printf(bio_err, "Algorithm %s not found\n", algname);