comparison demos/small.c @ 380:d5faf4814ddb libtomcrypt-orig libtomcrypt-1.16

Update to LibTomCrypt 1.16
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 02:22:00 +0000
parents 59400faa4b44
children
comparison
equal deleted inserted replaced
280:59400faa4b44 380:d5faf4814ddb
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 $ */