diff options
Diffstat (limited to 'libtomcrypt/demos/small.c')
-rw-r--r-- | libtomcrypt/demos/small.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libtomcrypt/demos/small.c b/libtomcrypt/demos/small.c new file mode 100644 index 0000000..3019745 --- /dev/null +++ b/libtomcrypt/demos/small.c @@ -0,0 +1,14 @@ +/* small demo app that just includes a cipher/hash/prng */ +#include <tomcrypt.h> + +int main(void) +{ + register_cipher(&rijndael_enc_desc); + register_prng(&yarrow_desc); + register_hash(&sha256_desc); + return 0; +} + +/* $Source: /cvs/libtom/libtomcrypt/demos/small.c,v $ */ +/* $Revision: 1.3 $ */ +/* $Date: 2006/06/07 22:25:09 $ */ |