free C++ class library of cryptographic schemes
Go to file
Jeffrey Walton 9e824c4369
Use byte pointer for CONST_V32_CAST and NCONST_V32_CAST
The underlying byte arrays may not be aligned for a word
2019-11-16 00:08:56 -05:00
.github Fix spelling errors 2017-11-12 15:18:05 -05:00
TestData Regenerate ElGamal test data 2019-08-24 17:49:41 -04:00
TestPrograms Add C++17 test program 2019-10-27 00:29:18 -04:00
TestScripts Revert to Commit 0281083 (PR #899) 2019-10-22 09:21:38 -04:00
TestVectors Update comments 2019-10-13 01:47:56 -04:00
.appveyor.yml Add Visual Studio 2019 to AppVeyor build worker 2019-10-14 06:08:38 -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 Update Travis comments 2019-10-24 04:17:08 -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 Rework GNUmakefiles for XL C/C++ changes 2018-07-31 02:17:13 -04:00
adler32.cpp Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
adler32.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
adv_simd.h Update documentation 2019-10-29 10:33:39 -04:00
aes_armv4.h Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
aes_armv4.S Add ARM SHA256 asm implementation from Cryptogams (GH #840, PR #840) 2019-05-19 06:59:12 -04:00
aes.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -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 Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00
allocate.cpp Cleanup asserts in SecBlock 2019-10-14 01:00:49 -04:00
allocate.h Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
arc4.cpp Clear clang-tidy warnings 2018-01-24 20:04:16 -05:00
arc4.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
argnames.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
aria_simd.cpp Fix ARM headers and Android compile (PR #896) 2019-10-16 21:00:45 -04:00
aria.cpp Clear unused variable warning 2018-11-12 16:54:29 -05: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
arm_simd.h Fix ARM headers and Android compile (PR #896) 2019-10-16 21:00:45 -04:00
asn.cpp Make bt const in BERDecodePeekLength 2019-10-08 07:41:01 -04:00
asn.h Update documentation 2019-10-28 15:33:36 -04:00
authenc.cpp Make AuthenticatedSymmetricCipherBase::ProcessData overflow safe 2019-01-30 10:45:12 -05:00
authenc.h Fix clang warnings (GH #771) 2019-01-02 12:05:26 -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 Clear lgtm findings 2019-06-04 05:31:46 -04:00
bds10.zip Re-add bds10.zip 2016-11-12 01:35:14 -05:00
bench1.cpp Split public key benchmarks into integers and elliptic curves 2019-08-07 04:20:37 -04:00
bench2.cpp Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
bench3.cpp Split public key benchmarks into integers and elliptic curves 2019-08-07 04:20:37 -04:00
bench.h Split public key benchmarks into integers and elliptic curves 2019-08-07 04:20:37 -04:00
bfinit.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04:00
blake2.cpp Add XLC 12 loads and stores for AIX (PR #907) 2019-10-26 22:11:49 -04:00
blake2.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
blake2b_simd.cpp Try to replace vec_rl for Clang 3.8 2019-10-23 19:55:13 -04:00
blake2s_simd.cpp Add XLC 12 loads and stores for AIX (PR #907) 2019-10-26 22:11:49 -04:00
blowfish.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04:00
blowfish.h Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04: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 Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools 2018-10-28 04:24:22 -04: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 Fix clang warnings (GH #771) 2019-01-02 12:05:26 -05:00
chacha_avx.cpp Whitespace check-in 2019-06-09 12:12:46 -04:00
chacha_simd.cpp Add XLC 12 loads and stores for AIX (PR #907) 2019-10-26 22:11:49 -04:00
chacha.cpp Add XLC 12 loads and stores for AIX (PR #907) 2019-10-26 22:11:49 -04:00
chacha.h Fix stray semicolons uder MSVC (GH #889) 2019-10-12 09:27:51 -04:00
chachapoly.cpp Clear truncation warnings with early MSVC compilers 2019-10-03 06:49:03 -04:00
chachapoly.h Fix ChaCha20Poly1305 on Windows 2019-10-19 18:23:58 -04:00
cham_simd.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
cham.cpp Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
cham.h Update documentation 2019-01-31 19:33:13 -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 Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
cmac.h Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
config_align.h Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00
config_asm.h Fix AIX and Linux compiles for PowerPC (PR #902) 2019-10-23 18:15:47 -04:00
config_cpu.h Add define for CRYPTOPP_BOOL_ARM64 2019-08-18 04:27:25 -04:00
config_cxx.h Cleanup config_*.h files, update travis.yml file (PR #898) 2019-10-20 21:46:05 -04:00
config_dll.h Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
config_int.h Use umulh for Aarch64 multiply 2019-10-18 17:00:17 -04:00
config_misc.h Cleanup stray semicolons 2019-10-03 22:08:51 -04:00
config_ns.h Cleanup stray semicolons 2019-10-03 22:08:51 -04:00
config_os.h Cleanup config_*.h files, update travis.yml file (PR #898) 2019-10-20 21:46:05 -04:00
config_ver.h Enable CRYPTOPP_DISABLE_MIXED_ASM in config_asm.h 2019-10-17 08:46:27 -04:00
config.h Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00
cpu.cpp Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
cpu.h Fix AIX and Linux compiles for PowerPC (PR #902) 2019-10-23 18:15:47 -04:00
crc_simd.cpp Fix ARM headers and Android compile (PR #896) 2019-10-16 21:00:45 -04:00
crc.cpp Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
crc.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
cryptdll.vcxproj Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
cryptdll.vcxproj.filters Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
cryptest.nmake Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
cryptest.sln Restore Win32 as default configuration 2016-10-09 00:36:51 -04:00
cryptest.vcxproj Fix CopyToRoot target with spaces in path 2019-08-05 13:27:54 -04:00
cryptest.vcxproj.filters Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
cryptest.vcxproj.user Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
cryptlib.cpp Clear sign conversion warnings 2019-09-28 21:08:22 -04:00
cryptlib.h Update documentation 2019-10-18 11:03:23 -04:00
cryptlib.vcxproj Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
cryptlib.vcxproj.filters Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
cryptopp.mapfile Fix Solaris mapfile 2018-11-09 18:59:04 -05:00
cryptopp.rc Post-release version increment 2019-04-29 00:12:18 -04:00
cryptopp.supp Add Valgrind suppression file to file list (GH #543) 2017-11-29 07:15:42 -05:00
darn.cpp Clear warning C4702: unreachable code 2018-12-14 15:39:54 -05:00
darn.h Update comments 2019-08-19 08:30:11 -04:00
datatest.cpp Use ConstBytePtr in TestDataNameValuePairs (GH #827) 2019-04-29 00:13:32 -04:00
default.cpp Fix LegacyDecryptor and LegacyDecryptorWithMAC (GH #714) 2018-09-10 21:55:08 -04:00
default.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
des.cpp Miscellaneos warning fixes (GH #739) 2018-11-13 22:04:03 -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 Remove Thread and Socket classes (GH #208, PR #703) 2018-08-17 23:55:39 -04:00
dlltest.cpp Fix Clang warning on missing template definitions 2017-08-16 12:21:07 -04:00
dlltest.vcxproj Add Test vectors and data to VS project files 2018-12-15 04:39:12 -05: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 Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
donna_32.cpp Clear conversion warnings under MSVC 2019-10-19 12:01:06 -04:00
donna_32.h Update documentation 2018-12-24 18:17:25 -05:00
donna_64.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
donna_64.h Guard x86_64 code path 2019-10-18 11:44:23 -04:00
donna_sse.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
donna_sse.h Update documentation 2018-12-24 18:17:25 -05:00
donna.h Remove unneeded guard for CRYPTOPP_CURVE25519_64BIT 2019-10-19 02:46:35 -04:00
Doxyfile Post-release version increment 2019-04-29 00:12:18 -04:00
drbg.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
dsa.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
dsa.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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 Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
ec2n.h Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
eccrypto.cpp Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
eccrypto.h Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
ecp.cpp Fix ECP::Double and brainpoolP256r1 (GH #878) 2019-08-26 18:33:26 -04:00
ecp.h Restore ECP ABI (GH #869) 2019-08-09 17:34:14 -04:00
ecpoint.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
elgamal.cpp Clear MS LNK4221 and libtool warnings 2018-10-17 04:27:54 -04:00
elgamal.h Update documentation 2019-09-26 13:45:31 -04: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 Update documentation 2019-09-26 13:45:31 -04:00
Filelist.txt Add C++17 test program 2019-10-27 00:29:18 -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 Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
filters.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
fips140.cpp Clear unreachable code warnings under VC++ 2019-08-07 22:54:32 -04: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 IsDebuggerPresent guard for ARM64 (GH #776) 2019-01-04 20:43:19 -05:00
fltrimpl.h Cleared fall through warnings under GCC 7 (Issue 441) 2017-07-17 04:48:28 -04:00
gcm_simd.cpp Rename VecPolyMultiplyLE to VecIntelMultiply (PR #908) 2019-10-26 22:57:58 -04:00
gcm.cpp Update comments 2019-07-21 22:21:10 -04:00
gcm.h Fix clang warnings (GH #771) 2019-01-02 12:05:26 -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_simd.cpp Rename VecPolyMultiplyLE to VecIntelMultiply (PR #908) 2019-10-26 22:57:58 -04:00
gf2n.cpp Fix missing symbols in Windows DLL 2019-02-22 08:38:13 -05:00
gf2n.h Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784) 2019-01-16 00:02:04 -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 Update asserts in gfpcrypt.cpp 2019-08-24 15:48:14 -04:00
gfpcrypt.h Update documentation 2019-09-26 15:01:34 -04:00
GNUmakefile Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
GNUmakefile-cross Remove unneeded source files from Makefile 2019-10-23 18:36:05 -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 Clear conversion wanrings under MSVC 2018-08-20 14:01:05 -04:00
gzip.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
hashfwd.h Fix AlgorithmName for SHA3-based classes 2019-02-13 14:22:43 -05:00
hc128.cpp Cleanup HC128 and HC256 OperateKeystream 2018-10-25 08:24:13 -04:00
hc128.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
hc256.cpp Cleanup HC128 and HC256 OperateKeystream 2018-10-25 08:24:13 -04:00
hc256.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -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
hight.cpp Place HIGHT F0 and F1 in unnamed namespace 2018-06-24 01:39:09 -04:00
hight.h Update documentation 2019-07-04 13:57:33 -04:00
History.txt Prepare for Crypto++ 8.2 release 2019-04-28 11:30:32 -04:00
hkdf.h Fix use of MaxDerivedKeyLength (GH #874) 2019-08-16 07:12:14 -04:00
hmac.cpp Clear UBsan warning in hmac.cpp 2019-10-12 14:27:36 -04:00
hmac.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
hmqv.h Update documentation 2019-09-26 13:45:31 -04: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 Make GF2_32 class member of RawIDA 2018-12-03 08:32:22 -05:00
ida.h Fix -Wreorder warning using GCC 2018-12-06 08:39:19 -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 Update comments 2019-10-19 13:06:58 -04:00
integer.h Update documentation 2019-07-08 18:46:27 -04:00
iterhash.cpp Update comments in IterHashBase and friends 2018-07-21 06:51:41 -04:00
iterhash.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
kalyna.cpp Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools 2018-10-28 04:24:22 -04:00
kalyna.h Fix Kalyna512_Info parameter (GH #662) 2018-06-02 16:50:28 -04:00
kalynatab.cpp Add proper declaration for Kalyna tables; and split from definitions 2018-10-28 06:09:46 -04:00
keccak_core.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
keccak_simd.cpp Update comments 2019-07-21 22:21:10 -04:00
keccak.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
keccak.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
lea_simd.cpp Fix MS ARM64 compile 2019-10-16 21:39:21 -04:00
lea.cpp Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
lea.h Update documentation 2019-07-04 13:57:33 -04:00
License.txt Add ARM SHA256 asm implementation from Cryptogams (GH #840, PR #840) 2019-05-19 06:59:12 -04:00
lubyrack.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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 Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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 Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
misc.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
misc.h Clear signed/unsigned warnings under Clang 2019-10-05 21:16:07 -04:00
modarith.h Update documentation 2019-08-11 22:37:15 -04:00
modes.cpp Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -04:00
modes.h Add XTS block cipher mode of operation (GH #891, PR #892) 2019-10-12 07:14:38 -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 Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
mqv.h Update documentation 2019-09-26 13:45:31 -04:00
naclite.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
nbtheory.cpp Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -04:00
nbtheory.h Clear virtual dtor warning under Clang 2019-10-05 20:55:15 -04:00
neon_simd.cpp Fix ARM headers and Android compile (PR #896) 2019-10-16 21:00:45 -04: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 Add some missing OID's used in X.509 certificates 2019-10-01 17:56:46 -04:00
osrng.cpp Fix .Net 2002 compile 2019-08-27 14:44:27 -04:00
osrng.h Avoid potential uninitialized read in AutoSeededX917RNG 2019-07-06 02:58:43 -04:00
ossig.h Remove extra ;s from ossig.h (PR #625) 2018-03-31 12:59:25 -04:00
padlkrng.cpp Run autoupdate and libtoolize if available 2018-07-27 16:51:32 -04:00
padlkrng.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
panama.cpp Cleanup Panama cihers 2018-12-07 01:46:49 -05:00
panama.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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 Update Poly1305 nonce length check 2019-06-04 04:39:19 -04:00
poly1305.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -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_power7.cpp Rename VecPolyMultiplyLE to VecIntelMultiply (PR #908) 2019-10-26 22:57:58 -04:00
ppc_power8.cpp Add another workaround for Clang on PowerPC 2019-10-23 12:50:58 -04:00
ppc_power9.cpp Fix SIGILL in TestDARN() function 2018-11-30 09:12:35 -05:00
ppc_simd.cpp Add Power9 Random Number Generator support (GH #747, PR #748) 2018-11-27 02:54:26 -05:00
ppc_simd.h Use byte pointer for CONST_V32_CAST and NCONST_V32_CAST 2019-11-16 00:08:56 -05: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 2019-10-18 11:11:38 -04:00
pwdbased.h Update documentation 2019-10-18 11:03:23 -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 Update comments to make it clear the keystream is written 2018-07-29 12:18:22 -04:00
rabbit.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -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 Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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.asm Whitespace check-in 2019-08-06 21:42:43 -04:00
rdrand.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
rdrand.h Add Power9 Random Number Generator support (GH #747, PR #748) 2018-11-27 02:54:26 -05:00
rdseed.asm Whitespace check-in 2019-08-06 21:42:43 -04:00
rdtables.cpp Add Power8 AES decryption 2017-09-12 05:53:17 -04:00
Readme.txt Update README 2019-06-15 06:42:34 -04:00
regtest1.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
regtest2.cpp Add IETF XChaCha (GH #727, PR #794) 2019-02-06 01:03:28 -05:00
regtest3.cpp Cleanup XTS regtest name 2019-10-13 04:41:11 -04:00
regtest4.cpp Cleanup head notes and includes 2018-07-27 21:18:51 -04:00
resource.h Whitespace checkin 2016-09-10 04:57:48 -04:00
rijndael_simd.cpp Fix MS ARM64 compile 2019-10-16 21:39:21 -04:00
rijndael.cpp Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
rijndael.h Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -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 truncation warning in rng.cpp (PR #867) 2019-07-25 04:52:24 -04: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 Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
rw.cpp Make config.h more Autoconf friendly (GH #835, PR #836) 2019-05-17 15:18:17 -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 Remove C++11 constexpr code for CRYPTOPP_ALIGN_DATA (PR #830) 2019-04-30 23:00:56 -04:00
salsa.h Fix stray semicolons uder MSVC (GH #889) 2019-10-12 09:27:51 -04:00
scrypt.cpp Fix use of MaxDerivedKeyLength (GH #874) 2019-08-16 07:12:14 -04:00
scrypt.h Fix use of MaxDerivedKeyLength (GH #874) 2019-08-16 07:12:14 -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 Use size_type in allocator functions 2019-10-14 01:56:30 -04:00
secblockfwd.h Add BytePtr and ConstBytePtr overloads for SecByteBlock (GH #890) 2019-10-03 04:12:16 -04:00
seckey.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -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 Add header guard for serpentp.h 2019-06-03 06:17:58 -04:00
serpentp.h Add header guard for serpentp.h 2019-06-03 06:17:58 -04:00
sha1_armv4.h Use CRYPTOGAMS_armcap_P for ARM (GH #846) 2019-05-24 16:33:47 -04:00
sha1_armv4.S Breakout sha_block_data_order and sha_block_data_order_neon (GH #847) 2019-05-26 22:10:26 -04:00
sha3.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
sha3.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
sha256_armv4.h Use CRYPTOGAMS_armcap_P for ARM (GH #846) 2019-05-24 16:33:47 -04:00
sha256_armv4.S Breakout sha_block_data_order and sha_block_data_order_neon (GH #847) 2019-05-26 22:10:26 -04:00
sha512_armv4.h Use CRYPTOGAMS_armcap_P for ARM (GH #846) 2019-05-24 16:33:47 -04:00
sha512_armv4.S Breakout sha_block_data_order and sha_block_data_order_neon (GH #847) 2019-05-26 22:10:26 -04:00
sha_simd.cpp Fix ARM headers and Android compile (PR #896) 2019-10-16 21:00:45 -04:00
sha.cpp Breakout sha_block_data_order and sha_block_data_order_neon (GH #847) 2019-05-26 22:10:26 -04:00
sha.h Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
shacal2_simd.cpp Update comments 2019-07-21 22:21:10 -04:00
shacal2.cpp Add SHACAL2 cipher AlgorithmProvider() 2018-08-18 22:26:01 -04:00
shacal2.h Add SHACAL2 cipher AlgorithmProvider() 2018-08-18 22:26:01 -04:00
shake.cpp Enable extended output in SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-13 11:31:18 -05:00
shake.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
shark.cpp Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools 2018-10-28 04:24:22 -04: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 Update comments 2019-07-21 22:21:10 -04:00
simeck.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
simeck.h Update documentation 2019-07-04 13:57:33 -04:00
simon64_simd.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
simon128_simd.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
simon.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
simon.h Use byte pointer for CONST_V32_CAST and NCONST_V32_CAST 2019-11-16 00:08:56 -05:00
simple.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
simple.h Update documentation 2019-09-26 13:45:31 -04:00
siphash.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04: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 Clear documentation warnings 2019-05-22 02:53:26 -04: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 Add "cc" clobber due to GCC 3.3 compile failure 2018-12-29 00:09:59 -05:00
sm4.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
sm4.h Update documentation 2019-07-04 13:57:33 -04:00
smartptr.h Removed vector_ptr 2018-01-22 09:37:04 -05:00
sosemanuk.cpp Fix partial specializations for FixedSizeAllocatorWithCleanup (PR #710) 2018-08-24 08:13:23 -04:00
sosemanuk.h Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
speck64_simd.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
speck128_simd.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
speck.cpp Pre-splat SIMON and SPECK keys when appropriate for Altivec (PR #910) 2019-10-28 01:12:58 -04:00
speck.h Use byte pointer for CONST_V32_CAST and NCONST_V32_CAST 2019-11-16 00:08:56 -05: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 Use SSE2 intrinsics header in sse_simd.cpp only if needed (#759) 2018-12-23 08:49:39 -05:00
stdcpp.h Guard use of <cstddef> for Microsoft compilers (GH #781) 2019-02-04 07:18:51 -05:00
strciphr.cpp Add ability to Seek64 in test framework (GH #732) 2018-11-04 14:21:54 -05:00
strciphr.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
tea.cpp Guard use of volatile cast in TEA and XTEA 2019-06-02 05:29:08 -04:00
tea.h Update documentation 2018-10-30 09:42:42 -04:00
test.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -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 2019-07-04 13:57:33 -04:00
tiger.cpp Fix partial specializations for FixedSizeAllocatorWithCleanup (PR #710) 2018-08-24 08:13:23 -04:00
tiger.h Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
tigertab.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
trap.h Clear Doxygen warning (GH #791) 2019-01-31 19:12:27 -05:00
trunhash.h Change Doxygen comment style from //! to /// 2017-11-29 10:54:33 -05:00
ttmac.cpp Clear Clang warning about C++11 template extension 2018-12-08 09:51:42 -05:00
ttmac.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
tweetnacl.cpp Clear alignment warnings on ARM 32-bit platforms 2019-05-01 12:54:25 -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 Whitespace check-in 2019-10-19 17:19:38 -04:00
validat1.cpp Fix TestAltivecOps on AIX 2019-01-20 19:34:09 -05:00
validat2.cpp Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
validat3.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04:00
validat4.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04:00
validat5.cpp Prepare for Crypto++ 8.2 release 2019-04-28 19:09:45 -04:00
validat6.cpp Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
validat7.cpp Fix ECP leakage in Add() and Double() (GH #869, PR #871) 2019-08-05 03:51:58 -04:00
validat8.cpp Add private key test data for ElGamal 2019-08-27 06:10:38 -04:00
validat9.cpp Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
validat10.cpp Update comments 2018-07-29 20:34:29 -04:00
validate.h Clear missing initializer under early GCC 2019-10-14 09:23:53 -04:00
vc60.zip Add trap.h and ossig.h to vc60.zip 2016-09-17 18:12:45 -04:00
vmac.cpp Limit GCC workaround to 5.3 on PowerPC 2019-07-05 18:08:05 -04:00
vmac.h Clear Asan finding in VMAC under 32-bit inline ASM (GH #860) 2019-07-05 03:38:03 -04:00
vs2005.zip Update vs2005 solution files 2019-10-03 07:24:06 -04:00
wake.cpp Move constant table to unnamed namespace 2018-08-18 21:41:13 -04:00
wake.h Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
whrlpool.cpp Disable X32 inline assembly (GH #686, PR #704) 2018-08-18 04:44:53 -04:00
whrlpool.h Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
words.h Update documentation 2019-05-30 23:22:47 -04:00
x64dll.asm Rename XGETBV to XGETBV64 2019-05-21 19:44:48 -04:00
x64masm.asm CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
xed25519.cpp Use dynamic_cast in ed25519 (GH #829) 2019-04-30 20:29:21 -04:00
xed25519.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
xtr.cpp Fix missed conditions for XTR-DH domain parameters generation 2018-09-04 23:32:59 -04: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
xts.cpp Fix XTS compile on Aarch64 when CRYPTOPP_DISABLE_ASM 2019-10-19 13:23:01 -04:00
xts.h Update documentation 2019-10-14 21:42:50 -04:00
zdeflate.cpp Call base class IsolatedInitialize 2019-06-03 06:45:58 -04: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 Update Doxygen comments 2019-05-30 22:30:22 -04:00
zlib.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
zlib.h Update Doxygen comments 2019-05-30 22:30:22 -04:00

Crypto++: free C++ Class Library of Cryptographic Schemes
Version 8.3 - TBD

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, ChaCha20Poly1305 and
                                   XChaCha20Poly1305

        high speed stream ciphers  ChaCha (8/12/20), ChaCha (IETF), Panama, Salsa20,
                                   Sosemanuk, XSalsa20, XChaCha20

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

                                   ARIA, Blowfish, Camellia, CHAM, HIGHT, IDEA,
                                   Kalyna (128/256/512), LEA, SEED, RC5, SHACAL-2,
              other block ciphers  SIMON (64/128), Skipjack, SPECK (64/128),
                                   Simeck, SM4, Threefish (256/512/1024),
                                   Triple-DES (DES-EDE2 and DES-EDE3), 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, Poly1305 (IETF), 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),
                                   SHAKE (128/256), SipHash, SM3, Tiger,
                                   RIPEMD (128/160/256/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 (DH2),
            key agreement schemes  Menezes-Qu-Vanstone (MQV), Hashed MQV (HMQV),
                                   Fully Hashed MQV (FHMQV), LUCDIF, XTR-DH

      elliptic curve cryptography  ECDSA, Determinsitic ECDSA, ed25519, ECNR, ECIES,
                                   ECDH, ECMQV, x25519

          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,
    DARN, 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
      + /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 - 9.0
  * Apple Clang 4.3 - 9.3
  * LLVM Clang 2.9 - 7.0
  * C++Builder 2015
  * Intel C++ Compiler 9 - 16.0
  * Sun Studio 12u1 - 12.6
  * IBM XL C/C++ 10.0 - 13.3

*** 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.
The remdiations are applied as a best effort but are probably incomplete. They
are incomplete due to cpu speculation bugs like Spectre, Meltdown, Foreshadow.
The attacks target both cpu caches and internal buffers. Intel generally refers
to internal buffer attacks as "Microarchitectural Data Sampling" (MDS).

The library uses hardware instructions when possible for block ciphers, hashes
and other operations. The hardware acceleration remediates some timing
attacks. The library also uses cache-aware algoirthms and access patterns
to minimize leakage cache evictions.

Some of the public key algorithms have branches and some of the branches depend
on data that can be private or secret. The branching occurs in some field
operations like exponentiation over integers and elliptic curves. The branching
has been minimized but not completely eliminated.

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.

To help resist attacks you should disable hyperthreading on cpus. 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 ***

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

8.2.0 - April 28, 2019
      - minor release, no recompile of programs required
      - expanded community input and support
        * 56 unique contributors as of this release
      - use PowerPC unaligned loads and stores with Power8
      - add SKIPJACK test vectors
      - fix SHAKE-128 and SHAKE-256 compile
      - removed IS_NEON from Makefile
      - fix Aarch64 build on Fedora 29
      - fix missing GF2NT_233_Multiply_Reduce_CLMUL in FIPS DLL
      - add missing BLAKE2 constructors
      - fix missing BlockSize() in BLAKE2 classes

8.1.0 - February 22, 2019
      - minor release, no recompile of programs required
      - expanded community input and support
        * 56 unique contributors as of this release
      - fix OS X PowerPC builds with Clang
      - add Microsoft ARM64 support
      - fix iPhone Simulator build due to missing symbols
      - add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE
      - add carryless multiplies for NIST b233 and k233 curves
      - fix OpenMP build due to use of OpenMP 4 with down-level compilers
      - add SignStream and VerifyStream for ed25519 and large files
      - fix missing AlgorithmProvider in PanamaHash
      - add SHAKE-128 and SHAKE-256
      - fix AVX2 build due to _mm256_broadcastsi128_si256
      - add IETF ChaCha, XChaCha, ChaChaPoly1305 and XChaChaPoly1305

8.0.0 - December 28, 2018
      - major release, recompile of programs required
      - expanded community input and support
         * 54 unique contributors as of this release
      - add x25519 key exchange and ed25519 signature scheme
      - add limited Asymmetric Key Package support from RFC 5958
      - add Power9 DARN random number generator support
      - add CHAM, HC-128, HC-256, Hight, LEA, Rabbit, Simeck
      - fix FixedSizeAllocatorWithCleanup may be unaligned on some platforms
      - cutover to GNU Make-based cpu feature tests
      - rename files with dashes to underscores
      - fix LegacyDecryptor and LegacyDecryptorWithMAC use wrong MAC
      - fix incorrect AES/CBC decryption on Windows
      - avoid Singleton<T> when possible, avoid std::call_once completely
      - fix SPARC alignment problems due to GetAlignmentOf<T>() on word64
      - add ARM AES asm implementation from Cryptogams
      - remove CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS support

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

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