Mercurial > dropbear
comparison libtomcrypt/demos/small.c @ 382:0cbe8f6dbf9e
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 2af22fb4e878750b88f80f90d439b316d229796f)
to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 02:41:05 +0000 |
parents | 1b9e69c058d2 |
children | f849a5ca2efc |
comparison
equal
deleted
inserted
replaced
379:b66a00272a90 | 382:0cbe8f6dbf9e |
---|---|
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 $ */ |