#include <stdio.h>
#include "xyssl/havege.h"
#include "xyssl/bignum.h"
#include "xyssl/rsa.h"
Go to the source code of this file.
Defines | |
#define | _CRT_SECURE_NO_DEPRECATE 1 |
#define | KEY_SIZE 1024 |
#define | EXPONENT 65537 |
Functions | |
int | main (void) |
#define _CRT_SECURE_NO_DEPRECATE 1 |
Definition at line 22 of file rsa_genkey.c.
#define EXPONENT 65537 |
#define KEY_SIZE 1024 |
int main | ( | void | ) |
Definition at line 34 of file rsa_genkey.c.
References EXPONENT, havege_init(), havege_rand(), KEY_SIZE, rsa_free(), rsa_gen_key(), rsa_write_private(), and rsa_write_public().