Commit Graph

37 Commits

Author SHA1 Message Date
Anton Gorev
72d8cbe917 Some fixes related to SunCC compiler bugs.
Fixes for "invalid address alignment" errors. See https://groups.google.com/d/topic/cryptopp-users/OYaByDEbSI0/discussion for details.
Changed config.h in accordance to Jeffrey Walton's request;
2017-04-21 15:26:16 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05:00
Jeffrey Walton
6200029faa Fix Clang 3.3 and 3.4 compiles (Issue 264) 2016-09-21 13:57:37 -04:00
Jeffrey Walton
399a1546de Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
894874fe75 Whitespace checkin 2016-09-10 04:57:48 -04:00
Jeffrey Walton
24e16f0ac3 Fixed unused variable warnings 2016-01-25 08:58:33 -05:00
Jeffrey Walton
cdcff65a35 Cleared -Wcast-align (Issue 122) 2016-01-25 00:12:37 -05:00
Jeffrey Walton
917b7467b7 Cleared -Wcast-align (Issue 122) 2016-01-24 22:01:24 -05:00
Jeffrey Walton
be67acdb1d Merge pull request #84 from m-deckel/visualstudio-arm
Microsoft ARM support
2015-12-14 15:52:13 -05:00
Jeffrey Walton
d9749ce7ac Updated documentation 2015-12-14 15:50:56 -05:00
Marco Deckel
f6499edf3a Microsoft ARM support
* Adjusted config to compile for Microsoft ARM (e.g. Windows Universal apps)
2015-12-14 16:11:17 +01:00
Jeffrey Walton
6ac1e46a1f Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup) 2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85 CRYPTOPP 5.6.3 RC6 checkin 2015-11-05 01:59:46 -05:00
Jeffrey Walton
b84cd9013a Supress "-Wmaybe-unitiialized" warning under GCC; guard to ensure it does not produce unknown pragma warning under Clang 2015-07-31 04:44:28 -04:00
Jeffrey Walton
22c3e41133 Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ... 2015-07-30 17:35:58 -04:00
Jeffrey Walton
b7de164d62 Cut-in CRYPTOPP_ASSERT in all remaining header and source files 2015-07-26 16:03:14 -04:00
Jeffrey Walton
7b64ca489a Added "trap.h" include for header and source files that assert 2015-07-26 15:51:16 -04:00
Jeffrey Walton
29c4310aab Cleared remaining issues related to Clang's integarted assembler parsing of the syntax string 2015-07-22 03:59:21 -04:00
Jeffrey Walton
6d0dd41eb0 Specialized defines to work with/around Clang integrated assembler. The two defines are WORKAROUND_LLVM_BUG_18916 and CRYPTOPP_USING_CLANG_INTEGRATED_ASSEMBLER. Once the 18916 bug is fixed, the other issues around the integrated assembler will remain 2015-07-22 03:48:10 -04:00
Jeffrey Walton
3c56063c3f Added CRYPTOPP_CLANG_NO_INTEGRATED_AS as a guard in config.h (disabled by default since integrated-as is default behavior and the bug is active). GNU_ATT_SYNTAX → GNU_AS_ATT_SYNTAX and GNUINTEL_SYNTAX → GNU_AS_INTEL_SYNTAX 2015-07-21 18:05:48 -04:00
Jeffrey Walton
444d1f1a3b Cut-in to utilize GNU_ATT_SYNTAX and GNU_INTEL_SYNTAX macros. Also see LLVM Bug 18916 (https://llvm.org/bugs/show_bug.cgi?id=18916) 2015-07-21 14:37:55 -04:00
Jeffrey Walton
f03ab5cbd1 Removed execute bit from C++ header and source files 2015-06-24 14:15:29 -04:00
Jeffrey Walton
e2c469dc41 Cleared GCC/Clang warning on unknown pragma 2015-06-09 11:35:45 -04:00
weidai
8ca6148ad5 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
b249126f69 work around GCC Bug 31690 2009-03-03 06:51:34 +00:00
weidai
d8a644fc4e 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
eb5732337b fix incorrect VMAC computation on message lengths that are >64 mod 128 2009-01-24 02:51:45 +00:00
weidai
07e0b3805f fix compile with -fPIC (reported by Geoff Beier) 2008-11-21 05:30:58 +00:00
weidai
1240b1690b fix compile with ICC 10 2007-09-25 04:08:17 +00:00
weidai
9026dd6c7f patch from Jody Hagins to fix gcc 3.2 compile 2007-08-13 23:46:55 +00:00
weidai
93fa6bc9e4 fix bug on 32-bit big-endian machines 2007-05-24 20:24:30 +00:00
weidai
f018ac354a fix compile on Turbo C++ 2006 2007-05-05 18:29:44 +00:00
weidai
87356fd44e fix compile with ICC for ia64 2007-05-05 04:12:36 +00:00
weidai
a1e8a5f05c fix bug in assembly 2007-05-04 23:18:04 +00:00
weidai
d2d9be75ef VMAC draft-krovetz-vmac-01 2007-05-04 21:41:38 +00:00