diff options
author | Marc Stevens <marc@marc-stevens.nl> | 2017-01-18 10:03:57 +0100 |
---|---|---|
committer | Marc Stevens <marc@marc-stevens.nl> | 2017-01-18 10:03:57 +0100 |
commit | 6b5baad192ae2fcea3d080e3fdc20c898c5785db (patch) | |
tree | a9b07c314b6e2145fa8a4227e39a1822168e2d35 | |
parent | e41cd85003655efc032da58ed6a269670bb34435 (diff) | |
download | sha1collisiondetection-6b5baad192ae2fcea3d080e3fdc20c898c5785db.tar.gz |
Added MIT license notice in files.
-rw-r--r-- | LICENSE.txt (renamed from LICENSE) | 0 | ||||
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | lib/sha1.c | 7 | ||||
-rw-r--r-- | lib/sha1.h | 7 | ||||
-rw-r--r-- | lib/sha1_simd.cinc | 7 | ||||
-rw-r--r-- | lib/sha1_simd_avx256.c | 7 | ||||
-rw-r--r-- | lib/sha1_simd_mmx64.c | 7 | ||||
-rw-r--r-- | lib/sha1_simd_neon128.c | 7 | ||||
-rw-r--r-- | lib/sha1_simd_sse128.c | 7 | ||||
-rw-r--r-- | lib/simd_avx256.h | 7 | ||||
-rw-r--r-- | lib/simd_mmx64.h | 7 | ||||
-rw-r--r-- | lib/simd_neon128.h | 7 | ||||
-rw-r--r-- | lib/simd_sse128.h | 7 | ||||
-rw-r--r-- | lib/ubc_check.c | 7 | ||||
-rw-r--r-- | lib/ubc_check.h | 7 | ||||
-rw-r--r-- | lib/ubc_check_simd.cinc | 7 | ||||
-rw-r--r-- | lib/ubc_check_simd_avx256.c | 7 | ||||
-rw-r--r-- | lib/ubc_check_simd_mmx64.c | 7 | ||||
-rw-r--r-- | lib/ubc_check_simd_neon128.c | 7 | ||||
-rw-r--r-- | lib/ubc_check_simd_sse128.c | 7 | ||||
-rw-r--r-- | lib/ubc_check_verify.c | 7 | ||||
-rw-r--r-- | src/main.c | 7 |
22 files changed, 147 insertions, 0 deletions
@@ -1,3 +1,10 @@ +## +## Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +## Distributed under the MIT Software License. +## See accompanying file LICENSE.txt or copy at +## https://opensource.org/licenses/MIT +## + ARCH=$(shell arch) ifeq ($(ARCH),armv7l) TARGET ?= rpi2 @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + #include <string.h> #include <memory.h> #include <stdio.h> @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + #include <stdint.h> // uses SHA-1 message expansion to expand the first 16 words of W[] to 80 words diff --git a/lib/sha1_simd.cinc b/lib/sha1_simd.cinc index b9e2c22..7850902 100644 --- a/lib/sha1_simd.cinc +++ b/lib/sha1_simd.cinc @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + #include <string.h> #include <memory.h> diff --git a/lib/sha1_simd_avx256.c b/lib/sha1_simd_avx256.c index fa6d072..491a518 100644 --- a/lib/sha1_simd_avx256.c +++ b/lib/sha1_simd_avx256.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates avx256 code using avx256 MACROS (simd_avx256.h) and generic SIMD code (sha1_simd.cinc) #ifdef HAVE_AVX diff --git a/lib/sha1_simd_mmx64.c b/lib/sha1_simd_mmx64.c index e21517f..ea35a68 100644 --- a/lib/sha1_simd_mmx64.c +++ b/lib/sha1_simd_mmx64.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates sse128 code using sse128 MACROS (simd_sse128.h) and generic SIMD code (sha1_simd.cinc) #ifdef HAVE_MMX diff --git a/lib/sha1_simd_neon128.c b/lib/sha1_simd_neon128.c index d139a2c..f175c0c 100644 --- a/lib/sha1_simd_neon128.c +++ b/lib/sha1_simd_neon128.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates neon 32x4 code using neon MACROS (arm_neon.h) and generic SIMD code (sha1_simd.cinc) #ifdef HAVE_NEON #include "sha1.h" diff --git a/lib/sha1_simd_sse128.c b/lib/sha1_simd_sse128.c index ea01edb..c4b89bd 100644 --- a/lib/sha1_simd_sse128.c +++ b/lib/sha1_simd_sse128.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates sse128 code using sse128 MACROS (simd_sse128.h) and generic SIMD code (sha1_simd.cinc) #ifdef HAVE_SSE #include "sha1.h" diff --git a/lib/simd_avx256.h b/lib/simd_avx256.h index 5f200e2..bffb167 100644 --- a/lib/simd_avx256.h +++ b/lib/simd_avx256.h @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this header defines SIMD MACROS for avx256 intrinsics // used to generate avx256 code from generic SIMD code (sha1_simd.cinc, ubc_check_simd.cinc) diff --git a/lib/simd_mmx64.h b/lib/simd_mmx64.h index 06a4c6e..babd348 100644 --- a/lib/simd_mmx64.h +++ b/lib/simd_mmx64.h @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this header defines SIMD MACROS for sse128 intrinsics // used to generate sse128 code from generic SIMD code (sha1_simd.cinc, ubc_check_simd.cinc) diff --git a/lib/simd_neon128.h b/lib/simd_neon128.h index 7fd572f..3c39ec6 100644 --- a/lib/simd_neon128.h +++ b/lib/simd_neon128.h @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this header defines SIMD MACROS for sse128 intrinsics // used to generate sse128 code from generic SIMD code (sha1_simd.cinc, ubc_check_simd.cinc) diff --git a/lib/simd_sse128.h b/lib/simd_sse128.h index 196aa13..58b48c8 100644 --- a/lib/simd_sse128.h +++ b/lib/simd_sse128.h @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this header defines SIMD MACROS for sse128 intrinsics // used to generate sse128 code from generic SIMD code (sha1_simd.cinc, ubc_check_simd.cinc) diff --git a/lib/ubc_check.c b/lib/ubc_check.c index 5bb518d..2513d68 100644 --- a/lib/ubc_check.c +++ b/lib/ubc_check.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file was generated by the 'parse_bitrel' program in the tools section // using the data files from directory 'tools/data/3565' // diff --git a/lib/ubc_check.h b/lib/ubc_check.h index ee3df18..deeb915 100644 --- a/lib/ubc_check.h +++ b/lib/ubc_check.h @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file was generated by the 'parse_bitrel' program in the tools section // using the data files from directory 'tools/data/3565' // diff --git a/lib/ubc_check_simd.cinc b/lib/ubc_check_simd.cinc index 93db390..88739cd 100644 --- a/lib/ubc_check_simd.cinc +++ b/lib/ubc_check_simd.cinc @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + #include "ubc_check.h" static const uint32_t DV_I_43_0_bit = (uint32_t)(1) << 0; diff --git a/lib/ubc_check_simd_avx256.c b/lib/ubc_check_simd_avx256.c index 54ee7bb..861cc02 100644 --- a/lib/ubc_check_simd_avx256.c +++ b/lib/ubc_check_simd_avx256.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates avx256 code using avx256 MACROS (simd_avx256.h) and generic SIMD code (ubc_check_simd.cinc) #ifdef HAVE_AVX #include "ubc_check.h" diff --git a/lib/ubc_check_simd_mmx64.c b/lib/ubc_check_simd_mmx64.c index 5888099..1681117 100644 --- a/lib/ubc_check_simd_mmx64.c +++ b/lib/ubc_check_simd_mmx64.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates sse128 code using sse128 MACROS (simd_sse128.h) and generic SIMD code (ubc_check_simd.cinc) #ifdef HAVE_MMX #include "ubc_check.h" diff --git a/lib/ubc_check_simd_neon128.c b/lib/ubc_check_simd_neon128.c index b8e8bbc..60779af 100644 --- a/lib/ubc_check_simd_neon128.c +++ b/lib/ubc_check_simd_neon128.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates neon 32x4 code using neon MACROS (arm_neon.h) and generic SIMD code (sha1_simd.cinc) #ifdef HAVE_NEON #include "ubc_check.h" diff --git a/lib/ubc_check_simd_sse128.c b/lib/ubc_check_simd_sse128.c index 698365d..affce6b 100644 --- a/lib/ubc_check_simd_sse128.c +++ b/lib/ubc_check_simd_sse128.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file generates sse128 code using sse128 MACROS (simd_sse128.h) and generic SIMD code (ubc_check_simd.cinc) #ifdef HAVE_SSE #include "ubc_check.h" diff --git a/lib/ubc_check_verify.c b/lib/ubc_check_verify.c index 9dfcfd7..9e0e32e 100644 --- a/lib/ubc_check_verify.c +++ b/lib/ubc_check_verify.c @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + // this file was generated by the 'parse_bitrel' program in the tools section // using the data files from directory 'tools/data/3565' // @@ -1,3 +1,10 @@ +/*** +* Copyright 2017 Marc Stevens <marc@marc-stevens.nl> +* Distributed under the MIT Software License. +* See accompanying file LICENSE.txt or copy at +* https://opensource.org/licenses/MIT +***/ + #include <stdio.h> #include <stdlib.h> #include <string.h> |