Browse Source

more clean-up of headers/footers

Steffen Jaeckel 8 years ago
parent
commit
4cd1355b8f
77 changed files with 369 additions and 0 deletions
  1. 4 0
      src/encauth/ccm/ccm_add_aad.c
  2. 4 0
      src/encauth/ccm/ccm_add_nonce.c
  3. 4 0
      src/encauth/ccm/ccm_done.c
  4. 4 0
      src/encauth/ccm/ccm_init.c
  5. 4 0
      src/encauth/ccm/ccm_process.c
  6. 4 0
      src/encauth/ccm/ccm_reset.c
  7. 4 0
      src/encauth/chachapoly/chacha20poly1305_add_aad.c
  8. 4 0
      src/encauth/chachapoly/chacha20poly1305_decrypt.c
  9. 4 0
      src/encauth/chachapoly/chacha20poly1305_done.c
  10. 4 0
      src/encauth/chachapoly/chacha20poly1305_encrypt.c
  11. 4 0
      src/encauth/chachapoly/chacha20poly1305_init.c
  12. 4 0
      src/encauth/chachapoly/chacha20poly1305_memory.c
  13. 4 0
      src/encauth/chachapoly/chacha20poly1305_setiv.c
  14. 4 0
      src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c
  15. 4 0
      src/encauth/chachapoly/chacha20poly1305_test.c
  16. 4 0
      src/hashes/blake2b.c
  17. 4 0
      src/hashes/blake2s.c
  18. 3 0
      src/hashes/rmd256.c
  19. 3 0
      src/hashes/rmd320.c
  20. 4 0
      src/hashes/sha3.c
  21. 4 0
      src/hashes/sha3_test.c
  22. 9 0
      src/headers/tomcrypt.h
  23. 9 0
      src/headers/tomcrypt_argchk.h
  24. 9 0
      src/headers/tomcrypt_cfg.h
  25. 9 0
      src/headers/tomcrypt_cipher.h
  26. 9 0
      src/headers/tomcrypt_custom.h
  27. 9 0
      src/headers/tomcrypt_hash.h
  28. 9 0
      src/headers/tomcrypt_mac.h
  29. 8 0
      src/headers/tomcrypt_macros.h
  30. 9 0
      src/headers/tomcrypt_math.h
  31. 9 0
      src/headers/tomcrypt_misc.h
  32. 9 0
      src/headers/tomcrypt_pk.h
  33. 9 0
      src/headers/tomcrypt_pkcs.h
  34. 9 0
      src/headers/tomcrypt_prng.h
  35. 4 0
      src/mac/blake2/blake2bmac.c
  36. 4 0
      src/mac/blake2/blake2bmac_file.c
  37. 4 0
      src/mac/blake2/blake2bmac_memory.c
  38. 4 0
      src/mac/blake2/blake2bmac_memory_multi.c
  39. 4 0
      src/mac/blake2/blake2bmac_test.c
  40. 4 0
      src/mac/blake2/blake2smac.c
  41. 4 0
      src/mac/blake2/blake2smac_file.c
  42. 4 0
      src/mac/blake2/blake2smac_memory.c
  43. 4 0
      src/mac/blake2/blake2smac_memory_multi.c
  44. 4 0
      src/mac/blake2/blake2smac_test.c
  45. 4 0
      src/mac/poly1305/poly1305.c
  46. 4 0
      src/mac/poly1305/poly1305_file.c
  47. 4 0
      src/mac/poly1305/poly1305_memory.c
  48. 4 0
      src/mac/poly1305/poly1305_memory_multi.c
  49. 4 0
      src/mac/poly1305/poly1305_test.c
  50. 4 0
      src/math/rand_bn.c
  51. 4 0
      src/misc/crypt/crypt_ltc_mp_descriptor.c
  52. 4 0
      src/misc/crypt/crypt_prng_rng_descriptor.c
  53. 4 0
      src/misc/crypt/crypt_register_all_ciphers.c
  54. 4 0
      src/misc/crypt/crypt_register_all_hashes.c
  55. 4 0
      src/misc/crypt/crypt_register_all_prngs.c
  56. 4 0
      src/misc/hkdf/hkdf.c
  57. 4 0
      src/misc/pk_get_oid.c
  58. 4 0
      src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c
  59. 4 0
      src/pk/asn1/der/sequence/der_encode_sequence_ex.c
  60. 3 0
      src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c
  61. 4 0
      src/pk/dsa/dsa_import_radix.c
  62. 4 0
      src/pk/rsa/rsa_import_pkcs8.c
  63. 4 0
      src/pk/rsa/rsa_import_radix.c
  64. 4 0
      src/prngs/chacha20.c
  65. 4 0
      src/prngs/rc4.c
  66. 4 0
      src/prngs/sober128.c
  67. 4 0
      src/stream/chacha/chacha_crypt.c
  68. 4 0
      src/stream/chacha/chacha_done.c
  69. 4 0
      src/stream/chacha/chacha_ivctr32.c
  70. 4 0
      src/stream/chacha/chacha_ivctr64.c
  71. 4 0
      src/stream/chacha/chacha_keystream.c
  72. 4 0
      src/stream/chacha/chacha_setup.c
  73. 4 0
      src/stream/chacha/chacha_test.c
  74. 4 0
      src/stream/rc4/rc4.c
  75. 4 0
      src/stream/rc4/rc4_test.c
  76. 4 0
      src/stream/sober128/sober128.c
  77. 4 0
      src/stream/sober128/sober128_test.c

+ 4 - 0
src/encauth/ccm/ccm_add_aad.c

@@ -57,3 +57,7 @@ int ccm_add_aad(ccm_state *ccm,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/ccm/ccm_add_nonce.c

@@ -107,3 +107,7 @@ int ccm_add_nonce(ccm_state *ccm,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/ccm/ccm_done.c

@@ -59,3 +59,7 @@ int ccm_done(ccm_state *ccm,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/ccm/ccm_init.c

@@ -75,3 +75,7 @@ int ccm_init(ccm_state *ccm, int cipher,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/ccm/ccm_process.c

@@ -82,3 +82,7 @@ int ccm_process(ccm_state *ccm,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/ccm/ccm_reset.c

@@ -29,3 +29,7 @@ int ccm_reset(ccm_state *ccm)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_add_aad.c

@@ -32,3 +32,7 @@ int chacha20poly1305_add_aad(chacha20poly1305_state *st, const unsigned char *in
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_decrypt.c

@@ -43,3 +43,7 @@ int chacha20poly1305_decrypt(chacha20poly1305_state *st, const unsigned char *in
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_done.c

@@ -40,3 +40,7 @@ int chacha20poly1305_done(chacha20poly1305_state *st, unsigned char *tag, unsign
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_encrypt.c

@@ -42,3 +42,7 @@ int chacha20poly1305_encrypt(chacha20poly1305_state *st, const unsigned char *in
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_init.c

@@ -24,3 +24,7 @@ int chacha20poly1305_init(chacha20poly1305_state *st, const unsigned char *key,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_memory.c

@@ -68,3 +68,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_setiv.c

@@ -62,3 +62,7 @@ int chacha20poly1305_setiv(chacha20poly1305_state *st, const unsigned char *iv,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c

@@ -34,3 +34,7 @@ int chacha20poly1305_setiv_rfc7905(chacha20poly1305_state *st, const unsigned ch
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/encauth/chachapoly/chacha20poly1305_test.c

@@ -128,3 +128,7 @@ int chacha20poly1305_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/hashes/blake2b.c

@@ -582,3 +582,7 @@ int blake2b_160_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/hashes/blake2s.c

@@ -557,3 +557,7 @@ int blake2s_128_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 3 - 0
src/hashes/rmd256.c

@@ -425,3 +425,6 @@ int rmd256_test(void)
 
 #endif
 
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 3 - 0
src/hashes/rmd320.c

@@ -490,3 +490,6 @@ int rmd320_test(void)
 
 #endif
 
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/hashes/sha3.c

@@ -300,3 +300,7 @@ int sha3_shake_memory(int num, const unsigned char *in, unsigned long inlen, uns
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/hashes/sha3_test.c

@@ -395,3 +395,7 @@ int sha3_shake_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 9 - 0
src/headers/tomcrypt.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 #ifndef TOMCRYPT_H_
 #define TOMCRYPT_H_
 #include <assert.h>

+ 9 - 0
src/headers/tomcrypt_argchk.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* Defines the LTC_ARGCHK macro used within the library */
 /* ARGTYPE is defined in tomcrypt_cfg.h */
 #if ARGTYPE == 0

+ 9 - 0
src/headers/tomcrypt_cfg.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* This is the build config file.
  *
  * With this you can setup what to inlcude/exclude automatically during any build.  Just comment

+ 9 - 0
src/headers/tomcrypt_cipher.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* ---- SYMMETRIC KEY STUFF -----
  *
  * We put each of the ciphers scheduled keys in their own structs then we put all of

+ 9 - 0
src/headers/tomcrypt_custom.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 #ifndef TOMCRYPT_CUSTOM_H_
 #define TOMCRYPT_CUSTOM_H_
 

+ 9 - 0
src/headers/tomcrypt_hash.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* ---- HASH FUNCTIONS ---- */
 #ifdef LTC_SHA3
 struct sha3_state {

+ 9 - 0
src/headers/tomcrypt_mac.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 #ifdef LTC_HMAC
 typedef struct Hmac_state {
      hash_state     md;

+ 8 - 0
src/headers/tomcrypt_macros.h

@@ -1,3 +1,11 @@
+/* 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.
+ */
 
 /* ---- HELPER MACROS ---- */
 #ifdef ENDIAN_NEUTRAL

+ 9 - 0
src/headers/tomcrypt_math.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /** math functions **/
 
 #define LTC_MP_LT   -1

+ 9 - 0
src/headers/tomcrypt_misc.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* ---- LTC_BASE64 Routines ---- */
 #ifdef LTC_BASE64
 int base64_encode(const unsigned char *in,  unsigned long len,

+ 9 - 0
src/headers/tomcrypt_pk.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* ---- NUMBER THEORY ---- */
 
 enum {

+ 9 - 0
src/headers/tomcrypt_pkcs.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* PKCS Header Info */
 
 /* ===> PKCS #1 -- RSA Cryptography <=== */

+ 9 - 0
src/headers/tomcrypt_prng.h

@@ -1,3 +1,12 @@
+/* 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.
+ */
+
 /* ---- PRNG Stuff ---- */
 #ifdef LTC_YARROW
 struct yarrow_prng {

+ 4 - 0
src/mac/blake2/blake2bmac.c

@@ -59,3 +59,7 @@ int blake2bmac_done(blake2bmac_state *st, unsigned char *mac, unsigned long *mac
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2bmac_file.c

@@ -77,3 +77,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2bmac_memory.c

@@ -42,3 +42,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2bmac_memory_multi.c

@@ -56,3 +56,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2bmac_test.c

@@ -308,3 +308,7 @@ int blake2bmac_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2smac.c

@@ -59,3 +59,7 @@ int blake2smac_done(blake2smac_state *st, unsigned char *mac, unsigned long *mac
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2smac_file.c

@@ -77,3 +77,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2smac_memory.c

@@ -42,3 +42,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2smac_memory_multi.c

@@ -56,3 +56,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/blake2/blake2smac_test.c

@@ -308,3 +308,7 @@ int blake2smac_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/poly1305/poly1305.c

@@ -262,3 +262,7 @@ int poly1305_done(poly1305_state *st, unsigned char *mac, unsigned long *maclen)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/poly1305/poly1305_file.c

@@ -82,3 +82,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/poly1305/poly1305_memory.c

@@ -47,3 +47,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/poly1305/poly1305_memory_multi.c

@@ -61,3 +61,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/mac/poly1305/poly1305_test.c

@@ -50,3 +50,7 @@ int poly1305_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/math/rand_bn.c

@@ -68,3 +68,7 @@ int rand_bn_range(void *N, void *limit, prng_state *prng, int wprng)
    return CRYPT_OK;
 }
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/crypt/crypt_ltc_mp_descriptor.c

@@ -9,3 +9,7 @@
 #include "tomcrypt.h"
 
 ltc_math_descriptor ltc_mp;
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/crypt/crypt_prng_rng_descriptor.c

@@ -11,3 +11,7 @@
 #ifdef LTC_PRNG_ENABLE_LTC_RNG
 unsigned long (*ltc_rng)(unsigned char *out, unsigned long outlen, void (*callback)(void));
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/crypt/crypt_register_all_ciphers.c

@@ -96,3 +96,7 @@ int register_all_ciphers(void)
 #endif
    return err;
 }
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/crypt/crypt_register_all_hashes.c

@@ -94,3 +94,7 @@ int register_all_hashes(void)
 #endif
    return err;
 }
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/crypt/crypt_register_all_prngs.c

@@ -43,3 +43,7 @@ int register_all_prngs(void)
 
    return err;
 }
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/hkdf/hkdf.c

@@ -149,3 +149,7 @@ int hkdf(int hash_idx, const unsigned char *salt, unsigned long saltlen,
 
 
 /* vim: set ts=2 sw=2 et ai si: */
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/misc/pk_get_oid.c

@@ -38,3 +38,7 @@ int pk_get_oid(int pk, oid_st *st)
    return CRYPT_OK;
 }
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c

@@ -106,3 +106,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/pk/asn1/der/sequence/der_encode_sequence_ex.c

@@ -365,3 +365,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 3 - 0
src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c

@@ -65,4 +65,7 @@ int der_encode_subject_public_key_info(unsigned char *out, unsigned long *outlen
 
 #endif
 
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */
 

+ 4 - 0
src/pk/dsa/dsa_import_radix.c

@@ -63,3 +63,7 @@ LBL_ERR:
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/pk/rsa/rsa_import_pkcs8.c

@@ -147,3 +147,7 @@ LBL_NOFREE:
 }
 
 #endif /* LTC_MRSA */
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/pk/rsa/rsa_import_radix.c

@@ -60,3 +60,7 @@ LBL_ERR:
 }
 
 #endif /* LTC_MRSA */
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/prngs/chacha20.c

@@ -240,3 +240,7 @@ int chacha20_prng_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/prngs/rc4.c

@@ -243,3 +243,7 @@ int rc4_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/prngs/sober128.c

@@ -242,3 +242,7 @@ int sober128_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_crypt.c

@@ -93,3 +93,7 @@ int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen,
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_done.c

@@ -24,3 +24,7 @@ int chacha_done(chacha_state *st)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_ivctr32.c

@@ -41,3 +41,7 @@ int chacha_ivctr32(chacha_state *st, const unsigned char *iv, unsigned long ivle
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_ivctr64.c

@@ -41,3 +41,7 @@ int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivle
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_keystream.c

@@ -32,3 +32,7 @@ int chacha_keystream(chacha_state *st, unsigned char *out, unsigned long outlen)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_setup.c

@@ -59,3 +59,7 @@ int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keyle
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/chacha/chacha_test.c

@@ -65,3 +65,7 @@ int chacha_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/rc4/rc4.c

@@ -105,3 +105,7 @@ int rc4_stream_done(rc4_state *st)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/rc4/rc4_test.c

@@ -33,3 +33,7 @@ int rc4_stream_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/sober128/sober128.c

@@ -340,3 +340,7 @@ int sober128_stream_done(sober128_state *c)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */

+ 4 - 0
src/stream/sober128/sober128_test.c

@@ -47,3 +47,7 @@ int sober128_stream_test(void)
 }
 
 #endif
+
+/* ref:         $Format:%D$ */
+/* git commit:  $Format:%H$ */
+/* commit time: $Format:%ai$ */