free C++ class library of cryptographic schemes
Go to file
2015-08-03 19:06:18 -04:00
TestData add SHA-3 2013-01-19 02:20:00 +00:00
TestVectors fix line endings 2013-01-26 17:14:15 +00:00
.gitignore Added GNU/GCC a.out artifact 2015-07-21 13:42:48 -04:00
3way.cpp Cleared unused variable and function warnings 2015-07-19 10:22:16 -04:00
3way.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
adhoc.cpp.proto Removed USING_NAMESPACE(std). Removed unneeded headers. Added minimum headers. Added "-Wunused-parameter" to warning ignore list due to argc and argv[] 2015-07-31 01:48:18 -04:00
adler32.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
adler32.h fix compile on ICC 11 2009-03-04 09:27:52 +00:00
aes.h changes for 5.6: 2009-03-02 02:39:17 +00:00
algebra.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
algebra.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
algparam.cpp Added self-assignment guards or comment indicating why the check is not needed 2015-07-30 13:24:37 -04:00
algparam.h Whitespace checkin 2015-07-30 13:07:33 -04:00
arc4.cpp Cleared signed/unsigned warnings under Visual Studio. 2015-07-20 01:15:35 -04:00
arc4.h Whitespace checkin 2015-07-20 12:19:18 -04:00
argnames.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
asn.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
asn.h Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
authenc.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
authenc.h Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
base32.cpp add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
base32.h port to GCC 4 2005-09-05 21:43:43 +00:00
base64.cpp Added Base64URLEncoder and decoder for web safe alphabet from RFC 4648, Section 5. Discussion at https://groups.google.com/d/msg/cryptopp-users/OF5RPXW-cHw/EDrOuA4-rRYJ 2015-07-01 21:06:29 -04:00
base64.h Added Base64URLEncoder and decoder for web safe alphabet from RFC 4648, Section 5. Discussion at https://groups.google.com/d/msg/cryptopp-users/OF5RPXW-cHw/EDrOuA4-rRYJ 2015-07-01 21:06:29 -04:00
basecode.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
basecode.h Cleared warnings under Clang 3.4 with -Wall 2015-07-21 09:43:33 -04:00
bench2.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
bench.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
bench.h benchmark key and IV setup. remove low security benchmarks 2007-04-15 23:42:58 +00:00
bfinit.cpp Initial revision 2002-10-04 17:31:41 +00:00
blowfish.cpp Cleared "signed/unsigned" warning on Debian 8/i686. ROUNDS was already unsigned; suspect this was a compiler or port issue 2015-07-30 12:00:25 -04:00
blowfish.h Cleared "signed/unsigned" warning on Debian 8/i686. ROUNDS was already unsigned; suspect this was a compiler or port issue 2015-07-30 12:00:25 -04:00
blumshub.cpp add IncorporateEntropy and GenerateIntoBufferedTransformation to RNG interface 2007-05-04 15:38:32 +00:00
blumshub.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
camellia.cpp changes for 5.6: 2009-03-02 02:39:17 +00:00
camellia.h changes for 5.6: 2009-03-02 02:39:17 +00:00
cast.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
cast.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
casts.cpp Initial revision 2002-10-04 17:31:41 +00:00
cbcmac.cpp changes for 5.6: 2009-03-02 02:39:17 +00:00
cbcmac.h changes for 5.6: 2009-03-02 02:39:17 +00:00
ccm.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
ccm.h - add EAX mode, XSalsa20 2009-03-12 11:24:12 +00:00
channels.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
channels.h update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
cmac.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
cmac.h - add EAX mode, XSalsa20 2009-03-12 11:24:12 +00:00
config.h Added CRYPTOPP_POSIX_ASSERT to config.h for those who want original Posix behavior of abort(). Additional cleanup of CRYPTOPP_CXX11 defines 2015-08-03 17:14:55 -04:00
cpu.cpp Cleared "unused function" warning when using GCC with -Wall 2015-07-23 14:21:06 -04:00
cpu.h Cleaned up CRYPTOPP_CLANG_INTEGRATED_ASSEMBLER and WORKAROUND_LLVM_BUG_18916 defines 2015-07-23 03:29:21 -04:00
crc.cpp port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
crc.h fix compile on ICC 11 2009-03-04 09:27:52 +00:00
cryptdll.dsp Added trap.h and hkdf.h to DSP project files 2015-07-30 16:29:07 -04:00
cryptdll.vcproj Added trap.h to Visual Studio projects 2015-07-24 22:46:38 -04:00
cryptest_bds.bdsgroup Removed execute bit from other project files 2015-06-24 15:44:20 -04:00
cryptest_bds.bdsproj Added validat0.cpp to Windows and Borland project files 2015-07-30 13:52:11 -04:00
cryptest_bds.bpf Removed execute bit from other project files 2015-06-24 15:44:20 -04:00
cryptest.dsp Added validat0.cpp to Windows and Borland project files 2015-07-30 13:52:11 -04:00
cryptest.dsw fix VC60 compile, project file line-endings, Apple GCC 4.2 compile 2009-03-03 10:18:44 +00:00
cryptest.sln Revert "Cleared "missing initializer for member '_LARGE_INTEGER::<anonymous struct>::HighPart'" under MinGW". 2015-07-25 07:19:41 -04:00
cryptest.vcproj Added validat0.cpp to Windows and Borland project files 2015-07-30 13:52:11 -04:00
cryptlib_bds.bdsproj Removed execute bit from other project files 2015-06-24 15:44:20 -04:00
cryptlib_bds.cpp Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
cryptlib.cpp Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes 2015-07-31 08:23:53 -04:00
cryptlib.dsp Added trap.h and hkdf.h to DSP project files 2015-07-30 16:29:07 -04:00
cryptlib.h Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes 2015-07-31 08:23:53 -04:00
cryptlib.vcproj Added trap.h to Visual Studio projects 2015-07-24 22:46:38 -04:00
cryptopp.rc prepare for 5.6.2 release 2013-02-20 23:28:38 +00:00
datatest.cpp Partial cut-over to static local strings for DefaultChannel() and AadChannel(). Cout-over DEFAULT_CHANNEL and AAD_CHANNEL to use them behind the scenes 2015-07-31 08:23:53 -04:00
default.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
default.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
des.cpp Improved comment on use of __cplusplus macro 2015-08-03 17:24:41 -04:00
des.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
dessp.cpp merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
dh2.cpp fix missing function 2007-04-16 00:15:34 +00:00
dh2.h fix missing function 2007-04-16 00:15:34 +00:00
dh.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
dh.h improve pairwise consistency test (Brian Pence) 2008-11-21 05:30:16 +00:00
dll.cpp Cleared GCC/Clang waning on unknown pragma 2015-06-08 02:12:20 -04:00
dll.h Cleared unknown pragma warning under MinGW 2015-07-23 09:09:50 -04:00
dlltest.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
dlltest.dsp fix VC60 compile, project file line-endings, Apple GCC 4.2 compile 2009-03-03 10:18:44 +00:00
dlltest.vcproj Removed unneeded additional ODBC libraries from VC8 project files 2015-07-20 13:14:52 -04:00
dmac.h reset m_counter in TruncatedFinal 2007-10-23 17:27:49 +00:00
Doxyfile fix compile with GCC 4.4 and -march=i386 2010-08-08 23:02:36 +00:00
dsa.cpp add SHA-3 2013-01-19 02:20:00 +00:00
dsa.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
eax.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
eax.h fix line ending 2009-03-14 22:27:56 +00:00
ec2n.cpp Added self-assignment guards or comment indicating why the check is not needed 2015-07-30 13:24:37 -04:00
ec2n.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
eccrypto.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
eccrypto.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
ecp.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
ecp.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
elgamal.cpp Initial revision 2002-10-04 17:31:41 +00:00
elgamal.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
emsa2.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
emsa2.h Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
eprecomp.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
eprecomp.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
esign.cpp Fixed "signed/unsigned" conversion warning when "-DDEBUG" defined 2015-07-30 03:51:17 -04:00
esign.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
factory.h Cleared "unused parameter" warning with GCC 5.1 and -Wextra 2015-07-23 20:14:15 -04:00
files.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
files.h handle Unicode filenames 2009-07-11 01:48:12 +00:00
filters.cpp Fixed compiler errors on Apple due to cross product of {C++03,C++11} x {libc++, libstdc++}. It included bringing in the correct <memory> in <stdcpp.h>, and then only including <stdcpp.h> when <memory> was needed. 2015-07-27 16:01:55 -04:00
filters.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
fips140.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
fips140.h upgrade project files to MSVC 2005 and add x64 platform 2006-01-30 14:00:54 +00:00
fipsalgt.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
fipstest.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
fltrimpl.h Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
gcm.cpp Backed out Clang integrated assembler changes. LLVM Bug 24232 pushed us over the edge. There is some skeleton code remaining for testing. To activate it, perform "make FORCE_ASM=1" 2015-07-23 16:47:03 -04:00
gcm.h add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM 2010-07-24 05:55:22 +00:00
gf2_32.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
gf2_32.h Cleared "unused parameter" warning with GCC 5.1 and -Wextra 2015-07-23 20:14:15 -04:00
gf2n.cpp Added self-assignment guards or comment indicating why the check is not needed 2015-07-30 13:24:37 -04:00
gf2n.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
gf256.cpp Initial revision 2002-10-04 17:31:41 +00:00
gf256.h Cleared compile error due to missing include 2015-07-23 20:15:51 -04:00
gfpcrypt.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
gfpcrypt.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
GNUmakefile Added "system" target that dumps a number of internal variables for testing and troubleshooting 2015-07-31 14:00:24 -04:00
GNUmakefile-cross Changed cross-compile makefile to use "-Os" by default 2015-07-31 15:33:08 -04:00
gost.cpp add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
gost.h add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
gzip.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
gzip.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
hex.cpp add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
hex.h fix terminator param being ignored 2006-12-09 17:12:14 +00:00
hkdf.h Whitespace checkin 2015-07-30 13:07:33 -04:00
hmac.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
hmac.h port to Borland C++Builder 2006 2006-12-14 11:41:39 +00:00
hrtimer.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
hrtimer.h Cleared SourceForge reported issue where ThreadUserTimer was not exported 2015-06-08 02:01:46 -04:00
ida.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
ida.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
idea.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
idea.h add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
Install.txt fat libraries → fat binaries 2015-07-31 03:05:07 -04:00
integer.cpp Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64 2015-08-03 13:14:44 -04:00
integer.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
iterhash.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
iterhash.h add x86/x64 assembly for SHA-256, 2009-03-10 02:56:19 +00:00
License.txt switch to Boost Software License 2013-01-09 00:28:58 +00:00
lubyrack.h port to Borland C++Builder 2006 2006-12-14 11:41:39 +00:00
luc.cpp Cleared virtual destructor warning by explicitly adding them 2015-07-17 10:38:44 -04:00
luc.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
mars.cpp fix EC2N skipping of optional seed, switch to public domain MARS code, deliver vc80.pdb to OutDir 2009-03-28 03:08:27 +00:00
mars.h fix EC2N skipping of optional seed, switch to public domain MARS code, deliver vc80.pdb to OutDir 2009-03-28 03:08:27 +00:00
marss.cpp Initial revision 2002-10-04 17:31:41 +00:00
md2.cpp use Weak1 namespace 2007-05-04 15:10:50 +00:00
md2.h use Weak1 namespace 2007-05-04 15:10:50 +00:00
md4.cpp use Weak1 namespace 2007-05-04 15:10:50 +00:00
md4.h use Weak1 namespace 2007-05-04 15:10:50 +00:00
md5.cpp use Weak1 namespace 2007-05-04 15:10:50 +00:00
md5.h use Weak1 namespace 2007-05-04 15:10:50 +00:00
mdc.h changes for 5.6: 2009-03-02 02:39:17 +00:00
misc.cpp Improved comment on xorbuff and GCC's selection of vmovdqa 2015-07-28 20:36:22 -04:00
misc.h Revert "Hid inline assembly behind a macro". The MEMORY_BARRIER code is OK, and the use of inline assembly code is OK to tame the optimizer is OK; but its confusing because the interactions are not readily apparent. 2015-08-01 19:00:31 -04:00
modarith.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
modes.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
modes.h Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
modexppc.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
mqueue.cpp port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
mqueue.h fix C++Builder 2009 compile, update Readme and License 2009-03-15 09:44:42 +00:00
mqv.cpp Initial revision 2002-10-04 17:31:41 +00:00
mqv.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
nbtheory.cpp Removed USING_NAMESPACE(std). Changed hex → std::hex, etc (not sure how these six escaped the first time)... 2015-07-30 17:46:18 -04:00
nbtheory.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
network.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
network.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
nr.h Initial revision 2002-10-04 17:31:41 +00:00
oaep.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
oaep.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
oids.h fix for id_sha1 (Alexei) 2009-08-28 12:25:08 +00:00
osrng.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
osrng.h Cleared unknown pragma warning under MinGW 2015-07-23 08:52:08 -04:00
panama.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
panama.h fix for makefile and Panama cipher validation failure on armel http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619856 2011-04-25 17:42:11 +00:00
pch.cpp Initial revision 2002-10-04 17:31:41 +00:00
pch.h - port x64 assembly code to MASM 2007-09-24 00:45:59 +00:00
pkcspad.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
pkcspad.h use Weak1 namespace 2007-05-04 15:10:50 +00:00
polynomi.cpp Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
polynomi.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
pssr.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
pssr.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
pubkey.cpp check ciphertext length in TF_DecryptorBase::Decrypt() 2010-06-18 01:18:22 +00:00
pubkey.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
pwdbased.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
queue.cpp Added self-assignment guards or comment indicating why the check is not needed 2015-07-30 13:24:37 -04:00
queue.h add SHA-3 2013-01-19 02:20:00 +00:00
rabin.cpp port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16 2009-02-13 12:18:26 +00:00
rabin.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
randpool.cpp Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD 2015-06-29 02:09:02 -04:00
randpool.h reduce risk of reusing random numbers after VM state rollback 2007-05-04 15:37:46 +00:00
rc2.cpp port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
rc2.h changes for 5.6: 2009-03-02 02:39:17 +00:00
rc5.cpp port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
rc5.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
rc6.cpp port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
rc6.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
rdtables.cpp changes for 5.6: 2009-03-02 02:39:17 +00:00
Readme.txt prepare for 5.6.2 release 2013-02-20 23:28:38 +00:00
regtest.cpp add SHA-3 2013-01-19 02:20:00 +00:00
resource.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rijndael.cpp Fixed compile error on MinGW due to including <alloca.h> 2015-07-27 16:36:05 -04:00
rijndael.h add support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM 2010-07-24 05:55:22 +00:00
ripemd.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
ripemd.h changes related to the next FIPS validation 2004-09-03 10:57:31 +00:00
rng.cpp fix warning 2007-05-04 16:00:58 +00:00
rng.h reduce risk of random number reuse after VM rollback 2007-05-04 15:04:58 +00:00
rsa.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
rsa.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
rw.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
rw.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
safer.cpp port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
safer.h changes for 5.6: 2009-03-02 02:39:17 +00:00
salsa.cpp Companion checkin to 572506de3d. Salsa and Sosemanuk can no longer reach into a SecBlock for and touch its private members 2015-08-03 19:06:18 -04:00
salsa.h Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
seal.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
seal.h changes for 5.6: 2009-03-02 02:39:17 +00:00
secblock.h This patch (1) documents the interface, including when the underlying array is uninitialized versus set to 0; (2) adds move semantics; (3) makes its members private; (4) adds asserts for some sanity checks in Debug builds; (5) guards calls to memset and memcpy for NULL pointers and 0-sizes; (6) prefers initialization over assignment; and (7) switches to numeric_limits::max() for sizes 2015-08-03 18:59:02 -04:00
seckey.h fix documentation 2009-03-15 00:51:46 +00:00
seed.cpp changes for 5.6: 2009-03-02 02:39:17 +00:00
seed.h changes for 5.6: 2009-03-02 02:39:17 +00:00
serpent.cpp fix compile 2007-05-04 15:36:15 +00:00
serpent.h change minimum key size to 0 2007-12-05 14:22:18 +00:00
serpentp.h Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
sha3.cpp add SHA-3 2013-01-19 02:20:00 +00:00
sha3.h Cleared crash with GCC 4.8 and above and -O3. In a nutshell, it was due to vectorization and alignment violations agains the vmovdqa instruction 2015-07-13 22:53:16 -04:00
sha.cpp Cleared remaining issues related to Clang's integarted assembler parsing of the syntax string 2015-07-22 03:59:21 -04:00
sha.h fix compile on MSVC 6 2009-03-13 02:55:23 +00:00
shacal2.cpp port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
shacal2.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
shark.cpp Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) 2015-07-26 01:23:52 -04:00
shark.h changes for 5.6: 2009-03-02 02:39:17 +00:00
sharkbox.cpp Cleared initialization warning related to use of brackets 2015-07-02 21:25:39 -04:00
simple.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
simple.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
skipjack.cpp avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
skipjack.h avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
smartptr.h Removed inline ASM for GCC. According to the GCC devs, the cast to volatile is all that's required 2015-08-03 14:01:31 -04:00
socketft.cpp Used pragmas to disable the deprecated warnings under Visual Studio rather than _WINSOCK_DEPRECATED_NO_WARNINGS. Using _WINSOCK_DEPRECATED_NO_WARNINGS could cross-pollintae out of the library and into user code 2015-07-27 19:05:53 -04:00
socketft.h Issue 19 and comments on the 05076dbd 2015-07-28 18:00:19 -04:00
sosemanuk.cpp Companion checkin to 572506de3d. Salsa and Sosemanuk can no longer reach into a SecBlock for and touch its private members 2015-08-03 19:06:18 -04:00
sosemanuk.h Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
square.cpp Cleared initialization warning related to use of brackets 2015-07-02 21:25:39 -04:00
square.h avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
squaretb.cpp Initial revision 2002-10-04 17:31:41 +00:00
stdcpp.h Added Microsoft compilers under <utility> guard 2015-07-31 01:14:31 -04:00
strciphr.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
strciphr.h Cleared compiler error when compiling with "-DDEBUG" 2015-07-26 16:28:04 -04:00
tea.cpp Cleared -Wparentheses from GCC 5.1 2015-07-19 12:00:17 -04:00
tea.h port to GCC 4, reorganize implementations of SetKey 2006-12-10 02:12:23 +00:00
test.cpp Changed to dynamic_cast for GlobalRNG() 2015-08-03 12:48:12 -04:00
tftables.cpp Cleared initialization warning related to use of brackets 2015-07-02 21:25:39 -04:00
tiger.cpp Cleared remaining issues related to Clang's integarted assembler parsing of the syntax string 2015-07-22 03:59:21 -04:00
tiger.h changes for 5.6: 2009-03-02 02:39:17 +00:00
tigertab.cpp changes for 5.6: 2009-03-02 02:39:17 +00:00
trap.h Whitespace checkin 2015-07-30 13:07:33 -04:00
trdlocal.cpp Added guard based on std::uncaught_exception so the class does not throw in an exception handler 2015-07-27 17:26:45 -04:00
trdlocal.h Fixed compiler error "exception specification in declaration does not match previous declaration" under Clang 2015-07-27 12:45:22 -04:00
trunhash.h optimizations 2007-04-16 00:21:07 +00:00
ttmac.cpp Cleared "signed/unsigned" warning under GCC 4.8 (this may have been a GCC 4.8/Debian-i686 issue because both types were unsigned) 2015-07-26 01:17:36 -04:00
ttmac.h optimizations 2007-04-16 00:12:03 +00:00
twofish.cpp avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
twofish.h avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
validat0.cpp Whitespace checkin 2015-08-03 04:03:23 -04:00
validat1.cpp Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11 2015-07-30 10:36:49 -04:00
validat2.cpp Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11 2015-07-30 10:36:49 -04:00
validat3.cpp Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11 2015-07-30 10:36:49 -04:00
validate.h Added validat0.cpp and moved bit tests into it. Provided tests for SafeConvert. Removed "using namespace std" from test sources (auto_ptr causes a collision becuase std:: provides it in C++03, but CryptoPP:: provides it in C++11 2015-07-30 10:36:49 -04:00
vmac.cpp Supress "-Wmaybe-unitiialized" warning under GCC; guard to ensure it does not produce unknown pragma warning under Clang 2015-07-31 04:44:28 -04:00
vmac.h Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
vs-clean.cmd Added *.user files to list of artifacts to clean 2015-07-30 16:31:43 -04:00
wait.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
wait.h Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
wake.cpp Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD 2015-06-29 02:09:02 -04:00
wake.h remove WAKE-CFB 2010-07-06 04:41:28 +00:00
whrlpool.cpp Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX 2015-07-21 18:05:48 -04:00
whrlpool.h changes for 5.6: 2009-03-02 02:39:17 +00:00
winpipes.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
winpipes.h Issue 19 and comments on the 05076dbd 2015-07-28 18:00:19 -04:00
words.h Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
x64dll.asm fix bugs in AES assembly (from trantrungan and Andrew Bromba) 2009-07-05 22:30:24 +00:00
x64masm.asm Removed execute bit from other project files 2015-06-24 15:44:20 -04:00
xtr.cpp Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
xtr.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
xtrcrypt.cpp Initial revision 2002-10-04 17:31:41 +00:00
xtrcrypt.h Included "integer.h" in source files with Integer dependencies so make would rebuild stale object files 2015-07-30 03:30:27 -04:00
zdeflate.cpp Whitespace checkin 2015-07-30 13:07:33 -04:00
zdeflate.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00
zinflate.cpp Cleared "no member named 'unique_ptr' in namespace 'std'" error under C++11 on OS X 2015-07-30 11:15:51 -04:00
zinflate.h Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
zlib.cpp Cleared signed/unsigned warnings under Visual Studio 2015-07-20 01:16:02 -04:00
zlib.h port to MSVC .NET 2005 beta 2 2005-07-12 04:23:32 +00:00

Crypto++: a C++ Class Library of Cryptographic Schemes
Version 5.6.2 - 2/20/2013

Crypto++ Library is a free C++ class library of cryptographic schemes.
Currently the library contains the following algorithms:

                   algorithm type  name

 authenticated encryption schemes  GCM, CCM, EAX
 
        high speed stream ciphers  Panama, Sosemanuk, Salsa20, XSalsa20

           AES and AES candidates  AES (Rijndael), RC6, MARS, Twofish, Serpent,
                                   CAST-256

                                   IDEA, Triple-DES (DES-EDE2 and DES-EDE3),
              other block ciphers  Camellia, SEED, RC5, Blowfish, TEA, XTEA,
                                   Skipjack, SHACAL-2

  block cipher modes of operation  ECB, CBC, CBC ciphertext stealing (CTS),
                                   CFB, OFB, counter mode (CTR)

     message authentication codes  VMAC, HMAC, GMAC, CMAC, CBC-MAC, DMAC, 
                                   Two-Track-MAC

                                   SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, and
                   hash functions  SHA-512), SHA-3, Tiger, WHIRLPOOL, RIPEMD-128,
                                   RIPEMD-256, RIPEMD-160, RIPEMD-320

                                   RSA, DSA, ElGamal, Nyberg-Rueppel (NR),
          public-key cryptography  Rabin-Williams (RW), LUC, LUCELG,
                                   DLIES (variants of DHAES), ESIGN

   padding schemes for public-key  PKCS#1 v2.0, OAEP, PSS, PSSR, IEEE P1363
                          systems  EMSA2 and EMSA5

                                   Diffie-Hellman (DH), Unified Diffie-Hellman
            key agreement schemes  (DH2), Menezes-Qu-Vanstone (MQV), LUCDIF,
                                   XTR-DH

      elliptic curve cryptography  ECDSA, ECNR, ECIES, ECDH, ECMQV

          insecure or obsolescent  MD2, MD4, MD5, Panama Hash, DES, ARC4, SEAL
algorithms retained for backwards  3.0, WAKE-OFB, DESX (DES-XEX3), RC2,
     compatibility and historical  SAFER, 3-WAY, GOST, SHARK, CAST-128, Square
                            value

Other features include:

  * pseudo random number generators (PRNG): ANSI X9.17 appendix C, RandomPool
  * password based key derivation functions: PBKDF1 and PBKDF2 from PKCS #5,
    PBKDF from PKCS #12 appendix B
  * Shamir's secret sharing scheme and Rabin's information dispersal algorithm
    (IDA)
  * fast multi-precision integer (bignum) and polynomial operations
  * finite field arithmetics, including GF(p) and GF(2^n)
  * prime number generation and verification
  * useful non-cryptographic algorithms
      + DEFLATE (RFC 1951) compression/decompression with gzip (RFC 1952) and
        zlib (RFC 1950) format support
      + hex, base-32, and base-64 coding/decoding
      + 32-bit CRC and Adler32 checksum
  * class wrappers for these operating system features (optional):
      + high resolution timers on Windows, Unix, and Mac OS
      + Berkeley and Windows style sockets
      + Windows named pipes
      + /dev/random, /dev/urandom, /dev/srandom
      + Microsoft's CryptGenRandom on Windows
  * A high level interface for most of the above, using a filter/pipeline
    metaphor
  * benchmarks and validation testing
  * x86, x86-64 (x64), MMX, and SSE2 assembly code for the most commonly used
    algorithms, with run-time CPU feature detection and code selection
  * some versions are available in FIPS 140-2 validated form

You are welcome to use it for any purpose without paying me, but see
License.txt for the fine print.

The following compilers are supported for this release. Please visit
http://www.cryptopp.com the most up to date build instructions and porting notes.

  * MSVC 6.0 - 2010
  * GCC 3.3 - 4.5
  * C++Builder 2010
  * Intel C++ Compiler 9 - 11.1
  * Sun Studio 12u1, Express 11/08, Express 06/10

*** Important Usage Notes ***

1. If a constructor for A takes a pointer to an object B (except primitive
types such as int and char), then A owns B and will delete B at A's
destruction.  If a constructor for A takes a reference to an object B,
then the caller retains ownership of B and should not destroy it until
A no longer needs it. 

2. Crypto++ is thread safe at the class level. This means you can use
Crypto++ safely in a multithreaded application, but you must provide
synchronization when multiple threads access a common Crypto++ object.

*** MSVC-Specific Information ***

On Windows, Crypto++ can be compiled into 3 forms: a static library
including all algorithms, a DLL with only FIPS Approved algorithms, and
a static library with only algorithms not in the DLL.
(FIPS Approved means Approved according to the FIPS 140-2 standard.)
The DLL may be used by itself, or it may be used together with the second
form of the static library. MSVC project files are included to build
all three forms, and sample applications using each of the three forms
are also included.

To compile Crypto++ with MSVC, open the "cryptest.dsw" (for MSVC 6 and MSVC .NET 
2003) or "cryptest.sln" (for MSVC 2005 - 2010) workspace file and build one or 
more of the following projects:

cryptopp - This builds the DLL. Please note that if you wish to use Crypto++
  as a FIPS validated module, you must use a pre-built DLL that has undergone
  the FIPS validation process instead of building your own.
dlltest - This builds a sample application that only uses the DLL.
cryptest Non-DLL-Import Configuration - This builds the full static library
  along with a full test driver.
cryptest DLL-Import Configuration - This builds a static library containing
  only algorithms not in the DLL, along with a full test driver that uses
  both the DLL and the static library.

To use the Crypto++ DLL in your application, #include "dll.h" before including
any other Crypto++ header files, and place the DLL in the same directory as
your .exe file. dll.h includes the line #pragma comment(lib, "cryptopp")
so you don't have to explicitly list the import library in your project
settings. To use a static library form of Crypto++, make the "cryptlib"
project a dependency of your application project, or specify it as
an additional library to link with in your project settings.
In either case you should check the compiler options to
make sure that the library and your application are using the same C++
run-time libraries and calling conventions.

*** DLL Memory Management ***

Because it's possible for the Crypto++ DLL to delete objects allocated 
by the calling application, they must use the same C++ memory heap. Three 
methods are provided to achieve this.
1.  The calling application can tell Crypto++ what heap to use. This method 
    is required when the calling application uses a non-standard heap.
2.  Crypto++ can tell the calling application what heap to use. This method 
    is required when the calling application uses a statically linked C++ Run 
    Time Library. (Method 1 does not work in this case because the Crypto++ DLL 
    is initialized before the calling application's heap is initialized.)
3.  Crypto++ can automatically use the heap provided by the calling application's 
    dynamically linked C++ Run Time Library. The calling application must
    make sure that the dynamically linked C++ Run Time Library is initialized
    before Crypto++ is loaded. (At this time it is not clear if it is possible
    to control the order in which DLLs are initialized on Windows 9x machines,
    so it might be best to avoid using this method.)

When Crypto++ attaches to a new process, it searches all modules loaded 
into the process space for exported functions "GetNewAndDeleteForCryptoPP" 
and "SetNewAndDeleteFromCryptoPP". If one of these functions is found, 
Crypto++ uses methods 1 or 2, respectively, by calling the function. 
Otherwise, method 3 is used. 

*** GCC-Specific Information ***

A makefile is included for you to compile Crypto++ with GCC. Make sure
you are using GNU Make and GNU ld. The make process will produce two files,
libcryptopp.a and cryptest.exe. Run "cryptest.exe v" for the validation
suite.

*** Documentation and Support ***

Crypto++ is documented through inline comments in header files, which are
processed through Doxygen to produce an HTML reference manual. You can find
a link to the manual from http://www.cryptopp.com. Also at that site is
the Crypto++ FAQ, which you should browse through before attempting to 
use this library, because it will likely answer many of questions that
may come up.

If you run into any problems, please try the Crypto++ mailing list.
The subscription information and the list archive are available on
http://www.cryptopp.com. You can also email me directly by visiting
http://www.weidai.com, but you will probably get a faster response through
the mailing list.

*** History ***

1.0 - First public release.  Withdrawn at the request of RSA DSI.
    - included Blowfish, BBS, DES, DH, Diamond, DSA, ElGamal, IDEA,
      MD5, RC4, RC5, RSA, SHA, WAKE, secret sharing, DEFLATE compression
    - had a serious bug in the RSA key generation code.

1.1 - Removed RSA, RC4, RC5
    - Disabled calls to RSAREF's non-public functions
    - Minor bugs fixed

2.0 - a completely new, faster multiprecision integer class
    - added MD5-MAC, HAVAL, 3-WAY, TEA, SAFER, LUC, Rabin, BlumGoldwasser,
      elliptic curve algorithms
    - added the Lucas strong probable primality test
    - ElGamal encryption and signature schemes modified to avoid weaknesses
    - Diamond changed to Diamond2 because of key schedule weakness
    - fixed bug in WAKE key setup
    - SHS class renamed to SHA
    - lots of miscellaneous optimizations

2.1 - added Tiger, HMAC, GOST, RIPE-MD160, LUCELG, LUCDIF, XOR-MAC,
      OAEP, PSSR, SHARK
    - added precomputation to DH, ElGamal, DSA, and elliptic curve algorithms
    - added back RC5 and a new RSA
    - optimizations in elliptic curves over GF(p)
    - changed Rabin to use OAEP and PSSR
    - changed many classes to allow copy constructors to work correctly
    - improved exception generation and handling

2.2 - added SEAL, CAST-128, Square
    - fixed bug in HAVAL (padding problem)
    - fixed bug in triple-DES (decryption order was reversed)
    - fixed bug in RC5 (couldn't handle key length not a multiple of 4)
    - changed HMAC to conform to RFC-2104 (which is not compatible
      with the original HMAC)
    - changed secret sharing and information dispersal to use GF(2^32)
      instead of GF(65521)
    - removed zero knowledge prover/verifier for graph isomorphism
    - removed several utility classes in favor of the C++ standard library

2.3 - ported to EGCS
    - fixed incomplete workaround of min/max conflict in MSVC

3.0 - placed all names into the "CryptoPP" namespace
    - added MD2, RC2, RC6, MARS, RW, DH2, MQV, ECDHC, CBC-CTS
    - added abstract base classes PK_SimpleKeyAgreementDomain and
      PK_AuthenticatedKeyAgreementDomain
    - changed DH and LUCDIF to implement the PK_SimpleKeyAgreementDomain
      interface and to perform domain parameter and key validation
    - changed interfaces of PK_Signer and PK_Verifier to sign and verify
      messages instead of message digests
    - changed OAEP to conform to PKCS#1 v2.0
    - changed benchmark code to produce HTML tables as output
    - changed PSSR to track IEEE P1363a
    - renamed ElGamalSignature to NR and changed it to track IEEE P1363
    - renamed ECKEP to ECMQVC and changed it to track IEEE P1363
    - renamed several other classes for clarity
    - removed support for calling RSAREF
    - removed option to compile old SHA (SHA-0)
    - removed option not to throw exceptions

3.1 - added ARC4, Rijndael, Twofish, Serpent, CBC-MAC, DMAC
    - added interface for querying supported key lengths of symmetric ciphers
      and MACs
    - added sample code for RSA signature and verification
    - changed CBC-CTS to be compatible with RFC 2040
    - updated SEAL to version 3.0 of the cipher specification
    - optimized multiprecision squaring and elliptic curves over GF(p)
    - fixed bug in MARS key setup
    - fixed bug with attaching objects to Deflator

3.2 - added DES-XEX3, ECDSA, DefaultEncryptorWithMAC
    - renamed DES-EDE to DES-EDE2 and TripleDES to DES-EDE3
    - optimized ARC4
    - generalized DSA to allow keys longer than 1024 bits
    - fixed bugs in GF2N and ModularArithmetic that can cause calculation errors
    - fixed crashing bug in Inflator when given invalid inputs
    - fixed endian bug in Serpent
    - fixed padding bug in Tiger

4.0 - added Skipjack, CAST-256, Panama, SHA-2 (SHA-256, SHA-384, and SHA-512),
      and XTR-DH
    - added a faster variant of Rabin's Information Dispersal Algorithm (IDA)
    - added class wrappers for these operating system features:
      - high resolution timers on Windows, Unix, and MacOS
      - Berkeley and Windows style sockets
      - Windows named pipes
      - /dev/random and /dev/urandom on Linux and FreeBSD
      - Microsoft's CryptGenRandom on Windows
    - added support for SEC 1 elliptic curve key format and compressed points
    - added support for X.509 public key format (subjectPublicKeyInfo) for
      RSA, DSA, and elliptic curve schemes
    - added support for DER and OpenPGP signature format for DSA
    - added support for ZLIB compressed data format (RFC 1950)
    - changed elliptic curve encryption to use ECIES (as defined in SEC 1)
    - changed MARS key schedule to reflect the latest specification
    - changed BufferedTransformation interface to support multiple channels
      and messages
    - changed CAST and SHA-1 implementations to use public domain source code
    - fixed bug in StringSource
    - optmized multi-precision integer code for better performance

4.1 - added more support for the recommended elliptic curve parameters in SEC 2
    - added Panama MAC, MARC4
    - added IV stealing feature to CTS mode
    - added support for PKCS #8 private key format for RSA, DSA, and elliptic
      curve schemes
    - changed Deflate, MD5, Rijndael, and Twofish to use public domain code
    - fixed a bug with flushing compressed streams
    - fixed a bug with decompressing stored blocks
    - fixed a bug with EC point decompression using non-trinomial basis
    - fixed a bug in NetworkSource::GeneralPump()
    - fixed a performance issue with EC over GF(p) decryption
    - fixed syntax to allow GCC to compile without -fpermissive
    - relaxed some restrictions in the license

4.2 - added support for longer HMAC keys
    - added MD4 (which is not secure so use for compatibility purposes only)
    - added compatibility fixes/workarounds for STLport 4.5, GCC 3.0.2,
      and MSVC 7.0
    - changed MD2 to use public domain code
    - fixed a bug with decompressing multiple messages with the same object
    - fixed a bug in CBC-MAC with MACing multiple messages with the same object
    - fixed a bug in RC5 and RC6 with zero-length keys
    - fixed a bug in Adler32 where incorrect checksum may be generated

5.0 - added ESIGN, DLIES, WAKE-OFB, PBKDF1 and PBKDF2 from PKCS #5
    - added key validation for encryption and signature public/private keys
    - renamed StreamCipher interface to SymmetricCipher, which is now implemented
      by both stream ciphers and block cipher modes including ECB and CBC
    - added keying interfaces to support resetting of keys and IVs without
      having to destroy and recreate objects
    - changed filter interface to support non-blocking input/output
    - changed SocketSource and SocketSink to use overlapped I/O on Microsoft Windows
    - grouped related classes inside structs to help templates, for example
      AESEncryption and AESDecryption are now AES::Encryption and AES::Decryption
    - where possible, typedefs have been added to improve backwards 
      compatibility when the CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY macro is defined
    - changed Serpent, HAVAL and IDEA to use public domain code
    - implemented SSE2 optimizations for Integer operations
    - fixed a bug in HMAC::TruncatedFinal()
    - fixed SKIPJACK byte ordering following NIST clarification dated 5/9/02

5.01 - added known answer test for X9.17 RNG in FIPS 140 power-up self test
     - submitted to NIST/CSE, but not publicly released

5.02 - changed EDC test to MAC integrity check using HMAC/SHA1
     - improved performance of integrity check
     - added blinding to defend against RSA timing attack

5.03 - created DLL version of Crypto++ for FIPS 140-2 validation
     - fixed vulnerabilities in GetNextIV for CTR and OFB modes

5.0.4 - Removed DES, SHA-256, SHA-384, SHA-512 from DLL

5.1 - added PSS padding and changed PSSR to track IEEE P1363a draft standard
    - added blinding for RSA and Rabin to defend against timing attacks
      on decryption operations
    - changed signing and decryption APIs to support the above
    - changed WaitObjectContainer to allow waiting for more than 64
      objects at a time on Win32 platforms
    - fixed a bug in CBC and ECB modes with processing non-aligned data
    - fixed standard conformance bugs in DLIES (DHAES mode) and RW/EMSA2
      signature scheme (these fixes are not backwards compatible)
    - fixed a number of compiler warnings, minor bugs, and portability problems
    - removed Sapphire

5.2 - merged in changes for 5.01 - 5.0.4
    - added support for using encoding parameters and key derivation parameters
      with public key encryption (implemented by OAEP and DL/ECIES)
    - added Camellia, SHACAL-2, Two-Track-MAC, Whirlpool, RIPEMD-320,
      RIPEMD-128, RIPEMD-256, Base-32 coding, FIPS variant of CFB mode
    - added ThreadUserTimer for timing thread CPU usage
    - added option for password-based key derivation functions
      to iterate until a mimimum elapsed thread CPU time is reached
    - added option (on by default) for DEFLATE compression to detect
      uncompressible files and process them more quickly
    - improved compatibility and performance on 64-bit platforms,
      including Alpha, IA-64, x86-64, PPC64, Sparc64, and MIPS64
    - fixed ONE_AND_ZEROS_PADDING to use 0x80 instead 0x01 as padding.
    - fixed encoding/decoding of PKCS #8 privateKeyInfo to properly
      handle optional attributes

5.2.1 - fixed bug in the "dlltest" DLL testing program
      - fixed compiling with STLport using VC .NET
      - fixed compiling with -fPIC using GCC
      - fixed compiling with -msse2 on systems without memalign()
      - fixed inability to instantiate PanamaMAC
      - fixed problems with inline documentation

5.2.2 - added SHA-224
      - put SHA-256, SHA-384, SHA-512, RSASSA-PSS into DLL
      
5.2.3 - fixed issues with FIPS algorithm test vectors
      - put RSASSA-ISO into DLL

5.3 - ported to MSVC 2005 with support for x86-64
    - added defense against AES timing attacks, and more AES test vectors
    - changed StaticAlgorithmName() of Rijndael to "AES", CTR to "CTR"

5.4 - added Salsa20
    - updated Whirlpool to version 3.0
    - ported to GCC 4.1, Sun C++ 5.8, and Borland C++Builder 2006

5.5 - added VMAC and Sosemanuk (with x86-64 and SSE2 assembly)
    - improved speed of integer arithmetic, AES, SHA-512, Tiger, Salsa20,
      Whirlpool, and PANAMA cipher using assembly (x86-64, MMX, SSE2)
    - optimized Camellia and added defense against timing attacks
    - updated benchmarks code to show cycles per byte and to time key/IV setup
    - started using OpenMP for increased multi-core speed
    - enabled GCC optimization flags by default in GNUmakefile
    - added blinding and computational error checking for RW signing
    - changed RandomPool, X917RNG, GetNextIV, DSA/NR/ECDSA/ECNR to reduce
      the risk of reusing random numbers and IVs after virtual machine state
      rollback
    - changed default FIPS mode RNG from AutoSeededX917RNG<DES_EDE3> to
      AutoSeededX917RNG<AES>
    - fixed PANAMA cipher interface to accept 256-bit key and 256-bit IV
    - moved MD2, MD4, MD5, PanamaHash, ARC4, WAKE_CFB into the namespace "Weak"
    - removed HAVAL, MD5-MAC, XMAC

5.5.1 - fixed VMAC validation failure on 32-bit big-endian machines

5.5.2 - ported x64 assembly language code for AES, Salsa20, Sosemanuk, and Panama
        to MSVC 2005 (using MASM since MSVC doesn't support inline assembly on x64)
      - fixed Salsa20 initialization crash on non-SSE2 machines
      - fixed Whirlpool crash on Pentium 2 machines
      - fixed possible branch prediction analysis (BPA) vulnerability in
        MontgomeryReduce(), which may affect security of RSA, RW, LUC
      - fixed link error with MSVC 2003 when using "debug DLL" form of runtime library
      - fixed crash in SSE2_Add on P4 machines when compiled with 
        MSVC 6.0 SP5 with Processor Pack
      - ported to MSVC 2008, GCC 4.2, Sun CC 5.9, Intel C++ Compiler 10.0, 
        and Borland C++Builder 2007

5.6.0 - added AuthenticatedSymmetricCipher interface class and Filter wrappers
      - added CCM, GCM (with SSE2 assembly), EAX, CMAC, XSalsa20, and SEED
      - added support for variable length IVs
      - added OIDs for Brainpool elliptic curve parameters
      - improved AES and SHA-256 speed on x86 and x64
      - changed BlockTransformation interface to no longer assume data alignment
      - fixed incorrect VMAC computation on message lengths 
        that are >64 mod 128 (x86 assembly version is not affected)
      - fixed compiler error in vmac.cpp on x86 with GCC -fPIC
      - fixed run-time validation error on x86-64 with GCC 4.3.2 -O2
      - fixed HashFilter bug when putMessage=true
      - fixed AES-CTR data alignment bug that causes incorrect encryption on ARM
      - removed WORD64_AVAILABLE; compiler support for 64-bit int is now required
      - ported to GCC 4.3, C++Builder 2009, Sun CC 5.10, Intel C++ Compiler 11

5.6.1 - added support for AES-NI and CLMUL instruction sets in AES and GMAC/GCM
      - removed WAKE-CFB
      - fixed several bugs in the SHA-256 x86/x64 assembly code:
          * incorrect hash on non-SSE2 x86 machines on non-aligned input
          * incorrect hash on x86 machines when input crosses 0x80000000
          * incorrect hash on x64 when compiled with GCC with optimizations enabled
      - fixed bugs in AES x86 and x64 assembly causing crashes in some MSVC build configurations
      - switched to a public domain implementation of MARS
      - ported to MSVC 2010, GCC 4.5.1, Sun Studio 12u1, C++Builder 2010, Intel C++ Compiler 11.1
      - renamed the MSVC DLL project to "cryptopp" for compatibility with MSVC 2010

5.6.2 - changed license to Boost Software License 1.0
      - added SHA-3 (Keccak)
      - updated DSA to FIPS 186-3 (see DSA2 class)
      - fixed Blowfish minimum keylength to be 4 bytes (32 bits)
      - fixed Salsa validation failure when compiling with GCC 4.6
      - fixed infinite recursion when on x64, assembly disabled, and no AESNI
      - ported to MSVC 2012, GCC 4.7, Clang 3.2, Solaris Studio 12.3, Intel C++ Compiler 13.0

Written by Wei Dai