From c57e1d8def6e38d350da8b098a91806d405e952e Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 8 Mar 2006 12:58:00 +0000 Subject: Re-import libtomcrypt 1.05 for cleaner propagating. From crypt-1.05.tar.bz2, SHA1 of 88250202bb51570dc64f7e8f1c943cda9479258f --HG-- branch : libtomcrypt-orig extra : convert_revision : 5c0c50e93111636ccf8deb758a689ad713797baf --- demos/timing.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 demos/timing.c (limited to 'demos/timing.c') diff --git a/demos/timing.c b/demos/timing.c new file mode 100644 index 0000000..368d6e4 --- /dev/null +++ b/demos/timing.c @@ -0,0 +1,26 @@ +#include + +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 $ */ -- cgit v1.2.3