• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/

Lines Matching refs:BIO_printf

242 			BIO_printf(bio_err,"unknown option %s\n",*argv);
253 BIO_printf(bio_err, "%s [options] <infile >outfile\n",prog);
254 BIO_printf(bio_err, "where options are\n");
255 BIO_printf(bio_err, " -inform arg input format - "
257 BIO_printf(bio_err, " -outform arg output format - "
259 BIO_printf(bio_err, " -in arg input file - "
261 BIO_printf(bio_err, " -out arg output file - "
263 BIO_printf(bio_err, " -noout do not print the "
265 BIO_printf(bio_err, " -text print the ec "
267 BIO_printf(bio_err, " -check validate the ec "
269 BIO_printf(bio_err, " -C print a 'C' "
271 BIO_printf(bio_err, " -name arg use the "
273 BIO_printf(bio_err, " -list_curves prints a list of "
275 BIO_printf(bio_err, " -conv_form arg specifies the "
277 BIO_printf(bio_err, " possible values:"
279 BIO_printf(bio_err, " "
281 BIO_printf(bio_err, " "
283 BIO_printf(bio_err, " -param_enc arg specifies the way"
285 BIO_printf(bio_err, " in the asn1 der "
287 BIO_printf(bio_err, " possible values:"
289 BIO_printf(bio_err, " "
291 BIO_printf(bio_err, " -no_seed if 'explicit'"
294 BIO_printf(bio_err, " -genkey generate ec"
296 BIO_printf(bio_err, " -rand file files to use for"
298 BIO_printf(bio_err, " -engine e use engine e, "
377 BIO_printf(out, " %-10s: ", sname);
378 BIO_printf(out, "%s\n", comment);
396 BIO_printf(bio_err, "using curve name prime192v1 "
402 BIO_printf(bio_err, "using curve name prime256v1 "
411 BIO_printf(bio_err, "unknown curve name (%s)\n",
419 BIO_printf(bio_err, "unable to create curve (%s)\n",
436 BIO_printf(bio_err, "bad input format specified\n");
442 BIO_printf(bio_err,
468 BIO_printf(bio_err, "no elliptic curve parameters\n");
469 BIO_printf(bio_err, "checking elliptic curve parameters: ");
472 BIO_printf(bio_err, "failed\n");
476 BIO_printf(bio_err, "ok\n");
557 BIO_printf(out, "\n\n");
559 BIO_printf(out, "EC_GROUP *get_ec_group_%d(void)\n\t{\n", len);
560 BIO_printf(out, "\tint ok=0;\n");
561 BIO_printf(out, "\tEC_GROUP *group = NULL;\n");
562 BIO_printf(out, "\tEC_POINT *point = NULL;\n");
563 BIO_printf(out, "\tBIGNUM *tmp_1 = NULL, *tmp_2 = NULL, "
565 BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_p_%d, "
568 BIO_printf(out, "\tif ((tmp_2 = BN_bin2bn(ec_a_%d, "
571 BIO_printf(out, "\tif ((tmp_3 = BN_bin2bn(ec_b_%d, "
576 BIO_printf(out, "\tif ((group = EC_GROUP_new_curve_"
585 BIO_printf(out, "\t/* build generator */\n");
586 BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_gen_%d, "
589 BIO_printf(out, "\tpoint = EC_POINT_bn2point(group, tmp_1, "
591 BIO_printf(out, "\tif (point == NULL)\n\t\tgoto err;\n");
592 BIO_printf(out, "\tif ((tmp_2 = BN_bin2bn(ec_order_%d, "
595 BIO_printf(out, "\tif ((tmp_3 = BN_bin2bn(ec_cofactor_%d, "
598 BIO_printf(out, "\tif (!EC_GROUP_set_generator(group, point,"
600 BIO_printf(out, "\n\tok=1;\n");
601 BIO_printf(out, "err:\n");
602 BIO_printf(out, "\tif (tmp_1)\n\t\tBN_free(tmp_1);\n");
603 BIO_printf(out, "\tif (tmp_2)\n\t\tBN_free(tmp_2);\n");
604 BIO_printf(out, "\tif (tmp_3)\n\t\tBN_free(tmp_3);\n");
605 BIO_printf(out, "\tif (point)\n\t\tEC_POINT_free(point);\n");
606 BIO_printf(out, "\tif (!ok)\n");
607 BIO_printf(out, "\t\t{\n");
608 BIO_printf(out, "\t\tEC_GROUP_free(group);\n");
609 BIO_printf(out, "\t\tgroup = NULL;\n");
610 BIO_printf(out, "\t\t}\n");
611 BIO_printf(out, "\treturn(group);\n\t}\n");
622 BIO_printf(bio_err,"bad output format specified for"
628 BIO_printf(bio_err, "unable to write elliptic "
639 BIO_printf(bio_err,"%ld semi-random bytes loaded\n",
667 BIO_printf(bio_err, "bad output format specified "
707 BIO_printf(out, "static unsigned char %s_%d[] = {", var, len);
709 BIO_printf(out, "\n\t0x00");
718 BIO_printf(out, "\n\t");
719 BIO_printf(out, "0x%02X,", buffer[i]);
722 BIO_printf(out, "\n\t");
723 BIO_printf(out, "0x%02X", buffer[i]);
725 BIO_printf(out, "\n\t};\n\n");