diff --git a/Makefile.in b/Makefile.in
index f4ace6d..0e593e7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@
# This file is a part of Pcompress, a chunked parallel multi-
# algorithm lossless compression and decompression program.
#
-# Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+# Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
# Use is subject to license terms.
#
# This program is free software; you can redistribute it and/or
@@ -15,10 +15,11 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
-# moinakg@belenix.org, http://moinakg.wordpress.com/
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program.
+# If not, see .
#
-# This program includes partly-modified public domain source
-# code from the LZMA SDK: http://www.7-zip.org/sdk.html
+# moinakg@belenix.org, http://moinakg.wordpress.com/
#
PROG= pcompress
diff --git a/adaptive_compress.c b/adaptive_compress.c
index 6f65268..571e435 100644
--- a/adaptive_compress.c
+++ b/adaptive_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
- * moinakg@belenix.org, http://moinakg.wordpress.com/
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
*/
#include
diff --git a/allocator.c b/allocator.c
index cfc0fb1..beec47d 100644
--- a/allocator.c
+++ b/allocator.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
- *
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
/*
diff --git a/allocator.h b/allocator.h
index ec1f36e..9c54c1e 100644
--- a/allocator.h
+++ b/allocator.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#ifndef __ALLOCATOR_H__
diff --git a/bsdiff/bscommon.h b/bsdiff/bscommon.h
index 8e3061c..948a83b 100644
--- a/bsdiff/bscommon.h
+++ b/bsdiff/bscommon.h
@@ -1,34 +1,8 @@
-/*-
- * Copyright 2012 Moinak Ghosh
- * All rights reserved
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted providing that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
- * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
- * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
/*
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -41,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
*/
diff --git a/bsdiff/bsdiff.c b/bsdiff/bsdiff.c
index 7c4fc0a..f5b9b39 100644
--- a/bsdiff/bsdiff.c
+++ b/bsdiff/bsdiff.c
@@ -1,3 +1,34 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ */
+
+/*
+ * NOTE:
+ * This is a somewhat modified bsdiff implementation. It has been modified
+ * to do buffer to buffer diffing instead of file to file and also use
+ * a custom RLE encoding rather than Bzip2 on the diff output.
+ */
+
/*-
* Copyright 2003-2005 Colin Percival
* All rights reserved
@@ -24,30 +55,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-/*
- * This file is a part of Pcompress, a chunked parallel multi-
- * algorithm lossless compression and decompression program.
- *
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
- * Use is subject to license terms.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * moinakg@belenix.org, http://moinakg.wordpress.com/
- *
- * This is a somewhat modified bsdiff implementation. It has been modified
- * to do buffer to buffer diffing instead of file to file and also use
- * a custom RLE encoding rather than Bzip2 on the diff output.
- */
-
#if 0
__FBSDID("$FreeBSD: src/usr.bin/bsdiff/bsdiff/bsdiff.c,v 1.1 2005/08/06 01:59:05 cperciva Exp $");
#endif
diff --git a/bsdiff/bspatch.c b/bsdiff/bspatch.c
index dc0d1c1..474fe0b 100644
--- a/bsdiff/bspatch.c
+++ b/bsdiff/bspatch.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2003-2005 Colin Percival
* All rights reserved
diff --git a/bsdiff/rle_encoder.c b/bsdiff/rle_encoder.c
index 57933f6..02200b5 100644
--- a/bsdiff/rle_encoder.c
+++ b/bsdiff/rle_encoder.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
* This RLE encoder is a simple approach to encode long runs of '0'
diff --git a/bzip2_compress.c b/bzip2_compress.c
index f1addcb..c1fc157 100644
--- a/bzip2_compress.c
+++ b/bzip2_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
- *
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/config b/config
index 97609ff..e12b2f6 100755
--- a/config
+++ b/config
@@ -1,5 +1,25 @@
#!/bin/sh
+#
+# This file is a part of Pcompress, a chunked parallel multi-
+# algorithm lossless compression and decompression program.
+#
+# Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+# Use is subject to license terms.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# moinakg@belenix.org, http://moinakg.wordpress.com/
+#
+
usage() {
prog=$1
cat << _EOF
diff --git a/crypto/aes/aesni-x86_64.s b/crypto/aes/aesni-x86_64.s
index 917c832..272483c 100644
--- a/crypto/aes/aesni-x86_64.s
+++ b/crypto/aes/aesni-x86_64.s
@@ -1,3 +1,197 @@
+;#
+;# This file is a part of Pcompress, a chunked parallel multi-
+;# algorithm lossless compression and decompression program.
+;#
+;# Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+;# Use is subject to license terms.
+;#
+;# This program is free software; you can redistribute it and/or
+;# modify it under the terms of the GNU Lesser General Public
+;# License as published by the Free Software Foundation; either
+;# version 3 of the License, or (at your option) any later version.
+;#
+;# This program is distributed in the hope that it will be useful,
+;# but WITHOUT ANY WARRANTY; without even the implied warranty of
+;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;# Lesser General Public License for more details.
+;#
+;# You should have received a copy of the GNU Lesser General Public
+;# License along with this program.
+;# If not, see .
+;#
+;# moinakg@belenix.org, http://moinakg.wordpress.com/
+;#
+
+;#
+;# NOTE:
+;# This file was obtained from the OpenSSL distribution and as such is
+;# governed by the OpenSSL license in addition to the license text mentioned
+;# above. A copy of those license terms is included in the file:
+;# OPENSSL.LICENSE
+;#
+;# Only the OpenSSL license terms will apply when this file is used outside
+;# of this software project.
+;#
+
+;#
+;# ====================================================================
+;# Written by Andy Polyakov for the OpenSSL
+;# project. The module is, however, dual licensed under OpenSSL and
+;# CRYPTOGAMS licenses depending on where you obtain it. For further
+;# details see http://www.openssl.org/~appro/cryptogams/.
+;# ====================================================================
+;#
+;# This module implements support for Intel AES-NI extension. In
+;# OpenSSL context it's used with Intel engine, but can also be used as
+;# drop-in replacement for crypto/aes/asm/aes-x86_64.pl [see below for
+;# details].
+;#
+;# Performance.
+;#
+;# Given aes(enc|dec) instructions' latency asymptotic performance for
+;# non-parallelizable modes such as CBC encrypt is 3.75 cycles per byte
+;# processed with 128-bit key. And given their throughput asymptotic
+;# performance for parallelizable modes is 1.25 cycles per byte. Being
+;# asymptotic limit it's not something you commonly achieve in reality,
+;# but how close does one get? Below are results collected for
+;# different modes and block sized. Pairs of numbers are for en-/
+;# decryption.
+;#
+;# 16-byte 64-byte 256-byte 1-KB 8-KB
+;# ECB 4.25/4.25 1.38/1.38 1.28/1.28 1.26/1.26 1.26/1.26
+;# CTR 5.42/5.42 1.92/1.92 1.44/1.44 1.28/1.28 1.26/1.26
+;# CBC 4.38/4.43 4.15/1.43 4.07/1.32 4.07/1.29 4.06/1.28
+;# CCM 5.66/9.42 4.42/5.41 4.16/4.40 4.09/4.15 4.06/4.07
+;# OFB 5.42/5.42 4.64/4.64 4.44/4.44 4.39/4.39 4.38/4.38
+;# CFB 5.73/5.85 5.56/5.62 5.48/5.56 5.47/5.55 5.47/5.55
+;#
+;# ECB, CTR, CBC and CCM results are free from EVP overhead. This means
+;# that otherwise used 'openssl speed -evp aes-128-??? -engine aesni
+;# [-decrypt]' will exhibit 10-15% worse results for smaller blocks.
+;# The results were collected with specially crafted speed.c benchmark
+;# in order to compare them with results reported in "Intel Advanced
+;# Encryption Standard (AES) New Instruction Set" White Paper Revision
+;# 3.0 dated May 2010. All above results are consistently better. This
+;# module also provides better performance for block sizes smaller than
+;# 128 bytes in points *not* represented in the above table.
+;#
+;# Looking at the results for 8-KB buffer.
+;#
+;# CFB and OFB results are far from the limit, because implementation
+;# uses "generic" CRYPTO_[c|o]fb128_encrypt interfaces relying on
+;# single-block aesni_encrypt, which is not the most optimal way to go.
+;# CBC encrypt result is unexpectedly high and there is no documented
+;# explanation for it. Seemingly there is a small penalty for feeding
+;# the result back to AES unit the way it's done in CBC mode. There is
+;# nothing one can do and the result appears optimal. CCM result is
+;# identical to CBC, because CBC-MAC is essentially CBC encrypt without
+;# saving output. CCM CTR "stays invisible," because it's neatly
+;# interleaved wih CBC-MAC. This provides ~30% improvement over
+;# "straghtforward" CCM implementation with CTR and CBC-MAC performed
+;# disjointly. Parallelizable modes practically achieve the theoretical
+;# limit.
+;#
+;# Looking at how results vary with buffer size.
+;#
+;# Curves are practically saturated at 1-KB buffer size. In most cases
+;# "256-byte" performance is >95%, and "64-byte" is ~90% of "8-KB" one.
+;# CTR curve doesn't follow this pattern and is "slowest" changing one
+;# with "256-byte" result being 87% of "8-KB." This is because overhead
+;# in CTR mode is most computationally intensive. Small-block CCM
+;# decrypt is slower than encrypt, because first CTR and last CBC-MAC
+;# iterations can't be interleaved.
+;#
+;# Results for 192- and 256-bit keys.
+;#
+;# EVP-free results were observed to scale perfectly with number of
+;# rounds for larger block sizes, i.e. 192-bit result being 10/12 times
+;# lower and 256-bit one - 10/14. Well, in CBC encrypt case differences
+;# are a tad smaller, because the above mentioned penalty biases all
+;# results by same constant value. In similar way function call
+;# overhead affects small-block performance, as well as OFB and CFB
+;# results. Differences are not large, most common coefficients are
+;# 10/11.7 and 10/13.4 (as opposite to 10/12.0 and 10/14.0), but one
+;# observe even 10/11.2 and 10/12.4 (CTR, OFB, CFB)...
+
+;# January 2011
+;#
+;# While Westmere processor features 6 cycles latency for aes[enc|dec]
+;# instructions, which can be scheduled every second cycle, Sandy
+;# Bridge spends 8 cycles per instruction, but it can schedule them
+;# every cycle. This means that code targeting Westmere would perform
+;# suboptimally on Sandy Bridge. Therefore this update.
+;#
+;# In addition, non-parallelizable CBC encrypt (as well as CCM) is
+;# optimized. Relative improvement might appear modest, 8% on Westmere,
+;# but in absolute terms it's 3.77 cycles per byte encrypted with
+;# 128-bit key on Westmere, and 5.07 - on Sandy Bridge. These numbers
+;# should be compared to asymptotic limits of 3.75 for Westmere and
+;# 5.00 for Sandy Bridge. Actually, the fact that they get this close
+;# to asymptotic limits is quite amazing. Indeed, the limit is
+;# calculated as latency times number of rounds, 10 for 128-bit key,
+;# and divided by 16, the number of bytes in block, or in other words
+;# it accounts *solely* for aesenc instructions. But there are extra
+;# instructions, and numbers so close to the asymptotic limits mean
+;# that it's as if it takes as little as *one* additional cycle to
+;# execute all of them. How is it possible? It is possible thanks to
+;# out-of-order execution logic, which manages to overlap post-
+;# processing of previous block, things like saving the output, with
+;# actual encryption of current block, as well as pre-processing of
+;# current block, things like fetching input and xor-ing it with
+;# 0-round element of the key schedule, with actual encryption of
+;# previous block. Keep this in mind...
+;#
+;# For parallelizable modes, such as ECB, CBC decrypt, CTR, higher
+;# performance is achieved by interleaving instructions working on
+;# independent blocks. In which case asymptotic limit for such modes
+;# can be obtained by dividing above mentioned numbers by AES
+;# instructions' interleave factor. Westmere can execute at most 3
+;# instructions at a time, meaning that optimal interleave factor is 3,
+;# and that's where the "magic" number of 1.25 come from. "Optimal
+;# interleave factor" means that increase of interleave factor does
+;# not improve performance. The formula has proven to reflect reality
+;# pretty well on Westmere... Sandy Bridge on the other hand can
+;# execute up to 8 AES instructions at a time, so how does varying
+;# interleave factor affect the performance? Here is table for ECB
+;# (numbers are cycles per byte processed with 128-bit key):
+;#
+;# instruction interleave factor 3x 6x 8x
+;# theoretical asymptotic limit 1.67 0.83 0.625
+;# measured performance for 8KB block 1.05 0.86 0.84
+;#
+;# "as if" interleave factor 4.7x 5.8x 6.0x
+;#
+;# Further data for other parallelizable modes:
+;#
+;# CBC decrypt 1.16 0.93 0.93
+;# CTR 1.14 0.91 n/a
+;#
+;# Well, given 3x column it's probably inappropriate to call the limit
+;# asymptotic, if it can be surpassed, isn't it? What happens there?
+;# Rewind to CBC paragraph for the answer. Yes, out-of-order execution
+;# magic is responsible for this. Processor overlaps not only the
+;# additional instructions with AES ones, but even AES instuctions
+;# processing adjacent triplets of independent blocks. In the 6x case
+;# additional instructions still claim disproportionally small amount
+;# of additional cycles, but in 8x case number of instructions must be
+;# a tad too high for out-of-order logic to cope with, and AES unit
+;# remains underutilized... As you can see 8x interleave is hardly
+;# justifiable, so there no need to feel bad that 32-bit aesni-x86.pl
+;# utilizies 6x interleave because of limited register bank capacity.
+;#
+;# Higher interleave factors do have negative impact on Westmere
+;# performance. While for ECB mode it's negligible ~1.5%, other
+;# parallelizables perform ~5% worse, which is outweighed by ~25%
+;# improvement on Sandy Bridge. To balance regression on Westmere
+;# CTR mode was implemented with 6x aesenc interleave factor.
+
+;# April 2011
+;#
+;# Add aesni_xts_[en|de]crypt. Westmere spends 1.33 cycles processing
+;# one byte out of 8KB with 128-bit key, Sandy Bridge - 0.97. Just like
+;# in CTR mode AES instruction interleave factor was chosen to be 6x.
+;#
+
.text
.globl aesni_encrypt
.type aesni_encrypt,@function
diff --git a/crypto/aes/crypto_aes.c b/crypto/aes/crypto_aes.c
index 937cf02..103c10c 100644
--- a/crypto/aes/crypto_aes.c
+++ b/crypto/aes/crypto_aes.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
/*-
diff --git a/crypto/aes/crypto_aes.h b/crypto/aes/crypto_aes.h
index f5417f6..8709858 100644
--- a/crypto/aes/crypto_aes.h
+++ b/crypto/aes/crypto_aes.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#ifndef _AES_CRYPTO_H
diff --git a/crypto/aes/vpaes-x86_64.s b/crypto/aes/vpaes-x86_64.s
index c3c685b..d4184f3 100644
--- a/crypto/aes/vpaes-x86_64.s
+++ b/crypto/aes/vpaes-x86_64.s
@@ -1,3 +1,38 @@
+;#
+;# This file is a part of Pcompress, a chunked parallel multi-
+;# algorithm lossless compression and decompression program.
+;#
+;# Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+;# Use is subject to license terms.
+;#
+;# This program is free software; you can redistribute it and/or
+;# modify it under the terms of the GNU Lesser General Public
+;# License as published by the Free Software Foundation; either
+;# version 3 of the License, or (at your option) any later version.
+;#
+;# This program is distributed in the hope that it will be useful,
+;# but WITHOUT ANY WARRANTY; without even the implied warranty of
+;# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;# Lesser General Public License for more details.
+;#
+;# You should have received a copy of the GNU Lesser General Public
+;# License along with this program.
+;# If not, see .
+;#
+;# moinakg@belenix.org, http://moinakg.wordpress.com/
+;#
+
+;#
+;# NOTE:
+;# This file was obtained from the OpenSSL distribution and as such is
+;# governed by the OpenSSL license in addition to the license text mentioned
+;# above. A copy of those license terms is included in the file:
+;# OPENSSL.LICENSE
+;#
+;# Only the OpenSSL license terms will apply when this file is used outside
+;# of this software project.
+;#
+
;######################################################################
;## Constant-time SSSE3 AES core implementation.
;## version 0.1
diff --git a/crypto/blake2/blake2-config.h b/crypto/blake2/blake2-config.h
index 70d61f1..354c859 100644
--- a/crypto/blake2/blake2-config.h
+++ b/crypto/blake2/blake2-config.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2-impl.h b/crypto/blake2/blake2-impl.h
index c988a94..1c8c5ea 100644
--- a/crypto/blake2/blake2-impl.h
+++ b/crypto/blake2/blake2-impl.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2-kat.h b/crypto/blake2/blake2-kat.h
index 3d20727..59aa8a1 100644
--- a/crypto/blake2/blake2-kat.h
+++ b/crypto/blake2/blake2-kat.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2.h b/crypto/blake2/blake2.h
index 511abd8..bab1326 100644
--- a/crypto/blake2/blake2.h
+++ b/crypto/blake2/blake2.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2_digest.h b/crypto/blake2/blake2_digest.h
index 7352227..c3fc0a7 100644
--- a/crypto/blake2/blake2_digest.h
+++ b/crypto/blake2/blake2_digest.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef __BLAKE2_DIGEST_H__
#define __BLAKE2_DIGEST_H__
diff --git a/crypto/blake2/blake2b-load-sse2.h b/crypto/blake2/blake2b-load-sse2.h
index 1ba153c..92af156 100644
--- a/crypto/blake2/blake2b-load-sse2.h
+++ b/crypto/blake2/blake2b-load-sse2.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2b-load-sse41.h b/crypto/blake2/blake2b-load-sse41.h
index f6c1bc8..8fadeac 100644
--- a/crypto/blake2/blake2b-load-sse41.h
+++ b/crypto/blake2/blake2b-load-sse41.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2b-round.h b/crypto/blake2/blake2b-round.h
index 5dfc1fb..e92c254 100644
--- a/crypto/blake2/blake2b-round.h
+++ b/crypto/blake2/blake2b-round.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2b.c b/crypto/blake2/blake2b.c
index f256e4d..31d0d49 100644
--- a/crypto/blake2/blake2b.c
+++ b/crypto/blake2/blake2b.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2b_avx.c b/crypto/blake2/blake2b_avx.c
index d2441ba..15864bc 100644
--- a/crypto/blake2/blake2b_avx.c
+++ b/crypto/blake2/blake2b_avx.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_AVX
#define BLAKE_NAMESPACE(x) x##_avx
#include "blake2b.c"
diff --git a/crypto/blake2/blake2b_sse2.c b/crypto/blake2/blake2b_sse2.c
index b3bcfcc..9faa0bd 100644
--- a/crypto/blake2/blake2b_sse2.c
+++ b/crypto/blake2/blake2b_sse2.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSE2
#define BLAKE_NAMESPACE(x) x##_sse2
#include "blake2b.c"
diff --git a/crypto/blake2/blake2b_sse41.c b/crypto/blake2/blake2b_sse41.c
index dcc8227..faa33ec 100644
--- a/crypto/blake2/blake2b_sse41.c
+++ b/crypto/blake2/blake2b_sse41.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSE41
#define BLAKE_NAMESPACE(x) x##_sse41
#include "blake2b.c"
diff --git a/crypto/blake2/blake2b_ssse3.c b/crypto/blake2/blake2b_ssse3.c
index 3fb14d2..d81a0ae 100644
--- a/crypto/blake2/blake2b_ssse3.c
+++ b/crypto/blake2/blake2b_ssse3.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSSE3
#define BLAKE_NAMESPACE(x) x##_ssse3
#include "blake2b.c"
diff --git a/crypto/blake2/blake2bp.c b/crypto/blake2/blake2bp.c
index 75cafc7..9271bb0 100644
--- a/crypto/blake2/blake2bp.c
+++ b/crypto/blake2/blake2bp.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
BLAKE2 reference source code package - optimized C implementations
diff --git a/crypto/blake2/blake2bp_avx.c b/crypto/blake2/blake2bp_avx.c
index 98b402a..305b638 100644
--- a/crypto/blake2/blake2bp_avx.c
+++ b/crypto/blake2/blake2bp_avx.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_AVX
#define BLAKE_NAMESPACE(x) x##_avx
#include "blake2bp.c"
diff --git a/crypto/blake2/blake2bp_sse2.c b/crypto/blake2/blake2bp_sse2.c
index 7280496..2b853f7 100644
--- a/crypto/blake2/blake2bp_sse2.c
+++ b/crypto/blake2/blake2bp_sse2.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSE2
#define BLAKE_NAMESPACE(x) x##_sse2
#include "blake2bp.c"
diff --git a/crypto/blake2/blake2bp_sse41.c b/crypto/blake2/blake2bp_sse41.c
index cf15b27..6301d82 100644
--- a/crypto/blake2/blake2bp_sse41.c
+++ b/crypto/blake2/blake2bp_sse41.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSE41
#define BLAKE_NAMESPACE(x) x##_sse41
#include "blake2bp.c"
diff --git a/crypto/blake2/blake2bp_ssse3.c b/crypto/blake2/blake2bp_ssse3.c
index 276658d..cbf21b8 100644
--- a/crypto/blake2/blake2bp_ssse3.c
+++ b/crypto/blake2/blake2bp_ssse3.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define HAVE_SSSE3
#define BLAKE_NAMESPACE(x) x##_ssse3
#include "blake2bp.c"
diff --git a/crypto/crypto_utils.c b/crypto/crypto_utils.c
index b409555..52d8889 100644
--- a/crypto/crypto_utils.c
+++ b/crypto/crypto_utils.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/crypto/crypto_utils.h b/crypto/crypto_utils.h
index 54d98c1..b866b36 100644
--- a/crypto/crypto_utils.h
+++ b/crypto/crypto_utils.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#ifndef _CRYPTO_UTILS_H
diff --git a/crypto/keccak/KeccakDuplex.c b/crypto/keccak/KeccakDuplex.c
index b059141..1c04ec9 100755
--- a/crypto/keccak/KeccakDuplex.c
+++ b/crypto/keccak/KeccakDuplex.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakDuplex.h b/crypto/keccak/KeccakDuplex.h
index e864993..714da10 100755
--- a/crypto/keccak/KeccakDuplex.h
+++ b/crypto/keccak/KeccakDuplex.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakF-1600-int-set.h b/crypto/keccak/KeccakF-1600-int-set.h
index 0ed1d80..e1d4cec 100755
--- a/crypto/keccak/KeccakF-1600-int-set.h
+++ b/crypto/keccak/KeccakF-1600-int-set.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define ProvideFast576
#define ProvideFast832
#define ProvideFast1024
diff --git a/crypto/keccak/KeccakF-1600-interface.h b/crypto/keccak/KeccakF-1600-interface.h
index 22185a4..47f4433 100755
--- a/crypto/keccak/KeccakF-1600-interface.h
+++ b/crypto/keccak/KeccakF-1600-interface.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakF-1600-opt64-settings.h b/crypto/keccak/KeccakF-1600-opt64-settings.h
index 8f16ada..244013d 100755
--- a/crypto/keccak/KeccakF-1600-opt64-settings.h
+++ b/crypto/keccak/KeccakF-1600-opt64-settings.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define Unrolling 24
#define UseBebigokimisa
//#define UseSSE
diff --git a/crypto/keccak/KeccakF-1600-opt64.c b/crypto/keccak/KeccakF-1600-opt64.c
index 9349f03..8fa3047 100755
--- a/crypto/keccak/KeccakF-1600-opt64.c
+++ b/crypto/keccak/KeccakF-1600-opt64.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakF-1600-x86-64-asm.c b/crypto/keccak/KeccakF-1600-x86-64-asm.c
index 68fb9bd..3b4f208 100755
--- a/crypto/keccak/KeccakF-1600-x86-64-asm.c
+++ b/crypto/keccak/KeccakF-1600-x86-64-asm.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakNISTInterface.c b/crypto/keccak/KeccakNISTInterface.c
index ae3b758..1c13728 100755
--- a/crypto/keccak/KeccakNISTInterface.c
+++ b/crypto/keccak/KeccakNISTInterface.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakNISTInterface.h b/crypto/keccak/KeccakNISTInterface.h
index a8f3c93..0d422ef 100755
--- a/crypto/keccak/KeccakNISTInterface.h
+++ b/crypto/keccak/KeccakNISTInterface.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakSponge.c b/crypto/keccak/KeccakSponge.c
index 5939ba4..85f60c8 100755
--- a/crypto/keccak/KeccakSponge.c
+++ b/crypto/keccak/KeccakSponge.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/KeccakSponge.h b/crypto/keccak/KeccakSponge.h
index df3d797..daab44c 100755
--- a/crypto/keccak/KeccakSponge.h
+++ b/crypto/keccak/KeccakSponge.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/keccak/brg_endian.h b/crypto/keccak/brg_endian.h
index 7226eb3..cba109b 100755
--- a/crypto/keccak/brg_endian.h
+++ b/crypto/keccak/brg_endian.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
---------------------------------------------------------------------------
Copyright (c) 1998-2008, Brian Gladman, Worcester, UK. All rights reserved.
diff --git a/crypto/keccak/genKAT.c b/crypto/keccak/genKAT.c
index 41390f1..5b0a06f 100755
--- a/crypto/keccak/genKAT.c
+++ b/crypto/keccak/genKAT.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
Michaël Peeters and Gilles Van Assche. For more information, feedback or
diff --git a/crypto/old/sha2_utils_old.c b/crypto/old/sha2_utils_old.c
index 2155f58..f105d36 100644
--- a/crypto/old/sha2_utils_old.c
+++ b/crypto/old/sha2_utils_old.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/old/sha2_utils_old.h b/crypto/old/sha2_utils_old.h
index d4b2ac1..1a3b1b8 100644
--- a/crypto/old/sha2_utils_old.h
+++ b/crypto/old/sha2_utils_old.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SHA2_UTILS_OLD_H_
#define _SHA2_UTILS_OLD_H_
diff --git a/crypto/old/sha3_utils_old.c b/crypto/old/sha3_utils_old.c
index 015f7ac..4392d6a 100644
--- a/crypto/old/sha3_utils_old.c
+++ b/crypto/old/sha3_utils_old.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/old/sha3_utils_old.h b/crypto/old/sha3_utils_old.h
index 98bcfb0..1d75098 100644
--- a/crypto/old/sha3_utils_old.h
+++ b/crypto/old/sha3_utils_old.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SHA3_UTILS_OLD_H_
#define _SHA3_UTILS_OLD_H_
diff --git a/crypto/scrypt/crypto_aesctr.c b/crypto/scrypt/crypto_aesctr.c
index 4776282..743bc66 100644
--- a/crypto/scrypt/crypto_aesctr.c
+++ b/crypto/scrypt/crypto_aesctr.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/scrypt/crypto_aesctr.h b/crypto/scrypt/crypto_aesctr.h
index 36745bf..18b0dc6 100644
--- a/crypto/scrypt/crypto_aesctr.h
+++ b/crypto/scrypt/crypto_aesctr.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/scrypt/crypto_scrypt-nosse.c b/crypto/scrypt/crypto_scrypt-nosse.c
index eb2edf4..bdb2f29 100644
--- a/crypto/scrypt/crypto_scrypt-nosse.c
+++ b/crypto/scrypt/crypto_scrypt-nosse.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2009 Colin Percival
* All rights reserved.
diff --git a/crypto/scrypt/crypto_scrypt.h b/crypto/scrypt/crypto_scrypt.h
index 42b55c8..ef0caa3 100644
--- a/crypto/scrypt/crypto_scrypt.h
+++ b/crypto/scrypt/crypto_scrypt.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2009 Colin Percival
* All rights reserved.
diff --git a/crypto/scrypt/sha256.c b/crypto/scrypt/sha256.c
index 8cb8ce2..b3e76ab 100644
--- a/crypto/scrypt/sha256.c
+++ b/crypto/scrypt/sha256.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2005,2007,2009 Colin Percival
* All rights reserved.
diff --git a/crypto/scrypt/sha256.h b/crypto/scrypt/sha256.h
index 8c3a5fd..5fce551 100644
--- a/crypto/scrypt/sha256.h
+++ b/crypto/scrypt/sha256.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2005,2007,2009 Colin Percival
* All rights reserved.
diff --git a/crypto/scrypt/sysendian.h b/crypto/scrypt/sysendian.h
index 0495194..e3d7e35 100644
--- a/crypto/scrypt/sysendian.h
+++ b/crypto/scrypt/sysendian.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright 2007-2009 Colin Percival
* All rights reserved.
diff --git a/crypto/sha2/_hmac.c b/crypto/sha2/_hmac.c
index 9f38d22..6282358 100644
--- a/crypto/sha2/_hmac.c
+++ b/crypto/sha2/_hmac.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright (c) 2010, 2011 Allan Saddi
* All rights reserved.
diff --git a/crypto/sha2/intel/sha512_avx.asm b/crypto/sha2/intel/sha512_avx.asm
index 2344844..7e2c362 100644
--- a/crypto/sha2/intel/sha512_avx.asm
+++ b/crypto/sha2/intel/sha512_avx.asm
@@ -1,3 +1,39 @@
+;
+; This file is a part of Pcompress, a chunked parallel multi-
+; algorithm lossless compression and decompression program.
+;
+; Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+; Use is subject to license terms.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU Lesser General Public
+; License as published by the Free Software Foundation; either
+; version 3 of the License, or (at your option) any later version.
+;
+; This program is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; Lesser General Public License for more details.
+;
+; You should have received a copy of the GNU Lesser General Public
+; License along with this program.
+; If not, see .
+;
+; moinakg@belenix.org, http://moinakg.wordpress.com/
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; NOTE:
+; The code in this file is covered by the Intel Open Software License
+; Agreement a copy of which is provided in the file
+; open_software_license.txt
+;
+; This source was downloaded from the following URL:
+; http://www.intel.com/content/www/us/en/intelligent-systems/crystal-forest-gladden/sha512-code-edc.html
+;
+; Only the Intel license terms will apply when this file is used outside
+; of this software project.
+;
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2012 Intel Corporation All Rights Reserved.
;
diff --git a/crypto/sha2/intel/sha512_sse4.asm b/crypto/sha2/intel/sha512_sse4.asm
index 85a154c..44509fd 100644
--- a/crypto/sha2/intel/sha512_sse4.asm
+++ b/crypto/sha2/intel/sha512_sse4.asm
@@ -1,3 +1,39 @@
+;
+; This file is a part of Pcompress, a chunked parallel multi-
+; algorithm lossless compression and decompression program.
+;
+; Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+; Use is subject to license terms.
+;
+; This program is free software; you can redistribute it and/or
+; modify it under the terms of the GNU Lesser General Public
+; License as published by the Free Software Foundation; either
+; version 3 of the License, or (at your option) any later version.
+;
+; This program is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+; Lesser General Public License for more details.
+;
+; You should have received a copy of the GNU Lesser General Public
+; License along with this program.
+; If not, see .
+;
+; moinakg@belenix.org, http://moinakg.wordpress.com/
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+; NOTE:
+; The code in this file is covered by the Intel Open Software License
+; Agreement a copy of which is provided in the file
+; open_software_license.txt
+;
+; This source was downloaded from the following URL:
+; http://www.intel.com/content/www/us/en/intelligent-systems/crystal-forest-gladden/sha512-code-edc.html
+;
+; Only the Intel license terms will apply when this file is used outside
+; of this software project.
+;
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright 2012 Intel Corporation All Rights Reserved.
;
diff --git a/crypto/sha2/sha512.c b/crypto/sha2/sha512.c
index c7c56d3..c985944 100644
--- a/crypto/sha2/sha512.c
+++ b/crypto/sha2/sha512.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright (c) 2001-2003 Allan Saddi
* Copyright (c) 2012 Moinak Ghosh moinakg gm0il com
diff --git a/crypto/sha2/sha512.h b/crypto/sha2/sha512.h
index 92729df..08c24be 100644
--- a/crypto/sha2/sha512.h
+++ b/crypto/sha2/sha512.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-
* Copyright (c) 2001-2003 Allan Saddi
* Copyright (c) 2012 Moinak Ghosh moinakg gm0il com
diff --git a/crypto/sha2_utils.c b/crypto/sha2_utils.c
index c47cc73..c72936f 100644
--- a/crypto/sha2_utils.c
+++ b/crypto/sha2_utils.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/sha2_utils.h b/crypto/sha2_utils.h
index 61e6187..35f7004 100644
--- a/crypto/sha2_utils.h
+++ b/crypto/sha2_utils.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SHA2_UTILS_H_
#define _SHA2_UTILS_H_
diff --git a/crypto/sha3_utils.c b/crypto/sha3_utils.c
index 60b4e57..9c1e677 100644
--- a/crypto/sha3_utils.c
+++ b/crypto/sha3_utils.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/sha3_utils.h b/crypto/sha3_utils.h
index 123b51b..c874257 100644
--- a/crypto/sha3_utils.h
+++ b/crypto/sha3_utils.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SHA3_UTILS_H_
#define _SHA3_UTILS_H_
diff --git a/crypto/skein/SHA3api_ref.c b/crypto/skein/SHA3api_ref.c
index efbcfd8..bc5e5d3 100644
--- a/crypto/skein/SHA3api_ref.c
+++ b/crypto/skein/SHA3api_ref.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/***********************************************************************
**
** Implementation of the AHS API using the Skein hash function.
diff --git a/crypto/skein/SHA3api_ref.h b/crypto/skein/SHA3api_ref.h
index 93e81f6..53e48e9 100644
--- a/crypto/skein/SHA3api_ref.h
+++ b/crypto/skein/SHA3api_ref.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _AHS_API_H_
#define _AHS_API_H_
diff --git a/crypto/skein/brg_endian.h b/crypto/skein/brg_endian.h
index c03c7c5..fa0c838 100644
--- a/crypto/skein/brg_endian.h
+++ b/crypto/skein/brg_endian.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
---------------------------------------------------------------------------
Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. All rights reserved.
diff --git a/crypto/skein/brg_types.h b/crypto/skein/brg_types.h
index 6db737d..2370bd9 100644
--- a/crypto/skein/brg_types.h
+++ b/crypto/skein/brg_types.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
---------------------------------------------------------------------------
Copyright (c) 1998-2006, Brian Gladman, Worcester, UK. All rights reserved.
diff --git a/crypto/skein/skein.c b/crypto/skein/skein.c
index a0bb61b..688ce8a 100644
--- a/crypto/skein/skein.c
+++ b/crypto/skein/skein.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/***********************************************************************
**
** Implementation of the Skein hash function.
diff --git a/crypto/skein/skein.h b/crypto/skein/skein.h
index b4717ff..0478d4b 100644
--- a/crypto/skein/skein.h
+++ b/crypto/skein/skein.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SKEIN_H_
#define _SKEIN_H_ 1
/**************************************************************************
diff --git a/crypto/skein/skein_block.c b/crypto/skein/skein_block.c
index 3bf4824..c308df3 100644
--- a/crypto/skein/skein_block.c
+++ b/crypto/skein/skein_block.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/***********************************************************************
**
** Implementation of the Skein block functions.
diff --git a/crypto/skein/skein_debug.c b/crypto/skein/skein_debug.c
index fac5038..6d8af38 100644
--- a/crypto/skein/skein_debug.c
+++ b/crypto/skein/skein_debug.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/***********************************************************************
**
** Debug output functions for Skein hashing.
diff --git a/crypto/skein/skein_debug.h b/crypto/skein/skein_debug.h
index 34d3949..7723f1f 100644
--- a/crypto/skein/skein_debug.h
+++ b/crypto/skein/skein_debug.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SKEIN_DEBUG_H_
#define _SKEIN_DEBUG_H_
/***********************************************************************
diff --git a/crypto/skein/skein_iv.h b/crypto/skein/skein_iv.h
index 2223f3a..98555d6 100644
--- a/crypto/skein/skein_iv.h
+++ b/crypto/skein/skein_iv.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SKEIN_IV_H_
#define _SKEIN_IV_H_
diff --git a/crypto/skein/skein_port.h b/crypto/skein/skein_port.h
index 1d1a4c9..6bedd0b 100644
--- a/crypto/skein/skein_port.h
+++ b/crypto/skein/skein_port.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _SKEIN_PORT_H_
#define _SKEIN_PORT_H_
/*******************************************************************
diff --git a/crypto/xsalsa20/crypto_core_hsalsa20.h b/crypto/xsalsa20/crypto_core_hsalsa20.h
index 90f4e40..c52379a 100644
--- a/crypto/xsalsa20/crypto_core_hsalsa20.h
+++ b/crypto/xsalsa20/crypto_core_hsalsa20.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/xsalsa20/crypto_stream_salsa20.h b/crypto/xsalsa20/crypto_stream_salsa20.h
index 0212074..3f5d7b5 100644
--- a/crypto/xsalsa20/crypto_stream_salsa20.h
+++ b/crypto/xsalsa20/crypto_stream_salsa20.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/xsalsa20/crypto_xsalsa20.h b/crypto/xsalsa20/crypto_xsalsa20.h
index a698307..1833e04 100644
--- a/crypto/xsalsa20/crypto_xsalsa20.h
+++ b/crypto/xsalsa20/crypto_xsalsa20.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/xsalsa20/hsalsa_core.c b/crypto/xsalsa20/hsalsa_core.c
index 1d547ec..64586c7 100644
--- a/crypto/xsalsa20/hsalsa_core.c
+++ b/crypto/xsalsa20/hsalsa_core.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/xsalsa20/stream.c b/crypto/xsalsa20/stream.c
index 7d30699..d12c2d0 100644
--- a/crypto/xsalsa20/stream.c
+++ b/crypto/xsalsa20/stream.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/crypto/xsalsa20/xsalsa20_xor.c b/crypto/xsalsa20/xsalsa20_xor.c
index 0d2b288..514681e 100644
--- a/crypto/xsalsa20/xsalsa20_xor.c
+++ b/crypto/xsalsa20/xsalsa20_xor.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/delta2/delta2.c b/delta2/delta2.c
index e3c9c84..6f11dc3 100644
--- a/delta2/delta2.c
+++ b/delta2/delta2.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/delta2/delta2.h b/delta2/delta2.h
index 8abc3ad..a76eb18 100644
--- a/delta2/delta2.h
+++ b/delta2/delta2.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/libbsc_compress.c b/libbsc_compress.c
index d7a2b76..c012393 100644
--- a/libbsc_compress.c
+++ b/libbsc_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/lz4/lz4.c b/lz4/lz4.c
index ffd7e1e..9899daf 100644
--- a/lz4/lz4.c
+++ b/lz4/lz4.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
LZ4 - Fast LZ compression algorithm
Copyright (C) 2011-2012, Yann Collet.
diff --git a/lz4/lz4.h b/lz4/lz4.h
index 3680121..1fe72ad 100644
--- a/lz4/lz4.h
+++ b/lz4/lz4.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
LZ4 - Fast LZ compression algorithm
Header File
diff --git a/lz4/lz4hc.c b/lz4/lz4hc.c
index 9c5950d..4d8e906 100644
--- a/lz4/lz4hc.c
+++ b/lz4/lz4hc.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
LZ4 HC - High Compression Mode of LZ4
Copyright (C) 2011-2012, Yann Collet.
diff --git a/lz4/lz4hc.h b/lz4/lz4hc.h
index cb74689..5cea2f1 100644
--- a/lz4/lz4hc.h
+++ b/lz4/lz4hc.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
LZ4 HC - High Compression Mode of LZ4
Header File
diff --git a/lz4_compress.c b/lz4_compress.c
index 32b9334..c11afff 100644
--- a/lz4_compress.c
+++ b/lz4_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/lzfx/lzfx.c b/lzfx/lzfx.c
index 5b036b4..15febe8 100644
--- a/lzfx/lzfx.c
+++ b/lzfx/lzfx.c
@@ -35,7 +35,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -48,6 +48,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
*/
diff --git a/lzfx/lzfx.h b/lzfx/lzfx.h
index d2b7b07..128030b 100644
--- a/lzfx/lzfx.h
+++ b/lzfx/lzfx.h
@@ -34,7 +34,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -47,6 +47,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
*/
diff --git a/lzfx_compress.c b/lzfx_compress.c
index c26a1f4..18d5d39 100644
--- a/lzfx_compress.c
+++ b/lzfx_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/lzma/Common/MyGuidDef.h b/lzma/Common/MyGuidDef.h
index 3c52cc0..6a3865d 100644
--- a/lzma/Common/MyGuidDef.h
+++ b/lzma/Common/MyGuidDef.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
// Common/MyGuidDef.h
#ifndef GUID_DEFINED
diff --git a/lzma/Common/MyWindows.h b/lzma/Common/MyWindows.h
index d91f10f..b33f49d 100644
--- a/lzma/Common/MyWindows.h
+++ b/lzma/Common/MyWindows.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
// MyWindows.h
#ifndef __MYWINDOWS_H
diff --git a/lzma/CpuArch.c b/lzma/CpuArch.c
index 36e7680..78030f1 100755
--- a/lzma/CpuArch.c
+++ b/lzma/CpuArch.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* CpuArch.c -- CPU specific code
2010-10-26: Igor Pavlov : Public domain */
diff --git a/lzma/CpuArch.h b/lzma/CpuArch.h
index 0a709bb..79d9a3c 100755
--- a/lzma/CpuArch.h
+++ b/lzma/CpuArch.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* CpuArch.h -- CPU specific code
2010-10-26: Igor Pavlov : Public domain */
diff --git a/lzma/LzFind.c b/lzma/LzFind.c
index 160fed0..9f7ff0c 100644
--- a/lzma/LzFind.c
+++ b/lzma/LzFind.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzFind.c -- Match finder for LZ algorithms
2009-04-22 : Igor Pavlov : Public domain */
diff --git a/lzma/LzFind.h b/lzma/LzFind.h
index 7ebdfa4..4905786 100644
--- a/lzma/LzFind.h
+++ b/lzma/LzFind.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzFind.h -- Match finder for LZ algorithms
2009-04-22 : Igor Pavlov : Public domain */
diff --git a/lzma/LzFindMt.c b/lzma/LzFindMt.c
index db95590..70757de 100755
--- a/lzma/LzFindMt.c
+++ b/lzma/LzFindMt.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzFindMt.c -- multithreaded Match finder for LZ algorithms
2009-09-20 : Igor Pavlov : Public domain */
diff --git a/lzma/LzFindMt.h b/lzma/LzFindMt.h
index 17ed237..d7cb783 100755
--- a/lzma/LzFindMt.h
+++ b/lzma/LzFindMt.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzFindMt.h -- multithreaded Match finder for LZ algorithms
2009-02-07 : Igor Pavlov : Public domain */
diff --git a/lzma/LzHash.h b/lzma/LzHash.h
index b2f0e3c..a2821cc 100644
--- a/lzma/LzHash.h
+++ b/lzma/LzHash.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzHash.h -- HASH functions for LZ algorithms
2009-02-07 : Igor Pavlov : Public domain */
diff --git a/lzma/LzmaDec.c b/lzma/LzmaDec.c
index 4fdc11d..106e9a8 100644
--- a/lzma/LzmaDec.c
+++ b/lzma/LzmaDec.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzmaDec.c -- LZMA Decoder
2009-09-20 : Igor Pavlov : Public domain */
diff --git a/lzma/LzmaDec.h b/lzma/LzmaDec.h
index 6741a64..af44101 100644
--- a/lzma/LzmaDec.h
+++ b/lzma/LzmaDec.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzmaDec.h -- LZMA Decoder
2009-02-07 : Igor Pavlov : Public domain */
diff --git a/lzma/LzmaEnc.c b/lzma/LzmaEnc.c
index d1bdf09..b7ddd6a 100644
--- a/lzma/LzmaEnc.c
+++ b/lzma/LzmaEnc.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzmaEnc.c -- LZMA Encoder
2010-04-16 : Igor Pavlov : Public domain */
diff --git a/lzma/LzmaEnc.h b/lzma/LzmaEnc.h
index 7049857..1861863 100644
--- a/lzma/LzmaEnc.h
+++ b/lzma/LzmaEnc.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* LzmaEnc.h -- LZMA Encoder
2008-10-04 : Igor Pavlov : Public domain */
diff --git a/lzma/Ppmd.h b/lzma/Ppmd.h
index 7e3e2b6..4939e25 100755
--- a/lzma/Ppmd.h
+++ b/lzma/Ppmd.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Ppmd.h -- PPMD codec common code
2010-03-12 : Igor Pavlov : Public domain
This code is based on PPMd var.H (2001): Dmitry Shkarin : Public domain */
diff --git a/lzma/Ppmd8.c b/lzma/Ppmd8.c
index 7788ba9..7087196 100755
--- a/lzma/Ppmd8.c
+++ b/lzma/Ppmd8.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Ppmd8.c -- PPMdI codec
2010-03-24 : Igor Pavlov : Public domain
This code is based on PPMd var.I (2002): Dmitry Shkarin : Public domain */
diff --git a/lzma/Ppmd8.h b/lzma/Ppmd8.h
index c58d73d..7425a31 100755
--- a/lzma/Ppmd8.h
+++ b/lzma/Ppmd8.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Ppmd8.h -- PPMdI codec
2010-03-24 : Igor Pavlov : Public domain
This code is based on:
diff --git a/lzma/Ppmd8Dec.c b/lzma/Ppmd8Dec.c
index 89c135d..4a39b06 100755
--- a/lzma/Ppmd8Dec.c
+++ b/lzma/Ppmd8Dec.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Ppmd8Dec.c -- PPMdI Decoder
2010-04-16 : Igor Pavlov : Public domain
This code is based on:
diff --git a/lzma/Ppmd8Enc.c b/lzma/Ppmd8Enc.c
index f5bff65..83d9c54 100755
--- a/lzma/Ppmd8Enc.c
+++ b/lzma/Ppmd8Enc.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Ppmd8Enc.c -- PPMdI Encoder
2010-04-16 : Igor Pavlov : Public domain
This code is based on:
diff --git a/lzma/Threads.c b/lzma/Threads.c
index 1b8203f..9507f88 100755
--- a/lzma/Threads.c
+++ b/lzma/Threads.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Threads.c */
#include "Threads.h"
diff --git a/lzma/Threads.h b/lzma/Threads.h
index 07b05be..50506e2 100755
--- a/lzma/Threads.h
+++ b/lzma/Threads.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Threads.h -- multithreading library
2008-11-22 : Igor Pavlov : Public domain */
diff --git a/lzma/Types.h b/lzma/Types.h
index cefd8ee..77c4b2e 100644
--- a/lzma/Types.h
+++ b/lzma/Types.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* Types.h -- Basic types
2010-10-09 : Igor Pavlov : Public domain */
diff --git a/lzma/basetyps.h b/lzma/basetyps.h
index d761e74..4f07927 100644
--- a/lzma/basetyps.h
+++ b/lzma/basetyps.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#ifndef _BASETYPS_H
#define _BASETYPS_H
diff --git a/lzma/crc32_fast.c b/lzma/crc32_fast.c
index 0900d49..0447a17 100644
--- a/lzma/crc32_fast.c
+++ b/lzma/crc32_fast.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc32.c
diff --git a/lzma/crc32_table.c b/lzma/crc32_table.c
index 57fc457..71d0426 100644
--- a/lzma/crc32_table.c
+++ b/lzma/crc32_table.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc32_table.c
diff --git a/lzma/crc32_table_be.h b/lzma/crc32_table_be.h
index ca90d62..dd6a908 100644
--- a/lzma/crc32_table_be.h
+++ b/lzma/crc32_table_be.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* This file has been automatically generated by crc32_tablegen.c. */
#include
diff --git a/lzma/crc32_table_le.h b/lzma/crc32_table_le.h
index b616b78..10c762e 100644
--- a/lzma/crc32_table_le.h
+++ b/lzma/crc32_table_le.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* This file has been automatically generated by crc32_tablegen.c. */
#include
diff --git a/lzma/crc32_tablegen.c b/lzma/crc32_tablegen.c
index 31a4d27..25a39e5 100644
--- a/lzma/crc32_tablegen.c
+++ b/lzma/crc32_tablegen.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc32_tablegen.c
diff --git a/lzma/crc64_fast.c b/lzma/crc64_fast.c
index 2604887..7104906 100644
--- a/lzma/crc64_fast.c
+++ b/lzma/crc64_fast.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc64.c
diff --git a/lzma/crc64_table.c b/lzma/crc64_table.c
index 7930cae..69907a0 100644
--- a/lzma/crc64_table.c
+++ b/lzma/crc64_table.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc64_table.c
diff --git a/lzma/crc64_table_be.h b/lzma/crc64_table_be.h
index ea074f3..4f23398 100644
--- a/lzma/crc64_table_be.h
+++ b/lzma/crc64_table_be.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* This file has been automatically generated by crc64_tablegen.c. */
const uint64_t lzma_crc64_table[4][256] = {
diff --git a/lzma/crc64_table_le.h b/lzma/crc64_table_le.h
index fd71e4c..768a265 100644
--- a/lzma/crc64_table_le.h
+++ b/lzma/crc64_table_le.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/* This file has been automatically generated by crc64_tablegen.c. */
#include
diff --git a/lzma/crc64_tablegen.c b/lzma/crc64_tablegen.c
index fddaa7e..2f83a98 100644
--- a/lzma/crc64_tablegen.c
+++ b/lzma/crc64_tablegen.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc64_tablegen.c
diff --git a/lzma/crc_macros.h b/lzma/crc_macros.h
index c8e22c2..3503192 100644
--- a/lzma/crc_macros.h
+++ b/lzma/crc_macros.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
///////////////////////////////////////////////////////////////////////////////
//
/// \file crc_macros.h
diff --git a/lzma/windows.h b/lzma/windows.h
index ef0ca3d..63f445b 100644
--- a/lzma/windows.h
+++ b/lzma/windows.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
windows.h - main header file for the Win32 API
diff --git a/lzma_compress.c b/lzma_compress.c
index ced2e1a..cdbdcf7 100644
--- a/lzma_compress.c
+++ b/lzma_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/lzp/lzp.c b/lzp/lzp.c
index a245f2f..706a20a 100644
--- a/lzp/lzp.c
+++ b/lzp/lzp.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-----------------------------------------------------------*/
/* Block Sorting, Lossless Data Compression Library. */
/* Lempel Ziv Prediction */
diff --git a/lzp/lzp.h b/lzp/lzp.h
index cc2ca87..6e70f45 100644
--- a/lzp/lzp.h
+++ b/lzp/lzp.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*-----------------------------------------------------------*/
/* Block Sorting, Lossless Data Compression Library. */
/* Interface to Lempel Ziv Prediction functions */
diff --git a/main.c b/main.c
index c51a3b8..e0c5871 100644
--- a/main.c
+++ b/main.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain/LGPL source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
/*
diff --git a/none_compress.c b/none_compress.c
index 659df8a..9cdb446 100644
--- a/none_compress.c
+++ b/none_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/pcompress.h b/pcompress.h
index 0f2965a..39a3bb1 100644
--- a/pcompress.h
+++ b/pcompress.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#ifndef _PCOMPRESS_H
diff --git a/ppmd_compress.c b/ppmd_compress.c
index 88484a0..8d0e74f 100644
--- a/ppmd_compress.c
+++ b/ppmd_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/rabin/global/db.c b/rabin/global/db.c
index 4818e4c..b25b575 100644
--- a/rabin/global/db.c
+++ b/rabin/global/db.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/rabin/global/db.h b/rabin/global/db.h
index 6a7e926..c6f15dc 100644
--- a/rabin/global/db.h
+++ b/rabin/global/db.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/rabin/global/dedupe_config.c b/rabin/global/dedupe_config.c
index d5355df..d185eba 100644
--- a/rabin/global/dedupe_config.c
+++ b/rabin/global/dedupe_config.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/rabin/global/dedupe_config.h b/rabin/global/dedupe_config.h
index bfda58a..c4d7190 100644
--- a/rabin/global/dedupe_config.h
+++ b/rabin/global/dedupe_config.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/rabin/rabin_dedup.c b/rabin/rabin_dedup.c
index d3e0b62..47e0390 100755
--- a/rabin/rabin_dedup.c
+++ b/rabin/rabin_dedup.c
@@ -40,7 +40,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -53,6 +53,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
*/
diff --git a/rabin/rabin_dedup.h b/rabin/rabin_dedup.h
index d4d3424..9d0331c 100644
--- a/rabin/rabin_dedup.h
+++ b/rabin/rabin_dedup.h
@@ -39,7 +39,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -52,6 +52,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
*/
diff --git a/transpose/transpose.c b/transpose/transpose.c
index 760400f..1082f0b 100644
--- a/transpose/transpose.c
+++ b/transpose/transpose.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/transpose/transpose.h b/transpose/transpose.h
index 6b619dd..f95749c 100644
--- a/transpose/transpose.h
+++ b/transpose/transpose.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/cpuid.c b/utils/cpuid.c
index 2ec22e2..7af7fcc 100644
--- a/utils/cpuid.c
+++ b/utils/cpuid.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -14,6 +14,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
*
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/cpuid.h b/utils/cpuid.h
index 0947250..643839e 100644
--- a/utils/cpuid.h
+++ b/utils/cpuid.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -14,6 +14,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
*
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/fixlic.sh b/utils/fixlic.sh
new file mode 100644
index 0000000..8462ad0
--- /dev/null
+++ b/utils/fixlic.sh
@@ -0,0 +1,59 @@
+lic_txt='/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+'
+
+for fn in `find . \( -name "*.c" -o -name "*.h" \) | egrep -v '^.git'`
+do
+ grep "This program is free software; you can redistribute it and/or" ${fn} > /dev/null
+ if [ $? -ne 0 ]
+ then
+ echo "Adding license to ${fn}"
+ echo "${lic_txt}" > ${fn}.lic
+ cat ${fn} >> ${fn}.lic
+ cp ${fn}.lic ${fn}
+ rm ${fn}.lic
+ continue
+ fi
+
+ sed -i '
+/ \* This program includes partly\-modified public domain\/LGPL source/d
+/ \* This program includes partly\-modified public domain source/d
+/ \* code from the LZMA SDK: http:\/\/www.7-zip.org\/sdk.html/d
+s/Copyright (C) 2012 /Copyright (C) 2012-2013 /' ${fn}
+
+ grep "You should have received a copy of the GNU Lesser General Public" ${fn} > /dev/null
+ if [ $? -ne 0 ]
+ then
+ sed -i '
+/ \* Lesser General Public License for more details./a\
+ \*\
+ \* You should have received a copy of the GNU Lesser General Public\
+ \* License along with this program.\
+ \* If not, see .
+' ${fn}
+ fi
+done
+
+
diff --git a/utils/heapq.c b/utils/heapq.c
index e7024a8..7e8db05 100644
--- a/utils/heapq.c
+++ b/utils/heapq.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/heapq.h b/utils/heapq.h
index 2459e9d..bc81e77 100644
--- a/utils/heapq.h
+++ b/utils/heapq.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/sse_level.c b/utils/sse_level.c
index 36dcc0b..3ecb9a0 100644
--- a/utils/sse_level.c
+++ b/utils/sse_level.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,6 +15,10 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*/
diff --git a/utils/utils.c b/utils/utils.c
index a7ab363..483641d 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include
diff --git a/utils/utils.h b/utils/utils.h
index dca5362..3fdabb0 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#ifndef _UTILS_H
diff --git a/utils/xxhash.c b/utils/xxhash.c
index 7decdb2..e5a0e0a 100644
--- a/utils/xxhash.c
+++ b/utils/xxhash.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
xxHash - Fast Hash algorithm
Copyright (C) 2012, Yann Collet.
diff --git a/utils/xxhash.h b/utils/xxhash.h
index a336a47..9c45ba4 100644
--- a/utils/xxhash.h
+++ b/utils/xxhash.h
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
/*
xxHash - Fast Hash algorithm
Header File
diff --git a/utils/xxhash_base.c b/utils/xxhash_base.c
index 5c02abf..3703872 100644
--- a/utils/xxhash_base.c
+++ b/utils/xxhash_base.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#include
#include
#include
diff --git a/utils/xxhash_sse2.c b/utils/xxhash_sse2.c
index 1f13d2c..695a79d 100644
--- a/utils/xxhash_sse2.c
+++ b/utils/xxhash_sse2.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define CPUCAP_NM(x) x##_SSE2
#include "xxhash.c"
diff --git a/utils/xxhash_sse4.c b/utils/xxhash_sse4.c
index 4561c7e..b6f453d 100644
--- a/utils/xxhash_sse4.c
+++ b/utils/xxhash_sse4.c
@@ -1,3 +1,28 @@
+/*
+ * This file is a part of Pcompress, a chunked parallel multi-
+ * algorithm lossless compression and decompression program.
+ *
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
+ * Use is subject to license terms.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
+ * moinakg@belenix.org, http://moinakg.wordpress.com/
+ *
+ */
+
#define CPUCAP_NM(x) x##_SSE4
#include "xxhash.c"
diff --git a/zlib_compress.c b/zlib_compress.c
index c1d24c3..e436964 100644
--- a/zlib_compress.c
+++ b/zlib_compress.c
@@ -2,7 +2,7 @@
* This file is a part of Pcompress, a chunked parallel multi-
* algorithm lossless compression and decompression program.
*
- * Copyright (C) 2012 Moinak Ghosh. All rights reserved.
+ * Copyright (C) 2012-2013 Moinak Ghosh. All rights reserved.
* Use is subject to license terms.
*
* This program is free software; you can redistribute it and/or
@@ -15,10 +15,12 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program.
+ * If not, see .
+ *
* moinakg@belenix.org, http://moinakg.wordpress.com/
*
- * This program includes partly-modified public domain source
- * code from the LZMA SDK: http://www.7-zip.org/sdk.html
*/
#include