free C++ class library of cryptographic schemes
Go to file
2004-07-03 01:19:39 +00:00
TestVectors add XTEA and BTEA 2003-07-30 00:28:54 +00:00
3desval.dat Initial revision 2002-10-04 17:31:41 +00:00
3way.cpp Initial revision 2002-10-04 17:31:41 +00:00
3way.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
3wayval.dat Initial revision 2002-10-04 17:31:41 +00:00
adhoc.cpp.proto avoid deleting adhoc.cpp during rebuild 2003-03-23 05:03:39 +00:00
adler32.cpp Initial revision 2002-10-04 17:31:41 +00:00
adler32.h Initial revision 2002-10-04 17:31:41 +00:00
aes.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
algebra.cpp port to GCC 3.4 2004-06-19 08:28:09 +00:00
algebra.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
algparam.cpp added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
algparam.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
arc4.cpp fix bugs in SEAL and Panama 2003-03-26 21:50:44 +00:00
arc4.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
argnames.h misc changes 2003-07-18 04:35:30 +00:00
asn.cpp fix encoding/decoding of optional attributes 2004-06-19 08:26:29 +00:00
asn.h fix encoding/decoding of optional attributes 2004-06-19 08:26:29 +00:00
base32.cpp add base 32 (Frank Palazzolo) 2003-07-18 04:34:12 +00:00
base32.h add base 32 (Frank Palazzolo) 2003-07-18 04:34:12 +00:00
base64.cpp misc changes 2003-07-18 04:35:30 +00:00
base64.h misc changes 2003-07-18 04:35:30 +00:00
basecode.cpp misc changes 2003-07-18 04:35:30 +00:00
basecode.h allow DLL to be built with VC++ .NET 2003-07-18 21:33:18 +00:00
bench2.cpp split bench.cpp in 2 for alpha (.got subsegment exceeds 64K) 2003-07-29 01:16:22 +00:00
bench.cpp avoid hash keyword 2004-04-08 02:02:29 +00:00
bench.h add b2 command 2003-08-01 03:07:33 +00:00
bfinit.cpp Initial revision 2002-10-04 17:31:41 +00:00
blowfish.cpp Initial revision 2002-10-04 17:31:41 +00:00
blowfish.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
blumshub.cpp fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
blumshub.h fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
camellia.cpp minor changes related to NESSIE algorithms 2003-04-23 00:51:42 +00:00
camellia.dat add missing .dat files 2003-04-22 00:29:08 +00:00
camellia.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
cast128v.dat Initial revision 2002-10-04 17:31:41 +00:00
cast256v.dat Initial revision 2002-10-04 17:31:41 +00:00
cast.cpp reduce warnings on GCC 2003-11-05 01:11:03 +00:00
cast.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
casts.cpp Initial revision 2002-10-04 17:31:41 +00:00
cbcmac.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
cbcmac.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
channels.cpp fix bug in ChannelSwitch::ChannelCreatePutSpace() when a channel has only one route 2003-07-18 02:52:49 +00:00
channels.h added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
config.h port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
crc.cpp Initial revision 2002-10-04 17:31:41 +00:00
crc.h Initial revision 2002-10-04 17:31:41 +00:00
cryptdll.dsp remove extraneous source control settings 2003-10-31 02:43:34 +00:00
cryptest.dsp remove extraneous source control settings 2003-10-31 02:43:34 +00:00
cryptest.dsw remove extraneous source control settings 2003-10-31 02:43:34 +00:00
cryptlib.cpp workaround alpha build problem 2003-07-31 01:56:19 +00:00
cryptlib.dsp remove extraneous source control settings 2003-10-31 02:43:34 +00:00
cryptlib.h fix comment mark 2003-10-31 02:39:32 +00:00
crypto++.mcp port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
cryptopp.rc merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
datatest.cpp add XTEA and BTEA 2003-07-30 00:28:54 +00:00
default.cpp Initial revision 2002-10-04 17:31:41 +00:00
default.h Initial revision 2002-10-04 17:31:41 +00:00
des.cpp merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
des.h merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
descert.dat Initial revision 2002-10-04 17:31:41 +00:00
dessp.cpp merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
dh2.cpp Initial revision 2002-10-04 17:31:41 +00:00
dh2.h Initial revision 2002-10-04 17:31:41 +00:00
dh1024.dat Initial revision 2002-10-04 17:31:41 +00:00
dh2048.dat Initial revision 2002-10-04 17:31:41 +00:00
dh.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
dh.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
dlie1024.dat Initial revision 2002-10-04 17:31:41 +00:00
dlie2048.dat Initial revision 2002-10-04 17:31:41 +00:00
dll.cpp port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
dll.h reduce source file dependencies 2003-10-14 09:43:14 +00:00
dlltest.cpp fix bug in CFB mode test 2004-07-03 01:19:39 +00:00
dlltest.dsp remove extraneous source control settings 2003-10-31 02:43:34 +00:00
dmac.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
Doxyfile Initial revision 2002-10-04 17:31:41 +00:00
dsa512.dat Initial revision 2002-10-04 17:31:41 +00:00
dsa1024.dat Initial revision 2002-10-04 17:31:41 +00:00
dsa1024b.dat Initial revision 2002-10-04 17:31:41 +00:00
dsa.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
dsa.h *** empty log message *** 2003-05-15 17:36:53 +00:00
ec2n.cpp fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
ec2n.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
eccrypto.cpp port to GCC 3.4 2004-06-19 08:28:09 +00:00
eccrypto.h port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
ecp.cpp fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
ecp.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
elgamal.cpp Initial revision 2002-10-04 17:31:41 +00:00
elgamal.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
elgc1024.dat Initial revision 2002-10-04 17:31:41 +00:00
eprecomp.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
eprecomp.h Initial revision 2002-10-04 17:31:41 +00:00
esig1023.dat Initial revision 2002-10-04 17:31:41 +00:00
esig1536.dat Initial revision 2002-10-04 17:31:41 +00:00
esig2046.dat Initial revision 2002-10-04 17:31:41 +00:00
esign.cpp Initial revision 2002-10-04 17:31:41 +00:00
esign.h fix multithreading bug 2003-09-10 21:01:14 +00:00
factory.h remove Diamond2, code size reductions 2003-07-19 03:47:20 +00:00
files.cpp fix for Unix 2003-07-11 19:48:49 +00:00
files.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
filters.cpp fix ONE_AND_ZEROS_PADDING 2004-02-05 03:35:13 +00:00
filters.h allow DLL to be built with VC++ .NET 2003-07-18 21:33:18 +00:00
fips140.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
fips140.h reduce source file dependencies 2003-10-14 09:43:14 +00:00
fipsalgt.cpp new AES test format 2003-07-26 07:58:40 +00:00
fipstest.cpp fix bug in EncryptionPairwiseConsistencyTest 2004-02-05 03:32:59 +00:00
fltrimpl.h sync with private branch 2003-06-06 02:34:03 +00:00
gf2_32.cpp Initial revision 2002-10-04 17:31:41 +00:00
gf2_32.h Initial revision 2002-10-04 17:31:41 +00:00
gf2n.cpp fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
gf2n.h fix compile error on VC .NET 2003 2004-06-22 11:54:57 +00:00
gf256.cpp Initial revision 2002-10-04 17:31:41 +00:00
gf256.h Initial revision 2002-10-04 17:31:41 +00:00
gfpcrypt.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
gfpcrypt.h port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
GNUmakefile add more release build comments 2004-06-20 18:21:45 +00:00
gost.cpp Initial revision 2002-10-04 17:31:41 +00:00
gost.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
gostval.dat Initial revision 2002-10-04 17:31:41 +00:00
gzip.cpp Initial revision 2002-10-04 17:31:41 +00:00
gzip.h add detection of uncompressibilty 2004-04-08 01:28:31 +00:00
haval.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
haval.h implement AlgorithmName() for HAVAL and PanamaHash 2004-03-09 12:42:38 +00:00
havalcer.dat Initial revision 2002-10-04 17:31:41 +00:00
hex.cpp misc changes 2003-07-18 04:35:30 +00:00
hex.h misc changes 2003-07-18 04:35:30 +00:00
hmac.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
hmac.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
hrtimer.cpp port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
hrtimer.h port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
ida.cpp added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
ida.h allow DLL to be built with VC++ .NET 2003-07-18 21:33:18 +00:00
idea.cpp Initial revision 2002-10-04 17:31:41 +00:00
idea.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
ideaval.dat Initial revision 2002-10-04 17:31:41 +00:00
integer.cpp disable x86 assembly on systems without GNU as 2.10 or later 2004-06-19 11:00:52 +00:00
integer.h disable x86 assembly on systems without GNU as 2.10 or later 2004-06-19 11:00:52 +00:00
iterhash.cpp merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
iterhash.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
License.txt update copyright year 2004-07-03 01:18:24 +00:00
lubyrack.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
luc1024.dat Initial revision 2002-10-04 17:31:41 +00:00
luc2048.dat Initial revision 2002-10-04 17:31:41 +00:00
luc.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
luc.h various changes for 5.1 2003-03-20 01:24:12 +00:00
lucc512.dat Initial revision 2002-10-04 17:31:41 +00:00
lucc1024.dat Initial revision 2002-10-04 17:31:41 +00:00
lucd512.dat Initial revision 2002-10-04 17:31:41 +00:00
lucd1024.dat Initial revision 2002-10-04 17:31:41 +00:00
lucs512.dat Initial revision 2002-10-04 17:31:41 +00:00
lucs1024.dat Initial revision 2002-10-04 17:31:41 +00:00
mars.cpp Initial revision 2002-10-04 17:31:41 +00:00
mars.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
marss.cpp Initial revision 2002-10-04 17:31:41 +00:00
marsval.dat Initial revision 2002-10-04 17:31:41 +00:00
md2.cpp fix bug in Grouper 2003-04-15 00:38:48 +00:00
md2.h Initial revision 2002-10-04 17:31:41 +00:00
md4.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
md4.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
md5.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
md5.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
md5mac.cpp Initial revision 2002-10-04 17:31:41 +00:00
md5mac.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
mdc.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
misc.cpp minor changes 2003-08-25 21:41:09 +00:00
misc.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
modarith.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
modes.cpp fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
modes.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
modexppc.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
modexppc.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
mqueue.cpp added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
mqueue.h allow DLL to be built with VC++ .NET 2003-07-18 21:33:18 +00:00
mqv1024.dat Initial revision 2002-10-04 17:31:41 +00:00
mqv2048.dat Initial revision 2002-10-04 17:31:41 +00:00
mqv.cpp Initial revision 2002-10-04 17:31:41 +00:00
mqv.h fixed to compile with Intel compiler 2002-11-19 20:44:40 +00:00
nbtheory.cpp fix ignoring pSelector in FirstPrime 2004-02-10 02:30:58 +00:00
nbtheory.h fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
network.cpp fix extraneous FinalizeLazyPut in NetworkSink::Put2 in case of exceptions 2004-04-08 01:31:06 +00:00
network.h allow DLL to be built with VC++ .NET 2003-07-18 21:33:18 +00:00
nr1024.dat Initial revision 2002-10-04 17:31:41 +00:00
nr2048.dat Initial revision 2002-10-04 17:31:41 +00:00
nr.h Initial revision 2002-10-04 17:31:41 +00:00
oaep.cpp misc changes 2003-07-18 04:35:30 +00:00
oaep.h added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
oids.h Initial revision 2002-10-04 17:31:41 +00:00
osrng.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
osrng.h *** empty log message *** 2004-04-08 01:32:07 +00:00
panama.cpp port to GCC 3.4 2004-06-19 08:28:09 +00:00
panama.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
pch.cpp Initial revision 2002-10-04 17:31:41 +00:00
pch.h Initial revision 2002-10-04 17:31:41 +00:00
pkcspad.cpp added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
pkcspad.h added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
polynomi.cpp fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
polynomi.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
pssr.cpp minor changes 2003-08-25 21:41:09 +00:00
pssr.h minor changes 2003-08-25 21:41:09 +00:00
pubkey.cpp added support for using encoding parameters and key derivation parameters 2003-07-16 01:53:45 +00:00
pubkey.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
pwdbased.h fix typo 2004-04-21 08:40:17 +00:00
queue.cpp fix bug in swap 2003-10-14 01:29:38 +00:00
queue.h fix bug (found by Michael Hunley) 2003-10-14 01:25:28 +00:00
rabi1024.dat Initial revision 2002-10-04 17:31:41 +00:00
rabi2048.dat Initial revision 2002-10-04 17:31:41 +00:00
rabin.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rabin.h various changes for 5.1 2003-03-20 01:24:12 +00:00
randpool.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
randpool.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rc2.cpp Initial revision 2002-10-04 17:31:41 +00:00
rc2.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rc2val.dat Initial revision 2002-10-04 17:31:41 +00:00
rc5.cpp Initial revision 2002-10-04 17:31:41 +00:00
rc5.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rc5val.dat Initial revision 2002-10-04 17:31:41 +00:00
rc6.cpp Initial revision 2002-10-04 17:31:41 +00:00
rc6.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rc6val.dat Initial revision 2002-10-04 17:31:41 +00:00
rdtables.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
Readme.txt prepare for 5.2 release 2004-06-29 10:49:21 +00:00
regtest.cpp add XTEA and BTEA 2003-07-30 00:28:54 +00:00
resource.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rijndael.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rijndael.dat Initial revision 2002-10-04 17:31:41 +00:00
rijndael.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
ripemd.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
ripemd.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rng.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rng.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
rsa400pb.dat Initial revision 2002-10-04 17:31:41 +00:00
rsa400pv.dat Initial revision 2002-10-04 17:31:41 +00:00
rsa512a.dat Initial revision 2002-10-04 17:31:41 +00:00
rsa1024.dat Initial revision 2002-10-04 17:31:41 +00:00
rsa2048.dat Initial revision 2002-10-04 17:31:41 +00:00
rsa.cpp fix DivideByZero exception in InvertibleRSAFunction(n, e, d) 2004-05-03 18:15:11 +00:00
rsa.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
rw1024.dat Initial revision 2002-10-04 17:31:41 +00:00
rw2048.dat Initial revision 2002-10-04 17:31:41 +00:00
rw.cpp fix RW/EMSA2 standard conformance bug 2003-03-20 03:09:44 +00:00
rw.h minor changes 2003-08-25 21:41:09 +00:00
safer.cpp Initial revision 2002-10-04 17:31:41 +00:00
safer.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
saferval.dat Initial revision 2002-10-04 17:31:41 +00:00
seal.cpp fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
seal.h fix bugs in 64-bit CPU support 2003-07-25 00:15:52 +00:00
secblock.h *** empty log message *** 2004-06-19 09:13:32 +00:00
seckey.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
serpent.cpp fix for possible bug on 64-bit platforms 2003-03-25 02:05:32 +00:00
serpent.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
serpentv.dat Initial revision 2002-10-04 17:31:41 +00:00
sha.cpp merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
sha.h merge in 5.0.4 changes (exclude DES and SHA-2 from DLL), 2003-07-10 04:34:23 +00:00
shacal2.cpp fix assert when keylen not multiple of 4 2004-03-09 12:40:59 +00:00
shacal2.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
shacal2v.dat add missing .dat files 2003-04-22 00:29:08 +00:00
shark.cpp fix warnings for VC7 and GCC 2003-03-20 20:39:59 +00:00
shark.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
sharkbox.cpp Initial revision 2002-10-04 17:31:41 +00:00
sharkval.dat Initial revision 2002-10-04 17:31:41 +00:00
simple.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
simple.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
skipjack.cpp create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
skipjack.dat Initial revision 2002-10-04 17:31:41 +00:00
skipjack.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
smartptr.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
socketft.cpp sync with private branch 2003-06-06 02:34:03 +00:00
socketft.h sync with private branch 2003-06-19 17:09:07 +00:00
square.cpp Initial revision 2002-10-04 17:31:41 +00:00
square.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
squaretb.cpp Initial revision 2002-10-04 17:31:41 +00:00
squareva.dat Initial revision 2002-10-04 17:31:41 +00:00
stdcpp.h misc changes 2003-07-18 04:35:30 +00:00
strciphr.cpp port to GCC 3.4 2004-06-19 08:28:09 +00:00
strciphr.h instantiate more templates for Darwin 2004-06-19 12:10:28 +00:00
tea.cpp add XTEA and BTEA 2003-07-30 00:28:54 +00:00
tea.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
test.cpp port to CodeWarrior 8.3 2004-06-20 17:56:15 +00:00
tftables.cpp Initial revision 2002-10-04 17:31:41 +00:00
tiger.cpp use memset instead of assignment to clear memory 2003-09-05 20:29:39 +00:00
tiger.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
tigertab.cpp Initial revision 2002-10-04 17:31:41 +00:00
trdlocal.cpp fix for Unix 2003-07-11 19:55:26 +00:00
trdlocal.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
trunhash.h Initial revision 2002-10-04 17:31:41 +00:00
ttmac.cpp add new algorithms (Kevin Springle) 2003-04-16 00:48:47 +00:00
ttmac.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
twofish.cpp Initial revision 2002-10-04 17:31:41 +00:00
twofish.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
twofishv.dat Initial revision 2002-10-04 17:31:41 +00:00
usage.dat prepare for 5.2 release 2004-06-29 10:49:21 +00:00
validat1.cpp fix ONE_AND_ZEROS_PADDING test vector 2004-02-10 13:43:46 +00:00
validat2.cpp various changes for 5.1 2003-03-20 01:24:12 +00:00
validat3.cpp add minimum iteration time option 2004-04-08 01:57:33 +00:00
validate.h remove Diamond2, code size reductions 2003-07-19 03:47:20 +00:00
wait.cpp sync with private branch 2003-06-19 17:09:07 +00:00
wait.h sync with private branch 2003-06-19 17:09:07 +00:00
wake.cpp Initial revision 2002-10-04 17:31:41 +00:00
wake.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
whrlpool.cpp use memset instead of assignment to clear memory 2003-09-05 20:29:39 +00:00
whrlpool.h create DLL version, fix GetNextIV() bug in CTR and OFB modes 2003-07-04 00:17:37 +00:00
winpipes.cpp sync with private branch 2003-06-06 02:34:03 +00:00
winpipes.h sync with private branch 2003-06-19 17:09:07 +00:00
words.h Initial revision 2002-10-04 17:31:41 +00:00
xormac.h port to GCC 3.4 2004-06-19 08:28:09 +00:00
xtr.cpp fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
xtr.h fix potential threading problem with initialization of static objects 2003-07-29 01:18:33 +00:00
xtrcrypt.cpp Initial revision 2002-10-04 17:31:41 +00:00
xtrcrypt.h Initial revision 2002-10-04 17:31:41 +00:00
xtrdh171.dat Initial revision 2002-10-04 17:31:41 +00:00
xtrdh342.dat Initial revision 2002-10-04 17:31:41 +00:00
zdeflate.cpp add detection of uncompressibilty 2004-04-08 01:28:31 +00:00
zdeflate.h add detection of uncompressibilty 2004-04-08 01:28:31 +00:00
zinflate.cpp *** empty log message *** 2004-06-19 09:13:32 +00:00
zinflate.h speed up DEFLATE decompression 2004-04-08 01:28:03 +00:00
zlib.cpp Initial revision 2002-10-04 17:31:41 +00:00
zlib.h add detection of uncompressibilty 2004-04-08 01:28:31 +00:00

Crypto++: a C++ Class Library of Cryptographic Schemes
Version 5.2 6/29/2004

This library includes:

- a class hierarchy with an API defined by abstract base classes
- AES (Rijndael) and AES candidates: RC6, MARS, Twofish, Serpent,
  CAST-256
- other symmetric block ciphers: IDEA, DES, Triple-DES (DES-EDE2
  and DES-EDE3), DESX (DES-XEX3), RC2, RC5, Blowfish, Diamond2,
  TEA, SAFER, 3-WAY, GOST, SHARK, CAST-128, Square, Skipjack,
  Camellia, SHACAL-2
- generic cipher modes: ECB, CBC, CBC ciphertext stealing (CTS),
  CFB, OFB, counter mode (CTR)
- stream ciphers: Panama, ARC4, SEAL, WAKE, WAKE-OFB,
  BlumBlumShub
- public key cryptography: RSA, DSA, ElGamal, Nyberg-Rueppel
  (NR), Rabin, Rabin-Williams (RW), LUC, LUCELG, DLIES (variants
  of DHAES), ESIGN
- padding schemes for public-key systems: PKCS#1 v2.0, OAEP,
  PSSR, IEEE P1363 EMSA2
- key agreement schemes: Diffie-Hellman (DH), Unified Diffie-
  Hellman (DH2), Menezes-Qu-Vanstone (MQV), LUCDIF, XTR-DH
- elliptic curve cryptography: ECDSA, ECNR, ECIES, ECDH, ECMQV
- one-way hash functions: SHA-1, MD2, MD4, MD5, HAVAL, RIPEMD-
  128, RIPEMD-256, RIPEMD-160, RIPEMD-320, Tiger, SHA-2 (SHA-256,
  SHA-384, and SHA-512), Panama, Whirlpool
- message authentication codes: MD5-MAC, HMAC, XOR-MAC, CBC-MAC,
  DMAC, Two-Track-MAC
- cipher constructions based on hash functions: Luby-Rackoff, MDC
- pseudo random number generators (PRNG): ANSI X9.17 appendix C,
  PGP's RandPool
- password based key derivation functions: PBKDF1 and PBKDF2 from
  PKCS #5
- Shamir's secret sharing scheme and Rabin's information
  dispersal algorithm (IDA)
- DEFLATE (RFC 1951) compression/decompression with gzip (RFC
  1952) and zlib (RFC 1950) format support
- fast multi-precision integer (bignum) and polynomial
  operations, with SSE2 optimizations for Pentium 4 processors
- finite field arithmetics, including GF(p) and GF(2^n)
- prime number generation and verification
- various miscellaneous modules such as base 64 coding and 32-bit
  CRC
- class wrappers for these operating system features (optional):
	- high resolution timers on Windows, Unix, and MacOS
	- Berkeley and Windows style sockets
	- Windows named pipes
	- /dev/random and /dev/urandom on Linux and FreeBSD
	- Microsoft's CryptGenRandom on Windows
- A high level interface for most of the above, using a
  filter/pipeline metaphor
- benchmarks and validation testing
- FIPS 140-2 Validated

You are welcome to use it for any purpose without paying me, but see
license.txt for the fine print.

This version of Crypto++ has been compiled successfully with MSVC 6.0 SP5
and .NET 2003 on Windows XP, GCC 2.95.4 on FreeBSD 4.6, GCC 2.95.3 on
Linux 2.4 and SunOS 5.8, GCC 3.4 on Cygwin 1.5.10, and Metrowerks
CodeWarrior 8.3 for Windows and MacOS.

*** MSVC-Specific Information ***

On Windows, Crypto++ can be compiled into 3 forms: a static library
including all algorithms, a DLL with only FIPS Approved algorithms, and
a static library with only algorithms not in the DLL.
(FIPS Approved means Approved according to the FIPS 140-2 standard.)
The DLL may be used by itself, or it may be used together with the second
form of the static library. MSVC project files are included to build
all three forms, and sample applications using each of the three forms
are also included.

To compile Crypto++ with MSVC, open the "cryptest.dsw" workspace file
and build one or more of the following projects:

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

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

*** GCC-Specific Information ***

A makefile is included for you to compile Crypto++ with GCC. 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.

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

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. You can also email me directly at
cryptopp@weidai.com, but you will probably get a faster response through
the mailing list.

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

*** History ***

1.0 - First public release.  Withdrawn at the request of RSA DSI.
    - included Blowfish, BBS, DES, DH, Diamond, DSA, ElGamal, IDEA,
      MD5, RC4, RC5, RSA, SHA, WAKE, secret sharing, DEFLATE compression
    - had a serious bug in the RSA key generation code.

1.1 - Removed RSA, RC4, RC5
    - Disabled calls to RSAREF's non-public functions
    - Minor bugs fixed

2.0 - a completely new, faster multiprecision integer class
    - added MD5-MAC, HAVAL, 3-WAY, TEA, SAFER, LUC, Rabin, BlumGoldwasser,
      elliptic curve algorithms
    - added the Lucas strong probable primality test
    - ElGamal encryption and signature schemes modified to avoid weaknesses
    - Diamond changed to Diamond2 because of key schedule weakness
    - fixed bug in WAKE key setup
    - SHS class renamed to SHA
    - lots of miscellaneous optimizations

2.1 - added Tiger, HMAC, GOST, RIPE-MD160, LUCELG, LUCDIF, XOR-MAC,
      OAEP, PSSR, SHARK
    - added precomputation to DH, ElGamal, DSA, and elliptic curve algorithms
    - added back RC5 and a new RSA
    - optimizations in elliptic curves over GF(p)
    - changed Rabin to use OAEP and PSSR
    - changed many classes to allow copy constructors to work correctly
    - improved exception generation and handling

2.2 - added SEAL, CAST-128, Square
    - fixed bug in HAVAL (padding problem)
    - fixed bug in triple-DES (decryption order was reversed)
    - fixed bug in RC5 (couldn't handle key length not a multiple of 4)
    - changed HMAC to conform to RFC-2104 (which is not compatible
      with the original HMAC)
    - changed secret sharing and information dispersal to use GF(2^32)
      instead of GF(65521)
    - removed zero knowledge prover/verifier for graph isomorphism
    - removed several utility classes in favor of the C++ standard library

2.3 - ported to EGCS
    - fixed incomplete workaround of min/max conflict in MSVC

3.0 - placed all names into the "CryptoPP" namespace
    - added MD2, RC2, RC6, MARS, RW, DH2, MQV, ECDHC, CBC-CTS
    - added abstract base classes PK_SimpleKeyAgreementDomain and
      PK_AuthenticatedKeyAgreementDomain
    - changed DH and LUCDIF to implement the PK_SimpleKeyAgreementDomain
      interface and to perform domain parameter and key validation
    - changed interfaces of PK_Signer and PK_Verifier to sign and verify
      messages instead of message digests
    - changed OAEP to conform to PKCS#1 v2.0
    - changed benchmark code to produce HTML tables as output
    - changed PSSR to track IEEE P1363a
    - renamed ElGamalSignature to NR and changed it to track IEEE P1363
    - renamed ECKEP to ECMQVC and changed it to track IEEE P1363
    - renamed several other classes for clarity
    - removed support for calling RSAREF
    - removed option to compile old SHA (SHA-0)
    - removed option not to throw exceptions

3.1 - added ARC4, Rijndael, Twofish, Serpent, CBC-MAC, DMAC
    - added interface for querying supported key lengths of symmetric ciphers
      and MACs
    - added sample code for RSA signature and verification
    - changed CBC-CTS to be compatible with RFC 2040
    - updated SEAL to version 3.0 of the cipher specification
    - optimized multiprecision squaring and elliptic curves over GF(p)
    - fixed bug in MARS key setup
    - fixed bug with attaching objects to Deflator

3.2 - added DES-XEX3, ECDSA, DefaultEncryptorWithMAC
    - renamed DES-EDE to DES-EDE2 and TripleDES to DES-EDE3
    - optimized ARC4
    - generalized DSA to allow keys longer than 1024 bits
    - fixed bugs in GF2N and ModularArithmetic that can cause calculation errors
    - fixed crashing bug in Inflator when given invalid inputs
    - fixed endian bug in Serpent
    - fixed padding bug in Tiger

4.0 - added Skipjack, CAST-256, Panama, SHA-2 (SHA-256, SHA-384, and SHA-512),
      and XTR-DH
    - added a faster variant of Rabin's Information Dispersal Algorithm (IDA)
    - added class wrappers for these operating system features:
      - high resolution timers on Windows, Unix, and MacOS
      - Berkeley and Windows style sockets
      - Windows named pipes
      - /dev/random and /dev/urandom on Linux and FreeBSD
      - Microsoft's CryptGenRandom on Windows
    - added support for SEC 1 elliptic curve key format and compressed points
    - added support for X.509 public key format (subjectPublicKeyInfo) for
      RSA, DSA, and elliptic curve schemes
    - added support for DER and OpenPGP signature format for DSA
    - added support for ZLIB compressed data format (RFC 1950)
    - changed elliptic curve encryption to use ECIES (as defined in SEC 1)
    - changed MARS key schedule to reflect the latest specification
    - changed BufferedTransformation interface to support multiple channels
      and messages
    - changed CAST and SHA-1 implementations to use public domain source code
    - fixed bug in StringSource
    - optmized multi-precision integer code for better performance

4.1 - added more support for the recommended elliptic curve parameters in SEC 2
    - added Panama MAC, MARC4
    - added IV stealing feature to CTS mode
    - added support for PKCS #8 private key format for RSA, DSA, and elliptic
      curve schemes
    - changed Deflate, MD5, Rijndael, and Twofish to use public domain code
    - fixed a bug with flushing compressed streams
    - fixed a bug with decompressing stored blocks
    - fixed a bug with EC point decompression using non-trinomial basis
    - fixed a bug in NetworkSource::GeneralPump()
    - fixed a performance issue with EC over GF(p) decryption
    - fixed syntax to allow GCC to compile without -fpermissive
    - relaxed some restrictions in the license

4.2 - added support for longer HMAC keys
    - added MD4 (which is not secure so use for compatibility purposes only)
    - added compatibility fixes/workarounds for STLport 4.5, GCC 3.0.2,
      and MSVC 7.0
    - changed MD2 to use public domain code
    - fixed a bug with decompressing multiple messages with the same object
    - fixed a bug in CBC-MAC with MACing multiple messages with the same object
    - fixed a bug in RC5 and RC6 with zero-length keys
    - fixed a bug in Adler32 where incorrect checksum may be generated

5.0 - added ESIGN, DLIES, WAKE-OFB, PBKDF1 and PBKDF2 from PKCS #5
    - added key validation for encryption and signature public/private keys
    - renamed StreamCipher interface to SymmetricCipher, which is now implemented
      by both stream ciphers and block cipher modes including ECB and CBC
    - added keying interfaces to support resetting of keys and IVs without
      having to destroy and recreate objects
    - changed filter interface to support non-blocking input/output
    - changed SocketSource and SocketSink to use overlapped I/O on Microsoft Windows
    - grouped related classes inside structs to help templates, for example
      AESEncryption and AESDecryption are now AES::Encryption and AES::Decryption
    - where possible, typedefs have been added to improve backwards 
      compatibility when the CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY macro is defined
    - changed Serpent, HAVAL and IDEA to use public domain code
    - implemented SSE2 optimizations for Integer operations
    - fixed a bug in HMAC::TruncatedFinal()
    - fixed SKIPJACK byte ordering following NIST clarification dated 5/9/02

5.01 - added known answer test for X9.17 RNG in FIPS 140 power-up self test
     - submitted to NIST/CSE, but not publicly released

5.02 - changed EDC test to MAC integrity check using HMAC/SHA1
     - improved performance of integrity check
     - added blinding to defend against RSA timing attack

5.03 - created DLL version of Crypto++ for FIPS 140-2 validation
     - fixed vulnerabilities in GetNextIV for CTR and OFB modes

5.0.4 - Removed DES, SHA-256, SHA-384, SHA-512 from DLL

5.1 - added PSS padding and changed PSSR to track IEEE P1363a draft standard
    - added blinding for RSA and Rabin to defend against timing attacks
      on decryption operations
    - changed signing and decryption APIs to support the above
    - changed WaitObjectContainer to allow waiting for more than 64
      objects at a time on Win32 platforms
    - fixed a bug in CBC and ECB modes with processing non-aligned data
    - fixed standard conformance bugs in DLIES (DHAES mode) and RW/EMSA2
      signature scheme (these fixes are not backwards compatible)
    - fixed a number of compiler warnings, minor bugs, and portability problems
    - removed Sapphire

5.2 - merged in changes for 5.01 - 5.0.4
    - added support for using encoding parameters and key derivation parameters
      with public key encryption (implemented by OAEP and DL/ECIES)
    - added Camellia, SHACAL-2, Two-Track-MAC, Whirlpool, RIPEMD-320,
      RIPEMD-128, RIPEMD-256, Base-32 coding
    - added ThreadUserTimer for timing thread CPU usage
    - added option for password-based key derivation functions
      to iterate until a mimimum elapsed thread CPU time is reached
    - added option (on by default) for DEFLATE compression to detect
      uncompressible files and process them more quickly
    - improved compatibility and performance on 64-bit platforms,
      including Alpha, IA-64, x86-64, PPC64, Sparc64, and MIPS64
    - fixed ONE_AND_ZEROS_PADDING to use 0x80 instead 0x01 as padding.
    - fixed encoding/decoding of PKCS #8 privateKeyInfo to properly
      handle optional attributes

Written by Wei Dai