From 4cd1355b8fe084710b3ec5db7b2a3d577a7fd3ea Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 19 Jun 2017 14:06:38 +0200 Subject: [PATCH] more clean-up of headers/footers --- src/encauth/ccm/ccm_add_aad.c | 4 ++++ src/encauth/ccm/ccm_add_nonce.c | 4 ++++ src/encauth/ccm/ccm_done.c | 4 ++++ src/encauth/ccm/ccm_init.c | 4 ++++ src/encauth/ccm/ccm_process.c | 4 ++++ src/encauth/ccm/ccm_reset.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_add_aad.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_decrypt.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_done.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_encrypt.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_init.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_memory.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_setiv.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c | 4 ++++ src/encauth/chachapoly/chacha20poly1305_test.c | 4 ++++ src/hashes/blake2b.c | 4 ++++ src/hashes/blake2s.c | 4 ++++ src/hashes/rmd256.c | 3 +++ src/hashes/rmd320.c | 3 +++ src/hashes/sha3.c | 4 ++++ src/hashes/sha3_test.c | 4 ++++ src/headers/tomcrypt.h | 9 +++++++++ src/headers/tomcrypt_argchk.h | 9 +++++++++ src/headers/tomcrypt_cfg.h | 9 +++++++++ src/headers/tomcrypt_cipher.h | 9 +++++++++ src/headers/tomcrypt_custom.h | 9 +++++++++ src/headers/tomcrypt_hash.h | 9 +++++++++ src/headers/tomcrypt_mac.h | 9 +++++++++ src/headers/tomcrypt_macros.h | 8 ++++++++ src/headers/tomcrypt_math.h | 9 +++++++++ src/headers/tomcrypt_misc.h | 9 +++++++++ src/headers/tomcrypt_pk.h | 9 +++++++++ src/headers/tomcrypt_pkcs.h | 9 +++++++++ src/headers/tomcrypt_prng.h | 9 +++++++++ src/mac/blake2/blake2bmac.c | 4 ++++ src/mac/blake2/blake2bmac_file.c | 4 ++++ src/mac/blake2/blake2bmac_memory.c | 4 ++++ src/mac/blake2/blake2bmac_memory_multi.c | 4 ++++ src/mac/blake2/blake2bmac_test.c | 4 ++++ src/mac/blake2/blake2smac.c | 4 ++++ src/mac/blake2/blake2smac_file.c | 4 ++++ src/mac/blake2/blake2smac_memory.c | 4 ++++ src/mac/blake2/blake2smac_memory_multi.c | 4 ++++ src/mac/blake2/blake2smac_test.c | 4 ++++ src/mac/poly1305/poly1305.c | 4 ++++ src/mac/poly1305/poly1305_file.c | 4 ++++ src/mac/poly1305/poly1305_memory.c | 4 ++++ src/mac/poly1305/poly1305_memory_multi.c | 4 ++++ src/mac/poly1305/poly1305_test.c | 4 ++++ src/math/rand_bn.c | 4 ++++ src/misc/crypt/crypt_ltc_mp_descriptor.c | 4 ++++ src/misc/crypt/crypt_prng_rng_descriptor.c | 4 ++++ src/misc/crypt/crypt_register_all_ciphers.c | 4 ++++ src/misc/crypt/crypt_register_all_hashes.c | 4 ++++ src/misc/crypt/crypt_register_all_prngs.c | 4 ++++ src/misc/hkdf/hkdf.c | 4 ++++ src/misc/pk_get_oid.c | 4 ++++ .../der/sequence/der_decode_subject_public_key_info.c | 4 ++++ src/pk/asn1/der/sequence/der_encode_sequence_ex.c | 4 ++++ .../der/sequence/der_encode_subject_public_key_info.c | 3 +++ src/pk/dsa/dsa_import_radix.c | 4 ++++ src/pk/rsa/rsa_import_pkcs8.c | 4 ++++ src/pk/rsa/rsa_import_radix.c | 4 ++++ src/prngs/chacha20.c | 4 ++++ src/prngs/rc4.c | 4 ++++ src/prngs/sober128.c | 4 ++++ src/stream/chacha/chacha_crypt.c | 4 ++++ src/stream/chacha/chacha_done.c | 4 ++++ src/stream/chacha/chacha_ivctr32.c | 4 ++++ src/stream/chacha/chacha_ivctr64.c | 4 ++++ src/stream/chacha/chacha_keystream.c | 4 ++++ src/stream/chacha/chacha_setup.c | 4 ++++ src/stream/chacha/chacha_test.c | 4 ++++ src/stream/rc4/rc4.c | 4 ++++ src/stream/rc4/rc4_test.c | 4 ++++ src/stream/sober128/sober128.c | 4 ++++ src/stream/sober128/sober128_test.c | 4 ++++ 77 files changed, 369 insertions(+) diff --git a/src/encauth/ccm/ccm_add_aad.c b/src/encauth/ccm/ccm_add_aad.c index a547c58..9744c57 100644 --- a/src/encauth/ccm/ccm_add_aad.c +++ b/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$ */ diff --git a/src/encauth/ccm/ccm_add_nonce.c b/src/encauth/ccm/ccm_add_nonce.c index 5c11bbb..ceffb8e 100644 --- a/src/encauth/ccm/ccm_add_nonce.c +++ b/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$ */ diff --git a/src/encauth/ccm/ccm_done.c b/src/encauth/ccm/ccm_done.c index bd7fea3..797b7d9 100644 --- a/src/encauth/ccm/ccm_done.c +++ b/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$ */ diff --git a/src/encauth/ccm/ccm_init.c b/src/encauth/ccm/ccm_init.c index 4d4aaca..b24e33e 100644 --- a/src/encauth/ccm/ccm_init.c +++ b/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$ */ diff --git a/src/encauth/ccm/ccm_process.c b/src/encauth/ccm/ccm_process.c index af31e2c..2446f28 100644 --- a/src/encauth/ccm/ccm_process.c +++ b/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$ */ diff --git a/src/encauth/ccm/ccm_reset.c b/src/encauth/ccm/ccm_reset.c index 076abc5..c2d0cae 100644 --- a/src/encauth/ccm/ccm_reset.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_add_aad.c b/src/encauth/chachapoly/chacha20poly1305_add_aad.c index 8d530a1..0c0cf9d 100644 --- a/src/encauth/chachapoly/chacha20poly1305_add_aad.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_decrypt.c b/src/encauth/chachapoly/chacha20poly1305_decrypt.c index 6ade7d5..1797932 100644 --- a/src/encauth/chachapoly/chacha20poly1305_decrypt.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_done.c b/src/encauth/chachapoly/chacha20poly1305_done.c index 259513e..127a7f0 100644 --- a/src/encauth/chachapoly/chacha20poly1305_done.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_encrypt.c b/src/encauth/chachapoly/chacha20poly1305_encrypt.c index 3705d0d..c53c4a6 100644 --- a/src/encauth/chachapoly/chacha20poly1305_encrypt.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_init.c b/src/encauth/chachapoly/chacha20poly1305_init.c index 5195d12..2799e98 100644 --- a/src/encauth/chachapoly/chacha20poly1305_init.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_memory.c b/src/encauth/chachapoly/chacha20poly1305_memory.c index 759e704..b9e4d2e 100644 --- a/src/encauth/chachapoly/chacha20poly1305_memory.c +++ b/src/encauth/chachapoly/chacha20poly1305_memory.c @@ -68,3 +68,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_setiv.c b/src/encauth/chachapoly/chacha20poly1305_setiv.c index e5d41c9..2047143 100644 --- a/src/encauth/chachapoly/chacha20poly1305_setiv.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c b/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c index 6bb4e58..f207f01 100644 --- a/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c +++ b/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$ */ diff --git a/src/encauth/chachapoly/chacha20poly1305_test.c b/src/encauth/chachapoly/chacha20poly1305_test.c index e78cff5..ee44e68 100644 --- a/src/encauth/chachapoly/chacha20poly1305_test.c +++ b/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$ */ diff --git a/src/hashes/blake2b.c b/src/hashes/blake2b.c index 51c1ee4..9138d39 100644 --- a/src/hashes/blake2b.c +++ b/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$ */ diff --git a/src/hashes/blake2s.c b/src/hashes/blake2s.c index 6a7b24f..9e26324 100644 --- a/src/hashes/blake2s.c +++ b/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$ */ diff --git a/src/hashes/rmd256.c b/src/hashes/rmd256.c index 3244923..c2149b6 100644 --- a/src/hashes/rmd256.c +++ b/src/hashes/rmd256.c @@ -425,3 +425,6 @@ int rmd256_test(void) #endif +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/hashes/rmd320.c b/src/hashes/rmd320.c index e3fdd09..0098e0b 100644 --- a/src/hashes/rmd320.c +++ b/src/hashes/rmd320.c @@ -490,3 +490,6 @@ int rmd320_test(void) #endif +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/hashes/sha3.c b/src/hashes/sha3.c index 35c4925..fb34f25 100644 --- a/src/hashes/sha3.c +++ b/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$ */ diff --git a/src/hashes/sha3_test.c b/src/hashes/sha3_test.c index 36e4b03..5ae8650 100644 --- a/src/hashes/sha3_test.c +++ b/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$ */ diff --git a/src/headers/tomcrypt.h b/src/headers/tomcrypt.h index 2241c43..803e643 100644 --- a/src/headers/tomcrypt.h +++ b/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 diff --git a/src/headers/tomcrypt_argchk.h b/src/headers/tomcrypt_argchk.h index d7032db..17390e6 100644 --- a/src/headers/tomcrypt_argchk.h +++ b/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 diff --git a/src/headers/tomcrypt_cfg.h b/src/headers/tomcrypt_cfg.h index 3167c89..192a053 100644 --- a/src/headers/tomcrypt_cfg.h +++ b/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 diff --git a/src/headers/tomcrypt_cipher.h b/src/headers/tomcrypt_cipher.h index 646038b..3834f4f 100644 --- a/src/headers/tomcrypt_cipher.h +++ b/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 diff --git a/src/headers/tomcrypt_custom.h b/src/headers/tomcrypt_custom.h index ac7ad0d..344b0d2 100644 --- a/src/headers/tomcrypt_custom.h +++ b/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_ diff --git a/src/headers/tomcrypt_hash.h b/src/headers/tomcrypt_hash.h index cad654e..8286f41 100644 --- a/src/headers/tomcrypt_hash.h +++ b/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 { diff --git a/src/headers/tomcrypt_mac.h b/src/headers/tomcrypt_mac.h index f59903e..d2e5dfb 100644 --- a/src/headers/tomcrypt_mac.h +++ b/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; diff --git a/src/headers/tomcrypt_macros.h b/src/headers/tomcrypt_macros.h index c9f3afb..94e368f 100644 --- a/src/headers/tomcrypt_macros.h +++ b/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 diff --git a/src/headers/tomcrypt_math.h b/src/headers/tomcrypt_math.h index 2225235..0be2245 100644 --- a/src/headers/tomcrypt_math.h +++ b/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 diff --git a/src/headers/tomcrypt_misc.h b/src/headers/tomcrypt_misc.h index 1e0e981..1022379 100644 --- a/src/headers/tomcrypt_misc.h +++ b/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, diff --git a/src/headers/tomcrypt_pk.h b/src/headers/tomcrypt_pk.h index 15e05fa..ed108cc 100644 --- a/src/headers/tomcrypt_pk.h +++ b/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 { diff --git a/src/headers/tomcrypt_pkcs.h b/src/headers/tomcrypt_pkcs.h index e3a4080..5c4bda7 100644 --- a/src/headers/tomcrypt_pkcs.h +++ b/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 <=== */ diff --git a/src/headers/tomcrypt_prng.h b/src/headers/tomcrypt_prng.h index 07e376e..1163367 100644 --- a/src/headers/tomcrypt_prng.h +++ b/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 { diff --git a/src/mac/blake2/blake2bmac.c b/src/mac/blake2/blake2bmac.c index 63ebd41..e3d53c5 100644 --- a/src/mac/blake2/blake2bmac.c +++ b/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$ */ diff --git a/src/mac/blake2/blake2bmac_file.c b/src/mac/blake2/blake2bmac_file.c index 3722138..64c9e4d 100644 --- a/src/mac/blake2/blake2bmac_file.c +++ b/src/mac/blake2/blake2bmac_file.c @@ -77,3 +77,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/blake2/blake2bmac_memory.c b/src/mac/blake2/blake2bmac_memory.c index bdf5562..45ddd6f 100644 --- a/src/mac/blake2/blake2bmac_memory.c +++ b/src/mac/blake2/blake2bmac_memory.c @@ -42,3 +42,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/blake2/blake2bmac_memory_multi.c b/src/mac/blake2/blake2bmac_memory_multi.c index 4e8f66f..2ce9e1c 100644 --- a/src/mac/blake2/blake2bmac_memory_multi.c +++ b/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$ */ diff --git a/src/mac/blake2/blake2bmac_test.c b/src/mac/blake2/blake2bmac_test.c index 37f2ca7..ae70056 100644 --- a/src/mac/blake2/blake2bmac_test.c +++ b/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$ */ diff --git a/src/mac/blake2/blake2smac.c b/src/mac/blake2/blake2smac.c index 741cf72..1402261 100644 --- a/src/mac/blake2/blake2smac.c +++ b/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$ */ diff --git a/src/mac/blake2/blake2smac_file.c b/src/mac/blake2/blake2smac_file.c index c6da9ee..c5248a2 100644 --- a/src/mac/blake2/blake2smac_file.c +++ b/src/mac/blake2/blake2smac_file.c @@ -77,3 +77,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/blake2/blake2smac_memory.c b/src/mac/blake2/blake2smac_memory.c index 0376554..1661fb0 100644 --- a/src/mac/blake2/blake2smac_memory.c +++ b/src/mac/blake2/blake2smac_memory.c @@ -42,3 +42,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/blake2/blake2smac_memory_multi.c b/src/mac/blake2/blake2smac_memory_multi.c index 27889c2..9947b7c 100644 --- a/src/mac/blake2/blake2smac_memory_multi.c +++ b/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$ */ diff --git a/src/mac/blake2/blake2smac_test.c b/src/mac/blake2/blake2smac_test.c index fe8b267..a44ab8d 100644 --- a/src/mac/blake2/blake2smac_test.c +++ b/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$ */ diff --git a/src/mac/poly1305/poly1305.c b/src/mac/poly1305/poly1305.c index 369341b..e505f58 100644 --- a/src/mac/poly1305/poly1305.c +++ b/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$ */ diff --git a/src/mac/poly1305/poly1305_file.c b/src/mac/poly1305/poly1305_file.c index 42afdc3..7726305 100644 --- a/src/mac/poly1305/poly1305_file.c +++ b/src/mac/poly1305/poly1305_file.c @@ -82,3 +82,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/poly1305/poly1305_memory.c b/src/mac/poly1305/poly1305_memory.c index b948efb..a827f8d 100644 --- a/src/mac/poly1305/poly1305_memory.c +++ b/src/mac/poly1305/poly1305_memory.c @@ -47,3 +47,7 @@ LBL_ERR: } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/mac/poly1305/poly1305_memory_multi.c b/src/mac/poly1305/poly1305_memory_multi.c index 0ac122e..d6e136b 100644 --- a/src/mac/poly1305/poly1305_memory_multi.c +++ b/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$ */ diff --git a/src/mac/poly1305/poly1305_test.c b/src/mac/poly1305/poly1305_test.c index a73a15b..5e4535b 100644 --- a/src/mac/poly1305/poly1305_test.c +++ b/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$ */ diff --git a/src/math/rand_bn.c b/src/math/rand_bn.c index 5bc85ee..5cdd1d9 100755 --- a/src/math/rand_bn.c +++ b/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$ */ diff --git a/src/misc/crypt/crypt_ltc_mp_descriptor.c b/src/misc/crypt/crypt_ltc_mp_descriptor.c index d146755..f06147d 100644 --- a/src/misc/crypt/crypt_ltc_mp_descriptor.c +++ b/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$ */ diff --git a/src/misc/crypt/crypt_prng_rng_descriptor.c b/src/misc/crypt/crypt_prng_rng_descriptor.c index ccb6852..1a79337 100644 --- a/src/misc/crypt/crypt_prng_rng_descriptor.c +++ b/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$ */ diff --git a/src/misc/crypt/crypt_register_all_ciphers.c b/src/misc/crypt/crypt_register_all_ciphers.c index c8ec528..d975193 100644 --- a/src/misc/crypt/crypt_register_all_ciphers.c +++ b/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$ */ diff --git a/src/misc/crypt/crypt_register_all_hashes.c b/src/misc/crypt/crypt_register_all_hashes.c index e953332..627b6a8 100644 --- a/src/misc/crypt/crypt_register_all_hashes.c +++ b/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$ */ diff --git a/src/misc/crypt/crypt_register_all_prngs.c b/src/misc/crypt/crypt_register_all_prngs.c index 08c6984..939bf20 100644 --- a/src/misc/crypt/crypt_register_all_prngs.c +++ b/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$ */ diff --git a/src/misc/hkdf/hkdf.c b/src/misc/hkdf/hkdf.c index 2d84856..a4e2634 100644 --- a/src/misc/hkdf/hkdf.c +++ b/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$ */ diff --git a/src/misc/pk_get_oid.c b/src/misc/pk_get_oid.c index e25bccb..4f75c5e 100644 --- a/src/misc/pk_get_oid.c +++ b/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$ */ diff --git a/src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c b/src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c index 561dba2..8923fce 100644 --- a/src/pk/asn1/der/sequence/der_decode_subject_public_key_info.c +++ b/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$ */ diff --git a/src/pk/asn1/der/sequence/der_encode_sequence_ex.c b/src/pk/asn1/der/sequence/der_encode_sequence_ex.c index 519837c..dcc4382 100644 --- a/src/pk/asn1/der/sequence/der_encode_sequence_ex.c +++ b/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$ */ diff --git a/src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c b/src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c index a129acd..8b151ca 100644 --- a/src/pk/asn1/der/sequence/der_encode_subject_public_key_info.c +++ b/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$ */ diff --git a/src/pk/dsa/dsa_import_radix.c b/src/pk/dsa/dsa_import_radix.c index 3034e9b..141030d 100755 --- a/src/pk/dsa/dsa_import_radix.c +++ b/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$ */ diff --git a/src/pk/rsa/rsa_import_pkcs8.c b/src/pk/rsa/rsa_import_pkcs8.c index daae08d..480d663 100755 --- a/src/pk/rsa/rsa_import_pkcs8.c +++ b/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$ */ diff --git a/src/pk/rsa/rsa_import_radix.c b/src/pk/rsa/rsa_import_radix.c index 4ec1038..71ab3ea 100755 --- a/src/pk/rsa/rsa_import_radix.c +++ b/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$ */ diff --git a/src/prngs/chacha20.c b/src/prngs/chacha20.c index b528dd2..372f641 100644 --- a/src/prngs/chacha20.c +++ b/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$ */ diff --git a/src/prngs/rc4.c b/src/prngs/rc4.c index ac88fd5..6fabe41 100644 --- a/src/prngs/rc4.c +++ b/src/prngs/rc4.c @@ -243,3 +243,7 @@ int rc4_test(void) } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/prngs/sober128.c b/src/prngs/sober128.c index 64d083b..c05ce3b 100644 --- a/src/prngs/sober128.c +++ b/src/prngs/sober128.c @@ -242,3 +242,7 @@ int sober128_test(void) } #endif + +/* ref: $Format:%D$ */ +/* git commit: $Format:%H$ */ +/* commit time: $Format:%ai$ */ diff --git a/src/stream/chacha/chacha_crypt.c b/src/stream/chacha/chacha_crypt.c index 30b5da7..66081ce 100644 --- a/src/stream/chacha/chacha_crypt.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_done.c b/src/stream/chacha/chacha_done.c index 4d6e278..9f0196e 100644 --- a/src/stream/chacha/chacha_done.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_ivctr32.c b/src/stream/chacha/chacha_ivctr32.c index 9884a1e..b8b9157 100644 --- a/src/stream/chacha/chacha_ivctr32.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_ivctr64.c b/src/stream/chacha/chacha_ivctr64.c index 82d39fb..870fd84 100644 --- a/src/stream/chacha/chacha_ivctr64.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_keystream.c b/src/stream/chacha/chacha_keystream.c index b45323f..25eb63a 100644 --- a/src/stream/chacha/chacha_keystream.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_setup.c b/src/stream/chacha/chacha_setup.c index 69a1483..e3a7f40 100644 --- a/src/stream/chacha/chacha_setup.c +++ b/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$ */ diff --git a/src/stream/chacha/chacha_test.c b/src/stream/chacha/chacha_test.c index 914a48c..649ebf9 100644 --- a/src/stream/chacha/chacha_test.c +++ b/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$ */ diff --git a/src/stream/rc4/rc4.c b/src/stream/rc4/rc4.c index ec174a0..178489d 100644 --- a/src/stream/rc4/rc4.c +++ b/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$ */ diff --git a/src/stream/rc4/rc4_test.c b/src/stream/rc4/rc4_test.c index f1b31ac..4167a6c 100644 --- a/src/stream/rc4/rc4_test.c +++ b/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$ */ diff --git a/src/stream/sober128/sober128.c b/src/stream/sober128/sober128.c index 49de7d7..5e1ca46 100644 --- a/src/stream/sober128/sober128.c +++ b/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$ */ diff --git a/src/stream/sober128/sober128_test.c b/src/stream/sober128/sober128_test.c index a299bbe..fa3f852 100644 --- a/src/stream/sober128/sober128_test.c +++ b/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$ */