Lines Matching refs:BIO_printf
101 BIO_printf(bio_err, "%s: Use -help for summary.\n", prog);
199 BIO_printf(out, " %-10s: ", sname);
200 BIO_printf(out, "%s\n", comment);
217 BIO_printf(bio_err, "using curve name prime192v1 "
221 BIO_printf(bio_err, "using curve name prime256v1 "
232 BIO_printf(bio_err, "unknown curve name (%s)\n", curve_name);
238 BIO_printf(bio_err, "unable to create curve (%s)\n", curve_name);
249 BIO_printf(bio_err, "unable to load elliptic curve parameters\n");
270 BIO_printf(bio_err, "checking elliptic curve parameters: ");
272 BIO_printf(bio_err, "failed\n");
276 BIO_printf(bio_err, "ok\n");
298 BIO_printf(bio_err, "Can only handle X9.62 prime fields\n");
336 BIO_printf(out, "EC_GROUP *get_ec_group_%d(void)\n{\n", len);
343 BIO_printf(out, " int ok = 0;\n"
351 BIO_printf(out, " if ((tmp_1 = BN_bin2bn(ec_p_%d, sizeof(ec_p_%d), NULL)) == NULL)\n"
353 BIO_printf(out, " if ((tmp_2 = BN_bin2bn(ec_a_%d, sizeof(ec_a_%d), NULL)) == NULL)\n"
355 BIO_printf(out, " if ((tmp_3 = BN_bin2bn(ec_b_%d, sizeof(ec_b_%d), NULL)) == NULL)\n"
357 … BIO_printf(out, " if ((group = EC_GROUP_new_curve_GFp(tmp_1, tmp_2, tmp_3, NULL)) == NULL)\n"
360 BIO_printf(out, " /* build generator */\n");
361 … BIO_printf(out, " if ((tmp_1 = BN_bin2bn(ec_gen_%d, sizeof(ec_gen_%d), tmp_1)) == NULL)\n"
363 BIO_printf(out, " point = EC_POINT_bn2point(group, tmp_1, NULL, NULL);\n");
364 BIO_printf(out, " if (point == NULL)\n"
366 … BIO_printf(out, " if ((tmp_2 = BN_bin2bn(ec_order_%d, sizeof(ec_order_%d), tmp_2)) == NULL)\n"
368 …BIO_printf(out, " if ((tmp_3 = BN_bin2bn(ec_cofactor_%d, sizeof(ec_cofactor_%d), tmp_3)) == NUL…
370 BIO_printf(out, " if (!EC_GROUP_set_generator(group, point, tmp_2, tmp_3))\n"
374 BIO_printf(out, "err:\n"
396 BIO_printf(bio_err, "unable to write elliptic "
410 BIO_printf(bio_err, "unable to set group when generating key\n");
420 BIO_printf(bio_err, "unable to generate key\n");