OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
bnspeed.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
#include <openssl/crypto.h>
#include <openssl/err.h>
#include <time.h>
#include <sys/types.h>
#include <sys/times.h>
#include <openssl/bn.h>
#include <openssl/x509.h>

Go to the source code of this file.

Macros

#define BASENUM   1000000
 
#define PROG   bnspeed_main
 
#define TIMES
 
#define HZ   100.0
 
#define BUFSIZE   ((long)1024*8)
 
#define START   0
 
#define STOP   1
 
#define NUM_SIZES   5
 

Functions

void do_mul (BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
 
int main (int argc, char **argv)
 

Variables

int run =0
 

Macro Definition Documentation

#define BASENUM   1000000

Definition at line 63 of file bnspeed.c.

#define BUFSIZE   ((long)1024*8)

Definition at line 121 of file bnspeed.c.

#define HZ   100.0

Definition at line 111 of file bnspeed.c.

#define NUM_SIZES   5

Definition at line 164 of file bnspeed.c.

#define PROG   bnspeed_main

Definition at line 65 of file bnspeed.c.

#define START   0

Definition at line 125 of file bnspeed.c.

#define STOP   1

Definition at line 126 of file bnspeed.c.

#define TIMES

Definition at line 75 of file bnspeed.c.

Function Documentation

void do_mul ( BIGNUM r,
BIGNUM a,
BIGNUM b,
BN_CTX ctx 
)

Definition at line 183 of file bnspeed.c.

int main ( int  argc,
char **  argv 
)

Definition at line 170 of file bnspeed.c.

Variable Documentation

int run =0

Definition at line 122 of file bnspeed.c.