aboutsummaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorJ08nY2023-05-12 12:31:38 +0200
committerJ08nY2023-05-12 12:33:24 +0200
commitf1601f6807ba13caea6a0a7bf0ff8c52e7670ff0 (patch)
treedb9c5d9f926338be901641f28e28ee7c0690bfa7 /src/misc
parentcfb85f1f760e5203d9777201006280c74d2f6975 (diff)
downloadecgen-f1601f6807ba13caea6a0a7bf0ff8c52e7670ff0.tar.gz
ecgen-f1601f6807ba13caea6a0a7bf0ff8c52e7670ff0.tar.zst
ecgen-f1601f6807ba13caea6a0a7bf0ff8c52e7670ff0.zip
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc/config.h b/src/misc/config.h
index 4135f9e..d73d26f 100644
--- a/src/misc/config.h
+++ b/src/misc/config.h
@@ -83,6 +83,9 @@ typedef struct {
/** @brief Whether the curves should be Koblitz (a \\in {0, 1}, b = 1). */
bool koblitz;
long koblitz_value;
+ /** @brief Whether the curves should have a smooth order (bit-length bound). */
+ bool smooth;
+ long smooth_value;
/** @brief Whether the curves should have a bound on the cofactor value. */
bool cofactor;
long cofactor_value;