diff options
Diffstat (limited to 'src/math/types.h')
| -rw-r--r-- | src/math/types.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/math/types.h b/src/math/types.h index 4dee9dd..3d2476a 100644 --- a/src/math/types.h +++ b/src/math/types.h @@ -46,14 +46,16 @@ typedef enum { } offset_e; typedef struct { - void *args; + const void *args; size_t nargs; } arg_t; typedef int (*gen_t)(curve_t *, const config_t *, arg_t *); +typedef int (*unroll_t)(curve_t *, const config_t *, pari_sp, pari_sp); + /** - * @brief + * * @param curve * @param config * @param args @@ -61,4 +63,14 @@ typedef int (*gen_t)(curve_t *, const config_t *, arg_t *); */ int gen_skip(curve_t *curve, const config_t *cfg, arg_t *args); +/** + * + * @param curve + * @param cfg + * @param from + * @param to + * @return + */ +int unroll_skip(curve_t *curve, const config_t *cfg, pari_sp from, pari_sp to); + #endif // ECGEN_TYPES_H |
