Lines Matching refs:bio_err
93 if (bio_err == NULL) in MAIN()
94 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); in MAIN()
96 if (!load_config(bio_err, NULL)) in MAIN()
111 BIO_printf(bio_err, "Unknown cipher %s\n", *args); in MAIN()
121 BIO_printf(bio_err, "Unknown PBE algorithm %s\n", *args); in MAIN()
185 BIO_printf(bio_err, "Usage pkcs8 [options]\n"); in MAIN()
186 BIO_printf(bio_err, "where options are\n"); in MAIN()
187 BIO_printf(bio_err, "-in file input file\n"); in MAIN()
188 BIO_printf(bio_err, "-inform X input format (DER or PEM)\n"); in MAIN()
189 BIO_printf(bio_err, in MAIN()
191 BIO_printf(bio_err, "-outform X output format (DER or PEM)\n"); in MAIN()
192 BIO_printf(bio_err, "-out file output file\n"); in MAIN()
193 BIO_printf(bio_err, in MAIN()
195 BIO_printf(bio_err, "-topk8 output PKCS8 file\n"); in MAIN()
196 BIO_printf(bio_err, in MAIN()
198 BIO_printf(bio_err, in MAIN()
200 BIO_printf(bio_err, in MAIN()
202 BIO_printf(bio_err, "-noiter use 1 as iteration count\n"); in MAIN()
203 BIO_printf(bio_err, in MAIN()
205 BIO_printf(bio_err, in MAIN()
207 BIO_printf(bio_err, in MAIN()
210 BIO_printf(bio_err, in MAIN()
216 e = setup_engine(bio_err, engine, 0); in MAIN()
219 if (!app_passwd(bio_err, passargin, passargout, &passin, &passout)) { in MAIN()
220 BIO_printf(bio_err, "Error getting passwords\n"); in MAIN()
229 BIO_printf(bio_err, "Can't open input file %s\n", infile); in MAIN()
237 BIO_printf(bio_err, "Can't open output file %s\n", outfile); in MAIN()
251 pkey = load_key(bio_err, infile, informat, 1, passin, e, "key"); in MAIN()
257 BIO_printf(bio_err, "Error converting key\n"); in MAIN()
258 ERR_print_errors(bio_err); in MAIN()
269 BIO_printf(bio_err, "Bad format specified for key\n"); in MAIN()
288 app_RAND_load_file(NULL, bio_err, 0); in MAIN()
292 BIO_printf(bio_err, "Error encrypting key\n"); in MAIN()
293 ERR_print_errors(bio_err); in MAIN()
299 app_RAND_write_file(NULL, bio_err); in MAIN()
305 BIO_printf(bio_err, "Bad format specified for key\n"); in MAIN()
330 BIO_printf(bio_err, "Bad format specified for key\n"); in MAIN()
339 BIO_printf(bio_err, "Bad format specified for key\n"); in MAIN()
344 BIO_printf(bio_err, "Error reading key\n"); in MAIN()
345 ERR_print_errors(bio_err); in MAIN()
359 BIO_printf(bio_err, "Error decrypting key\n"); in MAIN()
360 ERR_print_errors(bio_err); in MAIN()
365 BIO_printf(bio_err, "Error converting key\n"); in MAIN()
366 ERR_print_errors(bio_err); in MAIN()
371 BIO_printf(bio_err, "Warning: broken key encoding: "); in MAIN()
374 BIO_printf(bio_err, "No Octet String in PrivateKey\n"); in MAIN()
378 BIO_printf(bio_err, "DSA parameters included in PrivateKey\n"); in MAIN()
382 BIO_printf(bio_err, "DSA public key include in PrivateKey\n"); in MAIN()
386 BIO_printf(bio_err, "Unknown broken type\n"); in MAIN()
397 BIO_printf(bio_err, "Bad format specified for key\n"); in MAIN()