Mercurial > dropbear
comparison libtomcrypt/demos/small.c @ 511:582cb38e4eb5 insecure-nocrypto
propagate from branch 'au.asn.ucc.matt.dropbear' (head cdcc3c729e29544e8b98a408e2dc60e4483dfd2a)
to branch 'au.asn.ucc.matt.dropbear.insecure-nocrypto' (head 0ca38a1cf349f7426ac9de34ebe4c3e3735effab)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 06 Nov 2008 13:16:55 +0000 |
parents | 0cbe8f6dbf9e |
children | f849a5ca2efc |
comparison
equal
deleted
inserted
replaced
361:461c4b1fb35f | 511:582cb38e4eb5 |
---|---|
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 $ */ |