@@ -1,11 +1,5 @@
-/* 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.
- */
+/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
+/* SPDX-License-Identifier: Unlicense */
/**
@file aesgcm.c
#include "tomcrypt.h"
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L
/*
* Written by Daniel Richards <[email protected]> 6/7/2002
/* encrypt V1.1 Fri Oct 18 04:28:03 NZDT 2002 */
/* File de/encryption, using libtomcrypt */
* Demo to do the rough equivalent of:
/* small demo app that just includes a cipher/hash/prng */
#include <tomcrypt.h>
#include "tomcrypt_private.h"
#if defined(_WIN32)
static void hash_gen(void)
@@ -134,14 +134,8 @@ sub check_descriptors {
sub check_comments {
my $fails = 0;
my $first_comment = <<'MARKER';
MARKER
my @all_files;
find({ wanted=> sub { push @all_files, $_ if $_ =~ /\.(c|h)$/ }, no_chdir=>1 }, 'demos', 'src', 'tests');
/* AES implementation by Tom St Denis
*
/* The precomputed tables for AES */
Te0[x] = S [x].[02, 01, 01, 03];
@file anubis.c
@file blowfish.c
Implementation of the Blowfish block cipher, Tom St Denis
@file camellia.c
@file cast5.c
/* Based on idea.cpp - originally written and placed in the public domain by Wei Dai
https://github.com/weidai11/cryptopp/blob/master/idea.cpp
@file kasumi.c
@file kseed.c
@file multi2.c
@file noekeon.c
Implementation of the Noekeon block cipher by Tom St Denis
/**********************************************************************\
* To commemorate the 1996 RSA Data Security Conference, the following *
* code is released into the public domain by its author. Prost! *
@file rc5.c
@file rc6.c
/*******************************************************************************
@file safer_tab.c
@file saferp.c
/* Based on serpent.cpp - originally written and placed in the public domain by Wei Dai
https://github.com/weidai11/cryptopp/blob/master/serpent.cpp
@file skipjack.c
@file tea.c
@file twofish.c
@file twofish_tab.c
@file xtea.c
#ifdef LTC_CCM_MODE
@file eax_addheader.c
EAX implementation, add meta-data, by Tom St Denis
@file eax_decrypt.c
@file eax_decrypt_verify_memory.c
@file eax_done.c
@file eax_encrypt.c
@file eax_encrypt_authenticate_memory.c
@file eax_init.c
@file eax_test.c
@file gcm_add_aad.c
@file gcm_add_iv.c
@file gcm_done.c
@file gcm_gf_mult.c
@file gcm_init.c
@file gcm_memory.c
@file gcm_mult_h.c
@file gcm_process.c
@file gcm_reset.c
@file gcm_test.c
@file ocb_decrypt.c
@file ocb_decrypt_verify_memory.c
@file ocb_done_decrypt.c
@file ocb_done_encrypt.c
@file ocb_encrypt.c
@file ocb_encrypt_authenticate_memory.c
@file ocb_init.c
@file ocb_ntz.c
@file ocb_shift_xor.c
@file ocb_test.c
@file s_ocb_done.c
@file ocb3_add_aad.c
@file ocb3_decrypt.c
@file ocb3_decrypt_last.c
@file ocb3_decrypt_verify_memory.c
@file ocb3_done.c
@file ocb3_encrypt.c
@file ocb3_encrypt_authenticate_memory.c
@file ocb3_encrypt_last.c
@file ocb3_init.c
@file ocb3_int_ntz.c
@file ocb3_int_xor_blocks.c
@file ocb3_test.c
BLAKE2 reference source code package - reference C implementations
#ifndef LTC_NO_FILE