From f1601f6807ba13caea6a0a7bf0ff8c52e7670ff0 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 12 May 2023 12:31:38 +0200 Subject: Add option to generate smooth order curves. --- src/misc/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/misc/config.h') 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; -- cgit v1.2.3-70-g09d2