#include <stdio.h>
#include <openssl/e_os2.h>
#include <signal.h>
#include <time.h>
#include <sys/types.h>
#include <sys/times.h>
#include <openssl/blowfish.h>
#include "bf_enc.c"
Go to the source code of this file.
|
double | Time_F (int s) |
|
int | main (int argc, char **argv) |
|
#define BF_DEFAULT_OPTIONS |
#define BF_encrypt BF_encrypt_normal |
#define BF_encrypt BF_encrypt_ptr |
#define BF_encrypt BF_encrypt_ptr2 |
#define BUFSIZE ((long)1024) |
#define COND |
( |
|
d | ) |
(count != (d)) |
#define print_it |
( |
|
name, |
|
|
|
index |
|
) |
| |
Value:fprintf(stderr,"%s bytes per sec = %12.2f (%5.1fuS)\n",name, \
tm[index]*8,1.0e6/tm[index]);
Definition at line 222 of file bf_opts.c.
#define print_name |
( |
|
name | ) |
fprintf(stderr,"Doing %s %ld times\n",name,cb); |
#define time_it |
( |
|
func, |
|
|
|
name, |
|
|
|
index |
|
) |
| |
Value:
{ \
unsigned long d[2]; \
func(d,&sch); \
func(d,&sch); \
func(d,&sch); \
func(d,&sch); \
} \
fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \
tm[index]=((double)
COUNT(
cb))/tm[index];
Definition at line 207 of file bf_opts.c.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |