diff options
| author | J08nY | 2017-02-15 21:52:32 +0100 |
|---|---|---|
| committer | J08nY | 2017-02-15 21:52:32 +0100 |
| commit | 5d9d12811441930169b0517318dcf21c51b72e2d (patch) | |
| tree | bb7f4ed92f5fd9a253c238519525dae93896786f /src/ecgen.c | |
| parent | 4190b8e35a781a08f1749448f51cb4ea798f5588 (diff) | |
| download | ecgen-5d9d12811441930169b0517318dcf21c51b72e2d.tar.gz ecgen-5d9d12811441930169b0517318dcf21c51b72e2d.tar.zst ecgen-5d9d12811441930169b0517318dcf21c51b72e2d.zip | |
Added some docs + Doxyfile
Diffstat (limited to 'src/ecgen.c')
| -rw-r--r-- | src/ecgen.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/ecgen.c b/src/ecgen.c index 4ef3d33..e90ac27 100644 --- a/src/ecgen.c +++ b/src/ecgen.c @@ -17,6 +17,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, * USA. */ +/** + * @file ecgen.c + * @author J08nY <johny@neuromancer.sk> + * @version 0.2 + * @copyright GPL v2.0 + */ #include <pari/pari.h> #include "cm/cm.h" #include "exhaustive/exhaustive.h" @@ -24,12 +30,6 @@ #include "io/input.h" #include "io/output.h" -/** - * @author J08nY <johny@neuromancer.sk> - * @license GPL v2.0 - * @version 0.2 - */ - const char *argp_program_version = "ecgen 0.2\n" "Copyright (C) 2017 J08nY\n" @@ -73,6 +73,7 @@ int quit(int status) { } /** + * @mainpage * Three fundamentally different Elliptic curve generation approaches can be * taken. * - Complex Multiplication: @@ -103,6 +104,10 @@ int quit(int status) { * - using ANSI X9.62 verifiably random method(from seed) * - given input * , until a curve with requested properties appears. + * - Can generate curves repeatedly until one satisfies requested properties: + * - -p / --prime generates curves until a prime order curve is found. + * - -k / --koblitz generates a curve with fixed A = 0 parameter. + * */ int main(int argc, char *argv[]) { // Parse cli args |
