35int main(
int argc,
char *argv[]) {
41 fprintf(stderr,
"Usage: %s <start-value>\n", argv[0]);
47 fprintf(stderr,
"%s: error reading `%s': %d\n", argv[0], argv[1],
res);
52 fprintf(stderr,
"%s: please enter a start value > 131\n", argv[0]);
57 fprintf(stderr,
"%s: error finding prime: %d\n", argv[0],
res);
62 printf(
"=> %s\n", buf);
mp_result mp_int_find_prime(mp_int z)
#define mp_int_read_string
#define mp_int_compare_value