free C++ class library of cryptographic schemes
Go to file
2018-07-16 09:48:35 -04: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 Make m4/ directory during testing 2018-07-15 10:13:33 -04:00
TestVectors Fixed failed ChaCha tests 2018-07-06 22:30:11 -04: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 Add *.cxx to .gitignore 2018-07-05 23:33:44 -04:00
.travis.yml Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04: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 Fix SunStudio 12.6 compile on i386 2018-07-16 09:37:08 -04:00
aes-armv4.h Update comments 2018-07-11 15:12:53 -04:00
aes-armv4.S Disable same buffer for in and out on ARM A-32 (GH #683) 2018-07-12 07:05:18 -04:00
aes.h Update documentation 2018-03-22 22:11:35 -04:00
algebra.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
algebra.h Clear clang-tidy warnings 2018-01-23 21:15:26 -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 Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04:00
arc4.cpp Clear clang-tidy warnings 2018-01-24 20:04:16 -05:00
arc4.h Update documentation 2018-01-22 20:13:18 -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 Add sbyte, sword16, sword32 and sword64 (GH #608, GH #609) 2018-03-27 20:47:20 -04:00
aria.h Clear clang-tidy warnings 2018-01-23 21:15:26 -05:00
ariatab.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
asn.cpp Order of initialization for ASN.1 decoders 2018-04-06 02:29:08 -04:00
asn.h Order of initialization for ASN.1 decoders 2018-04-06 02:29:08 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
bench2.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
bench.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
bfinit.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
blake2-simd.cpp Remove unneeded code from Blake2 2018-07-15 12:59:28 -04:00
blake2.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
blake2.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Clear clang-tidy warnings 2018-01-24 20:04:16 -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 Make CAST temporaries class members 2018-04-07 11:41:00 -04:00
cast.h Make CAST temporaries class members 2018-04-07 11:41:00 -04: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 2018-01-22 20:13:18 -05:00
ccm.cpp Comments, constants and whitespace 2017-09-30 06:19:28 -04:00
ccm.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
chacha.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
chacha.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
cham-simd.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 03:46:25 -04:00
cham.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
cham.h Update documentation 2018-07-13 09:54:06 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
config.h Disable CLMUL again on SunStudio (GH# 188, GH #224) 2018-07-16 09:39:01 -04:00
cpu.cpp Fix SunStudio compile on Solaris 2018-07-15 19:24:55 -04:00
cpu.h Add ARMv8 CPU feature queries (GH #685) 2018-07-14 08:20:16 -04:00
crc-simd.cpp Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
crc.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
crc.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
cryptdll.vcxproj Add AdditionalOptions property to VCXPROJ files (GH #649) 2018-05-01 23:42:04 -04: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 AES-NI accelerated SM4 encryption (GH #540) 2018-07-13 08:48:43 -04:00
cryptest.sh Add Power8 code generation tests to cryptest.sh 2018-03-11 19:25:42 -04:00
cryptest.sln Restore Win32 as default configuration 2016-10-09 00:36:51 -04:00
cryptest.vcxproj Add HC-256 stream cipher (GH #680) 2018-07-05 06:43:04 -04:00
cryptest.vcxproj.filters Add HC-256 stream cipher (GH #680) 2018-07-05 06:43:04 -04:00
cryptest.vcxproj.user Fix cryptest.vcxproj.user 2017-11-27 00:50:05 -05:00
cryptlib.cpp Add PtrAdd and PtrSub helper functions 2018-07-10 05:00:02 -04:00
cryptlib.h Update documentation 2018-07-06 22:12:15 -04:00
cryptlib.vcxproj Add AES-NI accelerated SM4 encryption (GH #540) 2018-07-13 08:48:43 -04:00
cryptlib.vcxproj.filters Add AES-NI accelerated SM4 encryption (GH #540) 2018-07-13 08:48:43 -04: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-04-08 15:58:25 -04:00
cryptopp.supp Add Valgrind suppression file to file list (GH #543) 2017-11-29 07:15:42 -05:00
datatest.cpp Cleanup datatest.cpp 2018-07-10 17:34:55 -04: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 Update documentation 2018-01-22 20:13:18 -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 Update documentation 2018-01-22 20:13:18 -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 Add AdditionalOptions property to VCXPROJ files (GH #649) 2018-05-01 23:42:04 -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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
Doxyfile Fix versioning that cross-pollinated when building docs 2018-07-01 03:46:11 -04:00
drbg.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
dsa.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
dsa.h Make 2048-bit modulus default for DSA (GH #571) 2018-01-23 13:19:27 -05:00
eax.cpp Comments, constants and whitespace 2017-09-30 06:19:28 -04:00
eax.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
ec2n.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
ec2n.h Update documentation 2018-01-23 16:08:46 -05:00
eccrypto.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 01:22:38 -04:00
eccrypto.h Rename ECGDSA_ISO15946 -> ECGDSA (#634) 2018-04-02 23:58:23 -04:00
ecp.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
ecp.h Update documentation 2018-01-23 16:08:46 -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 Update documentation 2018-01-23 17:47:19 -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 Add AES-NI accelerated SM4 encryption (GH #540) 2018-07-13 08:33:13 -04: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 Increase use of ptrdiff_t when performing pointer math 2018-07-10 17:31:01 -04:00
filters.h Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04: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 Disable CLMUL again on SunStudio (GH# 188, GH #224) 2018-07-16 09:39:01 -04:00
gcm.cpp Cleanup gcm.cpp after Commit 9d954efcde 2018-07-16 09:48:35 -04:00
gcm.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Make 2048-bit modulus default for DSA (GH #571) 2018-01-23 13:19:27 -05:00
gfpcrypt.h Make 2048-bit modulus default for DSA (GH #571) 2018-01-23 13:19:27 -05:00
GNUmakefile Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
GNUmakefile-cross Set LC_ALL=C for Darwin Autotools testing 2018-07-15 09:35:26 -04:00
gost.cpp Cleared SunCC warning "key hides GOST::Base::key" 2016-09-14 21:13:22 -04:00
gost.h Update documentation 2018-01-22 19:50:11 -05:00
gzip.cpp Call Deflator::IsolatedInitialize during Gzip init (GH #660) 2018-07-11 17:10:32 -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
hc128.cpp Update comments 2018-07-06 00:35:01 -04:00
hc128.h Use SecBlock for keys and IVs 2018-07-06 00:11:10 -04:00
hc256.cpp Update comments 2018-07-06 00:35:01 -04:00
hc256.h Use SecBlock for keys and IVs 2018-07-06 00:11:10 -04: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
hight.cpp Place HIGHT F0 and F1 in unnamed namespace 2018-06-24 01:39:09 -04:00
hight.h Update documentation 2018-07-13 09:54:06 -04:00
History.txt Prepare for Crypto++ 7.0 release 2018-04-08 04:48:59 -04:00
hkdf.h Fix UBsan finding in HKDF 2018-04-08 03:20:14 -04:00
hmac.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
hmac.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Prepare for Crypto++ 6.1 release 2018-02-22 09:26:16 -05:00
integer.cpp Use IsZero()/NotZero() for 0 denominator test 2018-07-03 22:04:27 -04:00
integer.h Fix VS2010 and "error C2065: uint32_t: undeclared identifier" (GH #608) 2018-03-27 19:18:44 -04:00
iterhash.cpp Back-off on Hash asserts (GH #652) 2018-05-05 22:56:15 -04:00
iterhash.h Revert "Clear conversion warning" 2018-07-10 17:18:11 -04:00
kalyna.cpp Convert Kalyna from variable block size (GH #535) 2018-01-18 20:26:10 -05:00
kalyna.h Fix Kalyna512_Info parameter (GH #662) 2018-06-02 16:50:28 -04:00
kalynatab.cpp Add CRYPTOPP_TABLE, remove CRYPTOPP_SECTION 2018-01-21 14:19:00 -05:00
keccak.cpp Back-off on Hash asserts (GH #652) 2018-05-05 22:56:15 -04:00
keccak.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
lea-simd.cpp Fix header include 2018-07-13 05:48:03 -04:00
lea.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
lea.h Update documentation 2018-07-13 09:54:06 -04: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 Update documentation 2018-04-02 19:33:37 -04:00
mars.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
mars.h Update documentation 2018-01-22 20:13:18 -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 Update documentation 2018-01-22 20:13:18 -05: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 Back-off on Hash asserts (GH #652) 2018-05-05 23:17:44 -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 Move CRYPTOPP_POSIX_MEMALIGN_AVAILABLE preference down 2018-01-30 22:03:34 -05:00
misc.h Fix PtrByteDiff cast 2018-07-12 09:37:43 -04:00
modarith.h Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04:00
modes.cpp Increase use of ptrdiff_t when performing pointer math 2018-07-10 17:41:23 -04:00
modes.h Avoid cast in PtrDiff 2018-07-10 11:36:48 -04:00
modexppc.h Revert "Revert "Clear Visual Studio warnings (Issue 412)"" 2017-06-02 05:18:52 -04:00
mqueue.cpp Clear C4742 warning using MSVC (GH #591) 2018-02-24 17:00:40 -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 Update documentation 2018-01-22 20:13:18 -05:00
naclite.h Update documentation 2018-03-27 21:17:10 -04:00
nbtheory.cpp Change ::log() to log() to work with C++Builder (#552) 2017-12-30 15:16:27 -05:00
nbtheory.h Update documentation 2018-03-26 17:41:06 -04:00
neon-simd.cpp Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04: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 Update documentation 2018-01-22 19:50:11 -05:00
oids.h Remove extra ';' from oids.h (GH #607) 2018-03-27 14:15:42 -04:00
osrng.cpp Remove unnecessary static from reference to singleton 2017-03-15 12:29:36 +01:00
osrng.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
ossig.h Remove extra ;s from ossig.h (PR #625) 2018-03-31 12:59:25 -04:00
padlkrng.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
padlkrng.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
poly1305.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Squash MS LNK4221 and libtool warnings 2018-07-06 01:22:38 -04:00
ppc-simd.h Remove non-const cast from POWER8 loads and stores 2018-03-20 15:02:47 -04:00
pssr.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
pssr.h Update documentation 2018-01-22 19:50:11 -05:00
pubkey.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
pubkey.h Update documentation 2018-01-23 17:47:19 -05:00
pwdbased.h Add missing include to pwdbased.h (GH #657) 2018-05-13 10:42:50 -04:00
queue.cpp Switch to PtrAdd and PtrSub in ByteQueue 2018-07-10 08:25:35 -04:00
queue.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
rabbit.cpp Clear unused variable warning 2018-07-10 11:30:32 -04:00
rabbit.h Update comments 2018-07-05 22:42:17 -04: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 Update documentation 2018-01-22 20:13:18 -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 Update documentation 2018-01-22 20:13:18 -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 failed link on ARM and friends 2018-07-07 21:34:00 -04:00
rdrand.h Fix failed link on ARM and friends 2018-07-07 21:34:00 -04: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 Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
regtest1.cpp Add SM3 hash function (GH #541) 2017-11-23 23:19:09 -05:00
regtest2.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
rijndael.cpp Disable same buffer for in and out on ARM A-32 (GH #683) 2018-07-12 07:05:18 -04:00
rijndael.h Update documentation 2018-07-13 09:54:06 -04:00
ripemd.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
ripemd.h Update documentation 2018-01-22 19:50:11 -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 extra ;s from rsa.h (PR #617) 2018-03-31 13:08:29 -04:00
rw.cpp Clear unused variable warning 2018-07-14 13:26:49 -04:00
rw.h Update documentation 2018-01-22 20:13:18 -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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
salsa.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
scrypt.cpp Fix overcommit resources for Scrypt parallelization (GH #641) 2018-05-20 08:33:21 -04:00
scrypt.h Update documentation 2018-07-01 03:42:17 -04:00
seal.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
seal.h Update documentation 2018-01-22 20:13:18 -05:00
secblock.h Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04:00
seckey.h Update documentation 2018-07-06 02:57:48 -04: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 Update documentation 2018-01-22 20:13:18 -05:00
serpentp.h Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
setenv-android-gcc.sh Fix Android build after renaming defines for CMake 2018-05-05 21:46:17 -04:00
setenv-embedded.sh Revert "Sync setenv scripts" 2018-01-20 12:45:05 -05:00
setenv-ios.sh Remove extra space between variable and value for setenv-ios.sh 2018-04-05 15:19:57 -04:00
sha3.cpp Back-off on Hash asserts (GH #652) 2018-05-05 22:56:15 -04:00
sha3.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
sha-simd.cpp Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
sha.cpp Cleanup defines in sha.cpp 2018-07-15 12:47:34 -04:00
sha.h Disable X32 for SHA (GH #686) 2018-07-15 11:39:41 -04:00
shacal2-simd.cpp Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
shacal2.cpp Remove double include 2018-03-26 23:16:35 -04:00
shacal2.h Update documentation 2018-07-13 09:54:06 -04:00
shark.cpp Prefix IS_LITTLE_ENDIAN and IS_BIG_ENDIAN with CRYPTOPP 2017-11-10 14:15:30 -05:00
shark.h Update documentation 2018-01-22 19:50:11 -05:00
sharkbox.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
simeck-simd.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 03:46:25 -04:00
simeck.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
simeck.h Update documentation 2018-07-13 09:54:06 -04:00
simon-simd.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 03:46:25 -04:00
simon.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
simon.h Update documentation 2018-07-13 09:54:06 -04:00
simple.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
simple.h Add KeyDerivationFunction interface (GH #610, PR #611) 2018-03-29 20:18:27 -04: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-simd.cpp Fix SunStudio 12.2 compile on Solaris 2018-07-15 22:22:18 -04:00
sm4.cpp Add AES-NI accelerated SM4 encryption (GH #540) 2018-07-13 08:33:13 -04:00
sm4.h Update documentation 2018-07-13 09:54:06 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
sosemanuk.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
speck-simd.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 03:46:25 -04:00
speck.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
speck.h Update documentation 2018-07-13 09:54:06 -04:00
square.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
square.h Update documentation 2018-01-22 20:13:18 -05:00
squaretb.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
sse-simd.cpp Squash MS LNK4221 and libtool warnings 2018-07-06 01:22:38 -04:00
stdcpp.h Add sbyte, sword16, sword32 and sword64 (GH #608, GH #609) 2018-03-27 20:47:20 -04:00
strciphr.cpp Clear unused variable warning 2018-07-14 13:01:48 -04:00
strciphr.h Update documentation 2018-07-12 12:04:37 -04:00
tea.cpp Clear clang-tidy warnings 2018-01-24 15:35:45 -05:00
tea.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
test.cpp Add ARM AES asm implementation from Cryptogams (GH #683) 2018-07-11 06:59:44 -04: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 Update documentation 2018-07-13 09:54:06 -04:00
tiger.cpp Back-off on Hash asserts (GH #652) 2018-05-05 22:56:15 -04:00
tiger.h Make 2048-bit modulus default for DSA (GH #571) 2018-01-23 13:19:27 -05:00
tigertab.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
trap.h Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04:00
trdlocal.cpp Handle C++17 std::uncaught_exceptions (GH #590) 2018-02-21 09:59:52 -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 Add sbyte, sword16, sword32 and sword64 (GH #608, GH #609) 2018-03-27 20:47:20 -04: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 Update documentation 2018-01-22 20:13:18 -05:00
validat0.cpp Add additional self tests 2018-03-27 00:33:27 -04:00
validat1.cpp Add ARMv8.4 cpu feature detection support (GH #685) (#687) 2018-07-15 08:35:14 -04:00
validat2.cpp Make ASN.1 decoder m_values protected 2018-04-03 17:32:56 -04:00
validat3.cpp Fix compile under Visual Studio 2008 2018-04-05 20:14:07 -04:00
validat4.cpp Add sbyte, sword16, sword32 and sword64 (GH #608, GH #609) 2018-03-27 20:47:20 -04:00
validate.h Add HC-256 stream cipher (GH #680) 2018-07-05 06:43:04 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
wake.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
whrlpool.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
whrlpool.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04: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 Re-engage SSE2 ASM for SHA-256 (GH# 674) 2018-06-29 21:02:53 -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 Update documentation 2018-03-26 23:30:34 -04: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 Remove extra ;s from zinflate.cpp (PR #624) 2018-03-31 12:58:36 -04:00
zinflate.h Fix calling multiple ZlibDecompressor in parallel causes adler32 checksum failure (GH #596, #600) 2018-03-24 20:27:03 -04: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 7.0 - APR/08/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 (8/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, Scrypt from RFC 7914
  * 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 - 8.0
  * Apple Clang 4.3 - 9.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.

Crypto++ does not enagage Specter remediations at this time. The GCC options for
Specter are -mfunction-return=thunk and -mindirect-branch=thunk, and the library
uses them during testing. If you want the Specter workarounds then add the GCC
options to your CXXFLAGS when building the library.

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

The items in this section comprise the most recent history. Please see History.txt
for the record back to Crypto++ 1.0.

7.0.0 - April 8, 2018
      - major release, recompile of programs required
      - expanded community input and support
         * 48 unique contributors as of this release
      - fix incorrect result when using Integer::ModInverse
         * may be CVE worthy, but request was not submitted
      - fix ARIA/CTR bus error on Sparc64
      - fix incorrect result when using a_exp_b_mod_c
      - fix undeclared identifier uint32_t on early Visual Studio
      - fix iPhoneSimulator build on i386
      - fix incorrect adler32 in ZlibDecompressor
      - fix Power7 test using PPC_FEATURE_ARCH_2_06
      - workaround incorrect Glibc sysconf return value on ppc64-le
      - add KeyDerivationFunction interface
      - add scrypt key derivation function
      - add Salsa20_Core transform callable from outside class
      - add sbyte, sword16, sword32 and sword64
      - remove s_nullNameValuePairs from unnamed namespace
      - ported to MSVC 2017, Xcode 9.3, Sun Studio 12.5, GCC 8.0.1,
        MacPorts GCC 7.0, Clang 4.0, Intel C++ 17.00, IBM XL C/C++ 13.1

6.1.0 - February 22, 2018
      - minor release, maintenance items
      - expanded community input and support
         * 46 unique contributors as of this release
      - use 2048-bit modulus default for DSA
      - fix build under Linuxbrew
      - use /bin/sh in GNUmakefile
      - fix missing flags for SIMON and SPECK in GNUMakefile-cross
      - fix ARM and MinGW misdetection
      - port setenv-android.sh to latest NDK
      - fix Clang check for C++11 lambdas
      - Simon and Speck to little-endian implementation
      - use LIB_MAJOR for ABI compatibility
      - fix ODR violation in AdvancedProcessBlocks_{ARCH} templates
      - handle C++17 std::uncaught_exceptions
      - ported to MSVC 2017, Xcode 8.1, Sun Studio 12.5, GCC 8.0.1,
        MacPorts GCC 7.0, Clang 4.0, Intel C++ 17.00, IBM XL C/C++ 13.1

6.0.0 - January 22, 2018
      - 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.3,
        MacPorts GCC 7.0, Clang 4.0, Intel C++ 17.00, IBM XL C/C++ 13.1

5.6.5 - October 11, 2016
      - 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

5.6.4 - September 11, 2016
      - 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

June 2015 - Changing of the guard. Wei Dai turned the library over to the
        community. The first community release was Crypto++ 5.6.3. Wei is
        no longer involved with the daily operations of the project. Wei
        still provides guidance when we have questions.

Originally written by Wei Dai, maintained by the Crypto++ Project