free C++ class library of cryptographic schemes
Go to file
2018-01-22 18:34:20 -05:00
.github Fix spelling errors 2017-11-12 15:18:05 -05:00
TestData Remove DL_PrivateKey_GFP_OldFormat (GH #567) 2018-01-19 07:56:12 -05:00
TestScripts Update version info 2018-01-22 18:22:34 -05:00
TestVectors Convert Kalyna from variable block size (GH #535) 2018-01-18 20:26:10 -05:00
.appveyor.yml Remove CMake testing support (GH #506) 2017-09-16 21:23:35 -04:00
.gitattributes Enforce LF line endings for shell scripts (#451) 2017-07-28 15:14:29 -04:00
.gitignore Added C++Builder section in .gitignore file 2016-01-11 23:04:21 -05:00
.travis.yml Disable Travis iOS testing (GH #570) 2018-01-21 12:48:50 -05:00
3way.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
3way.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
adhoc.cpp.proto Add <string> header for C++{03|11|14|17} testing 2016-09-05 00:27:17 -04:00
adler32.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
adler32.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
adv-simd.h Clear Coverity findings CID 186951, 186950, 186947 2018-01-19 19:42:03 -05:00
aes.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
algebra.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
algebra.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
algparam.cpp Remove g_pAssignIntToInteger pointer, add CRYPTOPP_NO_ASSIGN_TO_INTEGER (Issue 389) 2017-03-25 16:38:42 -04:00
algparam.h Cleanup warnings under MSC 2018-01-21 16:25:49 -05:00
arc4.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
arc4.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
argnames.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
aria-simd.cpp Clear GCC -Wcast-align warnings on ARM 2018-01-20 19:39:49 -05:00
aria.cpp Clear GCC -Wcast-align warnings on ARM 2018-01-20 19:39:49 -05:00
aria.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ariatab.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
asn.cpp Clear uninitialized variable warnings under xlC 2017-09-01 20:37:23 -04:00
asn.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
authenc.cpp Comments, constants and whitespace 2017-09-30 06:19:28 -04:00
authenc.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
base32.cpp Add Base32 extended hex encoder and decoder (GH #534) 2017-11-28 04:22:19 -05:00
base32.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
base64.cpp Cleanup use of unnamed namespaces in encoders and decoders 2017-11-12 12:37:20 -05:00
base64.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
basecode.cpp Add additional Encoder and Decoder alphabet test (GH #562) 2018-01-13 09:01:18 -05:00
basecode.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
bds10.zip Re-add bds10.zip 2016-11-12 01:35:14 -05:00
bench1.cpp Fix benchmarks after variable block size removal (GH #535) 2018-01-18 21:31:19 -05:00
bench2.cpp Remove bold from algorithm name in benchmarks 2017-11-13 23:01:04 -05:00
bench.h Fix benchmark selection code (GH #464) 2017-08-22 05:10:25 -04:00
bfinit.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
blake2-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
blake2.cpp Add const-ness to internal BLAKE2 functions (GH #527) 2017-12-06 17:40:34 -05:00
blake2.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
blowfish.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
blowfish.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
blumshub.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
blumshub.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
camellia.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
camellia.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
cast.cpp Clear uninitialized variable warnings under xlC 2017-09-01 20:37:23 -04:00
cast.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
casts.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
cbcmac.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
cbcmac.h Update documentation 2017-12-24 21:07:18 -05:00
ccm.cpp Comments, constants and whitespace 2017-09-30 06:19:28 -04:00
ccm.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
chacha.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
chacha.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
channels.cpp Revert "Revert "Clear Visual Studio warnings (Issue 412)"" 2017-06-02 05:18:52 -04:00
channels.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
cmac.cpp Fix CMAC 256-bit polynomial 2017-09-13 08:41:39 -04:00
cmac.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
config.h Post-release version increment 2018-01-22 17:21:22 -05:00
cpu.cpp Use x86 highest basic before calling a leaf function 2018-01-11 17:59:24 -05:00
cpu.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
crc-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
crc.cpp Cleanup includes for CRC32 and CRC32C 2017-12-09 13:09:49 -05:00
crc.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
cryptdll.vcxproj Remove SSE2 from cpu.cpp, add sse-simd.cpp 2017-11-16 15:11:51 -05:00
cryptdll.vcxproj.filters Add sse-simd.cpp to nmake file and vcxproj filters 2017-11-16 15:29:24 -05:00
cryptest.nmake Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
cryptest.sh Add C++20 elevated warnings test 2018-01-14 03:34:25 -05:00
cryptest.sln Restore Win32 as default configuration 2016-10-09 00:36:51 -04:00
cryptest.vcxproj Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
cryptest.vcxproj.filters Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
cryptest.vcxproj.user Fix cryptest.vcxproj.user 2017-11-27 00:50:05 -05:00
cryptlib.cpp Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
cryptlib.h Post-release version increment 2018-01-22 17:21:22 -05:00
cryptlib.vcxproj Rename nacl.h to naclite.h 2018-01-21 17:04:15 -05:00
cryptlib.vcxproj.filters Rename nacl.h to naclite.h 2018-01-21 17:04:15 -05:00
cryptopp.mapfile Rename mapfile. It is used for shared objects, too 2017-11-07 12:23:59 -05:00
cryptopp.rc Post-release version increment 2018-01-22 17:21:22 -05:00
cryptopp.supp Add Valgrind suppression file to file list (GH #543) 2017-11-29 07:15:42 -05:00
datatest.cpp Re-enable Salsa20 ASM (GH #543) 2017-11-29 06:55:19 -05:00
default.cpp Revert AltiVec and Power8 commits 2017-09-05 16:28:00 -04:00
default.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
des.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
des.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
dessp.cpp Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05:00
dh2.cpp Clear unused variable warnings under MSVC 2017-08-16 22:56:36 -04:00
dh2.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
dh.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
dh.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
dll.cpp Clear unknown pragma warning under GCC 2018-01-17 18:58:29 -05:00
dll.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
dlltest.cpp Fix Clang warning on missing template definitions 2017-08-16 12:21:07 -04:00
dlltest.vcxproj Split source files to support Base Implementation + SIMD implementation (GH #461) 2017-08-17 12:33:43 -04:00
dlltest.vcxproj.filters Split source files to support Base Implementation + SIMD implementation (GH #461) 2017-08-17 12:33:43 -04:00
dmac.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
Doxyfile Post-release version increment 2018-01-22 17:21:22 -05:00
drbg.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
dsa.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
dsa.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
eax.cpp Comments, constants and whitespace 2017-09-30 06:19:28 -04:00
eax.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ec2n.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
ec2n.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
eccrypto.cpp Clear GCC -Wreorder warnings 2018-01-02 10:34:06 -05:00
eccrypto.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ecp.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
ecp.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ecpoint.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
elgamal.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
elgamal.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
emsa2.cpp Fix Clang specialization and definition warnings (GH #300, GH #533) 2017-12-26 00:46:50 -05:00
emsa2.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
eprecomp.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
eprecomp.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
esign.cpp Removed "typedef SHA1 SHA" (Issue 369) 2017-04-24 05:05:14 -04:00
esign.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
factory.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
fhmqv.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
Filelist.txt Rename nacl.h to naclite.h 2018-01-21 17:04:15 -05:00
files.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
files.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
filters.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
filters.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
fips140.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
fips140.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
fipsalgt.cpp Remove unused "USING_NAMESPACE(std)" 2018-01-14 21:38:39 -05:00
fipstest.cpp Fix double leading "0x" prefix (GH #557) 2018-01-05 18:59:28 -05:00
fltrimpl.h Cleared fall through warnings under GCC 7 (Issue 441) 2017-07-17 04:48:28 -04:00
gcm-simd.cpp Clear GCC -Wcast-align warnings on ARM 2018-01-20 19:39:49 -05:00
gcm.cpp Fix "impossible constraint in \\asm\" on i686 2017-11-24 05:49:56 -05:00
gcm.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
gf2_32.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
gf2_32.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
gf2n.cpp Clear coverity finding CHECKED_RETURN (CID 147833) 2017-05-20 01:42:20 -04:00
gf2n.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
gf256.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
gf256.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
gfpcrypt.cpp Removed "typedef SHA1 SHA" (Issue 369) 2017-04-24 05:05:14 -04:00
gfpcrypt.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
GNUmakefile Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
GNUmakefile-cross Update Android build scripts to the latest NDK (#546) 2018-01-21 09:05:34 -05:00
gost.cpp Cleared SunCC warning "key hides GOST::Base::key" 2016-09-14 21:13:22 -04:00
gost.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
gzip.cpp Clear coverity finding CONSTANT_EXPRESSION_RESULT (CID 179384) 2017-05-20 01:27:23 -04:00
gzip.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
hashfwd.h Add <emsa2.h> to dll.cpp 2017-12-26 10:53:11 -05:00
hex.cpp Cleanup use of unnamed namespaces in encoders and decoders 2017-11-12 12:37:20 -05:00
hex.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
hkdf.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
hmac.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
hmac.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
hmqv.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
hrtimer.cpp hrtimer.cpp: fix Win32 DLL-Import build (#425) 2017-05-26 03:13:18 -04:00
hrtimer.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ida.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
ida.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
idea.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
idea.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
Install.txt Update Install.txt 2017-10-31 20:25:02 -04:00
integer.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
integer.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
iterhash.cpp Fix Windows compilation issues (by RaptorFactor) (#444) 2017-07-17 12:10:38 -04:00
iterhash.h Clear GCC -Wcast-align warnings on ARM 2018-01-20 19:39:49 -05:00
kalyna.cpp Convert Kalyna from variable block size (GH #535) 2018-01-18 20:26:10 -05:00
kalyna.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
kalynatab.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
keccak.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
keccak.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
License.txt Update Install and Release notes 2016-09-10 08:56:30 -04:00
lubyrack.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
luc.cpp Fix Clang warning on missing template definitions 2017-08-16 12:21:07 -04:00
luc.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
mars.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
mars.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
marss.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
md2.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
md2.h Fix: GCC warning "type qualifiers ignored on function return type". 2016-12-01 15:37:04 +01:00
md4.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
md4.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
md5.cpp Updated CRYPTOPP_ASSERT based on comments 2016-10-17 22:00:31 -04:00
md5.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
mdc.h Clear GCC -Wcast-align warnings on ARM 2018-01-20 19:39:49 -05:00
mersenne.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
misc.cpp Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
misc.h Clear GCC -Wstrict-overflow warning 2018-01-20 19:37:58 -05:00
modarith.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
modes.cpp Update documentation 2017-10-01 09:32:07 -04:00
modes.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
modexppc.h Revert "Revert "Clear Visual Studio warnings (Issue 412)"" 2017-06-02 05:18:52 -04:00
mqueue.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
mqueue.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
mqv.cpp Cleanup warnings under MSC 2018-01-21 16:25:49 -05:00
mqv.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
naclite.h Update documentation 2018-01-22 15:54:51 -05:00
nbtheory.cpp Change ::log() to log() to work with C++Builder (#552) 2017-12-30 15:16:27 -05:00
nbtheory.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
neon-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
network.cpp Fix Windows compilation issues (by RaptorFactor) (#444) 2017-07-17 12:10:38 -04:00
network.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
nr.h CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
oaep.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
oaep.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
oids.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
osrng.cpp Remove unnecessary static from reference to singleton 2017-03-15 12:29:36 +01:00
osrng.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
ossig.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
padlkrng.cpp Cleanup warnings under MSC 2018-01-21 16:25:49 -05:00
padlkrng.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
panama.cpp Remove BOOL macro value (GH #462) 2017-08-20 21:25:29 -04:00
panama.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
pch.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
pch.h Cleanup Doxygen directives 2018-01-22 09:53:49 -05:00
pkcspad.cpp Fix Clang specialization and definition warnings (GH #300, GH #533) 2017-12-26 00:46:50 -05:00
pkcspad.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
poly1305.cpp Fix missing Poly1305<AES> from Autools shared object on Solaris and Aarch64 2017-11-05 07:18:30 -05:00
poly1305.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
polynomi.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
polynomi.h Cleanup Doxygen directives 2018-01-21 19:11:45 -05:00
ppc-simd.cpp Use x86 highest basic before calling a leaf function 2018-01-11 17:59:24 -05:00
ppc-simd.h Fix IBM XL/C/C++ compile due to uint8x16_p typedef 2018-01-18 05:18:00 -05:00
pssr.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
pssr.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
pubkey.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
pubkey.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
pwdbased.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
queue.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
queue.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rabin.cpp Add asserts to validation routines 2017-01-29 04:58:56 -05:00
rabin.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
randpool.cpp Use <time.h> for Borland/Embarcadero (GH #512) 2017-09-20 18:10:07 -04:00
randpool.h Remove AsymmetricAlgorithm::BERDecode (GH #569) 2018-01-21 08:45:02 -05:00
rc2.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
rc2.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rc5.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
rc5.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rc6.cpp Clear clang-tidy warnings 2018-01-02 00:15:34 -05:00
rc6.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rdrand-masm.cmd spelling fixes 2016-12-27 18:34:57 +01:00
rdrand-nasm.sh Rename rdrand.S to rdrand.s 2017-03-23 16:05:30 -04:00
rdrand.asm Add guard for RDSEED64 on 32-bit platforms (Issue 387) 2017-03-08 14:09:58 -05:00
rdrand.cpp Fix GCC version for RDRAND and RDSEED intrinsics 2017-11-07 16:19:46 -05:00
rdrand.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
rdrand.s Rename rdrand.S to rdrand.s 2017-03-23 16:05:30 -04:00
rdtables.cpp Add Power8 AES decryption 2017-09-12 05:53:17 -04:00
Readme.txt Update Readme.txt 2018-01-22 18:34:20 -05:00
regtest1.cpp Add SM3 hash function (GH #541) 2017-11-23 23:19:09 -05:00
regtest2.cpp Convert Kalyna from variable block size (GH #535) 2018-01-18 20:26:10 -05:00
regtest3.cpp Revert "Revert "Clear Visual Studio warnings (Issue 412)"" 2017-06-02 05:18:52 -04:00
resource.h Whitespace checkin 2016-09-10 04:57:48 -04:00
rijndael-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
rijndael.cpp Move Altivec AdvancedProcessBlocks into adv-simd.h 2018-01-02 07:08:13 -05:00
rijndael.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
ripemd.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
ripemd.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rng.cpp Clear clang-tidy warnings 2018-01-02 04:17:22 -05:00
rng.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rsa.cpp Add PKCS #1 SHA3-based signatures (GH #517) 2017-10-04 23:24:18 -04:00
rsa.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rw.cpp Add asserts to validation routines 2017-01-29 04:58:56 -05:00
rw.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
safer.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
safer.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
salsa.cpp Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
salsa.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
seal.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
seal.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
secblock.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
seckey.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
seed.cpp Fix Clang 5.0 "runtime error: addition of unsigned offset to 0xXXXX overflowed to 0xYYYY" (GH #549) 2017-12-16 18:18:53 -05:00
seed.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
serpent.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
serpent.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
serpentp.h Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
setenv-android.sh Update Android build scripts to the latest NDK (#546) 2018-01-21 09:05:34 -05:00
setenv-embedded.sh Revert "Sync setenv scripts" 2018-01-20 12:45:05 -05:00
setenv-ios.sh Update setenv-ios.sh to export tools 2017-11-10 09:30:47 -05:00
sha3.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
sha3.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
sha-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
sha.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
sha.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
shacal2-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
shacal2.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
shacal2.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
shark.cpp Prefix IS_LITTLE_ENDIAN and IS_BIG_ENDIAN with CRYPTOPP 2017-11-10 14:15:30 -05:00
shark.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
sharkbox.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
simon-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
simon.cpp Clear Coverity issue CID 186337 2017-12-27 00:43:00 -05:00
simon.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
simple.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
simple.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
siphash.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
skipjack.cpp Backed out use of "static const" to declare constant; switch to "enum" (Issue 255) 2016-09-06 04:04:03 -04:00
skipjack.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
sm3.cpp Switch to rotlConstant and rotrConstant 2017-11-24 18:21:27 -05:00
sm3.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
sm4.cpp Switch to rotlConstant and rotrConstant 2017-11-24 18:21:27 -05:00
sm4.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
smartptr.h Removed vector_ptr 2018-01-22 09:37:04 -05:00
socketft.cpp Fix "cast from 'struct sockaddr*' to 'struct sockaddr_in*' increases required alignment" on OS X 2017-12-26 17:57:26 -05:00
socketft.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
sosemanuk.cpp Uncouple GetAlignment from CRYPTOPP_DISABLE_SOSEMANUK_ASM 2017-11-29 08:00:21 -05:00
sosemanuk.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
speck-simd.cpp Improve logic for <arm_acle.h> include (GH #568) 2018-01-20 13:23:41 -05:00
speck.cpp Clear signed/unsigned warnings with GCC and -Wall -Wextra 2017-12-26 16:59:32 -05:00
speck.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
square.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
square.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
squaretb.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
sse-simd.cpp Fix compile on MIPS due to missing definition of NULL 2017-11-24 17:53:25 -05:00
stdcpp.h Change ::log() to log() to work with C++Builder (#552) 2017-12-30 15:16:27 -05:00
strciphr.cpp Revert AltiVec and Power8 commits 2017-09-05 16:28:00 -04:00
strciphr.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
tea.cpp Fix TEA and XTE hand with IBM XL C/C++ compiler (GH #503) 2017-09-16 08:20:35 -04:00
tea.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
test.cpp Remove AsymmetricAlgorithm::BERDecode (GH #569) 2018-01-21 08:45:02 -05:00
tftables.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
threefish.cpp Fix "variable tracking size limit exceeded" with UBsan 2017-11-26 05:27:03 -05:00
threefish.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
tiger.cpp Remove BOOL macro value (GH #462) 2017-08-20 21:25:29 -04:00
tiger.h Fix: GCC warning "type qualifiers ignored on function return type". 2016-12-01 15:37:04 +01:00
tigertab.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
trap.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
trdlocal.cpp Clear GCC -Wc++11-compat warning 2018-01-20 19:35:50 -05:00
trdlocal.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
trunhash.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
ttmac.cpp Use non-macro version of ttmac 2017-11-26 07:59:33 -05:00
ttmac.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
tweetnacl.cpp Rename nacl.h to naclite.h 2018-01-21 17:04:15 -05:00
tweetnacl.h Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
twofish.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
twofish.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
validat0.cpp Revert AltiVec and Power8 commits 2017-09-05 16:28:00 -04:00
validat1.cpp Clear Coverity finding CID 186948 2018-01-19 18:35:23 -05:00
validat2.cpp Remove AsymmetricAlgorithm::BERDecode (GH #569) 2018-01-21 08:45:02 -05:00
validat3.cpp Update documentation 2017-12-24 21:07:18 -05:00
validat4.cpp Rename nacl.h to naclite.h 2018-01-21 17:04:15 -05:00
validate.h Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
vc60.zip Add trap.h and ossig.h to vc60.zip 2016-09-17 18:12:45 -04:00
vmac.cpp Align buffers for Poly1305 and VMAC 2017-09-05 16:43:29 -04:00
vmac.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
vs2005.zip Add DRBG, Poly1305 and SipHash to VS2005 project files 2017-03-19 21:49:43 -04:00
wait.cpp Try to fix MSVC C4589 warning again (GH #214) 2018-01-12 08:24:42 -05:00
wait.h Try to fix MSVC C4589 warning again (GH #214) 2018-01-12 08:24:42 -05:00
wake.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
wake.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
whrlpool.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
whrlpool.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
winpipes.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
winpipes.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
words.h Add Integer bitwise AND, OR and XOR (Issue 336) 2016-11-23 21:55:30 -05:00
x64dll.asm Fix bad SHA::Transform calculation (Issue 455) 2017-08-13 16:05:39 -04:00
x64masm.asm CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
xtr.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
xtr.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
xtrcrypt.cpp Add asserts to validation routines 2017-01-29 04:58:56 -05:00
xtrcrypt.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
zdeflate.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
zdeflate.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
zinflate.cpp Clear signed/unsigned warning in Debug 2017-12-31 02:24:16 -05:00
zinflate.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
zlib.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
zlib.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00

Crypto++: free C++ Class Library of Cryptographic Schemes
Version 6.0 - JAN/22/2018

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  ChaCha (ChaCha8/12/20), Panama, Sosemanuk,
                                   Salsa20, XSalsa20

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

                                   ARIA, IDEA, Blowfish, Triple-DES (DES-EDE2 and
                                   DES-EDE3), Camellia, SEED, Kalyna(128/256/512),
              other block ciphers  RC5, SIMON-64, SIMON-128, SPECK-64, SPECK-128,
                                   Skipjack, SHACAL-2, SM4, Threefish(256/512/1024),
                                   TEA, XTEA

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

     message authentication codes  BLAKE2s, BLAKE2b, CMAC, CBC-MAC, DMAC, GMAC, HMAC,
                                   Poly1305, SipHash, Two-Track-MAC, VMAC,

                                   BLAKE2s, BLAKE2b, Keccack (F1600), SHA-1,
                   hash functions  SHA-2(224/256/384/512), SHA-3(224/256/384/512),
                                   SipHash, SM3, Tiger, RIPEMD-128, RIPEMD-160,
                                   RIPEMD-256, RIPEMD-320, WHIRLPOOL

                                   RSA, DSA, Determinsitic DSA, ElGamal,
          public-key cryptography  Nyberg-Rueppel (NR), Rabin-Williams (RW), LUC,
                                   LUCELG, EC-based German Digital Signature (ECGDSA),
                                   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), Hashed MQV (HMQV),
                                   Fully Hashed MQV (FHMQV), LUCDIF, XTR-DH

      elliptic curve cryptography  ECDSA, Determinsitic 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,
    VIA Padlock, RDRAND, RDSEED, NIST Hash and HMAC DRBGs
  * password based key derivation functions: PBKDF1 and PBKDF2 from PKCS #5,
    PBKDF from PKCS #12 appendix B, HKDF from RFC 5869
  * 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, base-64, URL safe base-64 encoding and decoding
      + 32-bit CRC, CRC-C and Adler32 checksum
  * class wrappers for these platform and 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 or BCryptGenRandom on Windows
  * A high level interface for most of the above, using a filter/pipeline
    metaphor
  * benchmarks and validation testing
  * x86, x64 (x86-64), x32 (ILP32), ARM-32, Aarch32, Aarch64 and Power8 in-core code
    for the commonly used algorithms
      + run-time CPU feature detection and code selection
      + supports GCC-style and MSVC-style inline assembly, and MASM for x64
      + x86, x64 (x86-64), x32 provides MMX, SSE2, and SSE4 implementations
      + ARM-32, Aarch32 and Aarch64 provides NEON, ASIMD and ARMv8 implementations
      + Power8 provides in-core AES using NX Crypto Acceleration

The Crypto++ library was orginally written by Wei Dai. The library is now
maintained by several team members and the community. You are welcome to use it
for any purpose without paying anyone, 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.

  * Visual Studio 2003 - 2017
  * GCC 3.3 - 7.2
  * Apple Clang 4.3 - 8.3
  * LLVM Clang 2.9 - 4.0
  * C++Builder 2010
  * Intel C++ Compiler 9 - 16.0
  * Sun Studio 12u1 - 12.5
  * IBM XL C/C++ 10.0 - 13.1

*** 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 ***

To compile Crypto++ with MSVC, open "cryptest.sln" (for MSVC 2003 - 2015)
and build one or more of the following projects:

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.
cryptdll - 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.

The DLL used to provide FIPS validated cryptography. The library was moved
to the CMVP's <A HREF=
"http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-historical.htm">
Historical Validation List</A>. The library and the DLL are no longer considered
validated. You should no longer use the DLL.

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.

*** Linux and Unix-like Specific Information ***

A makefile is included for you to compile Crypto++ with GCC and compatibles.
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 and "cryptest.exe tv all" for additional test vectors.

The makefile uses '-DNDEBUG -g2 -O2' CXXFLAGS by default. If you use an
alternate build system, like Autotools or CMake, then ensure the build system
includes '-DNDEBUG' for production or release builds. The Crypto++ library uses
asserts for debugging and diagnostics during development; it does not
rely on them to crash a program at runtime.

If an assert triggers in production software, then unprotected sensitive
information could be egressed from the program to the filesystem or the
platform's error reporting program, like Apport on Ubuntu or CrashReporter
on Apple.

The makefile orders object files to help remediate problems associated with
C++ static initialization order. The library does not use custom linker scripts.
If you use an alternate build system, like Autotools or CMake, and collect source
files into a list, then ensure these three are at the head of the list: 'cryptlib.cpp
cpu.cpp integer.cpp <other sources>'. They should be linked in the same order:
'cryptlib.o cpu.o integer.o <other objects>'.

If your linker supports initialization attributes, like init_priority, then you can
define CRYPTOPP_INIT_PRIORITY to control object initialization order. Set it to a
value like 250. User programs can use CRYPTOPP_USER_PRIORITY to avoid conflicts with
library values. Initialization attributes are more reliable than object file ordering,
but its not ubiquitously supported by linkers.

The makefile links to the static version of the Crypto++ library to avoid binary
planting and other LD_PRELOAD tricks. You should use the static version of the
library in your programs to help avoid unwanted redirections.

*** Side Channel Attacks ***

Crypto++ attempts to resist side channel attacks using various remediations. We
believe the library is hardened but the remdiations may be incomplete. The first
line of defense uses hardware instructions when possible. The library also uses
cache-aware algoirthms and access patterns to minimize leakage. If you suspect
or find an information leak then please report it.

*** 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. Finally, the site provide the wiki which has many topics
and code examples.

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.

*** Source Code and Contributing ***

The source code and its planned changes are available at the following locations.

  * The Crypto++ GitHub repository allows you to view the latest (unreleased)
    Crypto++ source code via the Linux kernel's git beginning around June 2015.
	Its also serves as an incubator to nuture and grow the library.
  * The former Crypto++ SourceForge repository allows you to view the Crypto++
    source code via Apache's subversion until about July 2015. At that time,
	SourceForge had infrastructure problems and a cutover to GutHub was performed.
  * The Roadmap on the wiki provides the general direction the library is heading.
    It includes planned features and releases, and even some wishlist items.

Contributions of all types are welcomed. Contributions include the following.

  * Bug finding and fixes
  * Features and enhancements
  * Test scripts and test cases
  * Branch and release testing
  * Documentation and updates

If you think you have found a bug in the library, then you should discuss it on the
Users mailing list. Discussing it will help bring the issue to the attention of folks
who can help resolve the issue. If you want to contribute a bug fix to the library,
then make a Pull Request or make a Diff available somewhere. Also see Bug Reports on
the wiki.

Features and enhancements are welcomend additions to the library. This category tends
to be time consuming because algorithms and their test cases need to be reviewed and
merged. Please be mindful of the test cases, and attempt to procure them from an
independent source.

The library cherishes test scripts and test cases. They ensure the library is fit and
they help uncover issues with the library before users experience them. If you have
some time, then write some test cases, especially the ones that are intended to break
things.

Branch and release testing is your chance to ensure Master (and planned merges) meets
your expectations and perform as expected. If you have a few spare cycles, then please
test Master on your favorite platform. We need more testing on MinGW, Windows Phone,
Windows Store, Solaris 10 (and below), and modern iOS and OS X (including TV and
Watch builds).

Documentation and updates includes both the inline source code annotations using
Doxygen, and the online information provided in the wiki. The wiki is more verbose and
usually provides more contextual information than the API reference. Besides testing,
documentation is one of the highest returns on investment.

*** 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

5.6.3 - maintenance release, honored API/ABI/Versioning requirements
      - expanded processes to include community and its input
          * 12 unique contributors for this release
      - fixed CVE-2015-2141
      - cleared most Undefined Behavior Sanitizer (UBsan) findings
      - cleared all Address Sanitizer (Asan) findings
      - cleared all Valgrind findings
      - cleared all Coverity findings
      - cleared all Enterprise Analysis (/analyze) findings
      - cleared most GCC warnings with -Wall
      - cleared most Clang warnings with -Wall
      - cleared most MSVC warnings with /W4
      - added -fPIC 64-bit builds. Off by default for i386
      - added HKDF class from RFC 5868
      - switched to member_ptr due to C++ 11 warnings for auto_ptr
      - initialization of C++ static objects, off by default
          * GCC and init_priotirty/constructor attributes
          * MSVC and init_seg(lib)
          * CRYPTOPP_INIT_PRIORITY disabled by default, but available
      - improved OS X support
      - improved GNUmakefile support for Testing and QA
      - added self tests for additional Testing and QA
      - added cryptest.sh for systematic Testing and QA
      - added GNU Gold linker support
      - added Visual Studio 2010 solution and project files in vs2010.zip
      - added Clang integrated assembler support
      - unconditionally define CRYPTOPP_NO_UNALIGNED_DATA_ACCESS for Makefile
        target 'ubsan' and at -O3 due to GCC vectorization on x86 and x86_64
      - workaround ARMEL/GCC 5.2 bug and failed self test
      - fixed crash in MQV due to GCC 4.9+ and inlining
      - fixed hang in SHA due to GCC 4.9+ and inlining
      - fixed missing rdtables::Te under VS with ALIGNED_DATA_ACCESS
      - fixed S/390 and big endian feature detection
      - fixed S/390 and int128_t/uint128_t detection
      - fixed X32 (ILP32) feature detection
      - removed  _CRT_SECURE_NO_DEPRECATE for Microsoft platforms
      - utilized bound checking interfaces from ISO/IEC TR 24772 when available
      - improved ARM, ARM64, MIPS, MIPS64, S/390 and X32 (ILP32) support
      - introduced CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562
      - added additional Doxygen-based documentation
      - ported to MSVC 2015, Xcode 7.2, GCC 5.2, Clang 3.7, Intel C++ 16.00

5.6.4 - maintenance release, honored API/ABI/Versioning requirements
      - expanded community input and support
          * 22 unique contributors for this release
      - fixed CVE-2016-3995
      - changed SHA3 to FIPS 202 (F1600, XOF d=0x06)
      - added Keccak (F1600, XOF d=0x01)
      - added ChaCha (ChaCha8/12/20)
      - added HMQV and FHMQV
          * Hashed and Fully Hashed MQV
      - added BLAKE2 (BLAKE2s and BLAKE2b)
          * C++, SSE2, SSE4, ARM NEON and ARMv8 ASIMD
      - added CRC32-C
          * C/C++, Amd64 CRC, and ARMv8 CRC
      - improved Rabin-William signatures
          * Tweaked roots <em>e</em> and <em>f</em>
      - improved C++11 support
          * atomics, threads and fences
          * alginof, alignas
          * constexpr
          * noexcept
      - improved GCM mode
          * ARM NEON and ARMv8 ASIMD
          * ARMv8 carry-less multiply
      - improved Windows 8 and 10 support
          * Windows Phone, Universal Windows Platform, Windows Store
      - improved MIPS, ARMv7 and ARMv8 support
          * added scripts setenv-{android|embedded|ios}.sh for GNUmakefile-cross
          * aggressive use of -march=<arch> and -mfpu=<fpu> in cryptest.sh
      - improved build systems
          * Visual Studio 2010 default
          * added CMake support (lacks FindCryptopp.cmake)
          * archived VC++ 5/0/6.0 project files (vc60.zip)
          * archived VS2005 project files (vs2005.zip)
          * archived Borland project files (bds10.zip)
      - improved Testing and QA
          * expanded platforms and compilers
          * added code generation tests based on CPU features
          * added C++03, C++11, C++14, C++17 testing
          * added -O3, -O5, -Ofast and -Os testing
      - ported to MSVC 2015 SP3, Xcode 9.0, Sun Studio 12.5, GCC 7.0, MacPorts GCC 7.0, Clang 3.8, Intel C++ 17.00

5.6.5 - maintenance release, recompile of programs recommended
      - expanded community input and support
          * 25 unique contributors as of this release
      - fixed CVE-2016-7420 (Issue 277, document NDEBUG for production/release)
      - fixed CVE-2016-7544 (Issue 302, avoid _malloca and _freea)
      - shipped library in recommended state
          * backwards compatibility achieved with <config.compat>
      - Visual Studio project file cleanup
          * improved X86 and X64 MSBuild support
          * added ARM-based MSBuild awareness
      - improved Testing and QA
          * expanded platforms and compilers
          * expanded Coverity into OS X and Windows platforms
          * added Windows test scripts using Strawberry Perl
      - ported to MSVC 2015 SP3, Xcode 7.3, Sun Studio 12.5, GCC 7.0, MacPorts GCC 7.0, Clang 3.8, Intel C++ 17.00

6.0.0 - Major release, recompile of programs required
      - expanded community input and support
          * 43 unique contributors as of this release
      - fixed CVE-2016-9939 (Issue 346, transient DoS)
      - fixed CVE-2017-9434 (Issue 414, misidentified memory error)
      - converted to BASE+SIMD implementation
          * BASE provides an architecture neutral C++ implementation
          * SIMD provides architecture specific hardware acceleration
      - improved PowerPC Power4, Power7 and Power8 support
      - added ARIA, EC German DSA, Deterministic signatures (RFC 6979), Kalyna, NIST Hash and HMAC DRBG, Padlock RNG, Poly1305, SipHash, Simon, Speck, SM3, SM4, Threefish algorithms
      - added NaCl interface from the compact library
          * x25519 key exhange and ed25519 signing provided through NaCl interface
      - improved Testing and QA
      - ported to MSVC 2017, Xcode 8.1, Sun Studio 12.5, GCC 7.0, MacPorts GCC 7.0, Clang 4.0, Intel C++ 17.00, IBM XL C/C++ 13.1

Written by Wei Dai and the Crypto++ Project