1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/* * ecgen, tool for generating Elliptic curve domain parameters * Copyright (C) 2017 J08nY */ /** * @file random.h */ #ifndef ECGEN_RANDOM_H #define ECGEN_RANDOM_H #include <pari/pari.h> #include <stdbool.h> bool random_init(void); GEN random_prime(long bits); GEN random_int(long bits); #endif // ECGEN_RANDOM_H