#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 | _CRT_SECURE_NO_DEPRECATE 1 |
#define | DH_P_SIZE 1024 |
#define | GENERATOR "4" |
Functions | |
int | main (void) |
#define _CRT_SECURE_NO_DEPRECATE 1 |
Definition at line 22 of file dh_genprime.c.
#define DH_P_SIZE 1024 |
#define GENERATOR "4" |
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(), and mpi_write_file().