#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 | _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 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.
 1.5.5
 1.5.5