~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to libtomcrypt/demos/small.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// small demo app that just includes a cipher/hash/prng
2
 
 
3
 
#include <mycrypt.h>
 
2
#include <tomcrypt.h>
4
3
 
5
4
int main(void)
6
5
{
9
8
   register_hash(&sha256_desc);
10
9
   return 0;
11
10
}
 
11
 
 
12
/* $Source: /cvs/libtom/libtomcrypt/demos/small.c,v $ */
 
13
/* $Revision: 1.2 $ */
 
14
/* $Date: 2005/05/05 14:35:56 $ */