#include <stdio.h>
#include <openssl/e_os2.h>
#include <signal.h>
#include <time.h>
#include <sys/types.h>
#include <sys/times.h>
#include <openssl/des.h>
#include "spr.h"
#include "des_enc.c"
Go to the source code of this file.
Macros | |
#define | TIMES |
#define | DES_DEFAULT_OPTIONS |
#define | PART1 |
#define | PART2 |
#define | PART3 |
#define | PART4 |
#define | DES_encrypt1 des_encrypt_u4_cisc_idx |
#define | DES_encrypt2 des_encrypt2_u4_cisc_idx |
#define | DES_encrypt3 des_encrypt3_u4_cisc_idx |
#define | DES_decrypt3 des_decrypt3_u4_cisc_idx |
#define | DES_UNROLL |
#define | DES_encrypt1 des_encrypt_u16_cisc_idx |
#define | DES_encrypt2 des_encrypt2_u16_cisc_idx |
#define | DES_encrypt3 des_encrypt3_u16_cisc_idx |
#define | DES_decrypt3 des_decrypt3_u16_cisc_idx |
#define | DES_RISC1 |
#define | DES_encrypt1 des_encrypt_u4_risc1_idx |
#define | DES_encrypt2 des_encrypt2_u4_risc1_idx |
#define | DES_encrypt3 des_encrypt3_u4_risc1_idx |
#define | DES_decrypt3 des_decrypt3_u4_risc1_idx |
#define | DES_RISC2 |
#define | DES_encrypt1 des_encrypt_u4_risc2_idx |
#define | DES_encrypt2 des_encrypt2_u4_risc2_idx |
#define | DES_encrypt3 des_encrypt3_u4_risc2_idx |
#define | DES_decrypt3 des_decrypt3_u4_risc2_idx |
#define | DES_UNROLL |
#define | DES_RISC1 |
#define | DES_encrypt1 des_encrypt_u16_risc1_idx |
#define | DES_encrypt2 des_encrypt2_u16_risc1_idx |
#define | DES_encrypt3 des_encrypt3_u16_risc1_idx |
#define | DES_decrypt3 des_decrypt3_u16_risc1_idx |
#define | DES_UNROLL |
#define | DES_RISC2 |
#define | DES_encrypt1 des_encrypt_u16_risc2_idx |
#define | DES_encrypt2 des_encrypt2_u16_risc2_idx |
#define | DES_encrypt3 des_encrypt3_u16_risc2_idx |
#define | DES_decrypt3 des_decrypt3_u16_risc2_idx |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u4_cisc_ptr |
#define | DES_encrypt2 des_encrypt2_u4_cisc_ptr |
#define | DES_encrypt3 des_encrypt3_u4_cisc_ptr |
#define | DES_decrypt3 des_decrypt3_u4_cisc_ptr |
#define | DES_UNROLL |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u16_cisc_ptr |
#define | DES_encrypt2 des_encrypt2_u16_cisc_ptr |
#define | DES_encrypt3 des_encrypt3_u16_cisc_ptr |
#define | DES_decrypt3 des_decrypt3_u16_cisc_ptr |
#define | DES_RISC1 |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u4_risc1_ptr |
#define | DES_encrypt2 des_encrypt2_u4_risc1_ptr |
#define | DES_encrypt3 des_encrypt3_u4_risc1_ptr |
#define | DES_decrypt3 des_decrypt3_u4_risc1_ptr |
#define | DES_RISC2 |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u4_risc2_ptr |
#define | DES_encrypt2 des_encrypt2_u4_risc2_ptr |
#define | DES_encrypt3 des_encrypt3_u4_risc2_ptr |
#define | DES_decrypt3 des_decrypt3_u4_risc2_ptr |
#define | DES_UNROLL |
#define | DES_RISC1 |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u16_risc1_ptr |
#define | DES_encrypt2 des_encrypt2_u16_risc1_ptr |
#define | DES_encrypt3 des_encrypt3_u16_risc1_ptr |
#define | DES_decrypt3 des_decrypt3_u16_risc1_ptr |
#define | DES_UNROLL |
#define | DES_RISC2 |
#define | DES_PTR |
#define | DES_encrypt1 des_encrypt_u16_risc2_ptr |
#define | DES_encrypt2 des_encrypt2_u16_risc2_ptr |
#define | DES_encrypt3 des_encrypt3_u16_risc2_ptr |
#define | DES_decrypt3 des_decrypt3_u16_risc2_ptr |
#define | HZ 100.0 |
#define | BUFSIZE ((long)1024) |
#define | START 0 |
#define | STOP 1 |
#define | print_name(name) fprintf(stderr,"Doing %s %ld times\n",name,cb); |
#define | time_it(func, name, index) |
#define | print_it(name, index) |
#define | COND(d) (count != (d)) |
#define | COUNT(d) (d) |
Functions | |
double | Time_F (int s) |
int | main (int argc, char **argv) |
Variables | |
long | run =0 |
#define BUFSIZE ((long)1024) |
Definition at line 335 of file des_opts.c.
#define COND | ( | d | ) | (count != (d)) |
#define COUNT | ( | d | ) | (d) |
#define DES_decrypt3 des_decrypt3_u4_cisc_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_cisc_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u4_risc1_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u4_risc2_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_risc1_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_risc2_idx |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u4_cisc_ptr |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_cisc_ptr |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u4_risc1_ptr |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u4_risc2_ptr |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_risc1_ptr |
Definition at line 316 of file des_opts.c.
#define DES_decrypt3 des_decrypt3_u16_risc2_ptr |
Definition at line 316 of file des_opts.c.
#define DES_DEFAULT_OPTIONS |
Definition at line 109 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_cisc_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_cisc_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_risc1_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_risc2_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_risc1_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_risc2_idx |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_cisc_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_cisc_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_risc1_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u4_risc2_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_risc1_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt1 des_encrypt_u16_risc2_ptr |
Definition at line 313 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_cisc_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_cisc_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_risc1_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_risc2_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_risc1_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_risc2_idx |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_cisc_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_cisc_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_risc1_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u4_risc2_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_risc1_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt2 des_encrypt2_u16_risc2_ptr |
Definition at line 314 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_cisc_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_cisc_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_risc1_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_risc2_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_risc1_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_risc2_idx |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_cisc_ptr |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_cisc_ptr |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_risc1_ptr |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u4_risc2_ptr |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_risc1_ptr |
Definition at line 315 of file des_opts.c.
#define DES_encrypt3 des_encrypt3_u16_risc2_ptr |
Definition at line 315 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_PTR |
Definition at line 307 of file des_opts.c.
#define DES_RISC1 |
Definition at line 289 of file des_opts.c.
#define DES_RISC1 |
Definition at line 289 of file des_opts.c.
#define DES_RISC1 |
Definition at line 289 of file des_opts.c.
#define DES_RISC1 |
Definition at line 289 of file des_opts.c.
#define DES_RISC2 |
Definition at line 306 of file des_opts.c.
#define DES_RISC2 |
Definition at line 306 of file des_opts.c.
#define DES_RISC2 |
Definition at line 306 of file des_opts.c.
#define DES_RISC2 |
Definition at line 306 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define DES_UNROLL |
Definition at line 304 of file des_opts.c.
#define HZ 100.0 |
Definition at line 326 of file des_opts.c.
#define PART1 |
Definition at line 112 of file des_opts.c.
#define PART2 |
Definition at line 113 of file des_opts.c.
#define PART3 |
Definition at line 114 of file des_opts.c.
#define PART4 |
Definition at line 115 of file des_opts.c.
#define print_it | ( | name, | |
index | |||
) |
Definition at line 414 of file des_opts.c.
#define print_name | ( | name | ) | fprintf(stderr,"Doing %s %ld times\n",name,cb); |
Definition at line 399 of file des_opts.c.
#define START 0 |
Definition at line 357 of file des_opts.c.
#define STOP 1 |
Definition at line 358 of file des_opts.c.
#define time_it | ( | func, | |
name, | |||
index | |||
) |
Definition at line 402 of file des_opts.c.
#define TIMES |
Definition at line 63 of file des_opts.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 418 of file des_opts.c.
double Time_F | ( | int | s | ) |
long run =0 |
Definition at line 336 of file des_opts.c.