libtomcrypt/demos/small.c

13 lines
324 B
C
Raw Permalink Normal View History

2020-06-17 08:15:27 +00:00
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
2006-06-18 01:37:50 +00:00
/* small demo app that just includes a cipher/hash/prng */
2004-12-30 23:55:53 +00:00
#include <tomcrypt.h>
2003-03-03 00:59:24 +00:00
int main(void)
{
2004-05-31 02:36:47 +00:00
register_cipher(&rijndael_enc_desc);
2003-03-03 00:59:24 +00:00
register_prng(&yarrow_desc);
2003-03-03 01:01:40 +00:00
register_hash(&sha256_desc);
2003-03-03 00:59:24 +00:00
return 0;
}