#include <stdio.h>
#include "xyssl/bignum.h"
#include "xyssl/config.h"
#include "xyssl/havege.h"
Go to the source code of this file.
Defines | |
#define | DH_P_SIZE 1024 |
#define | GENERATOR "4" |
Functions | |
int | main (void) |
#define DH_P_SIZE 1024 |
Definition at line 35 of file dh_genprime.c.
Referenced by main().
#define GENERATOR "4" |
Definition at line 36 of file dh_genprime.c.
Referenced by main().
int main | ( | void | ) |
Definition at line 38 of file dh_genprime.c.
References DH_P_SIZE, GENERATOR, havege_init(), havege_rand(), mpi_div_int(), mpi_free(), mpi_gen_prime(), mpi_init(), mpi_is_prime(), mpi_read_string(), mpi_sub_int(), mpi_write_file(), and P.