free C++ class library of cryptographic schemes
Go to file
Jeffrey Walton 08b9e21e5a
Use TCXXFLAGS for feature tests in GNUmakefile-cross
This mirrors PR #815, where we used CXXFLAGS instead of TCXXFLAGS for feature tests
2019-02-28 06:42:16 -05:00
.github Fix spelling errors 2017-11-12 15:18:05 -05:00
TestData Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
TestPrograms Fix compile when NO_OS_DEPENDENCE is defined 2019-01-08 17:03:45 -05:00
TestScripts Post-release version increment 2019-02-23 14:03:49 -05:00
TestVectors Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
.appveyor.yml Remove CMake testing support (GH #506) 2017-09-16 21:23:35 -04:00
.gitattributes Enforce LF line endings for shell scripts (#451) 2017-07-28 15:14:29 -04:00
.gitignore Add *.cxx to .gitignore 2018-07-05 23:33:44 -04:00
.travis.yml Re-enable UBsan tests on Travis 2018-12-12 09:34:09 -05:00
3way.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
3way.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
adhoc.cpp.proto Rework GNUmakefiles for XL C/C++ changes 2018-07-31 02:17:13 -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 Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784) 2019-01-16 00:02:04 -05:00
aes_armv4.h Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
aes_armv4.S Use Linux EOL conventions 2018-11-13 14:01:05 -05: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 compile on early Apple platforms. 2018-11-03 20:00:29 -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 Cleanup headers after Microsoft ARM64 port 2019-01-04 11:33:28 -05: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 Update documentation 2019-01-27 06:56:12 -05:00
asn.cpp Order of initialization for ASN.1 decoders 2018-04-06 02:29:08 -04:00
asn.h Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05: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 Fix unused variable warnings (GH #723) 2018-10-22 07:50:04 -04:00
bds10.zip Re-add bds10.zip 2016-11-12 01:35:14 -05:00
bench1.cpp Fix benchmarks when CRYPTOPP_DISABLE_ASM 2019-02-02 16:49:08 -05:00
bench2.cpp Add XChaCha20/Poly1305 benchmark 2019-02-06 16:57:36 -05:00
bench3.cpp Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
bench.h Use OS X 10.1 image for Travis testing 2018-12-08 08:08:08 -05:00
bfinit.cpp CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
blake2.cpp Add missing BLAKE2 constructors 2019-02-24 15:45:00 -05:00
blake2.h Spelling 2019-02-24 17:00:20 -05:00
blake2b_simd.cpp Cleanup headers after Microsoft ARM64 port 2019-01-04 11:33:28 -05:00
blake2s_simd.cpp Clear unused variable warning on AIX 2019-01-22 02:35:25 -05:00
blowfish.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
blowfish.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
blumshub.cpp 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 Clear alginment warning with Clang 2018-12-14 04:14:44 -05:00
chacha_simd.cpp Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784) 2019-01-16 00:02:04 -05:00
chacha.cpp Clear unused warnings with MSVC 2019-02-22 08:38:20 -05:00
chacha.h Latch previous ROUNDS in Salsa and ChaCha ciphers (GH #800, PR #804) 2019-02-12 16:56:01 -05:00
chachapoly.cpp Add IETF XChaCha20Poly1305 (GH #727, PR #795) 2019-02-06 04:14:39 -05:00
chachapoly.h Add IETF XChaCha20Poly1305 (GH #727, PR #795) 2019-02-06 04:14:39 -05:00
cham_simd.cpp Fix LEA build when SSSE3 not available 2018-12-29 00:43:26 -05:00
cham.cpp Fix AlgorithmProvider for CHAM and LEA on Solaris 2018-08-17 07:55:35 -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 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 Post-release version increment 2019-02-23 14:03:49 -05:00
cpu.cpp Add "cc" clobber due to GCC 3.3 compile failure 2018-12-29 00:09:59 -05:00
cpu.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
crc_simd.cpp Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776) 2019-01-04 11:25:55 -05:00
crc.cpp Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
crc.h Sync CRYPTOPP_{BIG|LITTLE}_ENDIAN with Autotools 2018-10-28 04:24:22 -04:00
cryptdll.vcxproj Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
cryptdll.vcxproj.filters Add Power9 Random Number Generator support (GH #747, PR #748) 2018-11-28 21:51:39 -05:00
cryptest.nmake Fix NULL device 2019-02-04 11:28:28 -05:00
cryptest.sh Add Hurd support for Makefile and cryptest.sh 2019-02-03 10:28:48 -05:00
cryptest.sln Restore Win32 as default configuration 2016-10-09 00:36:51 -04:00
cryptest.vcxproj Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
cryptest.vcxproj.filters Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
cryptest.vcxproj.user Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
cryptlib.cpp Whitespace check-in 2018-12-04 03:56:47 -05:00
cryptlib.h Post-release version increment 2019-02-23 14:03:49 -05:00
cryptlib.vcxproj Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
cryptlib.vcxproj.filters Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
cryptopp.mapfile Fix Solaris mapfile 2018-11-09 18:59:04 -05:00
cryptopp.rc Post-release version increment 2019-02-23 14:03:49 -05: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 Make temporary buffer a SecBlock for zeroization 2018-11-27 22:59:41 -05:00
datatest.cpp Add ChaChaTLS implementation (GH #265) 2019-01-24 09:36:05 -05:00
default.cpp Fix LegacyDecryptor and LegacyDecryptorWithMAC (GH #714) 2018-09-10 21:55:08 -04:00
default.h Fix LegacyDecryptor and LegacyDecryptorWithMAC (GH #714) 2018-09-10 21:55:08 -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 Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
donna_32.cpp Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797) 2019-02-10 23:08:14 -05:00
donna_32.h Update documentation 2018-12-24 18:17:25 -05:00
donna_64.cpp Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797) 2019-02-10 23:08:14 -05:00
donna_64.h Update documentation 2018-12-24 18:17:25 -05:00
donna_sse.cpp Clear unused function warning in Donna source files (GH #793) 2019-01-30 23:06:06 -05:00
donna_sse.h Update documentation 2018-12-24 18:17:25 -05:00
donna.h Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797) 2019-02-10 23:08:14 -05:00
Doxyfile Post-release version increment 2019-02-23 14:03:49 -05:00
drbg.h Cleanup DRBGs 2018-08-13 09:54:07 -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 Add init priorities for XLC compilers 2018-12-04 04:13:58 -05:00
ec2n.h Update documentation 2018-01-23 16:08:46 -05:00
eccrypto.cpp Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784) 2019-01-16 00:02:04 -05:00
eccrypto.h Rename ECGDSA_ISO15946 -> ECGDSA (#634) 2018-04-02 23:58:23 -04:00
ecp.cpp Add init priorities for XLC compilers 2018-12-04 04:13:58 -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 Clear MS LNK4221 and libtool warnings 2018-10-17 04:27:54 -04: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 Add call to DoQuickSanityCheck in HMQV and FHMQV before private key operation 2019-01-21 19:55:05 -05:00
Filelist.txt Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
files.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
files.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
filters.cpp Spelling corrections 2018-12-27 17:47:20 -05:00
filters.h Miscellaneos warning fixes (GH #739) 2018-11-13 22:04:03 -05:00
fips140.cpp Whitespace check-in 2018-10-23 07:08:33 -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 Fix self test failure with IBM XL C/C++ on AIX 2019-01-22 06:13:14 -05:00
gcm.cpp Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05: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 Fix missing GF2NT_233_Multiply_Reduce_ARMv8 on Aarch64 2019-01-27 02:18:19 -05: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 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 Use TCXXFLAGS instead of CXXFLAGS (#815) 2019-02-28 06:37:18 -05:00
GNUmakefile-cross Use TCXXFLAGS for feature tests in GNUmakefile-cross 2019-02-28 06:42:16 -05: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 Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
History.txt Post-release version increment 2019-02-23 14:03:49 -05:00
hkdf.h Split regtest2.cpp into two files 2018-07-27 18:16:25 -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 Add call to DoQuickSanityCheck in HMQV and FHMQV before private key operation 2019-01-21 19:55:05 -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 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 Use IsPowerOf2 in Integer::Divide 2019-02-05 02:05:36 -05:00
integer.h Fix VS2010 and "error C2065: uint32_t: undeclared identifier" (GH #608) 2018-03-27 19:18:44 -04:00
iterhash.cpp Update comments in IterHashBase and friends 2018-07-21 06:51:41 -04:00
iterhash.h Update comments 2018-08-24 12:19:42 -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 Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 23:12:35 -05:00
keccak.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
keccak.h Fix AlgorithmName for SHA3-based classes 2019-02-13 14:22:43 -05:00
lea_simd.cpp Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776) 2019-01-04 11:25:55 -05:00
lea.cpp Fix AlgorithmProvider for CHAM and LEA on Solaris 2018-08-17 07:55:35 -04:00
lea.h Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782) 2019-01-16 17:06:39 -05:00
License.txt Update License.txt 2019-01-30 01:35:55 -05: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 Add additional comments to Aligned Allocator (GH #779) 2019-01-16 17:04:55 -05:00
misc.h Fix spelling 2019-01-31 18:37:41 -05:00
modarith.h Fix clang warnings in headers (#655) 2018-05-10 19:59:21 -04:00
modes.cpp Clear conversion wanrings under MSVC 2018-08-20 15:05:42 -04:00
modes.h Update documentation 2018-11-15 04:39:54 -05: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 Clear MS LNK4221 and libtool warnings 2018-10-17 04:27:54 -04:00
mqv.h Update documentation 2018-01-22 20:13:18 -05:00
naclite.h Fix self test NEON compile with MSVC compiler (GH #776) 2019-01-03 21:00:22 -05: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 Fix <arm_neon.h> include for ARM64 with MSVC compiler (GH #776) 2019-01-04 11:25:55 -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 Add curve ids for x25519, ed25519, x448 and ed448 2018-12-18 17:53:39 -05:00
osrng.cpp Update comments 2019-01-05 12:48:39 -05: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 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 missing AlgorithmProvider() on PanamaHash (GH #801, PR #803) 2019-02-12 15:05:39 -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 Clear unused warnings with MSVC 2019-02-22 08:38:20 -05:00
poly1305.h Update documentation 2019-01-27 12:13:09 -05:00
polynomi.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
polynomi.h Cleanup Doxygen directives 2018-01-21 19:11:45 -05:00
ppc_power7.cpp Fix POWER8 compile when -DCRYPTOPP_DISABLE_ALTIVEC 2018-11-22 22:23:44 -05:00
ppc_power8.cpp Use vec_revb when POWER9 is available 2018-11-23 12:16:45 -05: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 VectMergeLow and VecMergeHigh 2019-01-21 03:04:07 -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 Fix clang warnings (GH #771) 2019-01-02 12:05:26 -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 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 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 missing RDRAND and RDSEED GenerateBlock functions when CRYPTOPP_DISABLE_ASM 2018-12-28 12:45:34 -05:00
rdrand.h Add Power9 Random Number Generator support (GH #747, PR #748) 2018-11-27 02:54:26 -05:00
rdrand.s Rename rdrand.S to rdrand.s 2017-03-23 16:05:30 -04:00
rdtables.cpp Add Power8 AES decryption 2017-09-12 05:53:17 -04:00
Readme.txt Post-release version increment 2019-02-23 14:03:49 -05: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 Add IETF XChaCha20Poly1305 (GH #727, PR #795) 2019-02-06 04:14:39 -05: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 Clear duplicate declaration warning using MSVC 2019-01-04 18:49:14 -05:00
rijndael.cpp Avoid use of NDEBUG in source files 2018-12-03 04:18:41 -05:00
rijndael.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05: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 SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
salsa.h Latch previous ROUNDS in Salsa and ChaCha ciphers (GH #800, PR #804) 2019-02-12 16:56:01 -05:00
scrypt.cpp Drop use of static in unnamed namespace 2019-01-23 06:15:51 -05:00
scrypt.h Update documentation 2019-01-20 22:43:00 -05: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 spelling 2019-02-06 01:23:27 -05:00
seckey.h Fix clang warnings (GH #771) 2019-01-02 12:05:26 -05:00
seed.cpp Fix Clang 5.0 "runtime error: addition of unsigned offset to 0xXXXX overflowed to 0xYYYY" (GH #549) 2017-12-16 18:18:53 -05:00
seed.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
serpent.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
serpent.h 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 Don't add the flag CRYPTOPP_DISABLE_ASM twice for iPhone simulator builds (GH #778) 2019-01-11 16:40:48 -05:00
sha3.cpp Add SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-12 19:51:37 -05:00
sha3.h Fix AlgorithmName for SHA3-based classes 2019-02-13 14:22:43 -05:00
sha_simd.cpp Use carryless multiplies for NIST b233 and k233 curves (GH #783, PR #784) 2019-01-16 00:02:04 -05:00
sha.cpp Restore unnamed namespace for SHA512_HashBlock_SSE2 (GH #684) 2018-12-28 18:05:06 -05: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 Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05: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 Update documentation 2019-02-15 08:57:54 -05: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 Fix SIMECK build when SSSE3 not available 2018-12-29 00:49:43 -05:00
simeck.cpp Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
simeck.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
simon64_simd.cpp Cleanup headers after Microsoft ARM64 port 2019-01-04 11:33:28 -05:00
simon128_simd.cpp Cleanup headers after Microsoft ARM64 port 2019-01-04 11:43:38 -05:00
simon.cpp Cleanup debug information from SIMON source files 2018-11-21 13:05:59 -05:00
simon.h Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782) 2019-01-16 17:06:39 -05: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 Add "cc" clobber due to GCC 3.3 compile failure 2018-12-29 00:09:59 -05:00
sm4.cpp Fix UBsan finding on PowerPC under Clang 7.0 2018-11-22 16:27:16 -05:00
sm4.h Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782) 2019-01-16 17:06:39 -05: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 Cleanup headers after Microsoft ARM64 port 2019-01-04 11:33:28 -05:00
speck128_simd.cpp Cleanup headers after Microsoft ARM64 port 2019-01-04 11:43:38 -05:00
speck.cpp Fix SIMON64 and SPECK64 providers 2018-11-12 22:03:26 -05:00
speck.h Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782) 2019-01-16 17:06:39 -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 Update documentation 2019-01-26 00:12:11 -05:00
tea.cpp Clear clang-tidy warnings 2018-01-24 15:35:45 -05:00
tea.h Update documentation 2018-10-30 09:42:42 -04:00
test.cpp Enable extended output in SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-13 11:31:18 -05:00
tftables.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
threefish.cpp Fix "variable tracking size limit exceeded" with UBsan 2017-11-26 05:27:03 -05:00
threefish.h Update documentation 2018-07-13 09:54:06 -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 Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
tweetnacl.cpp Use W64LIT instead of word64 cast 2019-01-08 12:33:13 -05:00
tweetnacl.h Add interface to TweetNaCl library (#566) 2018-01-17 22:02:09 -05:00
twofish.cpp Switch to rotlConstant and rotrConstant 2017-11-25 02:52:19 -05:00
twofish.h Update documentation 2018-01-22 20:13:18 -05:00
validat0.cpp Whitespace check-in 2019-01-21 22:16:49 -05:00
validat1.cpp Fix TestAltivecOps on AIX 2019-01-20 19:34:09 -05:00
validat2.cpp Split validat*.cpp source files 2018-07-28 14:57:12 -04:00
validat3.cpp Enable extended output in SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-13 11:31:18 -05:00
validat4.cpp Add ChaChaTLS implementation (GH #265) 2019-01-24 09:36:05 -05:00
validat5.cpp Enable extended output in SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-13 11:31:18 -05:00
validat6.cpp Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
validat7.cpp Add ed25519 SignStream and VerifyStream functions (GH #796, PR #797) 2019-02-10 23:08:14 -05:00
validat8.cpp Add search for test vectors and test data (GH #760) 2018-12-07 12:25:52 -05: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 Enable extended output in SHAKE-128 and SHAKE-256 (GH #805, PR #806) 2019-02-13 11:31:18 -05:00
vc60.zip Add trap.h and ossig.h to vc60.zip 2016-09-17 18:12:45 -04:00
vmac.cpp Fix _M_IX86 typo 2019-01-04 20:33:53 -05:00
vmac.h Add CRYPTOPP_DISABLE_MIXED_ASM define and feature test (GH #756, PR #757) 2018-12-05 13:22:10 -05:00
vs2005.zip Update VS2005.zip with SIMECK simd file 2018-12-28 11:11:08 -05: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 Add Integer bitwise AND, OR and XOR (Issue 336) 2016-11-23 21:55:30 -05:00
x64dll.asm Use consistent suffix for SSE2 ASM 2018-08-20 07:16:59 -04:00
x64masm.asm CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
xed25519.cpp Clear unused warnings with MSVC 2019-02-22 08:38:20 -05:00
xed25519.h Update documentation 2019-02-11 12:44:30 -05: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
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 8.1 - FEB/22/2019

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. We
believe the library is mostly hardened but the remdiations may be incomplete. The
first line of defense uses hardware instructions when possible for block ciphers,
hashes and other primitives. Hardware acceleration remediates many timing attacks.
The library also uses cache-aware algoirthms and access patterns to minimize leakage.

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.

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