Commit Graph

79 Commits (01f77765d4387009d72b49f17721ddf103a0e753)

Author SHA1 Message Date
Jeffrey Walton 1ce593357f Cleared compile errors under Visual Studio .Net compilers 2016-04-29 10:25:18 -04:00
Jeffrey Walton f45813bd12 Use stdext::make_checked_array_iterator for reverse_copy on VS2008 and above (Issue 123) 2016-02-05 02:43:08 -05:00
Jeffrey Walton bce92ed5e5 Cleared uninitialized variable warning 2016-01-24 19:53:17 -05:00
Alexander Afanasyev 96c51ffb2c Fix compilation for armeabi with gcc-4.9, 5.0 toolchains
Refs: #119
2016-01-23 12:32:11 -08:00
DevJPM 07ff7b0d61 moved BE case before LE to improve performance 2016-01-14 12:24:36 +01:00
DevJPM fb9da4e043 finalized patch
added final components of the Integer patch
2016-01-13 23:24:39 +01:00
DevJPM ea980e5ec0 applied main changes
applied main changes from the Integer Patch
2016-01-13 23:19:49 +01:00
DevJPM ba0ce02134 added std::showbase support
applied the std::showbase part of the integer patch
2016-01-13 22:42:52 +01:00
Jeffrey Walton dce2317195 Increase range for GCC workaround on ARMEL. After speaking with AP from GCC, he states some issues are still likely present in Master, which is GCC 6.0 2016-01-09 00:09:06 -05:00
Jeffrey Walton 9fca0c2802 Work around issue on ARMEL in MultiplyTop and GCC. ARMHF is OK 2016-01-08 15:43:09 -05:00
Jeffrey Walton 3941be1889 Fixed hang on ARM platforms in Integer::DivideThreeWordsByTwo 2016-01-08 06:53:27 -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 69c6989e99 Cleared "-Wunused-but-set-variable" warning due to Bot_2 macro on x86_64 2015-08-03 13:14:44 -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 e75cb8dd8b Backed out commit 1dc875a44a. MinGW complained "error: 'p0' was not declared in this scope". Thanks to Ilya Bizyaev for reporting 2015-07-25 06:15:53 -04:00
Jeffrey Walton 1dc875a44a Cleared "unused variable" warning under GCC 5.1 2015-07-25 02:05:38 -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 81aa87df02 Cleared -Wunused-but-set-variable from GCC 4.8 and GCC 5.1. The way to handle separators is via locales and facets 2015-07-20 00:18:54 -04:00
Jeffrey Walton 3faaf986a4 Cleared warning under Visual Studio 2015-07-17 10:39:45 -04:00
Jeffrey Walton a14a5696e1 Added GCC_DIAGNOSTIC_AWARE to help suppress some warnings on contemporary compilers. The macro was needed to help with managing old compilers, like GCC 4.2.1, present on OpenBSD 2015-06-29 02:09:02 -04:00
weidai 1315a7bc9a port to Sun Studio 12u1 Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21
change makefile to compile for both i386 and x86_64 on Darwin/Mac OS X
2010-07-05 01:15:14 +00:00
weidai 1435784dee switch to non-branching code in AlmostInverse() 2010-06-28 22:42:31 +00:00
weidai 82cc3ff5d4 fix Integer operator<< output on Windows x64 2009-04-05 20:02:22 +00:00
weidai 5e19e65655 fix compile on OpenBSD 4.4 2009-03-13 22:13:21 +00:00
weidai 1b88e58600 from Jeffery Walton: move *.dat files into TestData, make Integer operator<< respect ios::uppercase flag 2009-03-12 01:55:02 +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 fa25129ac9 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 f871754502 fix compile with GCC 4.0.1 on MacOS X 64-bit 2008-12-22 06:55:08 +00:00
weidai 3f30574ced fixes for GCC 4.3.2 (reports from Chris Morgan and DiegoT) 2008-11-21 03:05:32 +00:00
weidai 1240b1690b fix compile with ICC 10 2007-09-25 04:08:17 +00:00
weidai c9c1fdbcb4 fix compile with ICC 9.1 on x64 2007-09-24 07:05:29 +00:00
weidai 4e8bde6f04 remove branch in assert 2007-09-24 00:45:16 +00:00
weidai d42ea79cd7 fix possible branch prediction analysis (BPA) vulnerability 2007-08-13 23:47:54 +00:00
weidai bbfb7ff438 fix crash in SSE2_Add on P4 when compiled with MSVC 6.0 with Processor Pack 2007-08-02 01:11:25 +00:00
weidai 4443d6e363 revert to int return value for Add and Sub 2007-05-05 19:37:51 +00:00
weidai d2510f30c7 fix compile for x64, DLL and VC 6 2007-05-04 15:24:09 +00:00
weidai 3a3fef7436 fix compile on Sun CC 2007-04-16 05:40:37 +00:00
weidai 68a38c0b9a fix compile with Intel compiler 2007-04-16 02:51:59 +00:00
weidai 643b302227 MMX/SSE2 optimizations 2007-04-15 23:00:27 +00:00
weidai 826889105d fix compile with Sun CC 64-bit 2006-12-20 15:20:02 +00:00
weidai 43b41c1042 update version number, port to Sun C++ 5.8 2006-12-18 02:34:33 +00:00
weidai 813d784ea5 fix compile with MSVC 2005 SP1 beta 2006-12-10 23:50:09 +00:00
weidai 1012e664ef improve Integer initialization 2006-06-09 06:28:22 +00:00
weidai 254b0f0d4d fix Integer::Encode 2006-03-17 00:38:11 +00:00