comparison demos/small.c @ 381:999a5eb4ed10 libtomcrypt-dropbear

propagate from branch 'au.asn.ucc.matt.ltc.orig' (head 52840647ac7f5c707c3bd158d119a15734a7ef28) to branch 'au.asn.ucc.matt.ltc.dropbear' (head 20dccfc09627970a312d77fb41dc2970b62689c3)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:39:21 +0000
parents d5faf4814ddb
children
comparison
equal deleted inserted replaced
281:997e6f7dc01e 381:999a5eb4ed10
1 // small demo app that just includes a cipher/hash/prng 1 /* small demo app that just includes a cipher/hash/prng */
2 #include <tomcrypt.h> 2 #include <tomcrypt.h>
3 3
4 int main(void) 4 int main(void)
5 { 5 {
6 register_cipher(&rijndael_enc_desc); 6 register_cipher(&rijndael_enc_desc);
8 register_hash(&sha256_desc); 8 register_hash(&sha256_desc);
9 return 0; 9 return 0;
10 } 10 }
11 11
12 /* $Source: /cvs/libtom/libtomcrypt/demos/small.c,v $ */ 12 /* $Source: /cvs/libtom/libtomcrypt/demos/small.c,v $ */
13 /* $Revision: 1.2 $ */ 13 /* $Revision: 1.3 $ */
14 /* $Date: 2005/05/05 14:35:56 $ */ 14 /* $Date: 2006/06/07 22:25:09 $ */