#include <stdio.h>
#include "xyssl/havege.h"
#include "xyssl/bignum.h"
#include "xyssl/x509.h"
#include "xyssl/rsa.h"
Go to the source code of this file.
Defines | |
#define | KEY_SIZE 1024 |
#define | EXPONENT 65537 |
Functions | |
int | main (void) |
#define EXPONENT 65537 |
Definition at line 33 of file rsa_genkey.c.
#define KEY_SIZE 1024 |
Definition at line 32 of file rsa_genkey.c.
int main | ( | void | ) |
Definition at line 35 of file rsa_genkey.c.
References rsa_context::D, rsa_context::DP, rsa_context::DQ, rsa_context::E, EXPONENT, havege_init(), havege_rand(), KEY_SIZE, mpi_write_file(), rsa_context::N, rsa_context::P, rsa_context::Q, rsa_context::QP, rsa_free(), rsa_gen_key(), rsa_init(), and RSA_PKCS_V15.