free C++ class library of cryptographic schemes
Go to file
2022-05-07 10:22:41 -04:00
.github Create c-cpp.yml 2020-12-28 09:44:30 -05:00
TestData Regenerate ElGamal test data 2019-08-24 17:49:41 -04:00
TestPrograms Fix SM3 and SM4 test programs 2022-02-13 18:21:54 -05:00
TestScripts Update cryptest.sh 2022-05-07 10:22:41 -04:00
TestVectors Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
.appveyor.yml Add Visual Studio 2019 to AppVeyor build worker 2019-10-14 06:08:38 -04:00
.cirrus.yml Update Cirrius configuration 2020-07-07 21:03:19 -04:00
.gitattributes Enforce LF line endings for shell scripts (#451) 2017-07-28 15:14:29 -04:00
.gitignore Update .gitignore (#1083) 2022-02-13 21:42:48 -05:00
.travis.yml Update test scripts 2021-02-07 06:31:33 -05:00
3way.cpp Fix spelling 2020-12-27 00:59:39 -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 Add EnumToInt conversion macro for enum-enum conversion warnings (GH #1016) 2021-03-09 22:51:19 -05:00
aes_armv4.h Consistently use cryptogams_ prefix for Andy Polyakov's code (PR #952) 2020-12-26 03:16:42 -05:00
aes_armv4.S Rename cryptogams_AES_set_enc2dec_key_ARM function (GH #952) 2020-12-27 16:05:53 -05:00
aes.h Fix semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
algebra.cpp Disable GCC Analyzer test 2020-05-10 04:53:45 -04:00
algebra.h Fix typos 2021-02-03 04:12:33 -05:00
algparam.cpp Remove g_pAssignIntToInteger pointer, add CRYPTOPP_NO_ASSIGN_TO_INTEGER (Issue 389) 2017-03-25 16:38:42 -04:00
algparam.h Add C++11 auto feature detection 2020-08-06 06:40:16 -04:00
allocate.cpp Cleanup asserts in SecBlock 2019-10-14 01:00:49 -04:00
allocate.h Fix spelling 2020-12-21 14:59:20 -05: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 Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -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 Update documentation 2022-02-13 18:33:08 -05:00
asn.cpp Make bt const in BERDecodePeekLength 2019-10-08 07:41:01 -04:00
asn.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
authenc.cpp Add sanity check to AuthenticatedSymmetricCipherBase::TruncatedFinal (GH #954) 2020-07-07 01:15:06 -04: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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
basecode.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
bds10.zip Re-add bds10.zip 2016-11-12 01:35:14 -05:00
bench1.cpp Update benchmarks 2021-05-31 00:21:50 -04:00
bench2.cpp Use better names than Benchmark1, Benchmark2, etc 2020-12-15 23:03:10 -05:00
bench3.cpp Update public keys for benchmarking (GH #1013) 2021-03-05 00:07:54 -05:00
bench.h Use better names than Benchmark1, Benchmark2, etc 2020-12-15 23:03:10 -05:00
bfinit.cpp Revert BlowfishCompat changes (PR #877) 2019-10-12 09:40:34 -04:00
blake2.cpp Update comments 2020-04-11 08:36:02 -04:00
blake2.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
blake2b_simd.cpp Fix ppc64le build with Clang 2020-07-02 00:53:34 -04:00
blake2s_simd.cpp Update BLAKE2s to avoid dependency on b 2020-07-06 21:55:10 -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 Update documentation 2020-04-09 11:52:05 -04: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
cbcmac.cpp
cbcmac.h Update CBC-MAC documentation 2021-04-10 00:13:44 -04: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 Fix ChaCha AVX2 implementation (GH #1069) 2021-09-20 12:31:32 -04:00
chacha_simd.cpp Fix ChaCha AVX2 implementation (GH #1069) 2021-09-20 12:31:32 -04:00
chacha.cpp Fix ChaCha AVX2 implementation (GH #1069) 2021-09-20 12:31:32 -04:00
chacha.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
chachapoly.cpp Clear truncation warnings with early MSVC compilers 2019-10-03 06:49:03 -04:00
chachapoly.h Update documentation 2020-12-20 22:42:16 -05:00
cham_simd.cpp Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
cham.cpp Clear MSVC warning 2021-04-26 17:16:28 -04:00
cham.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -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 Clear Clang finding in CMAC 2021-04-20 01:23:01 -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 Update documentation 2020-12-25 20:32:21 -05:00
config_asm.h Fix 32-bit ARM build 2022-02-11 08:07:33 -05:00
config_cpu.h Update documentation 2020-12-25 20:32:21 -05:00
config_cxx.h Remove CRYPTOPP_NO_CXX11 2021-03-25 16:23:27 -04:00
config_dll.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
config_int.h Update documentation 2020-12-27 02:14:08 -05:00
config_misc.h Add LSH dynamic dispatch (PR #1032) 2021-04-26 04:50:48 -04:00
config_ns.h Update documentation 2020-12-25 20:32:21 -05:00
config_os.h Update compiler versions 2021-04-21 13:41:35 -04:00
config_ver.h Post-release version increment 2021-09-24 11:15:49 -04:00
config.h Update documentation 2020-12-25 20:32:21 -05:00
cpu.cpp Update g_PowerPcDetectionDone variable name 2022-03-21 07:46:19 -04:00
cpu.h Update g_PowerPcDetectionDone variable name 2022-03-21 07:46:19 -04:00
crc_simd.cpp Avoid intermediate stores when using _mm_crc32_u32 2021-05-26 02:10:36 -04:00
crc.cpp Rename files with dashes to underscores (GH #736) 2018-11-10 08:00:14 -05:00
crc.h Update documentation 2021-11-29 10:54:17 -05:00
cryptdll.vcxproj Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
cryptdll.vcxproj.filters Avoid circular dependency using AlignedAllocate (GH #885) 2019-09-28 18:22:11 -04:00
cryptest.nmake Use CPPFLAGS in NMake recipes 2022-02-12 17:01:48 -05:00
cryptest.sln Restore Win32 as default configuration 2016-10-09 00:36:51 -04:00
cryptest.vcxproj Fix typos (PR# 1099) 2022-01-04 05:06:35 -05: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 Whitespace check-in 2021-03-04 22:49:25 -05:00
cryptlib.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
cryptlib.vcxproj Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
cryptlib.vcxproj.filters Add LSH dynamic dispatch (PR #1032) 2021-04-26 04:50:48 -04:00
cryptopp.mapfile Fix Solaris mapfile 2018-11-09 18:59:04 -05:00
cryptopp.rc Post-release version increment 2021-09-24 11:15:49 -04:00
cryptopp.supp Add Valgrind suppression file to file list (GH #543) 2017-11-29 07:15:42 -05:00
darn.cpp Add LSH dynamic dispatch (PR #1032) 2021-04-26 04:50:48 -04:00
darn.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
datatest.cpp Add LSH dynamic dispatch (PR #1032) 2021-04-26 04:50:48 -04:00
default.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
default.h Whitespace check-in 2021-03-04 22:49:25 -05: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 Avoid memcpy in AdditiveCipherTemplate<S>::ProcessData (GH #683, GH #1010, PR #1019) 2021-03-16 22:01:24 -04: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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
donna_32.h Update documentation 2018-12-24 18:17:25 -05:00
donna_64.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
donna_64.h Guard x86_64 code path 2019-10-18 11:44:23 -04:00
donna_sse.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
donna_sse.h Update documentation 2018-12-24 18:17:25 -05:00
donna.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
Doxyfile Post-release version increment 2021-09-24 11:15:49 -04:00
drbg.h Whitespace check-in 2021-03-04 22:49:25 -05:00
dsa.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
dsa.h Update documentation 2020-12-08 00:15:19 -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 Use define CRYPTOPP_CXX11_STATIC_INIT name 2020-08-07 19:11:47 -04:00
ec2n.h Fix typos 2021-02-03 04:12:33 -05: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 typos (PR# 1099) 2022-01-04 05:06:35 -05:00
ecp.cpp Revert c9ef9420e7 (GH #994) 2020-12-30 04:54:52 -05:00
ecp.h Fix typos 2021-02-03 04:12:33 -05:00
ecpoint.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
elgamal.cpp Clear MS LNK4221 and libtool warnings 2018-10-17 04:27:54 -04:00
elgamal.h Use subgroup order in ElGamal encryption (GH #1059, CVE-2021-40530) 2021-09-23 23:33:23 -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 Fix typos 2021-02-03 04:12:33 -05:00
esign.cpp Removed "typedef SHA1 SHA" (Issue 369) 2017-04-24 05:05:14 -04:00
esign.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
factory.h Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
fhmqv.h Update documentation 2019-09-26 13:45:31 -04:00
Filelist.txt Rename PowerPC specific files 2022-03-29 22:02:19 -04:00
files.cpp Cleanup FileStore::TransferTo2 2021-02-28 08:37:31 -05:00
files.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
filters.cpp Whitespace check-in 2021-03-04 22:49:25 -05:00
filters.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
fips140.cpp Clear unreachable code warnings under VC++ 2019-08-07 22:54:32 -04:00
fips140.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
fipsalgt.cpp Remove unused "USING_NAMESPACE(std)" 2018-01-14 21:38:39 -05:00
fipstest.cpp Fix MSVC compile error with VS2019 2020-09-11 06:03:55 -04:00
fltrimpl.h Cleared fall through warnings under GCC 7 (Issue 441) 2017-07-17 04:48:28 -04:00
gcm_simd.cpp Fix SIGIL on PowerPC during cpu feature probes (GH #1115) 2022-03-29 21:06:48 -04:00
gcm.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -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 Update comments (GH #1036) 2021-04-30 09:19:59 -04:00
gf2n.cpp Use define CRYPTOPP_CXX11_STATIC_INIT name 2020-08-07 19:11:47 -04:00
gf2n.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
GNUmakefile Rename PowerPC specific files 2022-03-29 22:02:19 -04:00
GNUmakefile-cross Rename PowerPC specific files 2022-03-29 22:02:19 -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 Add EnumToInt conversion macro for enum-enum conversion warnings (GH #1016) 2021-03-09 22:51:19 -05:00
hc128.h Prepare for Crypto++ 8.0 release 2018-12-27 18:30:38 -05:00
hc256.cpp Add EnumToInt conversion macro for enum-enum conversion warnings (GH #1016) 2021-03-09 22:51:19 -05: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.6 release 2021-09-24 11:05:29 -04:00
hkdf.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
hmac.cpp Clean GCC 10 Analyzer warnings 2020-05-10 01:25:39 -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 Clear Clang -Wdocumentation warnings 2020-12-15 03:37:48 -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 Update Install.txt (PR #1092) 2021-12-08 06:21:50 -05:00
integer.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
integer.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
iterhash.cpp Update comments in IterHashBase and friends 2018-07-21 06:51:41 -04:00
iterhash.h Use non-virtual IteratedHashWithStaticTransform::Init in ctor (GH #147) 2021-06-03 21:10:59 -04:00
kalyna.cpp Fix aliasing violations in Kalyna 2020-04-13 19:02:39 -04:00
kalyna.h Fix aliasing violations in Kalyna 2020-04-13 19:02:39 -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 Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -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 typos (PR# 1099) 2022-01-04 05:06:35 -05:00
lea_simd.cpp Fix compile on CentOS 5 2021-07-03 02:27:05 -04:00
lea.cpp Remove double semicolons after sed'ing defines 2019-10-03 20:44:33 -04:00
lea.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
License.txt Update License.txt 2021-11-29 10:43:03 -05:00
lsh256_avx.cpp Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
lsh256_sse.cpp Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
lsh256.cpp Clear Clang warnings on Android 2021-04-26 05:54:22 -04:00
lsh512_avx.cpp Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
lsh512_sse.cpp Squash linker and libtool warnings 2022-02-10 12:08:03 -05:00
lsh512.cpp Clear Clang warnings on Android 2021-04-26 05:54:22 -04:00
lsh.h Add LSH dynamic dispatch (PR #1032) 2021-04-26 04:50:48 -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 MD2 AlgorithmName 2021-04-08 07:53:41 -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 typos (PR# 1099) 2022-01-04 05:06:35 -05:00
misc.cpp Try fix ProcessData in CFB_CipherTemplate and AdditiveCipherTemplate 2022-02-13 21:18:43 -05:00
misc.h Cleanup after merging PR #1043 2022-02-14 09:08:10 -05:00
modarith.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
modes.cpp Fix CTR mode when using FileSource (GH #683, GH #1010) 2021-03-17 12:17:27 -04:00
modes.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -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 Update MessageQueue documentation 2021-04-10 05:32:39 -04: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 Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
nbtheory.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
nbtheory.h Whitespace check-in 2021-03-04 22:49:25 -05:00
neon_simd.cpp Restore SIGILL handler if sigprocmask fails 2020-02-17 14:15:02 -05:00
nr.h Update documentation 2020-12-15 03:52:56 -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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
osrng.cpp Fix Cygwin NonblockingRng build due to missing O_NOFOLLOW 2022-02-27 16:28:32 -05:00
osrng.h Add EnumToInt conversion macro for enum-enum conversion warnings (GH #1016) 2021-03-09 22:51:19 -05:00
ossig.h Fix typos 2021-02-03 04:12:33 -05:00
padlkrng.cpp Fix Padlock RNG code 2020-07-27 19:39:34 -04:00
padlkrng.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05: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
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 typos (PR# 1099) 2022-01-04 05:06:35 -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
power7_ppc.cpp Rename PowerPC specific files 2022-03-29 22:02:19 -04:00
power8_ppc.cpp Rename PowerPC specific files 2022-03-29 22:02:19 -04:00
power9_ppc.cpp Rename PowerPC specific files 2022-03-29 22:02:19 -04:00
ppc_simd.cpp Restore SIGILL handler if sigprocmask fails 2020-02-17 14:15:02 -05:00
ppc_simd.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
pssr.cpp C++17 compatible lambda expressions to replace bind2nd (#559) 2018-01-12 08:38:56 -05:00
pssr.h Whitespace check-in 2021-03-04 22:49:25 -05:00
pubkey.cpp Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
pubkey.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
pwdbased.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
queue.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
queue.h Update MessageQueue documentation 2021-04-10 05:32:39 -04:00
rabbit.cpp Add EnumToInt conversion macro for enum-enum conversion warnings (GH #1016) 2021-03-09 22:51:19 -05: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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
randpool.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
rdrand.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -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 Prepare for Crypto++ 8.6 release 2021-09-24 11:05:29 -04:00
regtest1.cpp Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026) 2021-04-16 03:23:15 -04:00
regtest2.cpp Fix spelling 2020-12-18 20:04:43 -05:00
regtest3.cpp Add additional HIGHT test vectors (GH #672, GH #1010) 2021-03-18 00:49:39 -04:00
regtest4.cpp Fix spelling 2020-12-18 20:04:43 -05:00
resource.h Whitespace checkin 2016-09-10 04:57:48 -04:00
rijndael_simd.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -04:00
rijndael.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05: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 Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
rsa.cpp Fix use of bitwise OR with booleans in rsa.cpp (GH #1114) 2022-03-26 09:09:19 -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 Update documentation 2021-02-26 13:38:12 -05:00
scrypt.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
scrypt.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -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 Update documentation 2021-04-09 23:14:21 -04:00
secblockfwd.h Add BytePtr and ConstBytePtr overloads for SecByteBlock (GH #890) 2019-10-03 04:12:16 -04:00
seckey.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
Security.md Update SECURITY.md 2020-12-20 21:33:18 -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 2020-01-01 21:08:21 -05:00
serpentp.h Add header guard for serpentp.h 2019-06-03 06:17:58 -04:00
sha1_armv4.h Fix spelling 2020-12-27 00:59:39 -05:00
sha1_armv4.S Consistently use cryptogams_ prefix for Andy Polyakov's code (PR #952) 2020-12-26 03:16:42 -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 semicolons yet again (GH #889) 2019-10-14 12:30:10 -04:00
sha256_armv4.h Fix spelling 2020-12-27 00:59:39 -05:00
sha256_armv4.S Consistently use cryptogams_ prefix for Andy Polyakov's code (PR #952) 2020-12-26 03:16:42 -05:00
sha512_armv4.h Fix spelling 2020-12-27 00:59:39 -05:00
sha512_armv4.S Consistently use cryptogams_ prefix for Andy Polyakov's code (PR #952) 2020-12-26 03:16:42 -05:00
sha_simd.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -04:00
sha.cpp Use CRYPTOPP_ARM_NEON_AVAILABLE in sha.cpp 2022-02-10 21:29:30 -05:00
sha.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
shacal2_simd.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -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 typos (PR# 1099) 2022-01-04 05:06:35 -05:00
shark.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
shark.h Update documentation 2018-01-22 19:50:11 -05:00
sharkbox.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
simeck.cpp Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
simeck.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
simon128_simd.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -04:00
simon.cpp Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
simon.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
simple.cpp Change file preamble to include "originally written by Wei Dai" 2017-01-27 07:05:45 -05:00
simple.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
siphash.h Fix Visual Studio build (GH # 1105) 2022-02-11 21:37:03 -05:00
skipjack.cpp
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 Update documentation 2021-04-14 08:10:03 -04:00
sm4_simd.cpp Update comments 2020-04-11 08:36:02 -04:00
sm4.cpp Clear unreachable code warnings with early MSVC compilers 2019-10-03 06:41:46 -04:00
sm4.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
smartptr.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -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
speck128_simd.cpp Move M128_CAST and CONST_M128_CAST to config_asm.h 2021-04-20 01:48:03 -04:00
speck.cpp Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
speck.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -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 Restore SIGILL handler if sigprocmask fails 2020-02-17 14:15:02 -05:00
stdcpp.h Use CRYPTOPP_CXX11_ATOMIC define 2020-08-06 03:08:37 -04:00
strciphr.cpp Try fix ProcessData in CFB_CipherTemplate and AdditiveCipherTemplate 2022-02-13 21:18:43 -05:00
strciphr.h Try fix ProcessData in CFB_CipherTemplate and AdditiveCipherTemplate 2022-02-13 21:18:43 -05:00
tea.cpp Guard use of volatile cast in TEA and XTEA 2019-06-02 05:29:08 -04:00
tea.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
test.cpp Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026) 2021-04-16 03:23:15 -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 typo in CRYPTO_ASSERT (PR #918) 2019-12-06 11:14:39 -05:00
tiger.h Update comments 2021-03-17 17:57:24 -04:00
tigertab.cpp Whitespace checkin 2016-09-10 04:57:48 -04:00
trap.h Fix DebugTrapHandler 2020-12-07 00:48:40 -05:00
trunhash.h Update documentation 2020-12-15 04:05:17 -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 Update documentation 2020-12-15 03:58:05 -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 Clear Visual Studio warning 2022-02-12 16:02:41 -05:00
validat1.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
validat2.cpp Add additional Integer bitops tests 2021-10-08 00:26:12 -04:00
validat3.cpp Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026) 2021-04-16 03:23:15 -04:00
validat4.cpp Use ConstBytePtr and BytePtrSize in test 2020-04-13 00:38:09 -04:00
validat5.cpp Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026) 2021-04-16 03:23:15 -04:00
validat6.cpp Remove unneeded fail variable 2020-12-30 15:36:26 -05:00
validat7.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
validat8.cpp Clear Clang warnings 2021-03-21 08:06:10 -04:00
validat9.cpp Add ed25519 (GH #764, PR #767) 2018-12-24 17:17:32 -05:00
validat10.cpp Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
validate.h Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026) 2021-04-16 03:23:15 -04:00
vc60.zip Add trap.h and ossig.h to vc60.zip 2016-09-17 18:12:45 -04:00
vmac.cpp Update comments in VMAC 2020-07-09 12:16:55 -04:00
vmac.h Re-enable SSE2 probes for Solaris 2020-02-22 16:18:43 -05:00
vs2005.zip Update vs2005 project files 2021-04-26 17:26:23 -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 Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
x64dll.asm Avoid using stack space for CPUID64 (GH #1116) 2022-04-06 00:14:02 -04:00
x64masm.asm
xed25519.cpp Fix ed25519Signer and ed25519Verifier 2021-09-15 04:42:31 -04:00
xed25519.h Fix typos (PR# 1099) 2022-01-04 05:06:35 -05:00
xtr.cpp Use define CRYPTOPP_CXX11_STATIC_INIT name 2020-08-07 19:11:47 -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 Update misc.cpp and xts.cpp header includes 2022-02-13 20:06:04 -05:00
xts.h Update documentation 2021-04-16 18:46:16 -04:00
zdeflate.cpp Call base class IsolatedInitialize 2019-06-03 06:45:58 -04:00
zdeflate.h Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -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.7 - 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), XTS

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

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

                                   RSA, DSA, Deterministic 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, Deterministic 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 originally 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 - 2019
  * GCC 3.3 - 10.1
  * Apple Clang 4.3 - 12.0
  * LLVM Clang 2.9 - 11.0
  * C++ Builder 2015
  * Intel C++ Compiler 9 - 16.0
  * Sun Studio 12u1 - 12.6
  * IBM XL C/C++ 10.0 - 14.0

*** 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 [Historical Validation List](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140val-historical.htm).
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 algorithms and access patterns
to minimize leakage cache evictions.

Elliptic curves over binary fields are believed to leak information. The task is a
work in progress. We don't believe binary fields are used in production, so we feel it
is a low risk at the moment.

Crypto++ does not engage 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 nurture 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.6.0 - September 21, 2021
      - minor release, recompile of programs required
      - expanded community input and support
        * 74 unique contributors as of this release
      - fix ElGamal encryption
      - fix ChaCha20 AVX2 implementation
      - add octal and decimal literal prefix parsing to Integer
      - add missing overload in ed25519Signer and ed25519Verifier
      - make SHA-NI independent of AVX and AVX2
      - fix OldRandomPool GenerateWord32
      - use CPPFLAGS during feature testing
      - fix compile on CentOS 5
      - fix compile on FreeBSD
      - fix feature testing on ARM A-32 and Aarch64
      - enable inline ASM for CRC and PMULL on Apple M1
      - fix Intel oneAPI compile
      - rename test files with *.cpp extension
      - fix GCC compile error due to missing _mm256_set_m128i
      - add LSH-256 and LSH-512 hash functions
      - add ECIES_P1363 for backwards compatibility
      - fix AdditiveCipherTemplate<T> ProcessData
      - remove CRYPTOPP_NO_CXX11 define
      - add -fno-common for Darwin builds
      - update documentation

8.5.0 - March 7, 2021
      - minor release, no recompile of programs required
      - expanded community input and support
        * 70 unique contributors as of this release
      - port to Apple M1 hardware

8.4.0 - January 2, 2021
      - minor release, recompile of programs required
      - expanded community input and support
        * 67 unique contributors as of this release
      - fix SIGILL on POWER8 when compiling with GCC 10
      - fix potential out-of-bounds write in FixedSizeAllocatorWithCleanup
      - fix compile on AIX POWER7 with IBM XLC 12.01
      - fix compile on Solaris with SunCC 12.6
      - revert changes for constant-time elliptic curve algorithms
      - fix makefile clean and distclean recipes

8.3.0 - December 20, 2020
      - minor release, recompile of programs required
      - expanded community input and support
        * 66 unique contributors as of this release
      - fix use of macro CRYPTOPP_ALIGN_DATA
      - fix potential out-of-bounds read in ECDSA
      - fix std::bad_alloc when using ByteQueue in pipeline
      - fix missing CRYPTOPP_CXX17_EXCEPTIONS with Clang
      - fix potential out-of-bounds read in GCM mode
      - add configure.sh when preprocessor macros fail
      - fix potential out-of-bounds read in SipHash
      - fix compile error on POWER9 due to vec_xl_be
      - fix K233 curve on POWER8
      - add Cirrus CI testing
      - fix broken encryption for some 64-bit ciphers
      - fix Android cpu-features.c using C++ compiler
      - disable RDRAND and RDSEED for some AMD processors
      - fix BLAKE2 hash calculation using Salt and Personalization
      - refresh Android and iOS build scripts
      - add XTS mode
      - fix circular dependency between misc.h and secblock.h
      - add Certificate interface
      - fix recursion in AES::Encryption without AESNI
      - add missing OID for ElGamal encryption
      - fix missing override in KeyDerivationFunction-derived classes
      - fix RDSEED assemble under MSVC
      - fix elliptic curve timing leaks (CVE-2019-14318)
      - add link-library variable to Makefiles
      - fix SIZE_MAX definition in misc.h
      - add GetWord64 and PutWord64 to BufferedTransformation
      - use HKDF in AutoSeededX917RNG::Reseed
      - fix Asan finding in VMAC on i686 in inline asm
      - fix undeclared identifier _mm_roti_epi64 on Gentoo
      - fix ECIES and GetSymmetricKeyLength
      - fix possible divide by zero in PKCS5_PBKDF2_HMAC
      - refine ASN.1 encoders and decoders
      - disable BMI2 code paths in Integer class
      - fix use of CRYPTOPP_CLANG_VERSION
      - add NEON SHA1, SHA256 and SHA512 from Cryptogams
      - add ARM SHA1, SHA256 and SHA512 from Cryptogams
      - make config.h more autoconf friendly
      - handle Clang triplet armv8l-unknown-linux-gnueabihf
      - fix reference binding to misaligned address in xed25519
      - clear asserts in TestDataNameValuePairs

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

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