diff options
| author | J08nY | 2017-09-29 16:50:13 +0200 |
|---|---|---|
| committer | J08nY | 2018-04-07 14:38:24 +0200 |
| commit | 99e192422d95240adbe806a53caabfa9ddb258c3 (patch) | |
| tree | 0903938e52b62a494b3f00e8d4b04a1d7c761e0c /src/cm/custom.h | |
| parent | 962e197004b19e0b8e42dc977dc0ec1a85f407c1 (diff) | |
| download | ecgen-99e192422d95240adbe806a53caabfa9ddb258c3.tar.gz ecgen-99e192422d95240adbe806a53caabfa9ddb258c3.tar.zst ecgen-99e192422d95240adbe806a53caabfa9ddb258c3.zip | |
Diffstat (limited to 'src/cm/custom.h')
| -rw-r--r-- | src/cm/custom.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/cm/custom.h b/src/cm/custom.h new file mode 100644 index 0000000..ed6f3d3 --- /dev/null +++ b/src/cm/custom.h @@ -0,0 +1,24 @@ +/* + * ecgen, tool for generating Elliptic curve domain parameters + * Copyright (C) 2017 J08nY + */ +#ifndef ECGEN_CUSTOM_H +#define ECGEN_CUSTOM_H + +#include "misc/types.h" +#include "misc/config.h" + +typedef struct { + GEN p; + GEN t; + GEN v; + GEN D; +} custom_quadr_t; + +/** + * @brief + * @return + */ +curve_t * custom_curve(); + +#endif //ECGEN_CUSTOM_H |
