Browse Source

update header

Steffen Jaeckel 5 years ago
parent
commit
9824af8e3b
100 changed files with 200 additions and 800 deletions
  1. 2 8
      demos/aesgcm.c
  2. 2 8
      demos/constants.c
  3. 2 8
      demos/gcm-file/gcm_file.c
  4. 2 8
      demos/gcm-file/gcm_filehandle.c
  5. 2 8
      demos/hashsum.c
  6. 2 8
      demos/ltcrypt.c
  7. 2 8
      demos/openssl-enc.c
  8. 2 8
      demos/sizes.c
  9. 2 8
      demos/small.c
  10. 2 8
      demos/timing.c
  11. 2 8
      demos/tv_gen.c
  12. 2 8
      helper.pl
  13. 2 8
      src/ciphers/aes/aes.c
  14. 2 8
      src/ciphers/aes/aes_tab.c
  15. 2 8
      src/ciphers/anubis.c
  16. 2 8
      src/ciphers/blowfish.c
  17. 2 8
      src/ciphers/camellia.c
  18. 2 8
      src/ciphers/cast5.c
  19. 2 8
      src/ciphers/des.c
  20. 2 8
      src/ciphers/idea.c
  21. 2 8
      src/ciphers/kasumi.c
  22. 2 8
      src/ciphers/khazad.c
  23. 2 8
      src/ciphers/kseed.c
  24. 2 8
      src/ciphers/multi2.c
  25. 2 8
      src/ciphers/noekeon.c
  26. 2 8
      src/ciphers/rc2.c
  27. 2 8
      src/ciphers/rc5.c
  28. 2 8
      src/ciphers/rc6.c
  29. 2 8
      src/ciphers/safer/safer.c
  30. 2 8
      src/ciphers/safer/safer_tab.c
  31. 2 8
      src/ciphers/safer/saferp.c
  32. 2 8
      src/ciphers/serpent.c
  33. 2 8
      src/ciphers/skipjack.c
  34. 2 8
      src/ciphers/tea.c
  35. 2 8
      src/ciphers/twofish/twofish.c
  36. 2 8
      src/ciphers/twofish/twofish_tab.c
  37. 2 8
      src/ciphers/xtea.c
  38. 2 8
      src/encauth/ccm/ccm_add_aad.c
  39. 2 8
      src/encauth/ccm/ccm_add_nonce.c
  40. 2 8
      src/encauth/ccm/ccm_done.c
  41. 2 8
      src/encauth/ccm/ccm_init.c
  42. 2 8
      src/encauth/ccm/ccm_memory.c
  43. 2 8
      src/encauth/ccm/ccm_process.c
  44. 2 8
      src/encauth/ccm/ccm_reset.c
  45. 2 8
      src/encauth/ccm/ccm_test.c
  46. 2 8
      src/encauth/chachapoly/chacha20poly1305_add_aad.c
  47. 2 8
      src/encauth/chachapoly/chacha20poly1305_decrypt.c
  48. 2 8
      src/encauth/chachapoly/chacha20poly1305_done.c
  49. 2 8
      src/encauth/chachapoly/chacha20poly1305_encrypt.c
  50. 2 8
      src/encauth/chachapoly/chacha20poly1305_init.c
  51. 2 8
      src/encauth/chachapoly/chacha20poly1305_memory.c
  52. 2 8
      src/encauth/chachapoly/chacha20poly1305_setiv.c
  53. 2 8
      src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c
  54. 2 8
      src/encauth/chachapoly/chacha20poly1305_test.c
  55. 2 8
      src/encauth/eax/eax_addheader.c
  56. 2 8
      src/encauth/eax/eax_decrypt.c
  57. 2 8
      src/encauth/eax/eax_decrypt_verify_memory.c
  58. 2 8
      src/encauth/eax/eax_done.c
  59. 2 8
      src/encauth/eax/eax_encrypt.c
  60. 2 8
      src/encauth/eax/eax_encrypt_authenticate_memory.c
  61. 2 8
      src/encauth/eax/eax_init.c
  62. 2 8
      src/encauth/eax/eax_test.c
  63. 2 8
      src/encauth/gcm/gcm_add_aad.c
  64. 2 8
      src/encauth/gcm/gcm_add_iv.c
  65. 2 8
      src/encauth/gcm/gcm_done.c
  66. 2 8
      src/encauth/gcm/gcm_gf_mult.c
  67. 2 8
      src/encauth/gcm/gcm_init.c
  68. 2 8
      src/encauth/gcm/gcm_memory.c
  69. 2 8
      src/encauth/gcm/gcm_mult_h.c
  70. 2 8
      src/encauth/gcm/gcm_process.c
  71. 2 8
      src/encauth/gcm/gcm_reset.c
  72. 2 8
      src/encauth/gcm/gcm_test.c
  73. 2 8
      src/encauth/ocb/ocb_decrypt.c
  74. 2 8
      src/encauth/ocb/ocb_decrypt_verify_memory.c
  75. 2 8
      src/encauth/ocb/ocb_done_decrypt.c
  76. 2 8
      src/encauth/ocb/ocb_done_encrypt.c
  77. 2 8
      src/encauth/ocb/ocb_encrypt.c
  78. 2 8
      src/encauth/ocb/ocb_encrypt_authenticate_memory.c
  79. 2 8
      src/encauth/ocb/ocb_init.c
  80. 2 8
      src/encauth/ocb/ocb_ntz.c
  81. 2 8
      src/encauth/ocb/ocb_shift_xor.c
  82. 2 8
      src/encauth/ocb/ocb_test.c
  83. 2 8
      src/encauth/ocb/s_ocb_done.c
  84. 2 8
      src/encauth/ocb3/ocb3_add_aad.c
  85. 2 8
      src/encauth/ocb3/ocb3_decrypt.c
  86. 2 8
      src/encauth/ocb3/ocb3_decrypt_last.c
  87. 2 8
      src/encauth/ocb3/ocb3_decrypt_verify_memory.c
  88. 2 8
      src/encauth/ocb3/ocb3_done.c
  89. 2 8
      src/encauth/ocb3/ocb3_encrypt.c
  90. 2 8
      src/encauth/ocb3/ocb3_encrypt_authenticate_memory.c
  91. 2 8
      src/encauth/ocb3/ocb3_encrypt_last.c
  92. 2 8
      src/encauth/ocb3/ocb3_init.c
  93. 2 8
      src/encauth/ocb3/ocb3_int_ntz.c
  94. 2 8
      src/encauth/ocb3/ocb3_int_xor_blocks.c
  95. 2 8
      src/encauth/ocb3/ocb3_test.c
  96. 2 8
      src/hashes/blake2b.c
  97. 2 8
      src/hashes/blake2s.c
  98. 2 8
      src/hashes/chc/chc.c
  99. 2 8
      src/hashes/helper/hash_file.c
  100. 2 8
      src/hashes/helper/hash_filehandle.c

+ 2 - 8
demos/aesgcm.c

@@ -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
   @file aesgcm.c

+ 2 - 8
demos/constants.c

@@ -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 */
 #include "tomcrypt.h"
 #include "tomcrypt.h"
 
 
 #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L
 #if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L

+ 2 - 8
demos/gcm-file/gcm_file.c

@@ -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 */
 
 
 #include "tomcrypt.h"
 #include "tomcrypt.h"
 
 

+ 2 - 8
demos/gcm-file/gcm_filehandle.c

@@ -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 */
 
 
 #include "tomcrypt.h"
 #include "tomcrypt.h"
 
 

+ 2 - 8
demos/hashsum.c

@@ -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 */
 
 
 /*
 /*
  * Written by Daniel Richards <[email protected]> 6/7/2002
  * Written by Daniel Richards <[email protected]> 6/7/2002

+ 2 - 8
demos/ltcrypt.c

@@ -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 */
 
 
 /* encrypt V1.1 Fri Oct 18 04:28:03 NZDT 2002 */
 /* encrypt V1.1 Fri Oct 18 04:28:03 NZDT 2002 */
 /* File de/encryption, using libtomcrypt */
 /* File de/encryption, using libtomcrypt */

+ 2 - 8
demos/openssl-enc.c

@@ -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 */
 
 
 /*
 /*
  * Demo to do the rough equivalent of:
  * Demo to do the rough equivalent of:

+ 2 - 8
demos/sizes.c

@@ -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 */
 
 
 #include "tomcrypt.h"
 #include "tomcrypt.h"
 
 

+ 2 - 8
demos/small.c

@@ -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 */
 /* small demo app that just includes a cipher/hash/prng */
 /* small demo app that just includes a cipher/hash/prng */
 #include <tomcrypt.h>
 #include <tomcrypt.h>
 
 

+ 2 - 8
demos/timing.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #if defined(_WIN32)
 #if defined(_WIN32)

+ 2 - 8
demos/tv_gen.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 static void hash_gen(void)
 static void hash_gen(void)

+ 2 - 8
helper.pl

@@ -134,14 +134,8 @@ sub check_descriptors {
 sub check_comments {
 sub check_comments {
   my $fails = 0;
   my $fails = 0;
   my $first_comment = <<'MARKER';
   my $first_comment = <<'MARKER';
-/* 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 */
 MARKER
 MARKER
   my @all_files;
   my @all_files;
   find({ wanted=> sub { push @all_files, $_ if $_ =~ /\.(c|h)$/ }, no_chdir=>1 }, 'demos', 'src', 'tests');
   find({ wanted=> sub { push @all_files, $_ if $_ =~ /\.(c|h)$/ }, no_chdir=>1 }, 'demos', 'src', 'tests');

+ 2 - 8
src/ciphers/aes/aes.c

@@ -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 */
 
 
 /* AES implementation by Tom St Denis
 /* AES implementation by Tom St Denis
  *
  *

+ 2 - 8
src/ciphers/aes/aes_tab.c

@@ -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 */
 /* The precomputed tables for AES */
 /* The precomputed tables for AES */
 /*
 /*
 Te0[x] = S [x].[02, 01, 01, 03];
 Te0[x] = S [x].[02, 01, 01, 03];

+ 2 - 8
src/ciphers/anubis.c

@@ -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 anubis.c
   @file anubis.c

+ 2 - 8
src/ciphers/blowfish.c

@@ -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 blowfish.c
   @file blowfish.c
   Implementation of the Blowfish block cipher, Tom St Denis
   Implementation of the Blowfish block cipher, Tom St Denis

+ 2 - 8
src/ciphers/camellia.c

@@ -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 camellia.c
   @file camellia.c

+ 2 - 8
src/ciphers/cast5.c

@@ -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 cast5.c
    @file cast5.c

+ 2 - 8
src/ciphers/des.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 /**
 /**

+ 2 - 8
src/ciphers/idea.c

@@ -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 */
 
 
 /* Based on idea.cpp - originally written and placed in the public domain by Wei Dai
 /* Based on idea.cpp - originally written and placed in the public domain by Wei Dai
    https://github.com/weidai11/cryptopp/blob/master/idea.cpp
    https://github.com/weidai11/cryptopp/blob/master/idea.cpp

+ 2 - 8
src/ciphers/kasumi.c

@@ -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 kasumi.c
   @file kasumi.c

+ 2 - 8
src/ciphers/khazad.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 /**
 /**

+ 2 - 8
src/ciphers/kseed.c

@@ -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 kseed.c
   @file kseed.c

+ 2 - 8
src/ciphers/multi2.c

@@ -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 multi2.c
   @file multi2.c

+ 2 - 8
src/ciphers/noekeon.c

@@ -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 noekeon.c
    @file noekeon.c
    Implementation of the Noekeon block cipher by Tom St Denis
    Implementation of the Noekeon block cipher by Tom St Denis

+ 2 - 8
src/ciphers/rc2.c

@@ -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 */
 /**********************************************************************\
 /**********************************************************************\
 * To commemorate the 1996 RSA Data Security Conference, the following  *
 * To commemorate the 1996 RSA Data Security Conference, the following  *
 * code is released into the public domain by its author.  Prost!       *
 * code is released into the public domain by its author.  Prost!       *

+ 2 - 8
src/ciphers/rc5.c

@@ -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 rc5.c
    @file rc5.c

+ 2 - 8
src/ciphers/rc6.c

@@ -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 rc6.c
    @file rc6.c

+ 2 - 8
src/ciphers/safer/safer.c

@@ -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 */
 
 
 /*******************************************************************************
 /*******************************************************************************
 *
 *

+ 2 - 8
src/ciphers/safer/safer_tab.c

@@ -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 safer_tab.c
   @file safer_tab.c

+ 2 - 8
src/ciphers/safer/saferp.c

@@ -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 saferp.c
    @file saferp.c

+ 2 - 8
src/ciphers/serpent.c

@@ -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 */
 
 
 /* Based on serpent.cpp - originally written and placed in the public domain by Wei Dai
 /* Based on serpent.cpp - originally written and placed in the public domain by Wei Dai
    https://github.com/weidai11/cryptopp/blob/master/serpent.cpp
    https://github.com/weidai11/cryptopp/blob/master/serpent.cpp

+ 2 - 8
src/ciphers/skipjack.c

@@ -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 skipjack.c
   @file skipjack.c

+ 2 - 8
src/ciphers/tea.c

@@ -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 tea.c
   @file tea.c

+ 2 - 8
src/ciphers/twofish/twofish.c

@@ -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 twofish.c
    @file twofish.c

+ 2 - 8
src/ciphers/twofish/twofish_tab.c

@@ -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 twofish_tab.c
     @file twofish_tab.c

+ 2 - 8
src/ciphers/xtea.c

@@ -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 xtea.c
   @file xtea.c

+ 2 - 8
src/encauth/ccm/ccm_add_aad.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_add_nonce.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_done.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_init.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_memory.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 /**
 /**

+ 2 - 8
src/encauth/ccm/ccm_process.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_reset.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_CCM_MODE
 #ifdef LTC_CCM_MODE

+ 2 - 8
src/encauth/ccm/ccm_test.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 /**
 /**

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_add_aad.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_decrypt.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_done.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_encrypt.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_init.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_memory.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_setiv.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/chachapoly/chacha20poly1305_test.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/encauth/eax/eax_addheader.c

@@ -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 eax_addheader.c
     @file eax_addheader.c
     EAX implementation, add meta-data, by Tom St Denis
     EAX implementation, add meta-data, by Tom St Denis

+ 2 - 8
src/encauth/eax/eax_decrypt.c

@@ -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 eax_decrypt.c
     @file eax_decrypt.c

+ 2 - 8
src/encauth/eax/eax_decrypt_verify_memory.c

@@ -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 eax_decrypt_verify_memory.c
     @file eax_decrypt_verify_memory.c

+ 2 - 8
src/encauth/eax/eax_done.c

@@ -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 eax_done.c
    @file eax_done.c

+ 2 - 8
src/encauth/eax/eax_encrypt.c

@@ -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 eax_encrypt.c
    @file eax_encrypt.c

+ 2 - 8
src/encauth/eax/eax_encrypt_authenticate_memory.c

@@ -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 eax_encrypt_authenticate_memory.c
   @file eax_encrypt_authenticate_memory.c

+ 2 - 8
src/encauth/eax/eax_init.c

@@ -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 eax_init.c
    @file eax_init.c

+ 2 - 8
src/encauth/eax/eax_test.c

@@ -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 eax_test.c
     @file eax_test.c

+ 2 - 8
src/encauth/gcm/gcm_add_aad.c

@@ -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 gcm_add_aad.c
    @file gcm_add_aad.c

+ 2 - 8
src/encauth/gcm/gcm_add_iv.c

@@ -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 gcm_add_iv.c
    @file gcm_add_iv.c

+ 2 - 8
src/encauth/gcm/gcm_done.c

@@ -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 gcm_done.c
    @file gcm_done.c

+ 2 - 8
src/encauth/gcm/gcm_gf_mult.c

@@ -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 gcm_gf_mult.c
    @file gcm_gf_mult.c

+ 2 - 8
src/encauth/gcm/gcm_init.c

@@ -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 gcm_init.c
    @file gcm_init.c

+ 2 - 8
src/encauth/gcm/gcm_memory.c

@@ -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 gcm_memory.c
    @file gcm_memory.c

+ 2 - 8
src/encauth/gcm/gcm_mult_h.c

@@ -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 gcm_mult_h.c
    @file gcm_mult_h.c

+ 2 - 8
src/encauth/gcm/gcm_process.c

@@ -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 gcm_process.c
    @file gcm_process.c

+ 2 - 8
src/encauth/gcm/gcm_reset.c

@@ -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 gcm_reset.c
    @file gcm_reset.c

+ 2 - 8
src/encauth/gcm/gcm_test.c

@@ -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 gcm_test.c
    @file gcm_test.c

+ 2 - 8
src/encauth/ocb/ocb_decrypt.c

@@ -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 ocb_decrypt.c
    @file ocb_decrypt.c

+ 2 - 8
src/encauth/ocb/ocb_decrypt_verify_memory.c

@@ -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 ocb_decrypt_verify_memory.c
   @file ocb_decrypt_verify_memory.c

+ 2 - 8
src/encauth/ocb/ocb_done_decrypt.c

@@ -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 ocb_done_decrypt.c
    @file ocb_done_decrypt.c

+ 2 - 8
src/encauth/ocb/ocb_done_encrypt.c

@@ -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 ocb_done_encrypt.c
    @file ocb_done_encrypt.c

+ 2 - 8
src/encauth/ocb/ocb_encrypt.c

@@ -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 ocb_encrypt.c
    @file ocb_encrypt.c

+ 2 - 8
src/encauth/ocb/ocb_encrypt_authenticate_memory.c

@@ -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 ocb_encrypt_authenticate_memory.c
   @file ocb_encrypt_authenticate_memory.c

+ 2 - 8
src/encauth/ocb/ocb_init.c

@@ -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 ocb_init.c
    @file ocb_init.c

+ 2 - 8
src/encauth/ocb/ocb_ntz.c

@@ -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 ocb_ntz.c
    @file ocb_ntz.c

+ 2 - 8
src/encauth/ocb/ocb_shift_xor.c

@@ -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 ocb_shift_xor.c
    @file ocb_shift_xor.c

+ 2 - 8
src/encauth/ocb/ocb_test.c

@@ -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 ocb_test.c
    @file ocb_test.c

+ 2 - 8
src/encauth/ocb/s_ocb_done.c

@@ -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 s_ocb_done.c
    @file s_ocb_done.c

+ 2 - 8
src/encauth/ocb3/ocb3_add_aad.c

@@ -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 ocb3_add_aad.c
    @file ocb3_add_aad.c

+ 2 - 8
src/encauth/ocb3/ocb3_decrypt.c

@@ -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 ocb3_decrypt.c
    @file ocb3_decrypt.c

+ 2 - 8
src/encauth/ocb3/ocb3_decrypt_last.c

@@ -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 ocb3_decrypt_last.c
    @file ocb3_decrypt_last.c

+ 2 - 8
src/encauth/ocb3/ocb3_decrypt_verify_memory.c

@@ -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 ocb3_decrypt_verify_memory.c
   @file ocb3_decrypt_verify_memory.c

+ 2 - 8
src/encauth/ocb3/ocb3_done.c

@@ -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 ocb3_done.c
    @file ocb3_done.c

+ 2 - 8
src/encauth/ocb3/ocb3_encrypt.c

@@ -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 ocb3_encrypt.c
    @file ocb3_encrypt.c

+ 2 - 8
src/encauth/ocb3/ocb3_encrypt_authenticate_memory.c

@@ -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 ocb3_encrypt_authenticate_memory.c
   @file ocb3_encrypt_authenticate_memory.c

+ 2 - 8
src/encauth/ocb3/ocb3_encrypt_last.c

@@ -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 ocb3_encrypt_last.c
    @file ocb3_encrypt_last.c

+ 2 - 8
src/encauth/ocb3/ocb3_init.c

@@ -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 ocb3_init.c
    @file ocb3_init.c

+ 2 - 8
src/encauth/ocb3/ocb3_int_ntz.c

@@ -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 ocb3_int_ntz.c
    @file ocb3_int_ntz.c

+ 2 - 8
src/encauth/ocb3/ocb3_int_xor_blocks.c

@@ -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 ocb3_int_xor_blocks.c
    @file ocb3_int_xor_blocks.c

+ 2 - 8
src/encauth/ocb3/ocb3_test.c

@@ -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 ocb3_test.c
    @file ocb3_test.c

+ 2 - 8
src/hashes/blake2b.c

@@ -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 */
 
 
 /*
 /*
    BLAKE2 reference source code package - reference C implementations
    BLAKE2 reference source code package - reference C implementations

+ 2 - 8
src/hashes/blake2s.c

@@ -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 */
 
 
 /*
 /*
    BLAKE2 reference source code package - reference C implementations
    BLAKE2 reference source code package - reference C implementations

+ 2 - 8
src/hashes/chc/chc.c

@@ -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 */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 

+ 2 - 8
src/hashes/helper/hash_file.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifndef LTC_NO_FILE
 #ifndef LTC_NO_FILE

+ 2 - 8
src/hashes/helper/hash_filehandle.c

@@ -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 */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifndef LTC_NO_FILE
 #ifndef LTC_NO_FILE

Some files were not shown because too many files changed in this diff