• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/

Lines Matching refs:bio_err

128     if (bio_err == NULL) {
129 if ((bio_err = BIO_new(BIO_s_file())) != NULL)
130 BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
133 if (!load_config(bio_err, NULL))
269 BIO_printf(bio_err, "Unknown digest %s\n", *args);
278 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
326 } else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
334 BIO_puts(bio_err, "Multiple signers or keys not allowed\n");
341 BIO_puts(bio_err, "Illegal -inkey without -signer\n");
355 BIO_printf(bio_err, "No signer certificate specified\n");
363 BIO_printf(bio_err,
369 BIO_printf(bio_err, "No recipient(s) certificate(s) specified\n");
378 BIO_printf(bio_err, "Usage smime [options] cert.pem ...\n");
379 BIO_printf(bio_err, "where options are\n");
380 BIO_printf(bio_err, "-encrypt encrypt message\n");
381 BIO_printf(bio_err, "-decrypt decrypt encrypted message\n");
382 BIO_printf(bio_err, "-sign sign message\n");
383 BIO_printf(bio_err, "-verify verify signed message\n");
384 BIO_printf(bio_err, "-pk7out output PKCS#7 structure\n");
386 BIO_printf(bio_err, "-des3 encrypt with triple DES\n");
387 BIO_printf(bio_err, "-des encrypt with DES\n");
390 BIO_printf(bio_err, "-seed encrypt with SEED\n");
393 BIO_printf(bio_err, "-rc2-40 encrypt with RC2-40 (default)\n");
394 BIO_printf(bio_err, "-rc2-64 encrypt with RC2-64\n");
395 BIO_printf(bio_err, "-rc2-128 encrypt with RC2-128\n");
398 BIO_printf(bio_err, "-aes128, -aes192, -aes256\n");
399 BIO_printf(bio_err,
403 BIO_printf(bio_err, "-camellia128, -camellia192, -camellia256\n");
404 BIO_printf(bio_err,
407 BIO_printf(bio_err,
409 BIO_printf(bio_err,
411 BIO_printf(bio_err,
413 BIO_printf(bio_err,
415 BIO_printf(bio_err, "-nodetach use opaque signing\n");
416 BIO_printf(bio_err,
418 BIO_printf(bio_err,
420 BIO_printf(bio_err, "-certfile file other certificates file\n");
421 BIO_printf(bio_err, "-signer file signer certificate file\n");
422 BIO_printf(bio_err,
424 BIO_printf(bio_err, "-in file input file\n");
425 BIO_printf(bio_err,
427 BIO_printf(bio_err,
429 BIO_printf(bio_err,
431 BIO_printf(bio_err, "-out file output file\n");
432 BIO_printf(bio_err,
434 BIO_printf(bio_err,
436 BIO_printf(bio_err, "-to addr to address\n");
437 BIO_printf(bio_err, "-from ad from address\n");
438 BIO_printf(bio_err, "-subject s subject\n");
439 BIO_printf(bio_err,
441 BIO_printf(bio_err,
443 BIO_printf(bio_err, "-CAfile file trusted certificates file\n");
444 BIO_printf(bio_err,
446 BIO_printf(bio_err,
448 BIO_printf(bio_err,
451 BIO_printf(bio_err,
454 BIO_printf(bio_err, "-passin arg input file pass phrase source\n");
455 BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR,
457 BIO_printf(bio_err,
459 BIO_printf(bio_err, " the random number generator\n");
460 BIO_printf(bio_err,
465 e = setup_engine(bio_err, engine, 0);
468 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
469 BIO_printf(bio_err, "Error getting password\n");
474 app_RAND_load_file(NULL, bio_err, (inrand != NULL));
476 BIO_printf(bio_err, "%ld semi-random bytes loaded\n",
506 BIO_printf(bio_err, "No cipher selected\n");
512 if (!(cert = load_cert(bio_err, *args, FORMAT_PEM,
515 BIO_printf(bio_err,
528 if (!(other = load_certs(bio_err, certfile, FORMAT_PEM, NULL,
530 ERR_print_errors(bio_err);
536 if (!(recip = load_cert(bio_err, recipfile, FORMAT_PEM, NULL,
538 ERR_print_errors(bio_err);
553 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
561 BIO_printf(bio_err, "Can't open input file %s\n", infile);
575 BIO_printf(bio_err, "Bad input format for PKCS#7 file\n");
580 BIO_printf(bio_err, "Error reading S/MIME message\n");
586 BIO_printf(bio_err, "Can't read content file %s\n", contfile);
594 BIO_printf(bio_err, "Can't open output file %s\n", outfile);
608 if (!(store = setup_verify(bio_err, CAfile, CApath)))
648 signer = load_cert(bio_err, signerfile, FORMAT_PEM, NULL,
652 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
671 BIO_printf(bio_err, "Error creating PKCS#7 structure\n");
678 BIO_printf(bio_err, "Error decrypting PKCS#7 structure\n");
684 BIO_printf(bio_err, "Verification successful\n");
686 BIO_printf(bio_err, "Verification failure\n");
691 BIO_printf(bio_err, "Error writing signers to %s\n", signerfile);
715 BIO_printf(bio_err, "Bad output format for PKCS#7 file\n");
722 app_RAND_write_file(NULL, bio_err);
724 ERR_print_errors(bio_err);