/* * ecgen, tool for generating Elliptic curve domain parameters * Copyright (C) 2017 J08nY */ #ifndef ECGEN_CLI_H #define ECGEN_CLI_H #include #include #include extern char doc[]; extern char args_doc[]; extern struct argp_option options[]; typedef enum { FIELD_PRIME, FIELD_BINARY } field_t; struct arguments { field_t field; bool binary_field; bool prime_field; bool random; bool prime; char *datadir; char *output; char *input; bool append; long bits; }; error_t parse_opt(int key, char *arg, struct argp_state *state); #endif // ECGEN_CLI_H