/openbsd-current/lib/libcrypto/conf/ |
H A D | conf_sap.c | 88 BIO *bio_err; local 90 if ((bio_err = BIO_new_fp(stderr, BIO_NOCLOSE)) != NULL) { 91 BIO_printf(bio_err, "Auto configuration failed\n"); 92 ERR_print_errors(bio_err); 93 BIO_free(bio_err);
|
/openbsd-current/usr.bin/openssl/ |
H A D | prime.c | 137 BIO_printf(bio_err, "No prime specified.\n"); 143 ERR_print_errors(bio_err); 150 BIO_printf(bio_err, "Specify the number of bits.\n"); 155 BIO_printf(bio_err, "Out of memory.\n"); 160 BIO_printf(bio_err, "Prime generation error.\n"); 165 BIO_printf(bio_err, "Out of memory.\n"); 173 BIO_printf(bio_err, "%s is an invalid hex " 179 BIO_printf(bio_err, "%s is an invalid decimal " 187 BIO_printf(bio_err, "BN_is_prime_ex failed.\n");
|
H A D | spkac.c | 198 if (!app_passwd(bio_err, cfg.passargin, NULL, &passin, NULL)) { 199 BIO_printf(bio_err, "Error getting password\n"); 204 pkey = load_key(bio_err, 219 BIO_printf(bio_err, "Error encoding SPKAC\n"); 220 ERR_print_errors(bio_err); 230 BIO_printf(bio_err, "Error opening output file\n"); 231 ERR_print_errors(bio_err); 245 BIO_printf(bio_err, "Error opening input file\n"); 246 ERR_print_errors(bio_err); 253 BIO_printf(bio_err, "Erro [all...] |
H A D | genpkey.c | 84 if (!init_gen_str(bio_err, cfg.ctx, arg, 121 if (!init_keygen_file(bio_err, cfg.ctx, arg)) 131 BIO_puts(bio_err, "No keytype specified\n"); 136 BIO_puts(bio_err, "parameter setting error\n"); 137 ERR_print_errors(bio_err); 246 if (!app_passwd(bio_err, cfg.passarg, NULL, &pass, NULL)) { 247 BIO_puts(bio_err, "Error getting password\n"); 253 BIO_printf(bio_err, "Can't open output file %s\n", 262 EVP_PKEY_CTX_set_app_data(ctx, bio_err); 266 BIO_puts(bio_err, "Erro [all...] |
H A D | pkcs8.c | 223 if (!app_passwd(bio_err, cfg.passargin, 225 BIO_printf(bio_err, "Error getting passwords\n"); 233 BIO_printf(bio_err, 243 BIO_printf(bio_err, "Can't open output file '%s'\n", 251 pkey = load_key(bio_err, cfg.infile, 256 BIO_printf(bio_err, "Error converting key\n"); 257 ERR_print_errors(bio_err); 266 BIO_printf(bio_err, 282 BIO_printf(bio_err, "Error encrypting key\n"); 283 ERR_print_errors(bio_err); [all...] |
H A D | s_cb.c | 146 BIO_printf(bio_err, "depth=%d ", depth); 148 X509_NAME_print_ex(bio_err, X509_get_subject_name(err_cert), 150 BIO_puts(bio_err, "\n"); 152 BIO_puts(bio_err, "<no cert>\n"); 154 BIO_printf(bio_err, "verify error:num=%d:%s\n", err, 165 BIO_puts(bio_err, "issuer= "); 167 BIO_puts(bio_err, "<error getting cert>"); 169 X509_NAME_print_ex(bio_err, 171 BIO_puts(bio_err, "\n"); 175 BIO_printf(bio_err, "notBefor [all...] |
H A D | ca.c | 693 BIO_printf(bio_err, "error making config file name\n"); 698 BIO_printf(bio_err, "Using configuration from %s\n", 703 BIO_printf(bio_err, 707 BIO_printf(bio_err, 734 BIO_printf(bio_err, 736 ERR_print_errors(bio_err); 744 if (!add_oid_section(bio_err, conf)) { 745 ERR_print_errors(bio_err); 754 BIO_printf(bio_err, 777 ERR_print_errors(bio_err); [all...] |
H A D | rsautl.c | 268 BIO_printf(bio_err, "A private key is needed for this operation\n"); 271 if (!app_passwd(bio_err, cfg.passargin, NULL, &passin, NULL)) { 272 BIO_printf(bio_err, "Error getting password\n"); 278 pkey = load_key(bio_err, cfg.keyfile, 283 pkey = load_pubkey(bio_err, cfg.keyfile, 288 x = load_cert(bio_err, cfg.keyfile, 304 BIO_printf(bio_err, "Error getting RSA key\n"); 305 ERR_print_errors(bio_err); 310 BIO_printf(bio_err, "Error Reading Input File\n"); 311 ERR_print_errors(bio_err); [all...] |
H A D | dhparam.c | 264 BIO_printf(bio_err, "invalid number of bits: %s\n", 275 BIO_printf(bio_err, "generator may not be chosen for DSA parameters\n"); 286 BIO_printf(bio_err, 291 BN_GENCB_set(cb, dh_cb, bio_err); 295 BIO_printf(bio_err, "Generating DSA parameters, %d bit long prime\n", num); 299 ERR_print_errors(bio_err); 305 ERR_print_errors(bio_err); 310 BIO_printf(bio_err, "Generating DH parameters, %d bit long safe prime, generator %d\n", num, cfg.g); 311 BIO_printf(bio_err, "This is going to take a long time\n"); 313 ERR_print_errors(bio_err); [all...] |
H A D | dsaparam.c | 199 ERR_print_errors(bio_err); 221 BIO_printf(bio_err, 226 BN_GENCB_set(cb, dsa_cb, bio_err); 230 BIO_printf(bio_err, "Error allocating DSA object\n"); 233 BIO_printf(bio_err, "Generating DSA parameters, %d bit long prime\n", numbits); 234 BIO_printf(bio_err, "This could take some time\n"); 236 ERR_print_errors(bio_err); 237 BIO_printf(bio_err, "Error, DSA key generation failed\n"); 245 BIO_printf(bio_err, "bad input format specified\n"); 249 BIO_printf(bio_err, "unabl [all...] |
H A D | pkeyutl.c | 289 BIO_puts(bio_err, "Signature file specified for non verify\n"); 294 BIO_puts(bio_err, "No signature file specified for verify\n"); 301 BIO_puts(bio_err, 303 ERR_print_errors(bio_err); 311 BIO_printf(bio_err, "Error Creating Output File\n"); 312 ERR_print_errors(bio_err); 322 BIO_printf(bio_err, "Can't open signature file %s\n", 329 BIO_printf(bio_err, "Error reading signature data\n"); 337 BIO_printf(bio_err, "Error reading input Data\n"); 377 BIO_printf(bio_err, "Publi [all...] |
H A D | dgst.c | 322 EVP_MD_do_all_sorted(list_md_fn, bio_err); 347 BIO_printf(bio_err, "out of memory\n"); 369 BIO_printf(bio_err, 377 ERR_print_errors(bio_err); 384 BIO_set_callback_arg(in, (char *) bio_err); 386 if (!app_passwd(bio_err, cfg.passargin, NULL, &passin, NULL)) { 387 BIO_printf(bio_err, "Error getting password\n"); 407 BIO_printf(bio_err, "Error opening output file %s\n", 409 ERR_print_errors(bio_err); 414 BIO_printf(bio_err, [all...] |
H A D | enc.c | 364 BIO_printf(bio_err, "%s is an unknown cipher\n", pname); 379 BIO_printf(bio_err, "unable to read key from '%s'\n", 385 BIO_printf(bio_err, "unable to read key from '%s'\n", 397 BIO_printf(bio_err, "zero length password\n"); 405 BIO_printf(bio_err, "enc does not support AEAD ciphers\n"); 411 BIO_printf(bio_err, "enc does not support XTS mode\n"); 417 BIO_printf(bio_err, 441 BIO_printf(bio_err, "invalid 'bufsize' specified.\n"); 450 BIO_printf(bio_err, "bufsize=%d\n", bsize); 455 BIO_printf(bio_err, "mallo [all...] |
H A D | asn1pars.c | 259 BIO_printf(bio_err, "Memory allocation failure\n"); 271 ERR_print_errors(bio_err); 278 BIO_printf(bio_err, "problems opening %s\n", 280 ERR_print_errors(bio_err); 296 BIO_printf(bio_err, "problems opening %s\n", 298 ERR_print_errors(bio_err); 308 num = do_generate(bio_err, cfg.genstr, cfg.genconf, buf); 310 ERR_print_errors(bio_err); 347 BIO_printf(bio_err, 359 BIO_printf(bio_err, "Erro [all...] |
H A D | gendh.c | 143 BIO_printf(bio_err, "Error allocating BN_GENCB object\n"); 147 BN_GENCB_set(cb, dh_cb, bio_err); 169 ERR_print_errors(bio_err); 181 BIO_printf(bio_err, "Generating DH parameters, %d bit long safe prime," 183 BIO_printf(bio_err, "This is going to take a long time\n"); 194 ERR_print_errors(bio_err);
|
H A D | dsa.c | 255 if (!app_passwd(bio_err, cfg.passargin, cfg.passargout, 257 BIO_printf(bio_err, "Error getting passwords\n"); 264 ERR_print_errors(bio_err); 276 BIO_printf(bio_err, "read DSA key\n"); 282 pkey = load_pubkey(bio_err, cfg.infile, 285 pkey = load_key(bio_err, cfg.infile, 294 BIO_printf(bio_err, "unable to load Key\n"); 295 ERR_print_errors(bio_err); 310 ERR_print_errors(bio_err); 321 BIO_printf(bio_err, "writin [all...] |
H A D | req.c | 203 BIO_printf(bio_err, "bad -days %s, using 0: %s\n", 589 if (!app_passwd(bio_err, cfg.passargin, cfg.passargout, &passin, &passout)) { 590 BIO_printf(bio_err, "Error getting passwords\n"); 597 BIO_printf(bio_err, "Using configuration from %s\n", cfg.template); 601 BIO_printf(bio_err, "error on line %ld of %s\n", errline, cfg.template); 608 BIO_printf(bio_err, "Unable to load config info from %s\n", default_config_file); 612 BIO_printf(bio_err, "Using configuration from %s\n", 619 BIO_printf(bio_err, 624 BIO_printf(bio_err, 632 if (!load_config(bio_err, req_con [all...] |
H A D | pkeyparam.c | 142 BIO_printf(bio_err, "Can't open input file %s\n", 151 BIO_printf(bio_err, "Can't open output file %s\n", 161 BIO_printf(bio_err, "Error reading parameters\n"); 162 ERR_print_errors(bio_err);
|
H A D | ec.c | 287 if (!app_passwd(bio_err, cfg.passargin, cfg.passargout, 289 BIO_printf(bio_err, "Error getting passwords\n"); 295 ERR_print_errors(bio_err); 307 BIO_printf(bio_err, "read EC key\n"); 321 BIO_printf(bio_err, "bad input format specified for key\n"); 325 BIO_printf(bio_err, "unable to load Key\n"); 326 ERR_print_errors(bio_err); 349 ERR_print_errors(bio_err); 356 BIO_printf(bio_err, "writing EC key\n"); 373 BIO_printf(bio_err, "ba [all...] |
H A D | openssl.c | 346 BIO *bio_err = NULL; variable 386 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 387 if (bio_err == NULL) { 388 fprintf(stderr, "openssl: failed to initialise bio_err\n"); 393 BIO_printf(bio_err, "BIO_sock_init failed\n"); 404 BIO_printf(bio_err, "error making config file name\n"); 416 BIO_printf(bio_err, 422 ERR_print_errors(bio_err); 428 if (!load_config(bio_err, NULL)) { 429 BIO_printf(bio_err, "faile [all...] |
H A D | crl2p7.c | 190 ERR_print_errors(bio_err); 208 BIO_printf(bio_err, 213 BIO_printf(bio_err, "unable to load CRL\n"); 214 ERR_print_errors(bio_err); 243 BIO_printf(bio_err, 245 ERR_print_errors(bio_err); 267 BIO_printf(bio_err, 272 BIO_printf(bio_err, "unable to write pkcs7 object\n"); 273 ERR_print_errors(bio_err); 302 BIO_printf(bio_err, "erro [all...] |
H A D | x509.c | 168 BIO_printf(bio_err, "Invalid reject object value %s\n", arg); 187 BIO_printf(bio_err, "Invalid trust object value %s\n", arg); 226 BIO_printf(bio_err, "checkend unusable: %s\n", errstr); 248 BIO_printf(bio_err, "bad number of days: %s\n", errstr); 265 BIO_printf(bio_err, "unknown option %s\n", *argv); 835 if (!app_passwd(bio_err, cfg.passargin, NULL, &passin, NULL)) { 836 BIO_printf(bio_err, "Error getting password\n"); 840 ERR_print_errors(bio_err); 846 BIO_printf(bio_err, 856 BIO_printf(bio_err, [all...] |
H A D | speed.c | 458 BIO_printf(bio_err, "out of memory\n"); 462 BIO_printf(bio_err, "out of memory\n"); 493 BIO_printf(bio_err, "no EVP given\n"); 501 BIO_printf(bio_err, "%s is an unknown cipher or digest\n", *argv); 513 BIO_printf(bio_err, "no multi count given\n"); 518 BIO_printf(bio_err, "bad multi count: %s", errstr); 527 BIO_printf(bio_err, "no alignment offset given\n"); 532 BIO_printf(bio_err, "bad alignment offset: %s", 757 BIO_printf(bio_err, "Error: bad option or value\n"); 758 BIO_printf(bio_err, "\ [all...] |
H A D | ocsp.c | 152 cfg.cert = load_cert(bio_err, arg, FORMAT_PEM, NULL, 216 cfg.issuer = load_cert(bio_err, arg, FORMAT_PEM, NULL, 232 BIO_printf(bio_err, "Illegal update period %s: %s\n", 246 BIO_printf(bio_err, "Illegal update period %s: %s\n", 265 BIO_printf(bio_err, "Illegal accept count %s: %s\n", 306 BIO_printf(bio_err, "Illegal validity age %s: %s\n", 328 BIO_printf(bio_err, "Illegal timeout value %s: %s\n", 342 BIO_printf(bio_err, "Error parsing URL\n"); 364 BIO_printf(bio_err, "Illegal validity period %s: %s\n", 793 BIO_printf(bio_err, "Erro [all...] |
/openbsd-current/regress/lib/libcrypto/dsa/ |
H A D | dsatest.c | 112 static BIO *bio_err = NULL; variable 126 if (bio_err == NULL) 127 bio_err = BIO_new_fp(stderr, BIO_NOCLOSE); 131 BIO_printf(bio_err, "test generation of DSA parameters\n"); 136 BN_GENCB_set(cb, dsa_cb, bio_err); 141 BIO_printf(bio_err, "ENGINE was not NULL\n"); 148 BIO_printf(bio_err, "seed\n"); 150 BIO_printf(bio_err, "%02X%02X%02X%02X ", 153 BIO_printf(bio_err, "\ncounter=%d h=%ld\n", counter, h); 155 DSA_print(bio_err, ds [all...] |