17 lines
378 B
C
Raw Normal View History

2024-02-27 01:34:37 -05:00
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
/* small demo app that just includes a cipher/hash/prng */
#include <tomcrypt.h>
int main(void)
{
2025-02-20 05:32:33 -05:00
#ifdef LTC_RIJNDAEL
#ifdef ENCRYPT_ONLY
2024-02-27 01:34:37 -05:00
register_cipher(&rijndael_enc_desc);
2025-02-20 05:32:33 -05:00
#endif
#endif
2024-02-27 01:34:37 -05:00
register_prng(&yarrow_desc);
register_hash(&sha256_desc);
return 0;
}