/home/dko/projects/mobilec/trunk/src/security/xyssl-0.7/programs/pkey/rsa_genkey.c File Reference

#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 Documentation

#define _CRT_SECURE_NO_DEPRECATE   1

Definition at line 22 of file rsa_genkey.c.

#define EXPONENT   65537

Definition at line 32 of file rsa_genkey.c.

Referenced by main().

#define KEY_SIZE   1024

Definition at line 31 of file rsa_genkey.c.

Referenced by main().


Function Documentation

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().


Generated on Fri May 16 14:49:57 2008 for Mobile-C by  doxygen 1.5.4