From 39c6155e0193ff69dcdf765e936487bfcf4f1b17 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 14 Feb 2017 21:20:08 +0100 Subject: Added point generation: - Prime order points for all prime divisors of curve order (all prime subgroups) - Random points - Minimal set of generators of the whole group (one or two points) --- src/math/poly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/math/poly.c') diff --git a/src/math/poly.c b/src/math/poly.c index f888d97..6a89061 100644 --- a/src/math/poly.c +++ b/src/math/poly.c @@ -2719,7 +2719,7 @@ polynomial_t *poly_find(long m) { return NULL; } polynomial_t *search_tri = ansi_trinomials; - polynomial_t *search_penta = ansi_trinomials; + polynomial_t *search_penta = ansi_pentanomials; size_t len_tri = sizeof(ansi_trinomials) / sizeof(polynomial_t); size_t len_penta = sizeof(ansi_pentanomials) / sizeof(polynomial_t); if (m < 160 || m > 2000) { -- cgit v1.2.3-70-g09d2