File: small.c

package info (click to toggle)
dropbear 0.51-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,496 kB
  • ctags: 4,893
  • sloc: ansic: 66,671; sh: 3,039; makefile: 621; perl: 409; asm: 30
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 $ */