Commit Graph

513 Commits (3c487462120ab1384cf852f1c1bfd070cc3fd3fe)

Author SHA1 Message Date
weidai 2dc01c35ef avoid SecBlock of arrays 2010-06-18 01:52:34 +00:00
weidai d8ed443530 check ciphertext length in TF_DecryptorBase::Decrypt() 2010-06-18 01:18:22 +00:00
weidai 9c8f570cae check for integer overflow in OID::DecodeValue() 2010-06-18 00:57:26 +00:00
weidai 9ad3f4530d add "volatile" to prevent compiler optimizing away code 2010-06-18 00:51:12 +00:00
weidai 9047525ba4 fix for 'pwdbased.h needs <integer.h>' http://sourceforge.net/apps/trac/cryptopp/ticket/3 (pangalactic) 2010-05-13 17:14:31 +00:00
weidai ccda0fb940 fix for http://sourceforge.net/apps/trac/cryptopp/ticket/2 (Ken Raeburn) 2010-05-13 16:58:21 +00:00
weidai 3281f5733b fix incorrect encryption bug with WAKE-OFB that was introduced in version 5.5 (reported by John Famiglietti) 2009-10-31 21:18:37 +00:00
weidai 5c5c4d2336 honor uppercase/lowercase in operator<<() (Jeff Walton) 2009-10-22 09:04:40 +00:00
weidai 62eac9fee1 initialize memory to remove Valgrind warning (Zooko, Jeffrey Walton) 2009-09-17 01:45:26 +00:00
weidai c925be0ec1 fix endianess test on MIPS (Zhang Le) 2009-09-04 10:37:59 +00:00
weidai f8414a89e2 fix for id_sha1 (Alexei) 2009-08-28 12:25:08 +00:00
weidai 91b52e9afd fix compile on VS Express (Eugene Zolenko) 2009-08-28 01:40:15 +00:00
weidai bad8274354 improve Unicode filename handling 2009-07-11 22:50:18 +00:00
weidai 17853a5b02 handle Unicode filenames 2009-07-11 01:48:12 +00:00
weidai 4123ec521c fix bugs in AES assembly (from trantrungan and Andrew Bromba) 2009-07-05 22:30:24 +00:00
weidai 39907cdea6 fix incorrect SHA-256 computation on non-SSE2 x86 machines on non-aligned input (reported by
pycryptopp project)
2009-07-05 18:10:10 +00:00
weidai 2bfc73736d fix bug in PutDecodedDatumInto() with STLPort (from trungantran) 2009-06-18 20:08:16 +00:00
weidai cf0cb8ca2f improve SecureWipeBuffer for GCC 2009-05-01 22:37:47 +00:00
weidai eeaba5f844 add and use SecureWipeArray() to avoid compiler optimizing away memset() (reported by Paul Pelzl) 2009-05-01 18:49:10 +00:00
weidai 153af5e0d0 fix ECNR name to ECDSA 2009-04-05 20:03:10 +00:00
weidai 2369628254 fix Integer operator<< output on Windows x64 2009-04-05 20:02:22 +00:00
weidai a4d34aa887 disable Panama SSE2 code for P4 2009-04-05 20:01:05 +00:00
weidai ebf16b34a8 fix compile on MacOS X and MinGW 2009-04-05 19:58:48 +00:00
weidai 4e1f5c92b7 fixed Panama x64 MASM code not saving RDI 2009-03-29 21:41:30 +00:00
weidai 131f4b7672 fix EC2N skipping of optional seed, switch to public domain MARS code, deliver vc80.pdb to OutDir 2009-03-28 03:08:27 +00:00
weidai 427e866b3f fix C++Builder 2009 compile, update Readme and License 2009-03-15 09:44:42 +00:00
weidai 933a362a13 remove OptimizeForWindows98 2009-03-15 04:11:38 +00:00
weidai 3ac2ee00eb fix compile on MSVC 6 and MSVC 2003 2009-03-15 03:53:58 +00:00
weidai 93773ddd1f fix documentation 2009-03-15 00:51:46 +00:00
weidai c6fbd1cec8 fix line ending 2009-03-14 22:27:56 +00:00
weidai bd84d4ca76 fix compile on FreeBSD 7.1 amd64 2009-03-14 22:21:14 +00:00
weidai a543d40b68 fix compile on OpenBSD 4.4 2009-03-13 22:13:21 +00:00
weidai 514526221a speed up GCM key setup 2009-03-13 11:33:45 +00:00
weidai e06c4274dd fix compile on gcc 4.1.2, armv5tel 2009-03-13 11:16:28 +00:00
weidai 811a1dd149 fix compile on OpenSolaris 8.11 2009-03-13 11:15:21 +00:00
weidai 3ff629b25b fix usage.dat path 2009-03-13 09:42:06 +00:00
weidai b0e51ececf fix Sun Studio compile 2009-03-13 07:32:58 +00:00
weidai 6c62a52563 fix documentation, fix VC60 compile, delete leftover .dat files 2009-03-13 07:24:45 +00:00
weidai bce3c6544a fix compile on MSVC 6 2009-03-13 02:55:23 +00:00
weidai f82a9d22bd clarify error messages 2009-03-13 02:03:27 +00:00
weidai 064fd62ec5 - add EAX mode, XSalsa20
- speed up GCM key setup
- wipe stack in AES assembly code
- speed up CFB mode
2009-03-12 11:24:12 +00:00
weidai 0497f4bbea fixed wrong name shown for ECDSA 2009-03-12 01:58:15 +00:00
weidai 208ecb73e1 from Jeffery Walton: move *.dat files into TestData, make Integer operator<< respect ios::uppercase flag 2009-03-12 01:55:02 +00:00
weidai a7bc38c27c add Brainpool curves (Zooko) 2009-03-12 00:45:30 +00:00
weidai b0e8eb60ce add x86/x64 assembly for SHA-256,
add DEFAULT_CHANNEL and AAD_CHANNEL,
fix macChannel for AuthenticatedEncryptionFilter
2009-03-10 02:56:19 +00:00
weidai ae9e6e0b22 fix bug when AuthenticatedDecryptionFilter::MAC_AT_BEGIN is not specified 2009-03-05 08:53:50 +00:00
weidai eef33aab0e fix compile on ICC 11 2009-03-04 09:27:52 +00:00
weidai 54ab5bb6ef fix VC60 compile, project file line-endings, Apple GCC 4.2 compile 2009-03-03 10:18:44 +00:00
weidai 8c6420cfc6 work around GCC Bug 31690 2009-03-03 06:51:34 +00:00
weidai 69b85d0724 tweaks/fixes for 5.6 2009-03-03 03:28:39 +00:00
weidai 8b65297339 fix compile on non-x86 2009-03-02 05:23:21 +00:00
weidai e30273241d changes for 5.6:
- added AuthenticatedSymmetricCipher interface class and Filter wrappers
    - added CCM, GCM (with SSE2 assembly), CMAC, and SEED
    - improved AES speed on x86 and x64
    - removed WORD64_AVAILABLE; compiler 64-bit int support is now required
2009-03-02 02:39:17 +00:00
weidai e6e33313a4 port to Sun Studio 12's 64-bit C++ Compiler 5.9 Patch 124864-09 2008/12/16 2009-02-13 12:18:26 +00:00
weidai 80c47a4f0c fix incorrect VMAC computation on message lengths that are >64 mod 128 2009-01-24 02:51:45 +00:00
weidai 68ff6f2062 fix compile with GCC 4.0.1 on MacOS X 64-bit 2008-12-22 06:55:08 +00:00
weidai 506c07943d fix valgrind errors 2008-11-21 23:33:35 +00:00
weidai 846209b34f changed mind. remove -fPIC as default, document it as supported 2008-11-21 22:40:16 +00:00
weidai f4a3184703 add -fPIC to default flags 2008-11-21 05:33:00 +00:00
weidai 320c731500 fix HashFilter bug when putMessage=true (UnFleshed One) 2008-11-21 05:32:06 +00:00
weidai 3c111dd30c fix compile with -fPIC (reported by Geoff Beier) 2008-11-21 05:30:58 +00:00
weidai 1c52eef818 improve pairwise consistency test (Brian Pence) 2008-11-21 05:30:16 +00:00
weidai ef2e30950d fixes for GCC 4.3.2 (reports from Chris Morgan and DiegoT) 2008-11-21 03:05:32 +00:00
weidai a94cc828ca fix infinite recursive call in IsRandomAccess (reported by ASBai) 2008-02-02 08:40:27 +00:00
weidai 2658fa5d61 add "test" target 2008-02-02 08:38:21 +00:00
weidai bbb31ae77b previous keys were using long private exponents 2007-12-10 00:25:19 +00:00
weidai 50d2f8c23d change minimum key size to 0 2007-12-05 14:22:18 +00:00
weidai 8046864b01 fix AlgorithmName() for ExternalCipher classes and move SetCipher() into CipherModeBase 2007-12-05 13:50:44 +00:00
weidai ef6d8d1b00 add workaround for _interlockedbittestandset64 and _interlockedbittestandreset64 2007-12-05 13:49:12 +00:00
weidai 17e758264a add quotes around $(InputPath) (Laurence Parry) 2007-12-03 19:51:49 +00:00
weidai 67d6a6ee3f do not align to 16 when not needed 2007-10-26 09:50:49 +00:00
weidai 1fb52640fa reset m_counter in TruncatedFinal 2007-10-23 17:27:49 +00:00
weidai c36f8b2c78 improve documentation 2007-10-23 17:27:28 +00:00
weidai 3e8708b5a2 reduce executable size when only hash functions are used 2007-10-02 00:21:52 +00:00
weidai ea77e7ec68 prepare for release 2007-09-25 07:30:20 +00:00
weidai f2369784c6 fix missing CRYPTOPP_API 2007-09-25 07:25:47 +00:00
weidai 662b4b9b8b don't use _rotl64 with ICC 2007-09-25 06:22:24 +00:00
weidai 09927e2a81 fix compile with ICC 10 2007-09-25 04:08:17 +00:00
weidai a3873f6f34 fix compile with ICC 9.1 on x64 2007-09-24 07:05:29 +00:00
weidai 3557afbb18 fix compile for ICC 10 2007-09-24 05:35:59 +00:00
weidai 4fc646359d remove -msse2 since we don't use SSE2 intrinsics anymore 2007-09-24 04:16:29 +00:00
weidai 5ec62cd9b7 remove -msse2 since we don't use SSE2 intrinsics anymore 2007-09-24 03:52:17 +00:00
weidai 87b06bf6ce update CheckMOVCondition() according to http://eprint.iacr.org/2007/343 2007-09-24 02:54:22 +00:00
weidai a3eb3fe027 remove -msse2 since we don't use SSE2 intrinsics anymore 2007-09-24 01:57:43 +00:00
weidai 694e738078 fix compile with GAS 2.15 2007-09-24 01:19:38 +00:00
weidai 36d0b3885c remove <locale> (should save code size?) 2007-09-24 00:51:04 +00:00
weidai da23735ea2 - port x64 assembly code to MASM
- improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly
2007-09-24 00:45:59 +00:00
weidai 5a5af8f929 remove branch in assert 2007-09-24 00:45:16 +00:00
weidai 8b8722fe7f - port x64 assembly code to MASM
- improve stack unwindability on x64 for GCC by not modifying RBP/RSP registers in inline assembly
2007-09-24 00:43:57 +00:00
weidai 094c70b60b fix extraneous SSE2 compiler option 2007-09-24 00:35:06 +00:00
weidai 97c5765b9a fix compile with fix compile for for STLport 5.1.3 and MSVC 2005 2007-09-15 02:38:57 +00:00
weidai d4e11267ed fix compile for for STLport 5.1.3 and MSVC 6 SP5 2007-09-12 02:28:48 +00:00
weidai 8f60cfbff3 fix compile with Borland C++Builder 2007 2007-08-16 22:59:53 +00:00
weidai 8d2931067a fix warning on MSVC Orcas Beta 2 2007-08-15 23:36:16 +00:00
weidai 03e94daf60 fix compile for QNX 2007-08-15 01:55:01 +00:00
weidai 6106bc42c5 fix gcc compile errors and warnings 2007-08-14 00:55:43 +00:00
weidai 1632073566 fix valgrind issues reported by Chris Morgan 2007-08-13 23:55:05 +00:00
weidai cc626bbbce update version number to 5.5.2 2007-08-13 23:54:25 +00:00
weidai c56cf40199 fixed Whirlpool crash on Pentium 2 machines 2007-08-13 23:53:09 +00:00
weidai b1290d0ca2 fix bug reported by Jeffrey Walton 2007-08-13 23:52:06 +00:00
weidai ea88d3acc3 fixed Salsa20 initialization crash on non-SSE2 machines 2007-08-13 23:48:17 +00:00