summaryrefslogtreecommitdiff
path: root/libtomcrypt/demos/timing.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/demos/timing.c')
-rw-r--r--libtomcrypt/demos/timing.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/libtomcrypt/demos/timing.c b/libtomcrypt/demos/timing.c
new file mode 100644
index 0000000..368d6e4
--- /dev/null
+++ b/libtomcrypt/demos/timing.c
@@ -0,0 +1,26 @@
+#include <tomcrypt_test.h>
+
+int main(void)
+{
+init_timer();
+reg_algs();
+time_keysched();
+time_cipher();
+time_cipher2();
+time_cipher3();
+time_hash();
+time_macs();
+time_encmacs();
+time_prng();
+time_mult();
+time_sqr();
+time_rsa();
+time_ecc();
+time_dh();
+return EXIT_SUCCESS;
+
+}
+
+/* $Source: /cvs/libtom/libtomcrypt/demos/timing.c,v $ */
+/* $Revision: 1.17 $ */
+/* $Date: 2005/06/23 02:16:26 $ */