diff options
| author | J08nY | 2017-08-29 16:59:14 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-29 16:59:14 +0200 |
| commit | 3e9be5f5db1bccb5eb11d51cf615182eb394afb6 (patch) | |
| tree | 93977fbc769daaf1b89620753070e4f408b7bf41 /src/math/subgroups.c | |
| parent | f98b11a252ca227cf0376a3cd7cf1d69f6686385 (diff) | |
| parent | 4b5d03eda289aa477e693cad8b598a398bb7e04c (diff) | |
| download | ecgen-3e9be5f5db1bccb5eb11d51cf615182eb394afb6.tar.gz ecgen-3e9be5f5db1bccb5eb11d51cf615182eb394afb6.tar.zst ecgen-3e9be5f5db1bccb5eb11d51cf615182eb394afb6.zip | |
Diffstat (limited to 'src/math/subgroups.c')
| -rw-r--r-- | src/math/subgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/subgroups.c b/src/math/subgroups.c index 903401e..3b84d5c 100644 --- a/src/math/subgroups.c +++ b/src/math/subgroups.c @@ -61,7 +61,7 @@ static GEN subgroups_exponents(GEN order) { GEN subgroups_prime(const curve_t *curve, const config_t *cfg) { if (cfg->prime || isprime(curve->order)) { - return gtovec(curve->order); + return gtocol(curve->order); } else { return subgroups_factors(curve->order); } |
