Lines Matching refs:bio_err

136         BIO_printf(bio_err, "out of memory\n");
139 if (bio_err == NULL)
140 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
141 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
143 if (!load_config(bio_err, NULL))
201 e = setup_engine(bio_err, engine, 0);
245 BIO_printf(bio_err,
251 BIO_printf(bio_err, "unknown option '%s'\n", *argv);
252 BIO_printf(bio_err, "options are\n");
253 BIO_printf(bio_err,
255 BIO_printf(bio_err,
257 BIO_printf(bio_err, "-d to output debug info\n");
258 BIO_printf(bio_err, "-hex output as hex dump\n");
259 BIO_printf(bio_err, "-binary output in binary form\n");
260 BIO_printf(bio_err, "-hmac arg set the HMAC key to arg\n");
261 BIO_printf(bio_err, "-non-fips-allow allow use of non FIPS digest\n");
262 BIO_printf(bio_err,
264 BIO_printf(bio_err,
266 BIO_printf(bio_err,
268 BIO_printf(bio_err,
270 BIO_printf(bio_err,
272 BIO_printf(bio_err, "-signature file signature to verify\n");
273 BIO_printf(bio_err, "-sigopt nm:v signature parameter\n");
274 BIO_printf(bio_err, "-hmac key create hashed MAC with key\n");
275 BIO_printf(bio_err,
277 BIO_printf(bio_err,
280 BIO_printf(bio_err,
284 EVP_MD_do_all_sorted(list_md_fn, bio_err);
291 ERR_print_errors(bio_err);
298 BIO_set_callback_arg(in, (char *)bio_err);
301 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
302 BIO_printf(bio_err, "Error getting password\n");
314 app_RAND_load_file(randfile, bio_err, 0);
332 BIO_printf(bio_err, "Error opening output file %s\n",
334 ERR_print_errors(bio_err);
338 BIO_printf(bio_err, "MAC and Signing key cannot both be specified\n");
344 sigkey = load_pubkey(bio_err, keyfile, keyform, 0, NULL,
347 sigkey = load_key(bio_err, keyfile, keyform, 0, passin,
360 if (!init_gen_str(bio_err, &mac_ctx, mac_name, e, 0))
367 BIO_printf(bio_err,
369 ERR_print_errors(bio_err);
375 BIO_puts(bio_err, "Error generating key\n");
376 ERR_print_errors(bio_err);
405 BIO_printf(bio_err, "Error getting context\n");
406 ERR_print_errors(bio_err);
414 BIO_printf(bio_err, "Error setting context\n");
415 ERR_print_errors(bio_err);
423 BIO_printf(bio_err, "parameter error \"%s\"\n", sigopt);
424 ERR_print_errors(bio_err);
435 BIO_printf(bio_err, "Error setting digest %s\n", pname);
436 ERR_print_errors(bio_err);
447 BIO_printf(bio_err, "Error opening signature file %s\n", sigfile);
448 ERR_print_errors(bio_err);
452 BIO_printf(bio_err, "Out of memory\n");
453 ERR_print_errors(bio_err);
459 BIO_printf(bio_err, "Error reading signature file %s\n", sigfile);
460 ERR_print_errors(bio_err);
537 BIO_printf(bio_err, "Read Error in %s\n", file);
538 ERR_print_errors(bio_err);
554 BIO_printf(bio_err, "Error Verifying Data\n");
555 ERR_print_errors(bio_err);
565 BIO_printf(bio_err, "Error Signing Data\n");
566 ERR_print_errors(bio_err);
572 ERR_print_errors(bio_err);