7 /* enable stack testing */
8 /* #define STACK_TEST */
10 /* stack testing, define this if stack usage goes downwards [e.g. x86] */
14 char *name
, *prov
, *req
;
18 extern prng_state yarrow_prng
;
20 void run_cmd(int res
, int line
, char *file
, char *cmd
);
23 #define DO(x) do { fprintf(stderr, "%s:\n", #x); run_cmd((x), __LINE__, __FILE__, #x); } while (0);
25 #define DO(x) do { run_cmd((x), __LINE__, __FILE__, #x); } while (0);
29 int cipher_hash_test(void);
32 int pkcs_1_test(void);
46 unsigned long spd1
, spd2
, avg
;
49 extern int no_results
;
51 int sorter(const void *a
, const void *b
);
52 void tally_results(int type
);
57 void init_timer(void);
59 /* register default algs */
61 int time_keysched(void);
62 int time_cipher(void);
63 int time_cipher2(void);
64 int time_cipher3(void);
71 void time_katja(void);
73 void time_macs_(unsigned long MAC_SIZE
);
75 void time_encmacs(void);
81 /* $Source: /cvs/libtom/libtomcrypt/testprof/tomcrypt_test.h,v $ */
82 /* $Revision: 1.14 $ */
83 /* $Date: 2006/10/18 03:36:34 $ */