Home | History | Annotate | Download | only in apps

Lines Matching full:bio_err

136 	if (bio_err == NULL)
137 if ((bio_err=BIO_new(BIO_s_file())) != NULL)
138 BIO_set_fp(bio_err,stderr,BIO_NOCLOSE|BIO_FP_TEXT);
140 if (!load_config(bio_err, NULL))
160 BIO_printf(bio_err,"%s is an unknown cipher\n",pname);
239 BIO_printf(bio_err,"unable to read key from '%s'\n",
246 BIO_printf(bio_err,"unable to read key from '%s'\n",
260 BIO_printf(bio_err,"zero length password\n");
296 BIO_printf(bio_err,"unknown option '%s'\n",*argv);
298 BIO_printf(bio_err,"options are\n");
299 BIO_printf(bio_err,"%-14s input file\n","-in <file>");
300 BIO_printf(bio_err,"%-14s output file\n","-out <file>");
301 BIO_printf(bio_err,"%-14s pass phrase source\n","-pass <arg>");
302 BIO_printf(bio_err,"%-14s encrypt\n","-e");
303 BIO_printf(bio_err,"%-14s decrypt\n","-d");
304 BIO_printf(bio_err,"%-14s base64 encode/decode, depending on encryption flag\n","-a/-base64");
305 BIO_printf(bio_err,"%-14s passphrase is the next argument\n","-k");
306 BIO_printf(bio_err,"%-14s passphrase is the first line of the file argument\n","-kfile");
307 BIO_printf(bio_err,"%-14s the next argument is the md to use to create a key\n","-md");
308 BIO_printf(bio_err,"%-14s from a passphrase. One of md2, md5, sha or sha1\n","");
309 BIO_printf(bio_err,"%-14s salt in hex is the next argument\n","-S");
310 BIO_printf(bio_err,"%-14s key/iv in hex is the next argument\n","-K/-iv");
311 BIO_printf(bio_err,"%-14s print the iv/key (then exit if -P)\n","-[pP]");
312 BIO_printf(bio_err,"%-14s buffer size\n","-bufsize <n>");
313 BIO_printf(bio_err,"%-14s disable standard block padding\n","-nopad");
315 BIO_printf(bio_err,"%-14s use engine e, possibly a hardware device.\n","-engine e");
318 BIO_printf(bio_err,"Cipher Types\n");
321 bio_err);
322 BIO_printf(bio_err,"\n");
331 setup_engine(bio_err, engine, 0);
336 BIO_printf(bio_err,"%s is an unsupported message digest type\n",md);
363 BIO_printf(bio_err,"invalid 'bufsize' specified.\n");
371 if (verbose) BIO_printf(bio_err,"bufsize=%d\n",bsize);
378 BIO_printf(bio_err,"OPENSSL_malloc failure %ld\n",(long)EVP_ENCODE_LENGTH(bsize));
386 ERR_print_errors(bio_err);
393 BIO_set_callback_arg(in,(char *)bio_err);
394 BIO_set_callback_arg(out,(char *)bio_err);
415 if(!app_passwd(bio_err, passarg, NULL, &pass, NULL)) {
416 BIO_printf(bio_err, "Error getting password\n");
445 BIO_printf(bio_err,"bad password read\n");
498 BIO_set_callback_arg(b64,(char *)bio_err);
525 BIO_printf(bio_err,
538 BIO_printf(bio_err,"error writing output file\n");
545 BIO_printf(bio_err,"error reading input file\n");
548 BIO_printf(bio_err,"bad magic number\n");
569 BIO_printf(bio_err,"invalid hex iv value\n");
578 BIO_printf(bio_err, "iv undefined\n");
583 BIO_printf(bio_err,"invalid hex key value\n");
602 BIO_printf(bio_err, "Error setting cipher %s\n",
604 ERR_print_errors(bio_err);
613 BIO_printf(bio_err, "Error setting cipher %s\n",
615 ERR_print_errors(bio_err);
622 BIO_set_callback_arg(benc,(char *)bio_err);
666 BIO_printf(bio_err,"error writing output file\n");
672 BIO_printf(bio_err,"bad decrypt\n");
679 BIO_printf(bio_err,"bytes read :%8ld\n",BIO_number_read(in));
680 BIO_printf(bio_err,"bytes written:%8ld\n",BIO_number_written(out));
683 ERR_print_errors(bio_err);
706 BIO_printf(bio_err,"hex string is too long\n");
723 BIO_printf(bio_err,"non-hex digit\n");