[BACK]Return to ecparam.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/ecparam.c between version 1.4 and 1.5

version 1.4, 2014/10/13 02:46:14 version 1.5, 2014/12/07 14:58:50
Line 434 
Line 434 
                             ec_b, NULL))                              ec_b, NULL))
                                 goto end;                                  goto end;
                 } else {                  } else {
                         /* TODO */                          if (!EC_GROUP_get_curve_GF2m(group, ec_p, ec_a,
                         goto end;                              ec_b, NULL))
                                   goto end;
                 }                  }
   
                 if ((point = EC_GROUP_get0_generator(group)) == NULL)                  if ((point = EC_GROUP_get0_generator(group)) == NULL)
Line 504 
Line 505 
                             "GFp(tmp_1, tmp_2, tmp_3, NULL)) == NULL)"                              "GFp(tmp_1, tmp_2, tmp_3, NULL)) == NULL)"
                             "\n\t\tgoto err;\n\n");                              "\n\t\tgoto err;\n\n");
                 } else {                  } else {
                         /* TODO */                          BIO_printf(out, "\tif ((group = EC_GROUP_new_curve_"
                         goto end;                              "GF2m(tmp_1, tmp_2, tmp_3, NULL)) == NULL)"
                               "\n\t\tgoto err;\n\n");
                 }                  }
                 BIO_printf(out, "\t/* build generator */\n");                  BIO_printf(out, "\t/* build generator */\n");
                 BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_gen_%d, "                  BIO_printf(out, "\tif ((tmp_1 = BN_bin2bn(ec_gen_%d, "

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5