Skip to content

Commit 9824af8

Browse files
committed
update header
1 parent 24765c3 commit 9824af8

File tree

547 files changed

+1094
-4376
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

547 files changed

+1094
-4376
lines changed

demos/aesgcm.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file aesgcm.c

demos/constants.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
#include "tomcrypt.h"
104

115
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L

demos/gcm-file/gcm_file.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
#include "tomcrypt.h"
115

demos/gcm-file/gcm_filehandle.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
#include "tomcrypt.h"
115

demos/hashsum.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/*
115
* Written by Daniel Richards <[email protected]> 6/7/2002

demos/ltcrypt.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/* encrypt V1.1 Fri Oct 18 04:28:03 NZDT 2002 */
115
/* File de/encryption, using libtomcrypt */

demos/openssl-enc.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/*
115
* Demo to do the rough equivalent of:

demos/sizes.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
#include "tomcrypt.h"
115

demos/small.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
/* small demo app that just includes a cipher/hash/prng */
104
#include <tomcrypt.h>
115

demos/timing.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
#include "tomcrypt_private.h"
104

115
#if defined(_WIN32)

demos/tv_gen.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
#include "tomcrypt_private.h"
104

115
static void hash_gen(void)

helper.pl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,8 @@ sub check_descriptors {
134134
sub check_comments {
135135
my $fails = 0;
136136
my $first_comment = <<'MARKER';
137-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
138-
*
139-
* LibTomCrypt is a library that provides various cryptographic
140-
* algorithms in a highly modular and flexible manner.
141-
*
142-
* The library is free for all purposes without any express
143-
* guarantee it works.
144-
*/
137+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
138+
/* SPDX-License-Identifier: Unlicense */
145139
MARKER
146140
my @all_files;
147141
find({ wanted=> sub { push @all_files, $_ if $_ =~ /\.(c|h)$/ }, no_chdir=>1 }, 'demos', 'src', 'tests');

src/ciphers/aes/aes.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/* AES implementation by Tom St Denis
115
*

src/ciphers/aes/aes_tab.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
/* The precomputed tables for AES */
104
/*
115
Te0[x] = S [x].[02, 01, 01, 03];

src/ciphers/anubis.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file anubis.c

src/ciphers/blowfish.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
/**
104
@file blowfish.c
115
Implementation of the Blowfish block cipher, Tom St Denis

src/ciphers/camellia.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file camellia.c

src/ciphers/cast5.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file cast5.c

src/ciphers/des.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
#include "tomcrypt_private.h"
104

115
/**

src/ciphers/idea.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/* Based on idea.cpp - originally written and placed in the public domain by Wei Dai
115
https://github.com/weidai11/cryptopp/blob/master/idea.cpp

src/ciphers/kasumi.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file kasumi.c

src/ciphers/khazad.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
#include "tomcrypt_private.h"
104

115
/**

src/ciphers/kseed.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file kseed.c

src/ciphers/multi2.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file multi2.c

src/ciphers/noekeon.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
/**
104
@file noekeon.c
115
Implementation of the Noekeon block cipher by Tom St Denis

src/ciphers/rc2.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93
/**********************************************************************\
104
* To commemorate the 1996 RSA Data Security Conference, the following *
115
* code is released into the public domain by its author. Prost! *

src/ciphers/rc5.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file rc5.c

src/ciphers/rc6.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
93

104
/**
115
@file rc6.c

0 commit comments

Comments
 (0)