tomcrypt/demos/small.c

23 lines
587 B
C
Raw Normal View History

2017-06-19 09:49:18 -04:00
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
2006-06-17 21:37:50 -04:00
/* small demo app that just includes a cipher/hash/prng */
2004-12-30 18:55:53 -05:00
#include <tomcrypt.h>
2003-03-02 19:59:24 -05:00
int main(void)
{
2004-05-30 22:36:47 -04:00
register_cipher(&rijndael_enc_desc);
2003-03-02 19:59:24 -05:00
register_prng(&yarrow_desc);
2003-03-02 20:01:40 -05:00
register_hash(&sha256_desc);
2003-03-02 19:59:24 -05:00
return 0;
}
2005-06-08 20:08:13 -04:00
2017-06-19 07:43:49 -04:00
/* ref: $Format:%D$ */
/* git commit: $Format:%H$ */
/* commit time: $Format:%ai$ */