version 1.4, 2014/10/13 02:46:14 |
version 1.5, 2014/12/07 14:58:50 |
|
|
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) |
|
|
"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, " |