File: small.c

package info (click to toggle)
libtomcrypt 1.17-3.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,216 kB
  • sloc: ansic: 38,796; makefile: 348; sh: 88; perl: 48
file content (14 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* small demo app that just includes a cipher/hash/prng */
#include <tomcrypt.h>

int main(void)
{
   register_cipher(&rijndael_enc_desc);
   register_prng(&yarrow_desc);
   register_hash(&sha256_desc);
   return 0;
}

/* $Source: /cvs/libtom/libtomcrypt/demos/small.c,v $ */
/* $Revision: 1.3 $ */
/* $Date: 2006/06/07 22:25:09 $ */