File: small.c

package info (click to toggle)
dropbear 2012.55-1.3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 7,556 kB
  • sloc: ansic: 67,976; sh: 3,159; makefile: 645; 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 $ */