diff options
| author | J08nY | 2018-02-27 20:48:21 +0100 |
|---|---|---|
| committer | J08nY | 2018-02-27 20:48:21 +0100 |
| commit | 40cbb213ac910ddcaf22a26a247d2a9eeddca1fc (patch) | |
| tree | 50c27834505d9994c9190bcb6ae7572bf2e9227b /src/math/koblitz.h | |
| parent | 9abe42674361c08cc73e3fdd3891f72acaddc859 (diff) | |
| download | ecgen-40cbb213ac910ddcaf22a26a247d2a9eeddca1fc.tar.gz ecgen-40cbb213ac910ddcaf22a26a247d2a9eeddca1fc.tar.zst ecgen-40cbb213ac910ddcaf22a26a247d2a9eeddca1fc.zip | |
Diffstat (limited to 'src/math/koblitz.h')
| -rw-r--r-- | src/math/koblitz.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/math/koblitz.h b/src/math/koblitz.h index 8284c2e..f1b87d2 100644 --- a/src/math/koblitz.h +++ b/src/math/koblitz.h @@ -14,10 +14,27 @@ typedef struct { const char *hex_order; } koblitz_t; +/** + * @brief + * @param curve + * @return + */ bool koblitz_is_curve(const curve_t *curve); +/** + * @brief + * @param m + * @param a + * @return + */ const koblitz_t *koblitz_find(unsigned int m, unsigned int a); -GEN koblitz_get_order(unsigned long m, unsigned int a); +/** + * @brief + * @param m + * @param a + * @return + */ +GEN koblitz_get_order(unsigned int m, unsigned int a); #endif // ECGEN_KOBLITZ_H |
