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

Lines Matching refs:BIO_printf

224             BIO_printf(bio_err, "unknown option %s\n", *argv);
234 BIO_printf(bio_err, "%s [options] <infile >outfile\n", prog);
235 BIO_printf(bio_err, "where options are\n");
236 BIO_printf(bio_err, " -inform arg input format - "
238 BIO_printf(bio_err, " -outform arg output format - "
240 BIO_printf(bio_err, " -in arg input file - "
242 BIO_printf(bio_err, " -out arg output file - "
244 BIO_printf(bio_err, " -noout do not print the "
246 BIO_printf(bio_err, " -text print the ec "
248 BIO_printf(bio_err, " -check validate the ec "
250 BIO_printf(bio_err, " -C print a 'C' "
252 BIO_printf(bio_err, " -name arg use the "
254 BIO_printf(bio_err, " -list_curves prints a list of "
256 BIO_printf(bio_err, " -conv_form arg specifies the "
258 BIO_printf(bio_err, " possible values:"
260 BIO_printf(bio_err, " "
262 BIO_printf(bio_err, " "
264 BIO_printf(bio_err, " -param_enc arg specifies the way"
266 BIO_printf(bio_err, " in the asn1 der "
268 BIO_printf(bio_err, " possible values:"
270 BIO_printf(bio_err, " "
272 BIO_printf(bio_err, " -no_seed if 'explicit'"
274 BIO_printf(bio_err, " -genkey generate ec" " key\n");
275 BIO_printf(bio_err, " -rand file files to use for"
277 BIO_printf(bio_err, " -engine e use engine e, "
345 BIO_printf(out, " %-10s: ", sname);
346 BIO_printf(out, "%s\n", comment);
363 BIO_printf(bio_err, "using curve name prime192v1 "
367 BIO_printf(bio_err, "using curve name prime256v1 "
377 BIO_printf(bio_err, "unknown curve name (%s)\n", curve_name);
383 BIO_printf(bio_err, "unable to create curve (%s)\n", curve_name);
393 BIO_printf(bio_err, "bad input format specified\n");
398 BIO_printf(bio_err, "unable to load elliptic curve parameters\n");
419 BIO_printf(bio_err, "checking elliptic curve parameters: ");
421 BIO_printf(bio_err, "failed\n");
425 BIO_printf(bio_err, "ok\n");
496 BIO_printf(out, "\n\n");
498 BIO_printf(out, "EC_GROUP *get_ec_group_%d(void)\n\t{\n", len);
499 BIO_printf(out, "\tint ok=0;\n");
500 BIO_printf(out, "\tEC_GROUP *group = NULL;\n");
501 BIO_printf(out, "\tEC_POINT *point = NULL;\n");
502 BIO_printf(out, "\tBIGNUM *tmp_1 = NULL, *tmp_2 = NULL, "
504 BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_p_%d, "
507 BIO_printf(out, "\tif ((tmp_2 = BN_bin2bn(ec_a_%d, "
510 BIO_printf(out, "\tif ((tmp_3 = BN_bin2bn(ec_b_%d, "
514 BIO_printf(out, "\tif ((group = EC_GROUP_new_curve_"
521 BIO_printf(out, "\t/* build generator */\n");
522 BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_gen_%d, "
525 BIO_printf(out, "\tpoint = EC_POINT_bn2point(group, tmp_1, "
527 BIO_printf(out, "\tif (point == NULL)\n\t\tgoto err;\n");
528 BIO_printf(out, "\tif ((tmp_2 = BN_bin2bn(ec_order_%d, "
531 BIO_printf(out, "\tif ((tmp_3 = BN_bin2bn(ec_cofactor_%d, "
534 BIO_printf(out, "\tif (!EC_GROUP_set_generator(group, point,"
536 BIO_printf(out, "\n\tok=1;\n");
537 BIO_printf(out, "err:\n");
538 BIO_printf(out, "\tif (tmp_1)\n\t\tBN_free(tmp_1);\n");
539 BIO_printf(out, "\tif (tmp_2)\n\t\tBN_free(tmp_2);\n");
540 BIO_printf(out, "\tif (tmp_3)\n\t\tBN_free(tmp_3);\n");
541 BIO_printf(out, "\tif (point)\n\t\tEC_POINT_free(point);\n");
542 BIO_printf(out, "\tif (!ok)\n");
543 BIO_printf(out, "\t\t{\n");
544 BIO_printf(out, "\t\tEC_GROUP_free(group);\n");
545 BIO_printf(out, "\t\tgroup = NULL;\n");
546 BIO_printf(out, "\t\t}\n");
547 BIO_printf(out, "\treturn(group);\n\t}\n");
556 BIO_printf(bio_err, "bad output format specified for"
561 BIO_printf(bio_err, "unable to write elliptic "
571 BIO_printf(bio_err, "%ld semi-random bytes loaded\n",
596 BIO_printf(bio_err, "bad output format specified "
636 BIO_printf(out, "static unsigned char %s_%d[] = {", var, len);
638 BIO_printf(out, "\n\t0x00");
645 BIO_printf(out, "\n\t");
646 BIO_printf(out, "0x%02X,", buffer[i]);
649 BIO_printf(out, "\n\t");
650 BIO_printf(out, "0x%02X", buffer[i]);
652 BIO_printf(out, "\n\t};\n\n");