Lines Matching refs:bio_err
114 if (!bio_err)
115 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
117 if (!load_config(bio_err, NULL))
169 e = setup_engine(bio_err, *(++argv), 0);
202 BIO_puts(bio_err, "out of memory\n");
223 BIO_puts(bio_err, "Error initializing context\n");
224 ERR_print_errors(bio_err);
227 if (peerkey != NULL && !setup_peer(bio_err, ctx, peerform, peerkey, e)) {
228 BIO_puts(bio_err, "Error setting up peer key\n");
229 ERR_print_errors(bio_err);
240 BIO_puts(bio_err, "parameter setting error\n");
241 ERR_print_errors(bio_err);
248 BIO_puts(bio_err, "Signature file specified for non verify\n");
253 BIO_puts(bio_err, "No signature file specified for verify\n");
258 app_RAND_load_file(NULL, bio_err, 0);
263 BIO_puts(bio_err, "Error Opening Input File\n");
264 ERR_print_errors(bio_err);
273 BIO_printf(bio_err, "Error Creating Output File\n");
274 ERR_print_errors(bio_err);
290 BIO_printf(bio_err, "Can't open signature file %s\n", sigfile);
296 BIO_printf(bio_err, "Error reading signature data\n");
305 BIO_printf(bio_err, "Error reading input Data\n");
344 BIO_printf(bio_err, "Public Key operation error\n");
345 ERR_print_errors(bio_err);
351 ERR_print_errors(bio_err);
375 BIO_printf(bio_err, "Usage: pkeyutl [options]\n");
376 BIO_printf(bio_err, "-in file input file\n");
377 BIO_printf(bio_err, "-out file output file\n");
378 BIO_printf(bio_err,
380 BIO_printf(bio_err, "-inkey file input key\n");
381 BIO_printf(bio_err, "-keyform arg private key format - default PEM\n");
382 BIO_printf(bio_err, "-pubin input is a public key\n");
383 BIO_printf(bio_err,
385 BIO_printf(bio_err, "-pkeyopt X:Y public key options\n");
386 BIO_printf(bio_err, "-sign sign with private key\n");
387 BIO_printf(bio_err, "-verify verify with public key\n");
388 BIO_printf(bio_err,
390 BIO_printf(bio_err, "-encrypt encrypt with public key\n");
391 BIO_printf(bio_err, "-decrypt decrypt with private key\n");
392 BIO_printf(bio_err, "-derive derive shared secret\n");
393 BIO_printf(bio_err, "-hexdump hex dump output\n");
395 BIO_printf(bio_err,
397 BIO_printf(bio_err, "-engine_impl also use engine given by -engine for crypto operations\n");
399 BIO_printf(bio_err, "-passin arg pass phrase source\n");
417 BIO_printf(bio_err, "A private key is needed for this operation\n");
420 if (!app_passwd(bio_err, passargin, NULL, &passin, NULL)) {
421 BIO_printf(bio_err, "Error getting password\n");
426 pkey = load_key(bio_err, keyfile, keyform, 0,
431 pkey = load_pubkey(bio_err, keyfile, keyform, 0,
436 x = load_cert(bio_err, keyfile, keyform, NULL, e, "Certificate");
511 peer = load_pubkey(bio_err, file, peerform, 0, NULL, engine, "Peer Key");
514 BIO_printf(bio_err, "Error reading peer key %s\n", file);