summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/demos/small.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/demos/small.c')
-rw-r--r--libtomcrypt/demos/small.c14
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..6bdd842
--- /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.2 $ */
+/* $Date: 2005/05/05 14:35:56 $ */