small.c 324 B

123456789101112
  1. /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
  2. /* SPDX-License-Identifier: Unlicense */
  3. /* small demo app that just includes a cipher/hash/prng */
  4. #include <tomcrypt.h>
  5. int main(void)
  6. {
  7. register_cipher(&rijndael_enc_desc);
  8. register_prng(&yarrow_desc);
  9. register_hash(&sha256_desc);
  10. return 0;
  11. }